Wrong timeframe close for candle condition
-
when I run this EA on the 1H and 15min timeframe simultaneously it closes based off the wrong timeframe can anyone offer assistance https://fxdreema.com/shared/pMLvnHmU
-
@l-andorrà @seb-0 any ideas? Thanks always for your help
-
@drewliedadeuce
It's not made to run the same EA on the same instrument, but on different timeframes.
I think you should use the "set current timeframe" block, but it's a little more tricky.
Do you guys confirm ? -
thanks for your help @seb-0 I think i understand what you are saying. So even though I have the EA on two separate charts this would still apply?
-
@drewliedadeuce
Yes Im talking about this situation. When you attach an EA on two chart on the same instrument, the operations made on one chart window are made on the other. And in this case your EA will work confusingly on 2 different timeframes.
You could have things like : open a trade on one timeframe, close it almost instantly on the other one.
I would implement a "set current timeframes" block and assign different group number to the part of the EA which is on M15 and the one on H1(for opening and close trades). -
@seb-0 Exactly. Please remember that you can specify two different fully operational timeframes within the same EA. Just select the wanted one on the appropriate display menu in each 'condition' block or by using the block suggested by seb 0.