Entry Strategy:
When the latest candlestick opens, perform the following:
-
Look back to find the most recent candlestick where RSI closed below 30, then count the number of times RSI crosses above 70 to the right. If the previous candlestick’s close marks the third time RSI crosses above 70, place a 1-lot SELL order at the current price.
-
Look back to find the most recent candlestick where RSI closed above 70, then count the number of times RSI crosses below 30 to the right. If the previous candlestick’s close marks the third time RSI crosses below 30, place a 1-lot BUY order at the current price.
(The values 30 and 70 are parameters that can be modified in the EA's parameter window.) Additional Orders: This EA places at most one order per candlestick. No new orders will be placed if the previous order is still open.
Exit Strategy:
-
When an order is placed, the EA sets a 200-point stop loss and a 500-point take profit. The order will automatically close when the price hits the stop loss or take profit. (Stop loss and take profit points can be modified in the EA's parameter window.)
-
If the opposite entry condition is met, the current order is closed at the market price.