OPEN-SOURCE SCRIPT
ที่อัปเดต: RS Stage Analysis

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 logicThis 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.
เอกสารเผยแพร่
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
เอกสารเผยแพร่
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.
เอกสารเผยแพร่
improvements in stage 1 line draw codeเอกสารเผยแพร่
bug fix in lookback codeเอกสารเผยแพร่
Added one more condition to generate stage 1 dataเอกสารเผยแพร่
Added Stage 2 Resistance Lineเอกสารเผยแพร่
Added Stage 1 Proper Resistance Lines optionif someone who are not sure about the Stage 1 resistance line now they can disable that option and only enable the Stage 1 Proper Resistance Lines option.
เอกสารเผยแพร่
improvements in stage 1 proper resistance line code.เอกสารเผยแพร่
Improvements in proper stage 1 resistance line.เอกสารเผยแพร่
-> Changed stage 2 color opacity when rs above ema147 and ema168 to easily identified proper stage 2 uptrend.-> Hide stage 1 resistance line default to generate less lines.
-> Added stage 2 proper resistance line when rs above ema147 and ema168
now one should only enter a trade if green background color opacity is less.
เอกสารเผยแพร่
-> Hide default stage 1 proper resistance line.-> Changed condition to generate proper stage 2 resistance line.
เอกสารเผยแพร่
Changed resistance lines high from 7 days high to 15 days high.เอกสารเผยแพร่
Changed default comparison symbol from NIFTY50 TO CNX500เอกสารเผยแพร่
Bug fix in stage 2 proper resistance line code.เอกสารเผยแพร่
Upgraded stage 3 resistance line code.เอกสารเผยแพร่
Changed ema length from 126 to 189now checking close / open above all three ema, vwma, vwma-high
some code clean.
เอกสารเผยแพร่
Changed 189 ema/vwma to sma 200, 150, 100เอกสารเผยแพร่
Updated condition for stage 2เอกสารเผยแพร่
Updated stage 2 conditionเอกสารเผยแพร่
changed default settings.เอกสารเผยแพร่
bug fix in stage 1เอกสารเผยแพร่
bug fix in stage 1เอกสารเผยแพร่
Added chart timeframe using timeframe.period instead daily timeframe for comparison index / stock.เอกสารเผยแพร่
Updated stage 2.1 and stage 2 detection conditionสคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน