文华指标公式-期市指南针
[code]TMP:=OPEN-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,OPEN,CLOSE,COLORCYAN,1); STICKLINE(TMP<=0,OPEN,CLOSE,COLORRED,1);
STICKLINE(MA(CLOSE,10)<MA(CLOSE,15),OPEN,CLOSE,COLORCYAN,0);
DRAWLINE(MA(CLOSE,10)<MA(CLOSE,15),HIGH,MA(CLOSE,10)<MA(CLOSE,20),LOW,COLORCYAN);
STICKLINE(MA(CLOSE,10)>MA(CLOSE,15),OPEN,CLOSE,COLORRED,0);
DRAWLINE(MA(CLOSE,10)>MA(CLOSE,15),HIGH,MA(CLOSE,10)>MA(CLOSE,20),LOW,COLORRED);
MA1:MA(OPEN,8);
[/code]
页:
[1]