Painting candles

Login or Register

Please login or register in order to view and post in the Forum.

7 posts / 0 new
Last post
demar joseph
Last seen: 2 months 17 hours ago
Joined: 06/15/2020 - 16:37
Painting candles

Hello,

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?

Thanks

0
cpayne
Last seen: 1 year 4 weeks ago
Joined: 03/30/2009 - 00:00
PaintCandles

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 

demar joseph
Last seen: 2 months 17 hours ago
Joined: 06/15/2020 - 16:37
Thanks I looked at this some,

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.

cpayne
Last seen: 1 year 4 weeks ago
Joined: 03/30/2009 - 00:00
PaintIndicator - Volume

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.

demar joseph
Last seen: 2 months 17 hours ago
Joined: 06/15/2020 - 16:37
Thanks for the update sir!

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?

cpayne
Last seen: 1 year 4 weeks ago
Joined: 03/30/2009 - 00:00
PaintCandles

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

 

demar joseph
Last seen: 2 months 17 hours ago
Joined: 06/15/2020 - 16:37
That did it, man thanks! big

That did it, man thanks! big for me.....appreciate the time spent!!