Trend Magic indicator draws a SL line based on CCI(50) and ATR(5). It is quite accurate and does not repaint. However, I would like to have an alert when the following trading conditions occur. The principle is simple: when current bar (0) is opened, the indicator values of two preceding bars are compared. If TM(-1) > TM(-2), then buy. Alternatively, - sell. If TM(-1) = TM(-2), then no trade. Could someone help me with such a script?
Attached File(s)
Trend Magic.ex4
3 KB
|
725 downloads