文华财经指标变色均线 主图线
2018/8/23 17:15:48点击:
M5:=MA(CLOSE,5);
M20:=MA(CLOSE,20);
A:=M20-REF(M20,1);
B:=REFX(A,1);
Q:=IFELSE(M5>M20,1,-1);
DRAWSL(Q=1,M20,B,1,0,COLORRED);
DRAWSL(Q=-1,M20,B,1,0,COLORGREEN);
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,0);
STICKLINE(TMP<=0,OPEN,CLOSE,COLORRED,1);
M20:=MA(CLOSE,20);
A:=M20-REF(M20,1);
B:=REFX(A,1);
Q:=IFELSE(M5>M20,1,-1);
DRAWSL(Q=1,M20,B,1,0,COLORRED);
DRAWSL(Q=-1,M20,B,1,0,COLORGREEN);
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,0);
STICKLINE(TMP<=0,OPEN,CLOSE,COLORRED,1);
- 上一篇:博易大师寻庄出击指标 副图公式 2018/8/23
- 下一篇:文华财经指标公式 95%成功率买卖提示软件公式 文华财经软件 2018/8/10