Job finished
Specification
We need: MID & Open & Close (very simple J )
0 = actual candle
-1 = previous candle
+1= next candle
Candle type A = is valid if
Close 0 > Open 0 (normal bullish candle)
&
Close 0 <= MID -1
We keep data of MID 0 & use specific color and wingdings for it
Candle type B = is valid if
Close 0 < Open 0 (normal bearish candle)
&
Close 0 <= MID -1
We keep data of Mid 0 & use specific color and wingdings for it
Signals:
Trends & Swing & Double swing
We monitor only valid candles only valid Mid 0
We get signals for each type = we don’t mix signals from type A & B
We get choice of alert & pop up for each type in the menu
Each type have a specific wingding and color
Trends:
Trend up = mid -1 < new mid 0
Draw arrow under candle of new valid mid 0
Trend Down = mid -1 > new mid 0
Draw arrow over candle of new valid mid 0
Swings:
Swing UP = Trend -1 is up & trend 0 is down
Or
Swing down = Trend -1 is down & trend 0 is up
Draw wingding over or under
Double swings:
Double swing up = Mid -1 is swing up & Mid 0 is swing down
Or
Double swing down = mid -1 is swing down & mid 0 is swing up
Draw wingding over or under
Same logic for other type of candles
We don’t mix the signals coming from type A & type B
All those wingdings stay on chart
LINES
Always draw 4 lines
2 for type A 2 for type B
Start from valid Mid0 till the end
Refresh draw only on the last valid 4
One color for each type
pics
&
T h a n k s