通达信黑马腾飞指标主图贴图
跟庄抄底:=金叉 AND 抓庄;
{DRAWTEXT (跟庄抄底,L*0.97,'跟庄'),COLORCYAN;}
{稳健追涨}
WMA1:=EMA(CLOSE,5);
WMA2:=EMA(CLOSE,10);
WMA3:=EMA(CLOSE,20);
WMA4:=EMA(CLOSE,30);
WMA5:=EMA(CLOSE,60);
WVAR1:=MAX(WMA1,MAX(WMA2,MAX(WMA3,WMA4)));
WVAR2:=MIN(WMA1,MIN(WMA2,MIN(WMA3,WMA4)));
WVAR3:=(WVAR1-WVAR2)/WVAR2*1000;
WVAR4:=WMA1>REF(WMA1,1) AND WMA2>REF(WMA2,1) AND WMA3>REF(WMA3,1) AND WMA4>REF(WMA4,1) AND WMA5>REF(WMA5,1);
WVAR5:=WVAR3<5;
WVAR6:=COUNT(WVAR5=1,5)>0;
WVAR7:=CROSS(WMA1,WMA4);
稳健追涨:=WVAR4 AND WVAR6 AND WVAR7;
稳健抄底:=金叉 AND 稳健追涨;
{DRAWTEXT (稳健抄底,L*0.97,'稳健'),COLORCYAN;}
{均线粘合}
JDIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
JDEA:=EMA(JDIF,9);
JMACD:=(JDIF-JDEA)*2;
JBOLL:=MA(CLOSE,20);
JUPPER:=JBOLL+2*STD(CLOSE,20);
JLOWER:=JBOLL-2*STD(CLOSE,20);
JK1:=CLOSE>OPEN ;
JK2:=VOL>=2*REF(VOL,1);
JK3:=CROSS(JDIF,JDEA) AND JDIF<=0 ;
JK4:=CROSS(CLOSE,JBOLL);
均线粘合:=JK1 AND JK2 AND JK3 AND JK4 ;
机构拉升:=机构加仓 AND 均线粘合;
DRAWTEXT (机构拉升,L*0.97,'↖机构拉升'),COLORFF00FF;
VARC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VARC),H*1.02,2);
{DRAWTEXT(CROSS(82,VARC),2,'|逃庄'),COLORWHITE ;}
VAR34:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1);
VAR35:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1);
VAR36:=IF(VAR34>0.010, 0.900, 1) AND IF(VAR34>(-0.025), 1, 1.200);
VAR37:=VAR36*(VAR35-VAR34)*100;
VAR38:=SUM(VAR37, 10);
VAR310:=VAR38>20;
VAR326:=IF(CLOSE AND MA(VOL, 5)/240 AND CLOSE>REF(CLOSE, 1)*1.0 AND CLOSE,1,0);{VAR38>VAR39;}
VAR327:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100<10 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND VAR326>0, 1, 0);
{STICKLINE(VAR327=1,0,1,2,0),COLORYELLOW;}
DRAWICON(VAR327=1,L*0.95,1);
{DRAWTEXT(VAR327=1,-1,'|杀庄'),COLORWHITE;}
HZ:=EMA(CLOSE,13);
短波:=EMA(HZ,1);
中波:=EMA(HZ,26);
均线148天:=EMA(C,148);
成本:=SUM(AMOUNT,0)/SUM(VOL,0)/100;
HZ2:=EMA(HZ,8);
拉升一号:=CROSS(短波,HZ2);
DRAWICON(拉升一号,L*0.99,11);
DRAWTEXT (拉升一号,L*0.97,'↖黑马拉升'),COLORFF00FF;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
红线上牛股起:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED,LINETHICK2;
绿线下熊股出:MA(红线上牛股起,6),COLORGREEN,LINETHICK2;
涨停紫色:STICKLINE((C-REF(C,1))/REF(C,1)>0.095,C,O,3.05,0),COLORMAGENTA;
- 上一篇公式:通达信变异组合3代(指 副图/选股贴图)炒股必备迈克原创指标
- 下一篇公式:通达信绝密跟庄买卖加强版指标主图源码贴图