Comparison on ThinkorSwim

Discussion in 'Strategy Building' started by trader_knight, Sep 13, 2020.

  1. stepan7

    stepan7

    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: Sep 13, 2020
    #11     Sep 13, 2020
  2. it did not work on my end :(

    I attach a screenshot of how my chart looks after clicking apply.
     
    #12     Sep 13, 2020
  3. stepan7

    stepan7

    It's working like a Swiss watch.
    Screen Shot 2020-09-13 at 9.31.20 PM.png Screen Shot 2020-09-13 at 9.32.47 PM.png
     
    #13     Sep 13, 2020
  4. Could you show a screen shot of both having pivots on them? please :)
     
    #14     Sep 13, 2020
  5. stepan7

    stepan7


    Did you read?

    You don't have access to the secondary symbol.
     
    #15     Sep 13, 2020
  6. dang, I thought you were able too
     
    #16     Sep 13, 2020
  7. stepan7

    stepan7

    You could but on lower study.
     
    #17     Sep 13, 2020
  8. 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!
     
    #18     Sep 13, 2020
  9. I would not like it at a lower study.
    Thank you so much for your patience in helping & deductive reasoning on understanding a different human's perspective in wording an explanation.
     
    #19     Sep 13, 2020
  10. stepan7

    stepan7

    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: Sep 13, 2020
    #20     Sep 13, 2020