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
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (dr_panther, 7th_zorro), 1,203 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Display more indicators #475653
12/31/18 16:39
12/31/18 16:39
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Hi guys,

how I can view more indicator in a single windows?
In the code below I can view only CCI but I want also display SMA.

Code:
function run()
{	
	set(PLOTNOW);
	StartDate = 20150101;
	EndDate = 2018;
	BarPeriod = 1440;
	PlotScale = 8;	
	asset("EUR/USD");
	plot("SMA",SMA(series(priceClose()),20),0,BLACK);
	plot("CCI",CCI(21),0,BLACK);
	
}



Thanks

Re: Display more indicators [Re: tradingest] #475657
01/01/19 04:14
01/01/19 04:14
Joined: Aug 2018
Posts: 98
O
OptimusPrime Offline
Junior Member
OptimusPrime  Offline
Junior Member
O

Joined: Aug 2018
Posts: 98
Hi Tradingest:

You need to use , NEW, instead of ,0, if you want another row of indicators. If you use ,0, they will all be in the same row.

Example:

plot("SMA",SMA(series(priceClose()),20),NEW,BLACK);

Last edited by OptimusPrime; 01/01/19 04:15.

Thanks so much,

OptimusPrime

Re: Display more indicators [Re: OptimusPrime] #475660
01/01/19 20:04
01/01/19 20:04
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Thanks Optimus

Very kind


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1