Req:- Syntax For Slope in Cross Over

pkgmtnl

Well-Known Member
#1
Dear Friends,

I have an expl AFL based on cross, wherein I want to put an additional conditions syntax wherein the cross over at a slope (angle) gr8er then 30 degree to baseline or vice versa for Buy or Sell conditions respectively.

Cond1 = Cross(MACD(r1,r2),Signal(r1,r2,r3));
Cond2 = Slope>??? (this syntax requd);

Buy = Cond1 AND cond2;

.....
....

can somebody guide on this? asnavale ji ur help is needed..
 

asnavale

Well-Known Member
#2
Dear Friends,

I have an expl AFL based on cross, wherein I want to put an additional conditions syntax wherein the cross over at a slope (angle) gr8er then 30 degree to baseline or vice versa for Buy or Sell conditions respectively.

Cond1 = Cross(MACD(r1,r2),Signal(r1,r2,r3));
Cond2 = Slope>??? (this syntax requd);

Buy = Cond1 AND cond2;

.....
....

can somebody guide on this? asnavale ji ur help is needed..
Already answered in the Plotting Help Thread.

-Anant
 

Similar threads