Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,199 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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