I found this already customed Keltner channel, maybe on the NT ecosystem a while back, to witch i added the lines from 79 to 90.
I wanted it to switch colors when rising or falling with the code starting line 83. But the result is not satisfying :
1-Only the middle band changes color and not the offset bands.
2-the color switch happens when the bars are up or down, not the Ema
Would anyone care to help me code this so the offset bands plot like the Ema (change colors as well) ? and maybe make the color switch react to the Ema, not price ? can it just be done ?
Thanks a lot.

Comment