2018通达信指标公式 精准买与卖主图无未来公式源码(2)
VA2:=EMA(上收,20);
DRAWTEXT(CROSS(VA1,VA2)AND(C>=O)AND 黄金线>REF(黄金线,1),VA1*0.985,'★追涨'),coloryellow;
选手A:=MA(上收,3);
孤烟A:=MA(REF(HHV(上收,6),1),3);
孤泉A:=MA(REF(LLV(上收,3),1),3);
T1:=MA(上收,20)>=REF(MA(上收,20),1);
T2:=CROSS(选手A,孤泉A) AND 孤烟A/孤泉A>100/100 AND T1;
T3:=CROSS(孤烟A,选手A) AND 孤烟A/孤泉A>100/100;
选手:=MA(上收,2);
压力:MA(REF(HHV(上收,30),1),2),COLORABFF46,LINETHICK2;
支撑:MA(REF(LLV(上收,30),1),2),colormagenta,LINETHICK1;
T4:=CROSS(选手,支撑) AND 压力/支撑>110/100;
T5:=CROSS(支撑,选手) AND 压力/支撑>110/100;
VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
阳涨幅:=5;{可自调4-10}
阳倍量:=1.90;{王子倍量倍数}
单阳:=C>O*(1+阳涨幅/100) AND VOL>REF(VOL,1)*阳倍量;
LS0:=BARSLAST(单阳);
不破价:=REF(L,LS0);
DRAWTEXT(单阳,L,'阳'),COLOR00FFFF;
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;
DRAWTEXT(FF1,LOW*0.96,'老鼠仓'),COLOR4080FF;
XXS:=MA(LOW,5)*(1-5/100);
XXS1:=MA(HIGH,5)*(1+5/100);
均线:=C,colorgreen;
AAAA:=CLOSE/REF(CLOSE,3)<=0.85 AND CROSS(C,XXS) AND C>REF(C,1),LINETHICK1 ;
DRAWTEXT(AAAA,LOW*0.95,'下影买'),colorred;
BBAA:=CROSS(XXS1,C);(股票知识网zhishi.southmoney.com)