Gamestudio Links
Zorro Links
Newest Posts
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 468 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 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 | chip programmers | 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