PineScript v6 範例程式
// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © TCGM
//@version=6
strategy("TC_PineScriptV6", overlay=true )
longCondition = ta.crossover(ta.sma(close, 14), ta.sma(close, 28))
if (longCondition)
strategy.entry("LE", strategy.long)
shortCondition = ta.crossunder(ta.sma(close, 14), ta.sma(close, 28))
if (shortCondition)
strategy.entry("SE", strategy.short)
加入自定義快訊的設定

建立 TradingView 快訊下單
達錢專用下單字串説明
設定下單快訊


Last updated



