Dash Board by buttons problem
-
Hi , this is my 2nd topic of my project .
I made dash board D1 to M1 Timeframes as seen in the picture below (Right Lower) .
I made them by this method > https://fxdreema.com/shared/aVIiAmY6eAnd The problem is I want the condition to be :
" If Green color shown More than 4 - go for BUY // If Red color shown More than 4 - go for Sell "
Not actually which timeframes .. just 4 of them are Green or Red.
But I have no idea to make this condition.Please advise me .
Note : If you have another way of this condition to happen.. or showing this dash board on screen in another way please help.Thank you

-
@jobotgold1 Use modify variables under your buttons, every time colour changes it changes the variable, bool for example from true to false, then have another condition to count the bools and enable your buy/sell tree.