I would need an EA based on a Pivot code taken from tradingview. The code for the PIVOT is attached.
1 trade per day at the same time 23:00pm ; No multiple entries
The EA must trade in this way: Based on Pivot H2, the EA must consider the 23:00 pivot level (H2) and:
1) BUY: if the price is below the pivot and the distance is at least SPREAD + 1 pip. ( TP can be the pivot level or a fixed number of pips)
2) SELL: if the price is above the pivot and the distance is at least SPREAD + 1 pip. ( TP can be the pivot level or a fixed number of pips)
In both cases (buy or sell order) if the distance between the pivot level and the 23:00 opening candle level is below the spread+1pip the ea
skip the trade and don't trade.
The calculation for the PIVOT MUST BE taken from the code attached.