How was the result
Though all scrips moved 2% or more, those with least positive diff. moved more compared to yesterday. This was a test. So I created one more Long Average range price (20 days).
Code:
Range = (H-L);
//Plot(Range,"Range",ParamColor("Range Color", colorGreen),styleLine);
AveragePrice = (H+L)/2;
RangePercent = Range/AveragePrice * 100;
Plot(RangePercent,"RangePercent",ParamColor("Percent Color", colorBlue),styleLine);
ARP = MA(RangePercent,Param("ARP MA Period",5,3,100,1));
LARP = MA(RangePercent,Param("LARP MA Period",20,10,100,1));
Plot(ARP,"ARP",ParamColor("ARP Color", colorTan),styleLine);
Plot(LARP,"LongARP",ParamColor("LARP Color", colorRed),styleLine);
//id = RangePercent>=ARP;
id = Cross(ARP,LARP);
Filter = 1;
//Filter = id;
AddColumn(RangePercent,"RangePercent");
AddColumn(ARP,"ARP");
Diff = RangePercent - ARP;
AddColumn(Diff,"Diff");
AddColumn(LARP,"LARP");
SetSortColumns(-4)
NF and BNF are at the bottom along with Goldbees
Take this sample chart of Siemens. Volatility increases when ARP looks up and crosses LARP and we can get 4-5 days of good trading range in it.
Edit - I am sure that when NF and BNF become volatile, individual scrips will be much more volatile giving better trading opportunities.
Last edited: