龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2018-10-9 15:23

[转载]通达信中线判势主图指标公式

公式如下:
[code]
N1:=20;N2:=20;
JX:(MA(C,10)*30+MA(C,30)*10+MA(C,60)*5+MA(C,120)*3)/(3+5+10+30);
JXMA:MA(JX,10);
STICKLINE(JX>JXMA,JX,JXMA,2,0),COLORRED;
STICKLINE(JX<=JXMA,JX,JXMA,2,0),COLORGREEN;
DRAWICON(CROSS(JX,JXMA),JX-0.2,1);
DRAWICON(CROSS(JXMA,JX),JXMA+0.2,2);
HHV(HIGH,N1);
LLV(LOW,N2);
DRAWICON(CLOSE>REF(HHV(HIGH,N1),1),HHV(HIGH,N1),5);
DRAWICON(CLOSE<REF(LLV(LOW,N2),1),LLV(LOW,N2),1),COLORYELLOW;
[/code]

页: [1]