hi friends
This is an effort to start coding a bigger concept in small steps.
step1
plot price as bars
plot 5 bar high and 5 bar low as dots.
step2
congestion zone pivots get white color
here price does remain inside pivot high and pivot low dots.
step3
uptrend
price breaks above pivot high and remains above pivot high
pivot dots get green color
step3
downtrend
price breaks below pivot low and remains below the pivot low.
pivot dots get red color
step4
longer congestion
current pivot high and pivot low remain inside previous pivot high and prev pivot low. prev pivots get white color
more later on
This is an effort to start coding a bigger concept in small steps.
step1
plot price as bars
plot 5 bar high and 5 bar low as dots.
step2
congestion zone pivots get white color
here price does remain inside pivot high and pivot low dots.
step3
uptrend
price breaks above pivot high and remains above pivot high
pivot dots get green color
step3
downtrend
price breaks below pivot low and remains below the pivot low.
pivot dots get red color
step4
longer congestion
current pivot high and pivot low remain inside previous pivot high and prev pivot low. prev pivots get white color
more later on