Thanks for the reply.
Do you mean we can't use a custom variable as 1st parameter of the CrossAbove() method?
If so why not? Is there a sensible reason?
If not can you update NT8 to make it accept custom variables for the CrossAbove() method and not just default data series?
In the mean time is it possible to get the same result as when using the CrossAbove() method but with the greater than operator with custom variables?
For example when CurrClose transitions from below PrevHigh to above PrevHigh?
I can't see how to render this transition in the logic.
Something like that
if (CurrClose < PrevHigh && [B]'then' [/B]CurrClose > PrevHigh)
{
PlaySound(@"C:\Program Files (x86)\NinjaTrader 8\sounds\Alert1.wav");
}
Thanks a lot!

Comment