文华指标公式源码--阴阳瀑布线
-
相关简介:阴阳瀑布线 AA:=(OPEN+HIGH+LOW)/3; PB1:PUBU(OPEN,0),COLORRED; PB2:PUBU(OPEN,1),COLORGREEN; PB3:PUBU(OPEN,2),COLORWHITE; PB4:PUBU(OPEN,3),COLORYELLOW; PB5:PUBU(OPEN,4),COLORMAGENTA; PB6:PUBU(OPEN,5),COLORBLUE; TMP:=PUBU(AA,3)-PUBU(AA,0); DRAWLINE(TMP0.00001
-
文章来源:股海网作者:股海网发布时间:2013-09-08浏览次数:
阴阳瀑布线
AA:=(OPEN+HIGH+LOW)/3;
PB1:PUBU(OPEN,0),COLORRED;
PB2:PUBU(OPEN,1),COLORGREEN;
PB3:PUBU(OPEN,2),COLORWHITE;
PB4:PUBU(OPEN,3),COLORYELLOW;
PB5:PUBU(OPEN,4),COLORMAGENTA;
PB6:PUBU(OPEN,5),COLORBLUE;
TMP:=PUBU(AA,3)-PUBU(AA,0);
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);