tosalerts6247
New member
Hi,
I already have a code from thinkscript that creates a label for showing the difference between ES & SPX. Code below. This label works on both on my ES & SPX chart.
def ESclose = close("/ES");
def SPXclose = close("SPX");
def diff = ESclose - SPXclose;
addLabel(1,"SPX: "+SPXclose+" ES: "+ESclose +" ES-SPX: "+diff,color.white);
It uses a simple logic of doing the difference between ES & SPX closing prices.
Now if I am looking to plot ES key price levels as input to the indicator but can we apply the same logic wherein the ES price levels will be converted and plotted on SPX chart. I am looking to have the ES levels converted and plotted on my SPX chart.
Kindly please let me know if TOS supports such a functionality .
Thanks in advance
I already have a code from thinkscript that creates a label for showing the difference between ES & SPX. Code below. This label works on both on my ES & SPX chart.
def ESclose = close("/ES");
def SPXclose = close("SPX");
def diff = ESclose - SPXclose;
addLabel(1,"SPX: "+SPXclose+" ES: "+ESclose +" ES-SPX: "+diff,color.white);
It uses a simple logic of doing the difference between ES & SPX closing prices.
Now if I am looking to plot ES key price levels as input to the indicator but can we apply the same logic wherein the ES price levels will be converted and plotted on SPX chart. I am looking to have the ES levels converted and plotted on my SPX chart.
Kindly please let me know if TOS supports such a functionality .
Thanks in advance