同花顺逢低吸纳公式
源码
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
A: EMA(V11,3);
V12:=(A-REF(A,1))/REF(A,1)*100;
买入股票: STICKLINE(A<=13 AND V12>13,0,50,5,0),COLOR0099FF;
BB:= (A<=13 AND V12>13) AND FILTER((A<=13 AND V12>13),10) ;
DRAWTEXT (BB,60,'买入股票www.guhai.com.cn),COLOR0099FF;
VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
VAR5:=CROSS(VAR3,VAR4) AND VAR3<20;
逢低吸纳:IF(FILTER(VAR5,10)=1,60,0),colorred;
DRAWTEXT(FILTER(VAR5,10)=1,40,'逢低吸纳'),colorred;