include("DbConnect.php");
include("PHPUtilities.php");
$iPHPUtilities = new PHPUtilities();
$iDbConnect= new DbConnect();
$iDbConnect->openConnection();
$strDetails="SELECT * FROM today_details ";
$rsOrders= $iDbConnect->getResultSet($strDetails);
$StrCDate=mysql_result($rsOrders,0,"tdate");
$StrCloseDat=mysql_result($rsOrders,0,"close");
$strBuydat=mysql_result($rsOrders,0,"buy");
$strSelldat=mysql_result($rsOrders,0,"sell");
$strStoplossdat=mysql_result($rsOrders,0,"stop_loss");
$strTar1dat=mysql_result($rsOrders,0,"target1");
$strTar2dat=mysql_result($rsOrders,0,"target2");
$strCutoffdat=mysql_result($rsOrders,0,"cutoffshare");
$strCbuydat=mysql_result($rsOrders,0,"cbuy");
$strCselldat=mysql_result($rsOrders,0,"csell");
$strFscrip=mysql_result($rsOrders,0,"fscrip");
$strPscrip=mysql_result($rsOrders,0,"pscrip");
$strSymbol=@$_REQUEST["symbol"];
$chart_type=@$_REQUEST["ddChart_type"];
$uind1=@$_REQUEST["uind1"];
$uind2=@$_REQUEST["uind2"];
$uind1_param=@$_REQUEST["tbuind1"];
$uind2_param=@$_REQUEST["tbuind2"];
$lind1=@$_REQUEST["lind1"];
$lind2=@$_REQUEST["lind2"];
$lind1_param=@$_REQUEST["tblind1"];
$lind2_param=@$_REQUEST["tblind2"];
if ($chart_type=="")
{
$chart_type="CANDLES";
}
if ($uind1=="")
{
$uind1="SMA";
}
if ($uind2=="")
{
$uind2="SMA";
}
if ($uind1_param=="")
{
$uind1_param="18";
}
if ($uind2_param=="")
{
$uind2_param="38";
}
if ($lind1=="")
{
$lind1="Vol";
}
if ($lind2=="")
{
$lind2="RSI";
}
if ($lind1_param=="")
{
$lind1_param="";
}
if ($lind2_param=="")
{
$lind2_param="14";
}
if ($strSymbol=="")
{
$strSymbol="NIFTYBEES";
}
if ($strFscrip%2==0){
$strBuyscrip=($strFscrip)/2;
$strSellscrip=($strFscrip)/2;
}
else{
$strBuyscrip=((($strFscrip-1)/2)+1);
$strSellscrip=($strFscrip-1)/2;
}
$strQuery="select symbol,close,preclose,((close - preclose) / preclose *100) as orgbuy from today_data where symbol like '".$strSymbol ."' order by orgbuy desc";
// echo $strQuery;
// exit;
$rsBuy= $iDbConnect->getResultSet($strQuery);
$intRecCount=mysql_Numrows($rsBuy);
$strQuery="select symbol,name_symbol from today_symbol where symbol like '".$strSymbol ."'";
$rsTitle= $iDbConnect->getResultSet($strQuery);
$intTitleCount=mysql_Numrows($rsTitle);
if ($intTitleCount>0){
$strTitle=mysql_result($rsTitle,0,"name_symbol");
}
else
{
$strTitle="";
}
?>
TODAY NIFTY CHART | NIFTY RSI CHARTS,NIFTY LIVE CHARTS,MOVING AVERAGE CHART,VOLUME BREAKOUT CHART,DOUBLE TOP CHART,TOPBOTTOM CHARTS,WORLD MARKET CHART,WORLD NEWS,WORLD STOCKS NEWS,WORLD EXCHANGE LIVE TRADING,TRADERS VIEW
ToDay Trading :: Building Market Confidence
Stock Analysis for |
|
Symbol : | |