Code: Select all
If Date <> Date[1] then begin
If Condition1 then Buy Next Bar at Market
end ;
Is there any way to prioritize the order in which the signals are applied? For example, assume that I want the signal to execute in alphabetical order for the symbols, with the @EMD signal firing first, then @ES firing second, then @NQ, and finally @YM.
I'm basically looking for some way to replicate the keyword "PortfolioEntriesPriority" for the Portfolio Backtester, but on charts during live trading. Is there any way to determine the priority in which close-of-bar signals are calculated? Or is it essentially just random, based on when the each chart receive particular ticks from the data provider?
If it's the latter, one possibility would be to turn on IOG, and then have the symbols execute at different times, based on seconds. For example, I could use "If Time_S = 093101," "If Time_S = 093102," etc., to determine the priority for particular signals. Would this work?
Many thanks in advance.