= "2012-05-30" && $commodity!=1) { //echo "You have not subscribed to this pack ... Please subscribe"; header("Location:/plus/subscribed/index.php?category=Commodity"); exit; } if(in_array($user_pack, $inv_arr) && (($category == "PowerCalls" && $tr!=1) || ($category == "commodity" && $commodity!=1))) { //echo "You have not subscribed to this pack ... Please subscribe"; header("Location:/plus/subscribed/index.php?category=PowerCalls"); exit; } if(in_array($user_pack, $commodity_arr) && $category == "PowerCalls" && $tr!=1) { //echo "You have not subscribed to this pack ... Please subscribe"; header("Location:/plus/subscribed/index.php?category=PowerCalls"); exit; } $experts_array = get_experts_array(); $curr_dt = date("Y-m-d"); $cutoff = date("Y-m-d", strtotime("$curr_dt -1 days")); $category_arr = array("MultiBaggers"=>"1", "StockSigns"=>"2", "StockImpact"=>"3", "MktOutlook"=>"4", "StreetTalk"=>"5", "PowerCalls"=>"6"); function stock_details($sc_id,$index) { require_once( $_SERVER['DOCUMENT_ROOT']."/mccode/common/mysql_conn.php"); $conn_read24=Open_Connection("main_read"); if($index == "NSE") { $ex = "NSE : "; $table = "livense_tick"; } else { $ex = "BSE : "; $table = "livebse"; } $price_array = array(); $sql_2 = "SELECT CURRENTCLOSEPRICE, SC_ID, SC_COMP, PREVCLOSE, round(((CURRENTCLOSEPRICE/PREVCLOSE)-1)*100,2) PERGAINLOSS, DTTIME from ".$table." WHERE SC_ID='$sc_id'"; $rec = mysql_query($sql_2,$conn_read24); if($row = mysql_fetch_array($rec)) { $price_array['CURRENTCLOSEPRICE']=$row['CURRENTCLOSEPRICE']; $price_array['SC_ID']=$row['SC_ID']; $price_array['SC_COMP']=$row['SC_COMP']; $price_array['PREVCLOSE']=$row['PREVCLOSE']; $price_array['PERGAINLOSS']=$row['PERGAINLOSS']; $price_array['DTTIME']=$row['DTTIME']; } return $price_array; } function stock_price_string($row_arr,$index='BSE',$opt='',$up_img='') { $month_arr = array("1"=>"Jan", "2"=>"Feb", "3"=>"Mar", "4"=>"Apr", "5"=>"May", "6"=>"Jun", "7"=>"Jul", "8"=>"Aug", "9"=>"Sep", "10"=>"Oct", "11"=>"Nov", "12"=>"Dec"); if($index == "NSE") { $ex = "NSE : "; //$table = "livense_tick"; } else { $ex = "BSE : "; //$table = "livebse"; } if(count($row_arr)>0) { $row = $row_arr; $currentcloseprice=$row['CURRENTCLOSEPRICE']; $sc_id=$row['SC_ID']; $sc_comp=$row['SC_COMP']; $prevclose=$row['PREVCLOSE']; $pergainloss=$row['PERGAINLOSS']; $dttime=$row['DTTIME']; if(strlen($dttime)==7) $feed_time = $month_arr[substr($dttime,0,1)] ." ". substr($dttime,1,2) .", ". substr($dttime,3,2) .":". substr($dttime,5,2); else $feed_time = $month_arr[substr($dttime,0,2)] ." ". substr($dttime,2,2) .", ". substr($dttime,4,2) .":". substr($dttime,6,2); if ($pergainloss>0) { $image_class=""; $fontcolor="gr_18"; } else if ($pergainloss<0) { $image_class=""; $fontcolor="r_18"; } else { $image_class=""; $fontcolor="b_18"; } $pergainloss=number_format($pergainloss, 2, '.', '')."%"; $sysdate = date("Hi"); $day = date("D"); $i++; if($opt == "lastprice") { return $currentcloseprice; } else { if($opt == "split") $str = "

".$sc_comp."

|".$currentcloseprice."".$image_class."".$pergainloss."".$ex."".$feed_time."

"; else if($opt == "split_big") $str = "

".$sc_comp."

|

".$currentcloseprice."".$image_class."".$pergainloss."".$ex."".$feed_time."

"; else { #$str = "

".$sc_comp."

".$currentcloseprice."".$image_class."".$pergainloss."

"; $str = "

".$sc_comp."

".$currentcloseprice."".$image_class."".$pergainloss."".$ex."".$feed_time."

"; } return $str; } } } $expimg_arr = all_broker_images(); /*$expimg_arr = array("Ashwani Gujral"=>"https://images.moneycontrol.com/images/mcplus_plus/ashwaniguj_60.gif", "Hitendra Vasudeo"=>"https://images.moneycontrol.com/images/mcplus_plus/hitendra_vasudev_60.gif", "VK Sharma"=>"https://images.moneycontrol.com/images/mcplus_plus/VKSharma_75.gif", "E Mathew"=>"https://images.moneycontrol.com/images/mcplus_plus/emathew.gif", "Angel Broking"=>"https://images.moneycontrol.com/images/pyt_2010/Angel_Broking_100.jpg", "Bonanza"=>"https://images.moneycontrol.com/images/pyt_2010/Bonanza_100.jpg", "Emkay Global"=>"https://images.moneycontrol.com/images/pyt_2010/emkay_100.jpg", "Hem Securities"=>"https://images.moneycontrol.com/images/pyt_2010/HEM_Securities_100.jpg", "IFCI Financial Services"=>"https://images.moneycontrol.com/images/pyt_2010/IFCI_Financial_Services_100.jpg", "Karvy Stock Broking"=>"https://images.moneycontrol.com/images/pyt_2010/Karvy_100.jpg", "KR Choksey"=>"https://images.moneycontrol.com/images/pyt_2010/KR_Choksey_100.jpg", "Motilal Oswal"=>"https://images.moneycontrol.com/images/pyt_2010/Motilal_Oswal_100.jpg", "Sushil Finance"=>"https://images.moneycontrol.com/images/pyt_2010/Sushil_Finance_100.jpg", "Ventura Securities"=>"https://images.moneycontrol.com/images/pyt_2010/Ventura_Securities_100.jpg", "Rahul Mohindar"=>"https://images.moneycontrol.com/images/mcplus_plus/Rahul_Mohindar_60.jpg", "Nirmal Bang"=>"https://images.moneycontrol.com/images/pyt_2010/nirmal_bang_100.jpg", "Mitesh Thacker"=>"https://images.moneycontrol.com/images/pyt_2010/miteshthacker_60.jpg");*/ $expdes_arr = array("Ashwani Gujral"=>"ashwanigujral.com", "Hitendra Vasudeo"=>"stockmechanics.com", "VK Sharma"=>"Technical Analyst", "E Mathew"=>"matheweasow.com"); if($category=="commodity"){ $s_cid = "15"; $category_name = "Commodity Calls"; $tab_heading = "commodity"; $tab_section = "2"; $cat_sql = "select * from (select 'powercalls_res' news_cat, sc_scid scid, autono, heading, '' summary, expert impact, flag category, '1' exp_img_path, target1 target, stoploss1 recprice, '' stock, '' call_date, ent_date, category cat, scrip_name expiry_date from research_trading_calls where target1 > 0 and sc_scid!='' and (flag='BUY' OR flag='SELL') and category='Commodity') as result order by ent_date desc limit 30"; } else { $category = 'PowerCalls'; $s_cid = "4"; $category_name = "Power Calls"; $tab_heading = "stocks"; $tab_section = "1"; $cat_sql = "select * from (select 'powercalls_res' news_cat, sc_scid scid, autono, heading, '' summary, expert impact, flag category, '1' exp_img_path, target1 target, stoploss1 recprice, '' stock, '' call_date, ent_date, category cat, scrip_name expiry_date from research_trading_calls where target1 > 0 and sc_scid!='' and (flag='BUY' OR flag='SELL') and category!='Commodity' union 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, '' cat, '' expiry_date from trading_calls where target1 > 0 and sc_scid!='' and (flag='BUY' OR flag='SELL') ) as result order by ent_date desc limit 30"; } ?> PowerYourTrade.com - Exclusive Trading Calls, Trading Tips, Stock Signs, Stocks to Watch

query($cat_sql); $tot = $q->num_rows(); $ctr=0; $q->query($cat_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'); $exp_img_path = $q->f('exp_img_path'); $target = $q->f('target'); $rec_price = $q->f('recprice'); $stock = $q->f('stock'); $ent_date = $q->f('ent_date'); $diff = $q->f('diff'); $call_cat = $q->f('cat'); $expiry_date = $q->f('expiry_date'); /*$lastprice = stock_price($scid,"NSE","lastprice","1"); if($stock_name == "") { $lastprice = stock_price($scid,"BSE","lastprice","1"); }*/ if(strlen($scid)>0 and $call_cat != "Commodity") { $stock_arr = stock_details($scid,"BSE"); $ex = "BSE"; if(count($stock_arr)==0){ $stock_arr = stock_details($scid,"NSE"); $ex= "NSE"; } $lastprice = $stock_arr['CURRENTCLOSEPRICE']; $sc_comp = $stock_arr['SC_COMP']; $prevclose = $stock_arr['PREVCLOSE']; $pergainloss = $stock_arr['PERGAINLOSS']; $dttime = $stock_arr['DTTIME']; $cont_expiry = ""; }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()){ $ex = "MCX"; $lastprice = $q1->f("ltp"); $dttime = $q1->f("ltt"); $sc_comp = $q1->f("cont_symbol"); $cont_expiry = $q1->f("cont_expiry"); $prevclose = $q1->f("close"); $pergainloss = number_format(((($lastprice-$prevclose)/$prevclose)*100),2); } } $rec_price = sprintf("%01.2f",$rec_price,2); if(($category=='BUY' && $lastprice >= $rec_price) || ($category=='SELL' && $lastprice <= $rec_price)){ if($category=='BUY') { $sort_price = (($target-$lastprice)/$lastprice)*100; }else if($category == "SELL"){ $sort_price = (($lastprice-$target)/$lastprice)*100; }else{ $sort_price = ''; } //echo'
autono='.$autono.' cat='.$category.' Cpr='.$lastprice.' SL='.$rec_price; $exp_name = $impact; $expimg = $expimg_arr[$exp_name]; $powercall_array[0][$ctr] = $autono; $powercall_array[1][$ctr] = $exp_name; $powercall_array[2][$ctr] = $expimg; $powercall_array[3][$ctr] = $expdesig; $powercall_array[4][$ctr] = $target; $powercall_array[5][$ctr] = $stop_loss; $powercall_array[6][$ctr] = $category; $powercall_array[7][$ctr] = $scid; $powercall_array[8][$ctr] = $heading; $powercall_array[9][$ctr] = $summary; $powercall_array[10][$ctr] = $exp_img_path; $powercall_array[11][$ctr] = $ent_date; $powercall_array[12][$ctr] = $sort_price; $powercall_array[13][$ctr] = $lastprice; $powercall_array[14][$ctr] = $sc_comp; $powercall_array[15][$ctr] = $prevclose; $powercall_array[16][$ctr] = $pergainloss; $powercall_array[17][$ctr] = $dttime; $powercall_array[18][$ctr] = $ex; $powercall_array[19][$ctr] = $cont_expiry; $ctr++; } }//while ############### Sort array here ######################### array_multisort($powercall_array[12],SORT_DESC,SORT_NUMERIC,$powercall_array[0],$powercall_array[1], $powercall_array[2],$powercall_array[3],$powercall_array[4],$powercall_array[5],$powercall_array[6], $powercall_array[7],$powercall_array[8],$powercall_array[9],$powercall_array[10],$powercall_array[11], $powercall_array[13],$powercall_array[14],$powercall_array[15],$powercall_array[16], $powercall_array[17],$powercall_array[18],$powercall_array[19]); ########################################################## if($ctr >= 15)$ctr = 15; for($i=0; $i < $ctr; $i++) { $autono = $powercall_array[0][$i]; $exp_name = $powercall_array[1][$i]; $expimg = $powercall_array[2][$i]; $expdesig = $powercall_array[3][$i]; $target = $powercall_array[4][$i]; $stop_loss = $powercall_array[5][$i]; $category = $powercall_array[6][$i]; $scid = $powercall_array[7][$i]; $heading = $powercall_array[8][$i]; $summary = $powercall_array[9][$i]; $exp_img_path = $powercall_array[10][$i]; $ent_date = $powercall_array[11][$i]; $sort_price = $powercall_array[12][$i]; $lastprice = $powercall_array[13][$i]; $sc_comp = $powercall_array[14][$i]; $prevclose = $powercall_array[15][$i]; $pergainloss = $powercall_array[16][$i]; $dttime = $powercall_array[17][$i]; $ex = $powercall_array[18][$i]; $cont_expiry = $powercall_array[19][$i]; if($ex!="MCX") { $pass_arr = array("CURRENTCLOSEPRICE"=>$lastprice,"SC_ID"=>$scid,"SC_COMP"=>$sc_comp, "PREVCLOSE"=>$prevclose,"PERGAINLOSS"=>$pergainloss,"DTTIME"=>$dttime); /*$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"; } $str = "

".$sc_comp."

".$currentcloseprice."".$image_class."".$pergainloss."".$ex."".$feed_time."

";*/ $stock_name = stock_price_string($pass_arr,$scid); if($stock_name == "") { $stock_name = stock_price_string($pass_arr,$scid); } }else if($ex=="MCX"){ if ($pergainloss>0) { $image_class=""; $fontcolor="gr_18"; } else if ($pergainloss<0) { $image_class=""; $fontcolor="r_18"; } else { $image_class=""; $fontcolor="b_18"; } $last_trd_time = explode(" ",$dttime); $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])); $stock_name = "

".$sc_comp." ".$cont_expiry."

".number_format($lastprice,2)."".$image_class."".$pergainloss."%MCX ".$feed_time."

"; } if($news_cat == "powercalls") { $disp_exp_name = $exp_name; if(in_array($exp_name,$experts_array))$width = '60px'; else $width = '100px'; $expimg = ""; if($category == "BUY") $image_name = ""; else if($category == "SELL") $image_name = ""; else $image_name = ""; $det_flag = 0; $det_disp = "
"; if($target != "" && $target != 0) { $det_flag = 1; $det_disp .= "

TARGET ".number_format($target,2)."

"; } 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 = ""; echo "
".$expimg."

".$disp_exp_name."

".$expdesig."

".$filing_dt."

".$image_name."

".$stock_name."

".$det_disp."

".$heading."

"; } else if($news_cat == "powercalls_res") { if(in_array($exp_name,$experts_array))$width = '60px'; else $width = '100px'; $disp_exp_name = ""; $expimg = ""; $det_flag = 0; $det_disp = "
"; if($target != "" && $target != 0) { $det_flag = 1; $det_disp .= "

TARGET ".number_format($target,2)."

"; } 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($category == "BUY") $image_name = ""; else if($category == "SELL") $image_name = ""; else $image_name = ""; echo "
".$expimg."

".$disp_exp_name."

".$expdesig."

".$filing_dt."

".$image_name."

".$stock_name."

".$det_disp."

".$heading."

"; } }//for if($tot==0){ ?>

No Power Calls at the moment.

Missed investment opportunities can cost you dearly

Get critical & timely information on your Stocks on SMS, email and on our desktop application

Time - %H.%ihrs') as cdate, status, file_name cfilename, autono from chat_plus where rank in(1,3,5,7) order by rank "; $q10->query($sqlch); $q10->next_record(); $preface = $q10->f("preface"); $cceoname = $q10->f("celeb_name"); $cstatus = $q10->f("status"); $cdesi = $q10->f("celeb_desgn"); $corg = $q10->f("celeb_orgn"); $folderdate = $q10->f("folderdate"); $cceoname = ucwords($cceoname); if($cceoname != "" && $cdesi != "") $cdesi = "".$cceoname .", ". $cdesi; if($cceoname!="" && $cdesi=="") $cdesi = "".$cceoname.""; if(strlen($corg)!=1 && strlen($cdesi)!=0) { $corg=$corg; } $cdate = $q10->f("cdate"); $cfilename = $q10->f("cfilename"); $tmp = split (' ', $cceoname); $img = "https://images.moneycontrol.com/images/mcplus_plus/chat/".$tmp[0].".gif"; $imgpath = ""; if($cstatus=="live") { $chatgif=""; $ctrtime=""; $ctrname=$cceoname; $joinnow="
"; $currentchat=""; } else if($cstatus=="next") { $chatgif=""; $ctrtime=$cdate; $ctrname="".$cceoname.""; $joinnow=""; } else if($cstatus=="transcript") { $chatgif=""; $ctrtime=$cdate; $ctrname=$cceoname; $currentchat="
PreviousCurrent
"; $joinnow=""; } else if($cstatus=="upcoming") { $chatgif=""; $ctrname=$cceoname; $currentchat="
PreviousUpcoming
"; $joinnow=""; } ?>

Market Action

INDIAN INDICES

".$index_value[1].""; $lastprice = $row[2]; $change = $row[3]; $chan = str_replace('-','',$change); if($change > 0) $color = "gr_12"; elseif($change < 0) $color = "r_12"; else $color = "b_12"; echo ""; $ar++; } ?>
".$index_link."".$lastprice."".$change."

GLOBAL INDICES

BROKERAGE RECCOS
    'NULL' and related_scid is not NULL) and publish='Y'order by ent_date desc limit 0,5"; $result_rec = mysqli_query($main_read, $sql_rec); $cntt = 0; while($row_rec = mysqli_fetch_array($result_rec)) { $cntt++; $heading_rec = $row_rec['heading']; $autono_rec = $row_rec['autono']; echo "
  • ".$heading_rec."
  • "; } ?>

Read All

IPO NEWS