Hii,
In the attached work book i have indicated a showbar with a condition below.
HIGH() CrossesAbove MA(BARS=50)
However in the attached image below there is a bar where the high crossesabove the 50 EMA is not captured by the showbar. I think the above code only works if the previous bar high was below the 50 ema. Is there a way to write the code in optuma to use price crosses above the 50 ema in order to capture the highlighted bar rather than using OHLC.
Regards,
Deepak
High-Crosses-Above-50-EMA.owb (9.04 KB)