Page 1 of 1

PS Division

Posted: Fri Jul 29, 2016 6:45 pm
by henry1224
under the parameter tab

N double 63 2 100
N2 double 13 2 100

here is the code

var1:= SlopeLR(C,N)/C;

a:=var1>MA(var1,N2);
b:=var1<MA(var1,N2);
Long:BarsSince(A)<BarsSince(B),ColorGreen;
Short:BarsSince(A)>BarsSince(B),ColorRed;
FillRgn(Long>0,0,Long),Brush#50008000;
FillRgn(Short>0,0,Short),Brush#50800000;