Comparison on ThinkorSwim

One can use default ToS Comparison study as a upper study

or code below as a lower study

Code:
declare lower;
input symbol = {default "/VX", "/YM", "/NQ"};
def c = close(symbol);
plot _close = c;
_close.SetPaintingStrategy(PaintingStrategy.LINE);
_close.SetStyle(Curve.FIRM);
_close.SetDefaultColor(Color.BLUE);
_close.SetLineWeight(1);
_close.HideBubble();
_close.HideTitle();
 
Last edited:
it did not work on my end :(

I attach a screenshot of how my chart looks after clicking apply.
 

Attachments

  • MyComparisonCapture.PNG
    MyComparisonCapture.PNG
    98.7 KB · Views: 45
When you state: "...both having pivots ". Please define specifically what pivot study you want... There are numerous version and we don't have time/patience to guess what the hell you keep alluding to! "pardon my French". Produce a working thinkscript with one symbol! Then that may produce a reference to add a secondary symbol! I provided one to you in another post. Tell me if you want that one or another one! Need non subjective responses please!
 
I would not like ...
...

It's hard to get everything one's want :)
I would not use Pivots anyhow. It simply does not work. However it's matter of experience and personal choice.
You have to experience it yourself.

Happy Trading to You. :)
 
Last edited:
Back
Top