通达信抓牛(选股/副图指标)
DRAWTEXT_FIX(T22=1,0,TS22,0,'多方炮,低位可能上涨,中位上涨中继,高位或为见顶预警信号'),COLORFFFFFF ;
DRAWTEXT_FIX(T23=1,0,TS23,0,'出水芙蓉,阳线穿过20、40、60日均线,上攻势头初现'),COLORRED ;
DRAWTEXT_FIX(T24=1,0,TS24,0,'上升三部曲,上涨信号'),COLORFF00FF ;
DRAWTEXT_FIX(T25=1,0,TS25,0,'下跌三部曲,下跌信号'),COLORFFFF00 ;
DRAWTEXT_FIX(T27=1,0,TS27,0,'三只乌鸦站枝头,见顶回落'),COLORFFFF00 ;
DRAWTEXT_FIX(T28=1,0,TS28,0,'光脚阴线,下跌信号'),COLORFFFF00 ;
DRAWTEXT_FIX(T29=1,0,TS29,0,'光头阳线,低位或中位是积极上攻态势,后市看涨【高位谨慎】'),COLOR00FFFF ;
DRAWTEXT_FIX(T31=1,0,TS31,0,'长下影,有可能止跌回升,但在高位升势末期须小心'),COLORGREEN ;
DRAWTEXT_FIX(T32=1,0,TS32,0,'长上影,表明行情上档压力沉重,升势受阻'),COLORFFFF00 ;
DRAWTEXT_FIX(T33=1,0,TS33,0,'十字星,重要的警告信号,原趋势停顿或反转'),COLORGREEN ;
DRAWTEXT_FIX(T34=1,0,TS34,0,'大阴烛,后市向淡,发生逆转'),COLORLIBLUE ;
DRAWTEXT_FIX(T36=1,0,TS36,0,'倾盆大雨,见顶信号'),COLORFFFF00 ;
DRAWTEXT_FIX(T41=1,0,TS41,0,'极端行情,在未来的几日内可能变更方向'),COLORFFFF00 ;
SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);
SR2:=FILTER(SR1,10);
SR3:=BACKSET(SR2,10+1);
HD:=FILTER(SR3,10);
前高:=REF(H,BARSLAST(HD));
倍量:=VOL/REF(VOL,1)>=1.9;
突破前高:=CROSS(C,前高);
Y:= 倍量 AND 突破前高;
SJ:=BARSLAST(Y);
DRAWTEXT(CURRBARSCOUNT=CONST(SJ)+2,45,'过左峰'),COLORYELLOW;
B:=ZIG(3,10);
G:=MA(B,2);
W:=CROSS(G,B);
DRAWTEXT(W=1,70,'卖' ),COLOR00FF00;
VARA1:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VARA2:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VARA3:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VARA4:=(((VARA1 + (2 * VARA2)) + (3 * VARA3)) / 6);
VARA5:=MA(VARA4,3);
底部反转:=CROSS(KDJ.J,0) AND (VARA5 <= (0 - 7));
DRAWTEXT(F2=100 AND 底部反转,50,'反转预警'),COLORRED;
值:=(EMA(((CLOSE-LLV(LOW,14))/(HHV(HIGH,35)-LLV(LOW,56)))*(4),4))*(25),COLORGREEN,LINETHICK2;
DRAWTEXT(FILTER(CROSS(值,5),10), 40,'超低'),COLORYELLOW;
DIFX:=(2*EMA(CLOSE, 12)-EMA(EMA(CLOSE,12),12))-(2*EMA(CLOSE, 26)-EMA(EMA(CLOSE, 26),26));
DEAX:=2*EMA(DIFX, 9) - EMA(EMA(DIFX, 9),9);
FF:=C=LLV(C,180);
GG:= DEAX> REF(DEAX,1) AND REF(DEAX> REF(DEAX,1),1)=1;
LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1;
拐点出击:=(NOT(未来空柱=100) AND F2=100 AND LL AND GG)*DEAX;
VAR1:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
山底:=IF(CLOSE>SAR(4,6,20),SAR(4,6,20),DRAWNULL),CIRCLEDOT,COLORGREEN;
山顶:=IF(CLOSE<SAR(4,6,20),SAR(4,6,20),DRAWNULL),CIRCLEDOT,COLORRED;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26),COLORWHITE;
DIFF变红:=IF(DIFF>=REF(DIFF,1),DIFF,DRAWNULL),COLORLIRED;
{DEA:=EMA(DIFF,9),COLORWHITE;}
DEA变红:=IF(DEA>=REF(DEA,1),DEA,DRAWNULL),COLORLIMAGENTA;
{MACD:=2*(DIFF-DEA),COLORSTICK;}
NOTEXT上买下卖:=CLOSE-REF(CLOSE,49),COLORWHITE;
NOTEXT红买绿卖:=MA(NOTEXT上买下卖,49),COLORGREEN;
上买下卖:=IF(NOTEXT上买下卖>NOTEXT红买绿卖,NOTEXT上买下卖,DRAWNULL),LINETHICK2,COLORMAGENTA;
红买绿卖:=IF(NOTEXT红买绿卖>=REF(NOTEXT红买绿卖,1) AND NOTEXT上买下卖>NOTEXT红买绿卖,NOTEXT红买绿卖,DRAWNULL),LINETHICK3,COLORRED;
红买:=上买下卖 AND 红买绿卖 AND DEA变红,COLORRED,NODRAW;
绿卖:=红买!=1,COLORGREEN,NODRAW;
底:=SMA(VAR2,3,1),COLORGREEN;
顶:=SMA(底,3,1),COLORRED;
方向:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
方向向下:=(DMA((2*CLOSE+LOW+HIGH)/4,方向)),COLORGREEN;
红灯停:=IF(CLOSE<SAR(4,6,20),SAR(4,6,20),DRAWNULL),CIRCLEDOT,COLORRED;
向下:=方向向下 AND 红灯停,COLORGREEN,NODRAW;
空仓基因:=绿卖 AND 向下,COLORGREEN,NODRAW;
B2:=BARSLAST(REF(CROSS(顶,底),1));
顶背离:=空仓基因 AND REF(C,B2+1)<HHV(H,3) AND REF(底,B2+1)>底 AND CROSS(顶,底) AND 底>80 AND MA(C,5)>MA(C,377) AND 山顶;
DRAWTEXT(顶背离=1,85,'顶背'),COLORFFFF00;
DRAWTEXT(FILTER(拐点出击,30), 30,'拐点→'),COLORWHITE;
- 上一篇公式:通达信回调指标+选股(主图/选股指标)
- 下一篇公式:通达信分时狙击涨停(源码分时副图贴图)无未来