NexusFi: Find Your Edge


Home Menu

 





How to plot same study for several symbols in the lower region ?


Discussion in ThinkOrSwim

Updated
    1. trending_up 731 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 1 attachments




 
Search this Thread

How to plot same study for several symbols in the lower region ?

  #1 (permalink)
konl
jerusalem israel
 
Posts: 5 since Jul 2017
Thanks Given: 0
Thanks Received: 0

Hi
I need some help to apply the same study to several symbols in the lower region.
It can be simple one for this example - if the 8 EMA above the 21 EMA then plot a green dot, otherwise plot red dot.

I can only display the first symbol, the rest do not appear.
How can this be done?


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
What broker to use for trading palladium futures
Commodities
ZombieSqueeze
Platforms and Indicators
How to apply profiles
Traders Hideout
Quant vue
Trading Reviews and Vendors
 
  #2 (permalink)
Nube
Minneapolis Minnesota
 
Posts: 24 since Jul 2019
Thanks Given: 0
Thanks Received: 13

You will have to hold have each ticker in the study itself. Something along these lines is typical way to handle that

 
Code
declare lower;

input length = 20;
input symbolOne = "SPY";
input symbolTwo = "DHR";
input symbolThree = "INTC";

def c1 = close(symbolOne);
def c2 = close(symbolTwo);
def c3 = close(symbolThree);

plot DataOne = RSI(length = length, price = c1);
plot DataTwo = RSI(length = length, price = c2);
plot DataThree = RSI(length = length, price = c3);

Reply With Quote
  #3 (permalink)
konl
jerusalem israel
 
Posts: 5 since Jul 2017
Thanks Given: 0
Thanks Received: 0



Nube View Post
You will have to hold have each ticker in the study itself. Something along these lines is typical way to handle that

 
Code
declare lower;

input length = 20;
input symbolOne = "SPY";
input symbolTwo = "DHR";
input symbolThree = "INTC";

def c1 = close(symbolOne);
def c2 = close(symbolTwo);
def c3 = close(symbolThree);

plot DataOne = RSI(length = length, price = c1);
plot DataTwo = RSI(length = length, price = c2);
plot DataThree = RSI(length = length, price = c3);


Thank you !
It definitely gave me direction to move forward

Reply With Quote




Last Updated on October 20, 2019


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts