Job finished
Specification
Your only job is to add a parameter to the dashboard where the color of the previous 2 candles are all green or red. since the 3rd candle is the open of the pattern, it should only apply to the previous 2 candles. if you have any questions reach out for clarity
Explanations of STRAT PATTERN

CANDLES:
-
Each candle is defined by its relationship to the previous candle.
-
There are only 3 types of candle:
-
Inside candle- The candle is entirely within the high and low of the previous candle. An inside candle shows the market is at a point of indecision.
-
Directional candle- The candle extends above or below either the High or Low, but not both, of the previous candle.
-
Outside candle- The candle has broken both the high and low of the previous candle. An outside candle shows broadening price action.
They are called ACTIONABLE Strat patterns which means the "1" at the end is the open of the 3rd candle, and when it closes could potentially form the "2"
- 1-2-1 - Potential reversal into a 1-2-2
- 2-1-1 - Potential reversal or continuation into a 2-1-2
- 3-1-1 - Potential reversal into a 3-1-2
- 3-2-1 - Potential reversal into a 3-2-2