通达信雨淋漏斗主图指标公式
通达信见底准备指标公式
通达信雨淋漏斗主图指标公式:
未分配:=stRCAT(STRCAT('未分配: ',CON2STR(FINANCE(32),2)),'元');
公积金:=STRCAT(STRCAT('公积金: ',CON2STR(FINANCE(18),2)),'元');
DRAWTEXT_FIX(ISLASTBAR,0.01,0.1,0,未分配),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.15,0,公积金),COLORCYAN;
所属板块:=STRCAT('【概念】 ',GNBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.9,1,1,所属板块),COLORMAGENTA;
所属地域:DRAWTEXT_FIX(ISLASTBAR ,0.78,0,1,DYBLOCK),COLORYELLOW;
所属行业:DRAWTEXT_FIX(ISLASTBAR ,0.91,0,1,HYBLOCK),COLORYELLOW;
VAR1:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;
STICKLINE(VAR1,CLOSE,OPEN,1,0),COLORYELLOW;
VAR2:=5;
VAR3:=3;
VAR4:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
VAR5:=IF(YEAR>=2025,0,1);
VAR6:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55);
VAR7:=EMA(CLOSE/VAR6*(1.88*CLOSE+LOW+OPEN)/2.75,3);
VAR8:=(VAR7-VAR6)/VAR6/2;
VAR9:=EMA(VAR7-VAR8*VAR7,5)*VAR5;
VAR10:=EMA(CLOSE,300)-3*STD(CLOSE,300);
漏斗下:IF(VAR4>VAR9,VAR4,VAR9)*VAR5,COLORYELLOW,LINETHICK2;
漏斗上:IF(VAR9<VAR4 AND VAR9<CLOSE*0.15,EMA(CLOSE,300)-3*STD(CLOSE,300),VAR9),COLORYELLOW,LINETHICK2;
IF(VAR9>VAR4,漏斗上,DRAWNULL),COLORGREEN,LINETHICK2;
开口XG:BArslASTCOUNT(漏斗下!=漏斗上)=1,NODRAW;
DRAWICON(开口XG,MIN(漏斗上,漏斗下)*0.96,11);
DRAWTEXT(开口XG,LOW,71),COLORYELLOW;
通达信拐点套利主图指标公式