Termos de Referência
I need an EA, based on divergence of two oscillators. In this case RSI and OBV, WITHOUT CONSIDERING THE PRICE. Let's say you have the RSI and OBV on two separate indicator chart panel. The EA will scan the RSI and OBV at the same space or point and see if there is divergence between the two oscillators and make a trade decision solely based on that without looking at the price.
The divergence could be formed by two, three or multiple of moves as depicted on the oscillators. I repeat no reference to the candlesticks price.
The screenshot attached show exactly what I am talking about. There shows five different divergence formed between the RSI and the OBV. The first is a buy, the second a sell, the third a buy, the fourth a sell and the fifth a buy divergence.
On detection or confirmation of divergence, you wait for positive candlestick to enter a trade. In case for buy divergence you wait for green candlestick before entry and in case of sell divergence, you wait for red candlestick before entry.
When a divergence occurs between RSI and OBV on a lower low, the EA picks a SELL trade
When a divergence occurs between the RSI and OBV on a higher high, the EA picks a BUY trade
BUY SIGNALS -
Divergence between the two oscillators.
If there are open Sell Trade(s), and USE OPPOSITE SIGNAL AS EXIT is True, close Sells. Then proceed to buy.
If there are open Sell Trade(s), and USE OPPOSITE SIGNAL AS EXIT is False, Do nothing.
If there are open Buy Trade(s), Then proceed to buy.
If there are no open Trade(s), Then proceed to buy.
SELL SIGNALS -
Divergence between the two oscillators.
If there are open Buy Trade(s), and USE OPPOSITE SIGNAL AS EXIT is True, close Buys. Then proceed to Sell.
If there are open Buy Trade(s), and USE OPPOSITE SIGNAL AS EXIT is False, Do nothing.
If there are open Sell Trade(s), Then proceed to Sell.
If there are no open Trade(s), Then proceed to Sell.
4. SIGNAL DIVERSIFICATION:
The Algorithm shall have the capacity to trade signals from a maximum of 30 symbols on one chart.
5. TRADING SESSION:
An Option will shut down trading program and close open trades at a user specified time on Friday.
An Option will restart the trading program at a user specified time on Sunday or Monday if it was shut down Friday.
6. DATA AND PROCESS REPORTING:
An Option will enable Alerts for trades opened