Broker/Data: Mirus (Broker), Continuum (Data), Dorman (Clearing)
Favorite Futures: Futures
Posts: 202 since Mar 2013
Thanks: 426 given,
Multiple Candle Coloring Indicators, Conflicts
I was curious if anyone has had success with having multiple candle coloring indicators in use, and setting up the indicators such that the ultimate candle color is driven by all of the indicators and not just one.
For instance, let's say that I am currently using the MASlopeMulti indicator to plot an EMA-8 and EMA-20. And let's further say that I have the EMA-8 set up to paint the candle when the slope of the EMA-8 reaches a given threshold (let's assume the slope threshold is 35). Let's also assume that I have the EMA-20 set up to paint candles when the slope of the EMA-20 reaches a given threshold (let's assume the slope threshold is 20). Okay, so we have 2 indicators in the same chart, and each is set up to paint when their specific slope threshold is met.
I have observed that NT colors the candles incorrectly (ie, colors the candle) in the event that one condition is met (ie, color the candle) and the other is not (ie, do not color the candle). In my mind, the candle should not be colored until both indicator conditions are satisfied--not just one.
Is there a way to modify a given indicator's code such that candle coloring will only occur if and when all candle coloring conditions are met from multiple indicators?
I'm trying to separate the wheat from the chaff, and by having only candles colored that meet my specific criteria would be a HUGE help.
@aventeren: It is not possible to blend colors from several candle painting indicators. You have to settle for one set of paintbars and exclude the other paintbars from your chart by switching them off.
If you really wish to generate painted candles from two different indicators, then you would need to code a new indicator that references the two indicators and paints composite colors to transmit the information that you want to see via your paintbars.
The following user says Thank You to Fat Tails for this post: