通达信低吸高抛副图,源码
{2昌九低吸高抛副图}
HLM:MA((C-LLV(L,36))/(HHV(H,36)-LLV(L,36)),5),COLOR0077FF;
WM4:WMA(REF(HLM,1),4),COLORFF9900;
DRAWTEXT(CROSS(HLM,WM4),HLM,'←吸'),COLOR00FF00;
DRAWTEXT(CROSS(WM4,HLM),HLM,'←抛'),COLOR0077FF;
昌九低吸:CROSS(HLM,WM4) AND LAST(HLM<WM4,9,1),COLORRED,NODRAW;
DRAWICON(昌九低吸,HLM*1.20,25);
{2昌九低吸高抛选股}
S2:=IF(NAMELIKE('S'),0,1);
S3:=IF(NAMELIKE('*'),0,1); {通达信去掉停牌}
S4:=DYNAINFO(17)>0;{通达信去掉创业板*ST}
VAR1:=CAPITAL/1000000<16.00;
HLM:=MA((C-LLV(L,36))/(HHV(H,36)-LLV(L,36)),5),COLOR0077FF;
WM4:=WMA(REF(HLM,1),4),COLORFF9900;
昌九低吸:CROSS(HLM,WM4)
AND LAST(HLM<WM4,9,1)
AND VAR1 AND C<10
AND S2 AND S3 AND S4;