联系方式 Contact

育龙指标公式网

电话:2862580228

微信:2862580228

Q Q:209427943

网址:www.yulongzhibiao.com

搜索 Search

文华财经指标变色均线 主图线

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);