basic ma touch
-
Hello guys, it has been quite a long time since i havent been in the forum. But im back on track. So what i want to make is open a postion once candle touches ma, directly not after one candle has passed. I tried out canlde 0 > ma or price x indicator blocks, but it always opens trade 1 candle later, not instantly. Can someone help me with creating the touch condition? Kind regards

-
@fabien-s Well, candle ID0 should be the right way even if I don't use it that way. Does it always happen this way? As the MA is repainted on candle ID0 as well, the result on the chart may not reflect the time when the MA cross or touch has happened.
-
@trader-philipps said in basic ma touch:
@fabien-s Well, candle ID0 should be the right way even if I don't use it that way. Does it always happen this way? As the MA is repainted on candle ID0 as well, the result on the chart may not reflect the time when the MA cross or touch has happened.
yep its really strange see: this is now with candle 0>ma id 0 https://fxdreema.com/shared/Z5su5kpBc

it lags one candle and i think you are right the resultson chart might not reflect the time
-
Do not use any candle info on the left operand. Instead use Maket properties > Ask or Bid.
-
@l-andorrà i tried it out but still laggs one candle
-
@fabien-s Are you testing open prices only?
-
@roar thanks a lot roar!! that was the issue
