Is there a way to create and input for a specific option that is the basis for the bid / ask spread being shown as a upper study on the underlying symbol"s chart.
Code:
def spread = Close(priceType = PriceType.ASK) - Close(priceType = PriceType.BID);
AddLabel(Spread, Concat ("Spread=", Spread), Color.GREEN);
AddLabel (yes, "Spread: " + spread ) ;
Last edited by a moderator: