Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,449 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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