"http://www.angelbroking.com/", "Bonanza"=>"https://www.bonanzaonline.com/", "Emkay Global"=>"http://www.emkayglobal.com", "Hem Securities"=>"https://www.hemonline.com/", "IFCI Financial Services"=>"https://www.ifinltd.in/index.aspx", "Karvy Stock Broking"=>"http://www.karvy.com/v2/", "KR Choksey"=>"http://www.krchoksey.com", "Motilal Oswal"=>"http://www.motilaloswal.com", "Sushil Finance"=>" http://www.sushilfinance.com/sfspl/three_hours.asp", "Ventura Securities"=>"http://www.ventura1.com", "Nirmal Bang"=>"http://www.nirmalbang.com/","Mitesh Thacker"=>"", "Indiabulls Securities"=>"http://power.indiabulls.com/","Commtrendz"=>"http://www.commtrendz.com/","Dani Commodities"=>"http://www.danisecurities.com/commodity/commodity.asp"); $broker_link =$link_arr[$broker]; $logo_arr = array("Angel Broking"=>"https://images.moneycontrol.com/images/pyt_2010/Angel_Broking_160.jpg", "Bonanza"=>"https://images.moneycontrol.com/images/pyt_2010/Bonanza_160.jpg", "Emkay Global"=>"https://images.moneycontrol.com/images/pyt_2010/emkay_160.jpg", "Hem Securities"=>"https://images.moneycontrol.com/images/pyt_2010/HEM_Securities_160.jpg", "IFCI Financial Services"=>"https://images.moneycontrol.com/images/pyt_2010/IFCI_Financial_Services_160.jpg", "Karvy Stock Broking"=>"https://images.moneycontrol.com/images/pyt_2010/Karvy_160.jpg", "KR Choksey"=>"https://images.moneycontrol.com/images/pyt_2010/KR_Choksey_160.jpg", "Motilal Oswal"=>"https://images.moneycontrol.com/images/pyt_2010/Motilal_Oswal_160.jpg", "Sushil Finance"=>"https://images.moneycontrol.com/images/pyt_2010/Sushil_Finance_160.jpg", "Ventura Securities"=>"https://images.moneycontrol.com/images/pyt_2010/Ventura_Securities_160.jpg", "Nirmal Bang"=>"https://images.moneycontrol.com/images/pyt_2010/nirmal_bang_160.jpg","Mitesh Thacker"=>"https://images.moneycontrol.com/images/pyt_2010/miteshthacker_100.jpg", "Indiabulls Securities"=>"https://images.moneycontrol.com/images/pyt_2010/Indiabulls_160x60.jpg","Commtrendz"=>"https://images.moneycontrol.com/images/pyt_2010/commtrendz_160.jpg","Dani Commodities"=>"https://images.moneycontrol.com/images/pyt_2010/dani_160.jpg"); $broker_logo = $logo_arr[$broker]; $curr_dt = date("Y-m-d"); $cutoff = date("Y-m-d", strtotime("$curr_dt -180 days")); $cutoff2 = date("Y-m-d", strtotime("$curr_dt -7 days")); $mb_cutoff = date("Y-m-d", strtotime("$curr_dt -1095 days")); if(isset($tab) and $tab==2) { $promo_flag=1; $data_sql = "select * from (select 'powercalls' news_cat, sc_scid scid, p.autono, heading, '' summary, expert impact, p.flag category, '' exp_img_path, target1 target, stoploss1 recprice, '' stock, '' call_date, p.ent_date, scrip_name expiry_date, category cat from research_trading_calls p,rank_promo_calls r where p.autono=r.autono and r.flag='bk' and table_flag = '".$broker."') and p.category = 'Commodity' as result order by ent_date desc "; } else { $promo_flag=0; $data_sql = "select * from (select 'powercalls' news_cat, sc_scid scid, p.autono, heading, '' summary, expert impact, p.flag category, '' exp_img_path, target1 target, stoploss1 recprice, '' stock, '' call_date, p.ent_date, scrip_name expiry_date, category cat from research_trading_calls p,rank_promo_calls r where p.autono=r.autono and r.flag='bk' and table_flag = '".$broker."' and p.category != 'Commodity' union select 'multibaggers' news_cat, scid, p.autono, mainstory heading, summary, exp_name impact, exp_des category, exp_img_path, target, rec_price recprice, stock, call_date, p.ent_date, '' expiry_date, '' cat from pyt_multibaggers p,rank_promo_calls r where p.autono=r.autono and r.flag='bk' and table_flag = '".$broker."' ) as result order by ent_date desc "; } ?> PowerYourTrade.com - Exclusive Trading Calls, Trading Tips, Stock Signs, Stocks to Watch

You have not subscribed
to PowerYourTrade.com

SUBSCRIBE NOW!
query($data_sql); $tot = $q->num_rows(); if($tot<1){ if($promo_flag==1) { $data_sql = "select * from (select 'powercalls' news_cat, sc_scid scid, autono, heading, '' summary, expert impact, flag category, '' exp_img_path, target1 target, stoploss1 recprice, '' stock, '' call_date, ent_date, scrip_name expiry_date, category cat from research_trading_calls where expert='".$broker."' and category = 'Commodity' and (ent_date between '".$mb_cutoff."' and '".$cutoff2."')) as result order by ent_date desc "; } else { $data_sql = "select * from (select 'powercalls' news_cat, sc_scid scid, autono, heading, '' summary, expert impact, flag category, '' exp_img_path, target1 target, stoploss1 recprice, '' stock, '' call_date, ent_date, scrip_name expiry_date, category cat from research_trading_calls where expert='".$broker."' and (ent_date between '".$mb_cutoff."' and '".$cutoff2."') and category != 'Commodity' union select 'multibaggers' news_cat, scid, autono, mainstory heading, summary, exp_name impact, exp_des category, exp_img_path, target, rec_price recprice, stock, call_date, ent_date, '' expiry_date, '' cat from pyt_multibaggers where (delete_status is null or delete_status='') and exp_name='".$broker."' and (call_date between '".$mb_cutoff."' and '".$cutoff2."')) as result order by ent_date desc "; } $q->query($data_sql); $tot = $q->num_rows(); } if($tot > 0) { if (!$pageno) { $st=0; $pageno=1; } else $st=($pageno-1)*15; if($next=="" && $prev=="") { $next=0; $nn=$next*10; $ll=$nn+10; } else if($prev>1) { $nn=($prev-1)*10; $ll=$nn+10; $pre=$prev-1; $next=$pre; } else { $nn=$next*10; $ll=$nn+10; $pre=$next; } if($next=="") $next=0; $show_url=strtolower(str_replace(" ","",$showcat)); $show_url=strtolower(str_replace("'","",$show_url)); $total_count=$tot; $news_count=$total_count; $total_count=$total_count/15; $total_count=ceil($total_count)-1; if(($total_count*15)<$tot) $total_count++; $pagecount=0; $pageall=""; $nex=""; while ($pagecount!=$total_count) { $pagecount++; if($pagecount>$nn && $pagecount<=$ll) { if ($pagecount==$pageno) $pageall .= "
  • $pagecount
  • \n"; else { $pageall .= "
  • ".$pagecount."
  • \n"; } $last_cc=$pagecount+1; } else if($pagecount>$ll) { $nex=$next+1; break; } } if($total_count > 1) { if($nex!="") { $pageall .= "
  • Next »
  • \n"; } else { $pageall .= "
  • Next »
  • \n"; } } #$pageall .= "
    "; if($total_count > 1) { if($nex>1 || $pre>=1) { $last_pr=$last_cc-20; if($last_pr<1) $last_pr=1; $pageall = "
  • « Previous
  • \n".$pageall; } else { $pageall = $pageall; //"
  • « Previous
  • \n" } } else { #$pageall = "
    ".$pageall; } } ### Code for pagination ends here #### if($broker=='Mitesh Thacker'){ ?>

    BROKER

    query($data_sql); while($q->next_record()) { $news_cat = $q->f('news_cat'); $scid = $q->f('scid'); $autono = $q->f('autono'); $heading = $q->f('heading'); $summary = $q->f('summary'); $impact = $q->f('impact'); $category = $q->f('category'); $call_cat = $q->f('cat'); $expiry_date = $q->f('expiry_date'); $exp_img_path = $q->f('exp_img_path'); $target = $q->f('target'); $rec_price = $q->f('recprice'); $stock = $q->f('stock'); if($news_cat == "multibaggers") $ent_date = $q->f('call_date'); else $ent_date = $q->f('ent_date'); $diff = $q->f('diff'); $msg_dat=substr($ent_date,0,10); $msg_yr=substr($ent_date,0,4); $curr_dat=date("Y-m-d"); $curr_yr=date("Y"); if($curr_dat!=$msg_dat) { $date_all = explode(" ",$ent_date); $time_xpld = explode(":",$date_all[1]); $date_xpld = explode("-",$date_all[0]); if($curr_yr==$msg_yr) { $filing_dt = date("g.i A M jS", mktime($time_xpld[0], $time_xpld[1], 0, $date_xpld[1], $date_xpld[2], $date_xpld[0])); } else { $filing_dt = date("g.i A M jS Y", mktime($time_xpld[0], $time_xpld[1], 0, $date_xpld[1], $date_xpld[2], $date_xpld[0])); } } else { $filing_dt = dateTimeDiff($ent_date)." ago"; } if($news_cat == "multibaggers") { $disp_category = "MULTIBAGGERS"; $stock = $q->f('stock'); #$target = $category; $target = $q->f('category'); $rec_price = $q->f('recprice'); $brok_imgpath = $img_arr[$broker]; $current_closeprice = stock_price($scid,"BSE","lastprice"); if($current_closeprice=="") { $current_closeprice = stock_price($scid,"NSE","lastprice"); } #$chg = (($rec_price - $current_closeprice)/$rec_price)*100; $chg = round((($current_closeprice - $rec_price)/$rec_price)*100,2); #echo $rec_price."==".$current_closeprice."
    ".((($rec_price - $current_closeprice)/$rec_price)*100)."
    "; if($target == "BUY") $buysell_img = "Buy"; else if($target == "SELL") $buysell_img = "Sell"; else $buysell_img = ""; if($chg > 0) { $result = "Loss"; $gainloss = "(Profit ".$chg."%)"; } else { $result = "Gain"; $gainloss = "(Loss ".$chg."%)"; } if(strlen($summary) > 100) { $summary = substr($summary,0,100)."..."; } echo "

    ".$disp_category."

    ".$category."

    ".$filing_dt."

    ".$buysell_img."

    ".$stock."

    RECOMMENDED PRICE ".$rec_price."

    CURRENT PRICE ".$current_closeprice." ".$gainloss."

    ".$summary."

    "; } else if($news_cat == "powercalls") { if($call_cat=="Commodity") { $disp_category = "COMMODITY CALL"; $hd_style = "font: 13px/15px Arial"; } else { $disp_category = "POWER CALL"; $hd_style = ""; } #$target = $category; $brok_imgpath = $img_arr[$broker]; $expimg = $expimg_arr[$exp_name]; $expdesig = $expdes_arr[$exp_name]; $rec_price = $q->f('recprice'); $stop_loss = $rec_price; if($category == "BUY") $image_name = ""; else if($category == "SELL") $image_name = ""; else $image_name = ""; $stock_flag = 0; if(strlen($scid) > 0 and $call_cat != "Commodity") { $stock_flag = 1; $stock_name = stock_price($scid,"BSE","","1"); if($stock_name == "") { $stock_name = stock_price($scid,"NSE","","1"); } $stock_details = "
    ".$image_name."".$stock_name."
    "; }else if(strlen($scid) > 0 and $call_cat == "Commodity"){ $get_mcx_price = "select ltp, ltt, close, cont_symbol, cont_expiry from mcx_commodity where cont_symbol='".$scid."' and expiry_date='".$expiry_date."'"; $q1->query($get_mcx_price); if($q1->next_record()){ $ltp = $q1->f("ltp"); $last_trd_time = $q1->f("ltt"); $cont_symbol = $q1->f("cont_symbol"); $cont_expiry = $q1->f("cont_expiry"); $close = $q1->f("close"); $last_trd_time = explode(" ",$last_trd_time); $date = explode("-",$last_trd_time[0]); $time = explode(":",$last_trd_time[1]); $feed_time = date("M d, G:i",mktime($time[0],$time[1],$time[2],$date[1],$date[2],$date[0])); $per = number_format(((($ltp-$close)/$close)*100),2); if ($per>0) { $image_class=""; $fontcolor="gr_18"; } else if ($per<0) { $image_class=""; $fontcolor="r_18"; } else { $image_class=""; $fontcolor="b_18"; } $stock_name = "

    ".$cont_symbol." ".$cont_expiry."

    ".$ltp."".$image_class."".$per."%MCX ".$feed_time."

    "; $stock_details = "
    ".$image_name."".$stock_name."
    "; }else{ $stock_details = ""; } } else { $stock_details = ""; } $det_flag = 0; $det_disp = "
    "; if($target != "" && $target != 0) { $det_flag = 1; $det_disp .= "

    TARGET ".$target."

    "; } if($stop_loss != "" && $stop_loss != 0) { $det_flag = 1; $det_disp .= "

    STOP LOSS".number_format($stop_loss,2)."

    "; } if($det_flag == 1) $det_disp .= "

    "; else $det_disp = "
    "; if($stock_flag == 1 || $det_flag == 1) { $display_details = "
    ".$stock_details.$det_disp."

    ".$heading."

    "; } else { $display_details = "

    ".$heading."

    "; } echo "

    ".$disp_category."

    ".$expdesig."

    ".$filing_dt."

    ".$display_details; } $ctr++; } if($ctr == 0) { if($promo_flag==1) echo "

    No Commodity Calls at the moment.

    "; else echo "

    No multibaggers at the moment.

    "; } ?>