Is there any way to have the strat check to see if it's the open of the bar and if, for example, the MACD crossed up at the open of the bar? I have to use CalculateOnBarClose = false for my trail so I can't seem to find the right code.
Please correct me if I'm wrong but I don't think FirstTickOfBar works with anything set to [0] and I can't use indicators set to [1] as I'm checking to see if we've had a cross at open. Taking out FirstTickOfBar and using CrossAbove lets it enter whenever the condition becomes true, including intrabar and several times per bar. Unfortunately, I only want to enter if the conditions are true at open.
Thanks,
Dave

Comment