Gamestudio Links
Zorro Links
Newest Posts
bestwinsite
by winsite3. 05/30/24 04:10
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (SBGuy, AndrewAMD, VoroneTZ), 912 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
2 different ATR in the same Window? #461621
08/14/16 13:59
08/14/16 13:59
Joined: Aug 2016
Posts: 11
C
Calli Offline OP
Newbie
Calli  Offline OP
Newbie
C

Joined: Aug 2016
Posts: 11
Hi
I just started to experiment with Zorro.
I started with IndicatorTest and created IndicatorTest2 where I added one line. Instead of only:
Code:
plot("ATR (PIP)",ATR(6)/PIP,NEW,RED);


I tried:
Code:
plot("ATR (PIP)",ATR(6)/PIP,NEW,RED);
plot("ATR (PIP)",ATR(48)/PIP,NEW,BLUE);


because I wanted to see a fast and a slow ATR in the same window - how can I achieve that?

In the Editor's right side window I see the tab "Code Template" - is there a trade-template (do they have a special extension?) or do you have a trade-code example?

Calli


PS: What is the meaning or the difference of the asset-field in Zorro's window and the order like asset("EUR/USD"); - what if they differ?

Last edited by Calli; 08/14/16 14:10.
Re: 2 different ATR in the same Window? [Re: Calli] #461625
08/14/16 20:15
08/14/16 20:15
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
Hi,

it is simple:

Code:
plot("ATR (PIP)",ATR(6)/PIP,NEW,RED);
plot("48 ATR (PIP)",ATR(48)/PIP,0,BLUE);


Last edited by Grat; 08/14/16 20:16.

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1