hwy1967

Parabolic SAR Strategy 2

//@version=4
strategy("Parabolic SAR Strategy 2", overlay=true)

start = input(0.02)
increment = input(0.01)
maximum = input(0.2)

psar = sar(start, increment, maximum)

if (psar >= high)
strategy.entry("買", strategy.long, stop=psar, comment="買")
else
strategy.cancel("賣")

if (psar <= low)
strategy.entry("賣", strategy.short, stop=psar, comment="賣")
else
strategy.cancel("買")

//plot(strategy.equity, title="equity", color=color.red, linewidth=2, style=plot.style_areabr)
受保護腳本
該腳本是閉源發佈的,您可以自由使用。您可以把它加入到常用以在圖表上使用它。您無法查看或修改其原始碼。
免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?