Opening a position every 1min if the condition are met
-
Im trying to open my position only at the beginning of the minute or at the first second of the new candle. So at 5:01.00 or at 10:31.00
But what is happening is my positions are opening at any time and all my indicators are set to candle ID 1

-
Not sure I fully understand what you mean. Candle ID 1 is the previous CLOSED candle. If you need something to happen in the first second of every minute exactly you should move your blocks to the 'on timer' tab instead and establish a 60 seconds period event. That way blocks will be checked exactly then, no matter what.
-
So the whole strategy should be move to "on timer"? I want to check if for example, candle stick crossed above MA but only trigger the buy order at 0 second. So if the trigger occurs at 15:04.52 then the buy order should be open at 15:05.00
-
No. In that case the MA checking must be in the 'on tick' tab. Only when that is true, you can use a boolean variable to then initiate the part in the 'on timer' where that 15:05:00 trade is open.