Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I am wondering if someone could please help me with the layer order of the volume bars and time adjusted moving average in Marney's volume indicator. With the original code and MC the time adjusted moving average is in the back of the volume bars, but I would like to have it in the front.
I am aware that TS and MC has opposite layer order from which order the plotting is set up in the code, but with this indicator I am not able to figure out how to reverse it.
Another thing is that it is not possible to change the weight of the time adjusted average line. If this could be done something with, that would have been nice.
I have only added RGB color control to the code, which is not in the original code:
Thanks,
Laurus
“If you wish to see the truth, then hold no opinions for or against anything.” - Hsin Hsin Ming
Can you help answer these questions from other members on NexusFi?
I have tried the normal layer order procedure, but for some reason I do not understand the coloring becomes wrong.
When I do like in the code below the average is on top and both the volume and the average displays correct values as shown in the attached picture, but as one can see the coloring is somewhat reversed. The insert settings is correct.
Laurus
“If you wish to see the truth, then hold no opinions for or against anything.” - Hsin Hsin Ming
For those interested in knowing some more about Caspar Marney's Volume and Range indicators I would recommend starting here.
Caspar Marney's website with more articles are here.
Note that Mr. Marney is mainly going into the relationship between actual trade volume and tick volume for Spot FX, but his indicators and the principle behind them can be used with other markets and volatility also.
Laurus
“If you wish to see the truth, then hold no opinions for or against anything.” - Hsin Hsin Ming
the SetPlotColor() code would need to be updated to the new plots (2 --> 1, 1 --> 2). Also you need to be removing the indicator and re-adding it to MultiCharts, as changing Plots without doing so doesn't always work.
Great! That's more like it. Thanks a lot Mike. Learned something new here.
Attaching both the Volume and Range indicators in "MC style" with the time adjusted moving average on top.
With Futures one have to set "autobars" to "true". Then for the FX futures I have set average to 24 periods and "mins.in.session" to 1380.
Unfortunately the indicators are only meant to be used with 60 minute bars. From what I have read Mr. Marney has not come up with a solution for like 15 and 5 minute bars yet.
Laurus
“If you wish to see the truth, then hold no opinions for or against anything.” - Hsin Hsin Ming