Take the Donchian Channel:
If condition X
paint a backcolor only between the Donchians (something which can be done for sure)
else
Don't paint anything.
I have samples of brush filling but both involve continuously painting between two Values but alternating colors based on a crossover. I am simply too dense to extrapolate the basic brush filling commands from the crossover conditions. (The samples are Slingshot and IchiCloud from the shared section).
I would be very grateful is someone could provide an example of brushfilling between the Donchians with a condition. From there I can figure it out - and also share the results.
The goal is to create a trading range fill when the range narrows and stabilizes. I can already do this fine with back color but I would prefer to have it painted only between the Donchians rather than the whole screen. Small thing, but nice to get right and also opportunity to learn more about coding in Ninja.
Thanks in advance.

Comment