{吸筹拉升主图指标,无未来函数}
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA60:MA(C,60);
VAR1:=LLV(LOW,34);
VAR2:=HHV(HIGH,34);
OP2C:=(2*CLOSE+HIGH+LOW)/4;
OP22:=EMA((OP2C-VAR1)/(VAR2-VAR1)*100,6);
OP23:=EMA(0.667*REF(OP22,1)+0.333*OP22,4);
AA:=C>MA(C,60);
底部信号:=IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(OP22>OP23,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0);
拉升信号:=CROSS(MA5,MA20) AND MA(V,60)>REF(MA(V,60),1) AND MA(V,5)>MA(V,10);
STICKLINE(底部信号,O,C,1,0),COLORMAGENTA;
DRAWTEXT(底部信号,LOW-0.1,'★吸筹'),COLORYELLOW;
STICKLINE(拉升信号 ,O,C,1,0),COLORYELLOW;
DRAWTEXT(拉升信号 ,L,' ★拉升'),COLORMAGENTA;
DRAWICON(拉升信号,L,23);
DRAWICON(底部信号,L,41);