第一重 超级趋势 参数:周期12,系数1 第二重 超级趋势 参数:周期8, 系数2 第三重 超级趋势 参数:周期5, 系数3
回测测试
/*backtest start: 2022-01-01 00:00:00 end: 2022-05-09 23:59:00 period: 15m basePeriod: 5m exchanges: [{"eid":"Futures_CTP","currency":"FUTURES"}] args: [["ContractType","i2209",360008]] */ //@version=5 indicator("Supertrend", overlay=true, timeframe="", timeframe_gaps=true)