I am using this code for getting latest signal at top in exploration for intraday.
Remove columns which you dont want then also change number of "setsortcolumn" but put negative sign in front.
Code:
mytimenum = DateTimeConvert( 1, DateTime() ); // - returns timenum
AddColumn(C ,"Price",1.2,colorBlack, IIf( Buy, colorGreen,IIf(Sell,colorRed,colorWhite) ));
AddColumn( IIf(Buy, 66, IIf(Sell, 83,01 )), "ACTION ", formatChar, IIf(Sell,colorRed,colorGreen) );
AddColumn( TimeNum(), "Date / Time", format=1);
SetSortColumns( -5) ;
Last edited: