This is probably a real noob question but I have been using the Cumulated volume velocity indicator from the library here for some time and find it excellent. I have been trying though to adapt it so instead of just drawing a line it draws candles based on the calculation of the indicator. I have tried a hundred different ways to do it and had to admit defeat on how to make this work. Is there anybody that can do this or show me what line of code I need to use. Thank you so much, you guys really do such a good job with everything here.
What values do you want to use to use to create your candles as the indicator only returns two values, CumVolVel and avg? A candle has four values, open, high, low and close. We could draw a candle with no shadows using just the CumVolVel and avg and change the colour dependent on whether CumVolVel is higher or lower than the average like this:
Sorry it has taken me so a couple of days to respond to you, I somehow missed your reply. You have answered my question perfectly and that explains why I could not do it! I was trying to create a open, high, low close candle so that explains why I could not get it to work as I never considered this fact.
Once again thanks for the reply the community here is excellent and so helpful
I had seen the example of the RSI made with the draw candle function of the signal line with high low open close candles and had thought maybe it was possible signal line on this indicator.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue