Hi there,
can anyone help in putting all of these $PCI , $PCRL , $PCND , $ PCSP into the label code below ?
Is it possible to change the data period to any time frame ? And can I change the color settings to vwap trigger let say when the 5min candlestick pcr is closed above the vwap then it shows green ?
Appreciate if anyone can help....
Herewith the code
# Put-Call SP500 Label
# Markos
# useThinkscript Request 7-2019
# https://tos.mx/zGXVIH
input SYMB = "$PCSP";
def Data = close(symbol = "$PCSP", period = AggregationPeriod.DAY);
addLabel(1, "SP500 PCRatio = " + Data, if Data < 0
then color.red
else color.green);
can anyone help in putting all of these $PCI , $PCRL , $PCND , $ PCSP into the label code below ?
Is it possible to change the data period to any time frame ? And can I change the color settings to vwap trigger let say when the 5min candlestick pcr is closed above the vwap then it shows green ?
Appreciate if anyone can help....
Herewith the code
# Put-Call SP500 Label
# Markos
# useThinkscript Request 7-2019
# https://tos.mx/zGXVIH
input SYMB = "$PCSP";
def Data = close(symbol = "$PCSP", period = AggregationPeriod.DAY);
addLabel(1, "SP500 PCRatio = " + Data, if Data < 0
then color.red
else color.green);