Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (7th_zorro, Quad, VoroneTZ, 1 invisible), 623 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Beginner in Zorro ask clarification #482157
01/04/21 10:43
01/04/21 10:43
Joined: Jun 2016
Posts: 49
F
faustf Offline OP
Newbie
faustf  Offline OP
Newbie
F

Joined: Jun 2016
Posts: 49
hi guys i have a questions
price in zorro is mean price ,--> mean price usually is calculated with high + low /2 , why if i calculate high +low /2 and plot with price like in pictures the line is different ??
mean price of zorro is smoothed , is possible tell at price of zorro not smoothed ??
thankz at all

Attached Files zorromedia.jpg
Re: Beginner in Zorro ask clarification [Re: faustf] #482160
01/04/21 18:09
01/04/21 18:09
Joined: Dec 2014
Posts: 206
Germany
Smon Offline
Member
Smon  Offline
Member

Joined: Dec 2014
Posts: 206
Germany
I don't know and I'm to lazy to check the manual for you, but you clould try (high+low+open+close)/4...

Re: Beginner in Zorro ask clarification [Re: faustf] #482161
01/04/21 18:40
01/04/21 18:40
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
It's easier to read the manual than to guess how a function works:
Quote
price (int offset) : var
Returns the mean price of the selected asset, by averaging all price ticks of the given bar or time frame (TWAP, time-weighted average price). For indicators the mean price is normally preferable to the close price, because it is less susceptible to random fluctuations and makes systems more robust and less dependent on the data feed.
https://zorro-project.com/manual/en/price.htm

Re: Beginner in Zorro ask clarification [Re: faustf] #482162
01/04/21 20:11
01/04/21 20:11
Joined: Jun 2016
Posts: 49
F
faustf Offline OP
Newbie
faustf  Offline OP
Newbie
F

Joined: Jun 2016
Posts: 49
sorry I have already read the manual but I did not understand well sorry again, i read again thankz at all


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1