将以下源码改为一情选股公式
-
相关简介:原码 LC:=REF(CLOSE,1); GLS:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORWHITE,LINETHICK2; YS:=45,COLORMAGENTA; PP:=GLSYS AND REF(GLS,1)YS ; ZT:=IF(REF(C,1)*1.1-C0.01 ,1,0); HH:=COUNT(ZT,13)=1; BT:=REF(PP,1) AND HH; STICKLINE(BT,0,3,2,0),CO
-
文章来源:股海网作者:股海网发布时间:2016-02-20浏览次数:
原码
LC:=REF(CLOSE,1);
GLS:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORWHITE,LINETHICK2;
YS:=45,COLORMAGENTA;
PP:=GLS<YS AND REF(GLS,1)>YS ;
ZT:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
HH:=COUNT(ZT,13)>=1;
BT:=REF(PP,1) AND HH;
STICKLINE(BT,0,3,2,0),COLOR000088;
STICKLINE(BT,0,3,1,0),COLOR0000CC;
STICKLINE(BT,0,3,0.22,0),COLOR0000FF;
DRAWTEXT(BT,2,'一夜'),COLORYELLOW;
=================================================================
已改源码
LC:=REF(CLOSE,1);
GLS:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORWHITE,LINETHICK2;
YS:=45,COLORMAGENTA;
PP:=GLS<YS AND REF(GLS,1)>YS ;
ZT:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
HH:=COUNT(ZT,13)>=1;
DRAWTEXT(BT,2,'一夜'),COLORYELLOW;