龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2018-12-3 13:50

博易快慢线指标(源码、贴图[博易大师公式])

[p=30, 2, left][b]标签: 公式 博易大师 期货 专题 易快慢 博易 快慢线 指标 源码 贴图[/b][/p][p=30, 2, left][b]使用说明:做多做空一目了然,尤其快慢线同步最有效[/b][/p]
[p=30, 2, left][b]源码:[/b][/p]
[p=30, 2, left][b][code]
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,13);
VAR8:=HHV(HIGH,13);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
STICKLINE(VAR9>VARA,VAR9,VARA,6,0),COLORRED;
STICKLINE(VAR9<=VARA,VAR9,VARA,6,0),COLORGREEN;
AA:10,COLORYELLOW;
BB:90,COLORYELLOW;
RSV:= (CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
FASTK:=SMA(RSV,5,1);
K:=SMA(FASTK,5,1);
D:=SMA(K,3,1);
AA1:=K-REF(K,1);
STICKLINE(AA1>0,REF(K,1),K,4,0),COLOR8000FF;
STICKLINE(AA1<=0,REF(K,1),K,4,0),COLORFFFF00;
[/code]
[/b][/p]

页: [1]