Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, alibaba), 1,184 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Finding the highest and lowest of a range #481338
08/29/20 08:52
08/29/20 08:52
Joined: Aug 2020
Posts: 2
L
littlereddot Offline OP
Guest
littlereddot  Offline OP
Guest
L

Joined: Aug 2020
Posts: 2
Hi

How can I use Zorro to find the highest and lowest of X bars in 1hr bar period? And to find out whether the price mostly recently created highest price level or mostly recently created the lowest price level?

Re: Finding the highest and lowest of a range [Re: littlereddot] #481340
08/29/20 11:13
08/29/20 11:13
Joined: May 2020
Posts: 27
Germany
M
Morris Offline
Newbie
Morris  Offline
Newbie
M

Joined: May 2020
Posts: 27
Germany
> How can I use Zorro to find the highest and lowest of X bars in 1hr bar period?

BarPeriod = 60; // 1 hour bars

Then use HH(int X, int Offset) and LL(int X, int Offset) for the highest high and lowest low of X bars, see here: zorro-project.com/manual/en/ta.htm

> find out whether the price mostly recently created highest price level or mostly recently created the lowest price level?

if(priceHigh(0) == HH(X)) { ... } // Compare most recent high end of the bar to highest high. For low accordingly

Re: Finding the highest and lowest of a range [Re: Morris] #481342
08/30/20 00:49
08/30/20 00:49
Joined: Aug 2020
Posts: 2
L
littlereddot Offline OP
Guest
littlereddot  Offline OP
Guest
L

Joined: Aug 2020
Posts: 2
Thank you Morris


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1