Gainers and Losers

amitrandive

Well-Known Member
#1
Dear All

I would like to have a continuous exploration of the gainers and losers in a watch list.This exploration should also show the percent change since the previous bar on any time frame.
 

amitrandive

Well-Known Member
#2
Got the exploration on the net ,

Reference for all if required


//pchng = (C - Ref(C,-1)) /( Ref(C,-1) * 100);
pchng=ROC(C,1);
Filter = pchng;
AddColumn(Close, "Close Price",1.2 );
AddColumn(pchng, "Percent Change",1.2 ,textcolor=IIf( Ref(C,- 1)>C,colorRed,colorGreen));
 

Similar threads