Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 859 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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