Hello,
I've been trying to code something like TTM Squeeze in Powerlanguage (practically the same as easylanguage) for multicharts. I don't want to pay money for something that is actually copied from tradestation forums (afaik). As I don't have access to that forum I have to ask from here.
I managed to make the dotted line that shows when the bollinger bands are squeezed inside the keltner channels. Now I'm struggling with the momentum indicator. I can create the momentum indicator using MACD - MACD moving average difference historgram and graphing it with plotx function. The problem is that then I don't know how to modify the colours of the bars. I would like the colours of the bars to be brighter when ADX is higher and dimmer when ADX is lower to indicate the strength of the trend. I tried to make the histogram lineas also with tl_new function but for some reason it didn't draw any lines that way.
Does anyone know how to change the color of those histogram bars?
I've been trying to code something like TTM Squeeze in Powerlanguage (practically the same as easylanguage) for multicharts. I don't want to pay money for something that is actually copied from tradestation forums (afaik). As I don't have access to that forum I have to ask from here.
I managed to make the dotted line that shows when the bollinger bands are squeezed inside the keltner channels. Now I'm struggling with the momentum indicator. I can create the momentum indicator using MACD - MACD moving average difference historgram and graphing it with plotx function. The problem is that then I don't know how to modify the colours of the bars. I would like the colours of the bars to be brighter when ADX is higher and dimmer when ADX is lower to indicate the strength of the trend. I tried to make the histogram lineas also with tl_new function but for some reason it didn't draw any lines that way.
Does anyone know how to change the color of those histogram bars?