Login Page - Create Account

Support Board


Date/Time: Fri, 19 Jan 2018 19:38:39 +0000



Post From: Writing Code

[2017-12-18 22:55:59]
tomgilb - Posts: 1753
Try this:
Longs:
OR(AND(CROSSFROMBELOW(ID3.SG3,0),ID2.SG1>0),AND(CROSSFROMBELOW(ID2.SG1,0),ID3.SG3>0))
Shorts:
OR(AND(CROSSFROMABOVE(ID3.SG3,0),ID2.SG1<0),AND(CROSSFROMABOVE(ID2.SG1,0),ID3.SG3<0))
where the MACD is ID3 and the CCI is ID2.