Why do I get a navy-colored buffer between SMA20 and SMA100 and not between SMA20 and SMA50? Why does the indicator use the SMA100 value as the lower line?
Why is there no maroon-colored buffer when SMA20 < SMA 50 and SMA 50 < SMA 100? It is exactly the same code but nothing happens...?!?
look to the code of Ichimoku indicator for example how to fill area between two lines with a color
The problem is, that I don't understand why it is coded this way. For me it is important that I understand how it works. As I said, I don't need this kind of indicator right now. I only want to know how to code it.
I think you should start a new thread for future questions. This topic has grown beyond its original scope. You'll receive more help from other people and it'll be easier for someone else to find answers to the same problems you're having.
Sorry, I don't get the point.. My questions are:
Why do I get a navy-colored buffer between SMA20 and SMA100 and not between SMA20 and SMA50? Why does the indicator use the SMA100 value as the lower line?
Why is there no maroon-colored buffer when SMA20 < SMA 50 and SMA 50 < SMA 100? It is exactly the same code but nothing happens...?!?
look to the code of Ichimoku indicator for example how to fill area between two lines with a color
To understand why, you'll need this piece of information here:
https://www.mql5.com/en/forum/131068.