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
4 registered members (TipmyPip, AndrewAMD, dBc, clonman), 18,621 guests, and 5 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
zorro's EMA function is a little different from TradingView's #480414
06/05/20 14:05
06/05/20 14:05
Joined: Oct 2018
Posts: 27
M
Mio Offline OP
Newbie
Mio  Offline OP
Newbie
M

Joined: Oct 2018
Posts: 27
The source code is here

Code
 vars close = series(priceClose());
 vars fastEMA = series(EMA(close, 144));
 plot("fastEMA", fastEMA, MAIN, BLUE);


Please see my attachment for Tradingview and Zorro charts

EMA 144 on Bitmex 15m BTCUSD


Attached Files
unnamed (1).png (5 downloads)
unnamed.png (18 downloads)
Last edited by Mio; 06/05/20 14:06.
Re: zorro's EMA function is a little different from TradingView's [Re: Mio] #480415
06/05/20 14:09
06/05/20 14:09
Joined: Oct 2018
Posts: 27
M
Mio Offline OP
Newbie
Mio  Offline OP
Newbie
M

Joined: Oct 2018
Posts: 27
I don't see any EMA source code in indicator.c
Anyone know that?

Re: zorro's EMA function is a little different from TradingView's [Re: Mio] #480416
06/05/20 14:32
06/05/20 14:32
Joined: Oct 2018
Posts: 27
M
Mio Offline OP
Newbie
Mio  Offline OP
Newbie
M

Joined: Oct 2018
Posts: 27
It seems that data lost in zorro chart
But I just check my data is not lost, but zorro charts still lose 5/11 and 5/9

Attached Files
unnamed (2).png (14 downloads)
Last edited by Mio; 06/05/20 14:46.
Re: zorro's EMA function is a little different from TradingView's [Re: Mio] #480417
06/05/20 14:53
06/05/20 14:53
Joined: Oct 2018
Posts: 27
M
Mio Offline OP
Newbie
Mio  Offline OP
Newbie
M

Joined: Oct 2018
Posts: 27
Oh

Zorro charts automatically skip the weekend data.
Could you tell me how to change it?

Re: zorro's EMA function is a little different from TradingView's [Re: Mio] #480418
06/05/20 15:04
06/05/20 15:04
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
check the TA-LIB

Re: zorro's EMA function is a little different from TradingView's [Re: Grat] #480419
06/05/20 15:35
06/05/20 15:35
Joined: Oct 2018
Posts: 27
M
Mio Offline OP
Newbie
Mio  Offline OP
Newbie
M

Joined: Oct 2018
Posts: 27
The EMA function should be the same.
It's because Zorro didn't show the weekend bar, the EMA function cannot calculate weekend bars.

Re: zorro's EMA function is a little different from TradingView's [Re: Mio] #480420
06/05/20 15:46
06/05/20 15:46
Joined: Oct 2018
Posts: 27
M
Mio Offline OP
Newbie
Mio  Offline OP
Newbie
M

Joined: Oct 2018
Posts: 27

Add this and than we can trade on the weekend.

Code
	 BarMode = BR_FLAT;
         


Moderated by  Petra 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1