OPEN-SOURCE SCRIPT

均線策略範例(MACrossoverStrategy)_TradeSoEasy

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

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer