Gamestudio Links
Zorro Links
Newest Posts
Tick Volume
by danatrader. 07/11/20 06:43
Trailing on Ticks
by danatrader. 07/11/20 06:42
FAC Train mode
by danatrader. 07/10/20 18:13
A9
by 3run. 07/09/20 19:13
Historical ticks for Lookback backfill
by Zheka. 07/08/20 09:10
Trade Mode without a broker
by jj02520024. 07/08/20 01:20
How to handle algo name in Simulate.c
by happysun. 07/07/20 08:56
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
5 registered members (alibaba, kvm, Grat, jenGs, danatrader), 397 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
dasanc, DavidFdez, TraderKevin, deus777, carolthesecond
18476 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: 23
M
Mio Offline OP
Newbie
Mio  Offline OP
Newbie
M

Joined: Oct 2018
Posts: 23
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 (5 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: 23
M
Mio Offline OP
Newbie
Mio  Offline OP
Newbie
M

Joined: Oct 2018
Posts: 23
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: 23
M
Mio Offline OP
Newbie
Mio  Offline OP
Newbie
M

Joined: Oct 2018
Posts: 23
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 (1 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: 23
M
Mio Offline OP
Newbie
Mio  Offline OP
Newbie
M

Joined: Oct 2018
Posts: 23
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: 267
Czech Republic
G
Grat Online
Member
Grat  Online
Member
G

Joined: May 2015
Posts: 267
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: 23
M
Mio Offline OP
Newbie
Mio  Offline OP
Newbie
M

Joined: Oct 2018
Posts: 23
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: 23
M
Mio Offline OP
Newbie
Mio  Offline OP
Newbie
M

Joined: Oct 2018
Posts: 23

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