通达信【资金启动】吸筹和资金启动爆发,副图+公式源码分享
公式介绍:
趋势动能类公式,当副图出现资金启动信号,可以沿着主图短期均线操作,产生共振时,往往是主升浪启动的节点。
副图公式如下:
操作线:MA(CLOSE,5)DOTLINE;
生命线:MA(CLOSE,10)LINETHICK2 COLORMAGENTA;
GSPT3:=IF(DATETODAY(DATE)<9872,1,DRAWNULL);
GSPT4:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
GSPT5:=8;
GSPT6:=2342.459961*500;
GSPT7:=IF(DATE<GSPT6,1,1);
GSPT8:=CROSS(GSPT4,GSPT5);
GSPT9:=CROSS(GSPT4,GSPT5) AND HIGH>REF(HIGH,1) AND CLOSE>REF(CLOSE,1);
GSPT10:=CROSS(GSPT5,GSPT4);
GSPT11:=LLV(LOW,21);
GSPT12:=HHV(HIGH,21);
GSPT13:=EMA((CLOSE-GSPT11)/(GSPT12-GSPT11)*100,5);
GSPT14:=EMA((CLOSE-GSPT11)/(GSPT12-GSPT11)*50,13);
GSPT15:=CROSS(GSPT13,GSPT14);
GSPT16:=IF(CLOSE>REF(CLOSE,1),88,0);
GSPT17:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND GSPT16>0,91,0);
吸筹:FILTER(GSPT17>90,45)=1,COLORMAGENTA NODRAW;
STICKLINE(吸筹,OPEN,CLOSE,1,0),COLORMAGENTA;
STICKLINE(吸筹,OPEN,CLOSE,0.1,0),COLORRED;
DRAWICON(吸筹,L,9);
DRAWTEXT(吸筹,L,'★资金启动')COLORYELLOW LINETHICK6;