This script trying to detect different lifecycle of stock / Stages.
There is mainly 4 stages of stocks.
1) stage 1 - Accumulation = color = aqua
2) stage 2 - Advancing = color = green
3) stage 3 - Distribution = color = yellow
4) stage 4 - Declining = color = red
At some point the condition i wrote wont detect any stage.
There is mainly 4 stages of stocks.
1) stage 1 - Accumulation = color = aqua
2) stage 2 - Advancing = color = green
3) stage 3 - Distribution = color = yellow
4) stage 4 - Declining = color = red
At some point the condition i wrote wont detect any stage.
發布通知:
Implemented Auto Draw Support & Resistance line using below logic
This is upgraded logic
This is how you can marking the chart.
Stage 1
➡️First day of stage 1 high.
only confirm if after stage 1 there is again stage 4 or no stage for at least 2 days.
OR
Stage 1 stays for 5 time frame (including no stage)
Stage 3
➡️First day of stage 3 low.
only confirm if stage 3 stay more than 1 days. and before it stage 2.
This is upgraded logic
This is how you can marking the chart.
Stage 1
➡️First day of stage 1 high.
only confirm if after stage 1 there is again stage 4 or no stage for at least 2 days.
OR
Stage 1 stays for 5 time frame (including no stage)
Stage 3
➡️First day of stage 3 low.
only confirm if stage 3 stay more than 1 days. and before it stage 2.
發布通知:
Improvements
發布通知:
Added no of look back periods to use for auto draw support & resistance.
this will help full to load script much faster and also not generating too much lines on the chart.
this will help full to load script much faster and also not generating too much lines on the chart.
發布通知:
Removed complex condition to generate the stage 1 resistance line.
1) Added rs84 and rs72 to decide stage 1
2) Now using last 7 days high as resistance to avoid fluctuation for both stage 1 and stage 3 resistance.
3) changed from low to high for stage 3 resistance.
4) now only using one simple code to generate the stage 1 resistance line.
-> minimum 1 day in stage 1 and stage 0 in last 5 days or stage 1 in 2 days in last 5 days
1) Added rs84 and rs72 to decide stage 1
2) Now using last 7 days high as resistance to avoid fluctuation for both stage 1 and stage 3 resistance.
3) changed from low to high for stage 3 resistance.
4) now only using one simple code to generate the stage 1 resistance line.
-> minimum 1 day in stage 1 and stage 0 in last 5 days or stage 1 in 2 days in last 5 days
發布通知:
Added one more condition for stage 3 resistance
發布通知:
Added
Days gap between 2 same stage lines input, to avoid multiple lines draw very close to each other.
Days gap between 2 same stage lines input, to avoid multiple lines draw very close to each other.
發布通知:
improvements in stage 1 line draw code
發布通知:
bug fix in lookback code
發布通知:
Added one more condition to generate stage 1 data