Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/21/26 19:15
Camera always moves upwards?
by clonman. 02/21/26 09:29
Zorro version 3.0 prerelease!
by TipmyPip. 02/20/26 13:22
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (1 invisible), 6,232 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 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