Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by M_D. 04/26/24 20:22
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (PeroPero), 788 guests, and 6 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
Volume Bars Chart #481766
10/29/20 08:33
10/29/20 08:33
Joined: Oct 2020
Posts: 7
A
AVL Offline OP
Newbie
AVL  Offline OP
Newbie
A

Joined: Oct 2020
Posts: 7
Hi,

I haven't found in the manual an option to make special bars from volume. As an example, SierraChart screenshot attached with 50K contracts plotted per bar.

Manual says: There are many special bar types: Tick Bars, Renko Bars, Range Bars, Momentum Bars, Point-and-Figure Bars, or Haiken Ashi Bars. Some market inefficiencies may be more clearly visible when getting rid of speed and time information. Zorro allows any imaginable combination of price and time for constructing user-defined bars with the bar function.

But bar() function doesn’t have a volume parameter, so how can I do this?
Code
bar(vars Open, vars High, vars Low, vars Close, vars Price, DATE Start, DATE Time): int 

Attached Files ES-202012-GLOBEX [CB][M]  50000 Volume  #9 2020-10-26  10_46_41.708.png
Re: Volume Bars Chart [Re: AVL] #481767
10/29/20 11:06
10/29/20 11:06
Joined: Mar 2019
Posts: 357
D
danatrader Offline
Senior Member
danatrader  Offline
Senior Member
D

Joined: Mar 2019
Posts: 357
You can use marketVal / marketVol for Volume, write your logic around it, and hand the High, Low, Close etc. based on your volume logic to the bar function.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1