龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2018-11-29 16:27

文华短线提款机指标[文华财经公式]

标签: 公式 文华 财经 期货 专题短线提款机

需先设定参数N1, N2

源码:

[code]
X1:=HHV(OPEN,N1);
X2:=LLV(OPEN,N2);
X3:(X1+X2)/2;
TMP:=X3-CLOSE;
DRAWLINE(TMP>0.00001,HIGH,TMP>0.00001,OPEN,COLORCYAN);
DRAWLINE(TMP>0.00001,LOW,TMP>0.00001,CLOSE,COLORCYAN);
DRAWLINE(TMP<-0.00001,HIGH,TMP<-0.00001,CLOSE,COLORRED);
DRAWLINE(TMP<-0.00001,LOW,TMP<-0.00001,OPEN,COLORRED);
DRAWLINE(ABS(TMP)<0.00001,LOW,ABS(TMP)<0.00001,OPEN,COLORWHITE);
DRAWLINE(ABS(TMP)<0.00001,HIGH,ABS(TMP)<0.00001,OPEN,COLORWHITE);
STICKLINE(TMP>0.00001,OPEN,CLOSE,COLORCYAN,1);
STICKLINE(TMP<-0.00001,OPEN,CLOSE,COLORRED,1);

[/code]

页: [1]