文华指标公式变色主图线
-
相关简介:变色主图线 变色主图线(文华指标公式) O1:=MA(C,O); N1:=MA(C,21); M2:=MA(C,55); PARTLINE(N1M2,M2,COLORRED); PARTLINE(N1=M2,M2,COLORGREEN); (以下为文华K线语言) TMP:=OPEN-CLOSE; DRAWLINE(TMP0.00001,HIGH,TMP0.00001,OPEN,COLORCYAN); DRAWLINE(TMP0.00001,LOW,TMP0.00001,CLOSE,COLORCY
-
文章来源:股海网作者:股海网发布时间:2013-09-08浏览次数:
变色主图线
变色主图线(文华指标公式)
O1:=MA(C,O);
N1:=MA(C,21);
M2:=MA(C,55);
PARTLINE(N1>M2,M2,COLORRED);
PARTLINE(N1<=M2,M2,COLORGREEN);
(以下为文华K线语言)
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);