- 数据周期:30分钟左右
- 支持 数字货币现货、数字货币期货
- 官方网站:www.quantinfo.com
-
主图:
上线, 公式 : UPPERBAND^^AVGVALUE + SHIFTVALUE;
下线, 公式 : LOWERBAND^^AVGVALUE - SHIFTVALUE; -
副图:
标准差,公式:STDS:STD(C,10);
标准差,公式:STDL:STD(C,60);
策略源码
(*backtest
start: 2018-05-01 00:00:00
end: 2018-06-30 00:00:00
period: 1h
exchanges: [{"eid":"Futures_OKCoin","currency":"BTC_USD"}]
args: [["ContractType","this_week",126961]]
*)
TPRICE:=(HIGH+LOW+OPEN+CLOSE)/4;
AVGVALUE:=MA(TPRICE,N);
//求最高价减去最低价,一个周期前的收盘价减去最高价的绝对值,一个周期前的收盘价减去最低价的绝对值,这三个值中的最大值
// Find the maximum of these three values: highest price minus lowest price, the absolute value of (closing price a cycle ago minus the highest price), the absolute value of (closing price a cycle ago minus the lowest price)策略参数
相关策略
评论
全部评论 (0)
暂无数据
- 1


