通达信春意融融指标公式
-
相关简介:VAR1:=SUM(WINNER(CLOSE)*100,10 )/10; VAR2:=SUM(WINNER(CLOSE)*100,10 )/20; ZSYD:VAR1-(VAR2+10),COLORSTICK; PP:=VAR1-(VAR2+10); PD:=MA(ZSYD,8); STICKLINE(PP0,0,PP,0.1,0),COLORGREEN; {河水:}STICKLINE(PP0,0,PP,0.1,0),COLORBLUE; 河水:0,COLORBLUE; {水面冰封:}STICK
-
文章来源:股海网作者:股海网发布时间:2019-02-28浏览次数:
VAR1:=SUM(WINNER(CLOSE)*100,10 )/10;
VAR2:=SUM(WINNER(CLOSE)*100,10 )/20;
ZSYD:VAR1-(VAR2+10),COLORSTICK;
PP:=VAR1-(VAR2+10);
PD:=MA(ZSYD,8);
STICKLINE(PP>0,0,PP,0.1,0),COLORGREEN;
{河水:}STICKLINE(PP<0,0,PP,0.1,0),COLORBLUE;
河水:0,COLORBLUE;
{水面冰封:}STICKLINE(PP<0,0,2,4,0),COLORWHITE;
水面冰封:0,COLORWHITE;
{春意融融:}STICKLINE(PP>PD,PP+1,PP,1,0),COLOR00FFFF,LINETHICK2;
春意融融:0,COLOR00FFFF;
STICKLINE(PP>PD,PP-2,PP,0.1,0),COLORWHITE;
冲破冰封:IF(CROSS(PP,0),20,0),COLORBLUE;
DRAWTEXT(冲破冰封>0,10,'破冰了!'),COLORWHITE;
BB:=PP>PD AND REF(PP<PD,1),COLOR00FF00;
春意:IF(BB>0,10,0),COLOR00FF00;