Gamestudio Links
Zorro Links
Newest Posts
FXCM demo test failed
by qin. 01/13/26 13:53
Camera always moves upwards?
by NeoDumont. 01/12/26 09:39
Alpaca Plugin v1.5.2 Release
by kzhao. 01/11/26 13:42
Alpaca Plugin v1.4.0
by kzhao. 01/11/26 13:38
separating groups of 3 digits by a comma
by joe_kane. 01/11/26 00:01
MRC.c and WFO
by joe_kane. 01/10/26 23:58
BarOffset (default = 940 for daily bars?
by joe_kane. 01/10/26 23:46
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (Quad), 26,406 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
promfast, joe_kane, Namitha_NN, Syndrela, agasior
19190 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