I have a question about calculating negative cumulative delta.
In my logic i have
For Longs I have this line and if delta is in negative for example -15200Open - 15000Close, will below formula evaluates correctly or not?
(Deltaclose > Deltaopen)
However for Shorts i have this line and if delta is in negative for example -15000Open - 15200Close, will below formula evaluates correctly or not?
(Deltaclose < Deltaopen)
Also for having cumulative engulfing bar condition, would this be correct?
(Deltaclose < Deltaopen) && (Deltaclose < Math.Min(DeltaopenPr, DeltaclosePr)) - For Shorts
(Deltaclose > Deltaopen) && (Deltaclose > Math.Max(DeltaopenPr, DeltaclosePr)) - For Longs
Please help because I dont think this logic is enough. Thank you
Comment