Beginner in Zorro ask clarification

Posted By: faustf

Beginner in Zorro ask clarification - 01/04/21 10:43

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 picture zorromedia.jpg
Posted By: Smon

Re: Beginner in Zorro ask clarification - 01/04/21 18:09

I don't know and I'm to lazy to check the manual for you, but you clould try (high+low+open+close)/4...
Posted By: AndrewAMD

Re: Beginner in Zorro ask clarification - 01/04/21 18:40

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
Posted By: faustf

Re: Beginner in Zorro ask clarification - 01/04/21 20:11

sorry I have already read the manual but I did not understand well sorry again, i read again thankz at all
© 2024 lite-C Forums