Forums ProRealTime English forum ProOrder support How do I open a position in the first bar of a newly started trading system ? Reply To: How do I open a position in the first bar of a newly started trading system ?

#65767

I think the problem are the pre-loaded bars. The reason why

does not work, is that the ONCE commands are not executed at the beginning of the trading system, but at barindex = 1, which is the first of the pre-loaded bars in the past.