I need help to understand CumulateOrders = True
Why does my strategy take 3 positions at the same time? Se attached
DEFPARAM CumulateOrders = True
PositionSize=1 //1=746 EUR
If RSI[14](close) < 70 then
buy PositionSize CONTRACT AT MARKET
SET STOP %LOSS 2
set target %profit 2
Endif
In backtests it should not. Is it real or demo trading?
Same for Proreltime Complete in backtest
He buys on every bar where the RSI is below 70… maybe use “crosses under” instead?
instead of change to “crosses under”. Is it possible to make tha strategy to only take 1 position/bar
3 positions at the same time?
It doesn’t for me, see attached, EURUSD 1 Hour TF.
Code is read only once at Close, so BUY should be made only once and therefore no cumulation on the same bar.
What you observed are orders closed at the same time by your breakeven or trailing stop SELL orders. If you want to get the precise time of entries of your BUY orders, look at “Orders list” in the detailed report.
Hi.
You are correct Nicolas.
Its only one buy-position. See attached
yes this may well be the cause as the condition is still true, I discovered this same issue a few days ago before tearing my hair out 😆