OPEN-SOURCE SCRIPT

均線策略範例(MACrossoverStrategy)_TradeSoEasy

108
快速移動平均線(SMA)與慢速移動平均線(LMA):分別設定為 10 和 200 週期,並用來確認趨勢的方向變化。
多頭進場條件:當 10 週期的移動平均線(SMA)上穿 200 週期的移動平均線(LMA)時,系統會進行多頭交易。
空頭進場條件:當 10 週期的移動平均線(SMA)下穿 200 週期的移動平均線(LMA)時,系統會進行空頭交易。
圖表繪製:策略會在圖表上繪製兩條移動平均線,以方便視覺化分析快速與慢速均線的交叉情況。

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.