OPEN-SOURCE SCRIPT
Updated 【 中文程式碼附註 】10條自訂均線(預設維加斯通道)

Pine Script 是很好自學的簡易程式,均線是很不錯的開頭,在程式碼中附上中文附註,方便繁體中文市場學習。
既然已經寫了均線的指標,便多建立幾條,目前為 10 條,可自行依據程式再增加。
功能開啟可以更換時框的功能,例如在 4 小時線看均線顯示 1 小時時框,預設為跟隨當下觀看時框。
定義五種不同類型的均線可以選擇,五種分別為SMA、EMA、RMA、WMA、VWMA,10條可以獨立選擇。
可自行修改均線數值,10 條可以獨立更改,其中五條預設為維加斯通道 ( EMA12、EMA144、EMA169、EMA576、EMA676 )。
既然已經寫了均線的指標,便多建立幾條,目前為 10 條,可自行依據程式再增加。
功能開啟可以更換時框的功能,例如在 4 小時線看均線顯示 1 小時時框,預設為跟隨當下觀看時框。
定義五種不同類型的均線可以選擇,五種分別為SMA、EMA、RMA、WMA、VWMA,10條可以獨立選擇。
可自行修改均線數值,10 條可以獨立更改,其中五條預設為維加斯通道 ( EMA12、EMA144、EMA169、EMA576、EMA676 )。
Release Notes
修正輸入為 CloseOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
幣修學分用白話帶你輕鬆投資未來
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
幣修學分用白話帶你輕鬆投資未來
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.