OPEN-SOURCE SCRIPT

Long Term Long/Short Strategy (Pair Trading)

8 946
Longing or shorting an asset ratio depending on long term trend.

Long term trend is defined by crossing of an asset or index and its SMA.

Input values:
* trend asset
* SMA configuration (periods, resolution)
* strategy: long only, long/short, short only

免責聲明

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