Expected Double: what is needed?

M

mike8u

New member
Hi I am not a coder so I ran into a problem off the bat: What does it mean when it expects double? How can I fix it?


Code:
input last = pricetype.LAST;
plot DeltaOpen  =  (last - open) / open;
 
BenTen

BenTen

Administrative
Staff
VIP
Here you go:

Code:
input priceType = PriceType.LAST;
def LastPrice = close(priceType = priceType);
plot DeltaOpen  = (LastPrice - open) / open;
 
M

mike8u

New member
Thank you BenTen, how can I use this on the MarketWatch tables? I realize that it is plotting to the chart and not as a column on MarketWatch which I thought I was doing.
 

Similar threads

Top