Hi Guys,
A quick question about the Custom Bars, how can i make a simple volume bar (as it exists already in the platform, i'm aware of that) but i want to set the amount of volume within the custom bar.
How can i do this? Could you guys share the volume bar code here so i can work from that bar version?
Thanks
Custom Bars Volume
- Svetlana MultiCharts
- Posts: 645
- Joined: 19 Oct 2017
- Has thanked: 3 times
- Been thanked: 163 times
Re: Custom Bars Volume
Hello, rien,
You can find an example in the Custom Resolution Manager.
In order to open it please go to QuoteManager -> Tools -> Custom Resolution Manager -> New ->
in the Select Template dropdown list please select one of the available chart types (e.g. Simple Example Heikin-Ashi).
In the source code please find OnData method and refer to the strings
m_BarVolume += volumeAdded;
m_BarUpVolume += upVolumeAdded;
m_BarDownVolume += downVolumeAdded;
In that way you can set the amount of volume according to your needs.
You can find an example in the Custom Resolution Manager.
In order to open it please go to QuoteManager -> Tools -> Custom Resolution Manager -> New ->
in the Select Template dropdown list please select one of the available chart types (e.g. Simple Example Heikin-Ashi).
In the source code please find OnData method and refer to the strings
m_BarVolume += volumeAdded;
m_BarUpVolume += upVolumeAdded;
m_BarDownVolume += downVolumeAdded;
In that way you can set the amount of volume according to your needs.
Re: Custom Bars Volume
I have seen the example but as there is no documentation on the custom bars i would like to get an example of the volume bars, could you please share this?
- Svetlana MultiCharts
- Posts: 645
- Joined: 19 Oct 2017
- Has thanked: 3 times
- Been thanked: 163 times
Re: Custom Bars Volume
rien,
In MultiCharts volume bars are plotted when one selects Resolution = Contract:
https://www.multicharts.com/trading-sof ... sed_Charts
If you would like to get the example of such bars, we will be able to add it in the Custom Resolution Manager in the next version (MultiCharts 14).
In MultiCharts volume bars are plotted when one selects Resolution = Contract:
https://www.multicharts.com/trading-sof ... sed_Charts
If you would like to get the example of such bars, we will be able to add it in the Custom Resolution Manager in the next version (MultiCharts 14).