Hello
https://fxdreema.com/shared/mBChz5sUb
My EA works exclusively with Candle ID 1. It's a simple EA. CLOSE meets conditions, it should open on next bar.
Entry : if candle id 1 CLOSE crosses below Williams percent R value AND candle id 1 CLOSE is above 200MA, go long
Exit - if position close is below 200MA, exit
in backtesting, it works perfectly on the 1 min OHLC model. however, on live, it'll have mixed results. sometimes it'll work perfectly. in some cases, trades will open and then close immediately, despite the exit conditions not being met. I trade on higher TF so I know its not slippage. the losses are very small, for the most part. except when there's a high volatility, then the losses become severe.
I just wanted to get some extra eyes on this. Im not sure if it has to do something with the once per bar placement as I understand that if its placed above the condition block, it'll only check 1 tick or if it has something to do with candle ID.
Please advise