Can someone help me to code an EA with the following rules:
- price within 20 pips of the daily high/low - that is OPPORTUNITY
- up/down candle closes
- up/down candle closes - note the high price of the up/down candle
- enter long at the up/down candle’s high/low price
- SL and TP options are also needed
E.g. Taking a short position
1)Price makes a new daily high
2)The up candle closes
3)The down candle closes
4)Enter short at the low of the down candle
E.g. Taking a long position
1)Price makes a new daily low
2)The down candle closes
3)The up candle closes
4)Enter long at the high of the up candle