Let's assume you have an indicator (histogram U/D), is there a way to paint the instrument candles the same color as the indicators up/down color changes?
Sure. We just happen to have an indicator called PaintCandles which has an enormous amount of flexibility on this front. If you give me more details I can create a chart for you. I would need to know if you want to paint the body, the border, etc.... all possible. You could even take an indicator and paint one color when below 100, one color when between 100 and 300, another when 300 to 500 , etc. I think the limit is 6 or 8 conditions/colors. And of course you can add multilpe instances to same chart. Once could color the body. One the border. Even another that paints further outside the border.
Thanks I looked at this some, painting seems to be based on indicator value. Wondering if possible to paint based on up/down, similar to the indicator, not the actual value.
But you create a custom indicator for the volume that has syntax simply...
VO
and then a signal that identifies up bars (DJ_BarUp) with syntax...
CL >= OP
PaintIndicator has a great deal of power and flexibility. Let me know if you have any more questions or requests.....you could just drag and drop the PaintIndicator from the chart and drop onto the time scale at the bottom of another chart.
Thanks for the update sir! very informative, I probably did not explain myself clearly, I am attempting to have the instrument candles painted the same colors of a custom indicator. The customer indicator colors based on up/down.
Now the volume histogram is painted based on whether the candles are up or down, and the candles are painted based on whether the volume is up or down...
Sure. We just happen to have an indicator called PaintCandles which has an enormous amount of flexibility on this front. If you give me more details I can create a chart for you. I would need to know if you want to paint the body, the border, etc.... all possible. You could even take an indicator and paint one color when below 100, one color when between 100 and 300, another when 300 to 500 , etc. I think the limit is 6 or 8 conditions/colors. And of course you can add multilpe instances to same chart. Once could color the body. One the border. Even another that paints further outside the border.
https://www.linnsoft.com/techind/paint-candles-rtx
Thanks I looked at this some, painting seems to be based on indicator value. Wondering if possible to paint based on up/down, similar to the indicator, not the actual value.
Sorry for the late reply, but sure....easy to do with the PaintIndicator (RTX).
Import this chart definition and inspect how things are done with PI in the lower pane...
https://www.linnsoft.com/charts/dj-paintindicator-es
You can learn more about PaintIndicator at: https://www.linnsoft.com/techind/paint-indicator-rtx
But you create a custom indicator for the volume that has syntax simply...
VO
and then a signal that identifies up bars (DJ_BarUp) with syntax...
CL >= OP
PaintIndicator has a great deal of power and flexibility. Let me know if you have any more questions or requests.....you could just drag and drop the PaintIndicator from the chart and drop onto the time scale at the bottom of another chart.
Thanks for the update sir! very informative, I probably did not explain myself clearly, I am attempting to have the instrument candles painted the same colors of a custom indicator. The customer indicator colors based on up/down.
(referenced in the pic above).
Work the suggested work for this scenario?
No problem. And for that, you'd use the PaintCandles Indicator. Import this chart again: https://www.linnsoft.com/charts/dj-paintcandles-es
Now the volume histogram is painted based on whether the candles are up or down, and the candles are painted based on whether the volume is up or down...
The DJ_VolumeUp signal is just...
VO > VO.1
More on PaintCandles: https://www.linnsoft.com/techind/paint-candles-rtx
That did it, man thanks! big for me.....appreciate the time spent!!