Hi,
Can you please explain how I would go about writing up a divergence EA, using either RSI, MACD, CCI, etc. ???
For instance, for a buy:
The current pivot point of the RSI is higher than the previous pivot point; and the current price pivot point is lower than the previous pivot point.
Now the thing is, the last pivot point is undeterminable by the "shift" functionality within the TA. It needs to be something along the lines of within the last 48 (24 or 12) 5min bars.
Can you please explain and give an example of how I would go about writing up a divergence EA?
Cheers,
|