Hello, I'm trying to find mark prices lower than stock/option "LOW" price. I tried the code below but returning incorrect values. Not sure what I'm doing wrong. I tried it on different intraday timeframe and still not accurate. If compare it with the TOS mark price and they are not the same value. Please help.
input priceType = PriceType.MARK; plot MarkPrice = close(priceType = priceType); addlabel(yes, if markprice >= low then "YES" else if markprice =< low then "NO" else if markprice ==low then "EQUAL" else " ");