以下是通达信春意融融指标公式

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;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。