How to add time in Price Chart ?
I have written a small code .... but there is no time is displayed in the chart.
what I'm missing here ?
Here is the code:
_SECTION_BEGIN("AFL Coding");
SetBarFillColor( IIf( Close > Open, colorGreen, colorRed ) );
Plot(C,"Price", colorBlack, styleCandle );
Plot(EMA(C,3),"EMA(3)", colorRed );
Plot(EMA(C,15),"EMA(15)", colorGreen );
Buy=Cross(EMA(C,3),EMA(C,15));
Sell=Cross(EMA(C,15),EMA(C,3));
Filter = 1;
AddColumn( Close, "Close" );
_SECTION_END();
I have written a small code .... but there is no time is displayed in the chart.
what I'm missing here ?
Here is the code:
_SECTION_BEGIN("AFL Coding");
SetBarFillColor( IIf( Close > Open, colorGreen, colorRed ) );
Plot(C,"Price", colorBlack, styleCandle );
Plot(EMA(C,3),"EMA(3)", colorRed );
Plot(EMA(C,15),"EMA(15)", colorGreen );
Buy=Cross(EMA(C,3),EMA(C,15));
Sell=Cross(EMA(C,15),EMA(C,3));
Filter = 1;
AddColumn( Close, "Close" );
_SECTION_END();