通达信金牛狂飙指标公式

2019-05-10    作者:股匠网整理    来源:本站整理

AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPENAA*(HIGH-LOW)IF(CLOSE<OPENAA*((HIGH-OPEN)+(CLOSE-LOW))VOL/2))LINETHICK0COLORRED;
卖量:=IF(CLOSE>OPEN0-AA*((HIGH-CLOSE)+(OPEN-LOW))IF(CLOSE<OPEN0-AA*(HIGH-LOW)0-VOL/2))LINETHICK0COLORCYAN;
进出量:=买量+卖量COLOR00FFFF;
五日内净流入:=SUM(进出量5)LINETHICK1COLORLIBLUE;
N:=9;M:=14;N1:=6;
TYP := (HIGH + LOW + CLOSE)/3;
CC1:=(TYP-MA(TYPM))/(0.015*AVEDEV(TYPM))COLORFF00FF;
C1:=SMA(CC131);
C2:=SMA(C131);
C3:=3*C1-2*C2;
CB1:=EMA(C35);
LC := REF(CLOSE1);
RSI1:=SMA(MAX(CLOSE-LC0)N11)/SMA(ABS(CLOSE-LC)N11)*100;
RSI:=(RSI1-50)*5;
R1A:=SMA(RSI31);
D1:=SMA(R1A31);
J1:=3*R1A-2*D1;
RR1:=EMA(J15);
RR2:=REF(RR11);
RR:=RR1>RR2;
卖出:=REF(RR1)=1 AND NOT(RR) AND CB1>100;
R1:=(CLOSE-LLV(LOW90))/(HHV(HIGH90)-LLV(LOW90))*200;
R2:=EMA((CLOSE-(LLV(LOW5)))/((HHV(HIGH5))-(LLV(LOW5)))*1004)*2;
R3:=EMA(0.618*REF(R21)+0.382*R22);
R4:=POW(MA(CLOSE5)2)+MA(CLOSE5);
R5:=POW(MA(LOW5)2)+MA(LOW5);
R6:=POW(MA(HIGH5)2)+MA(HIGH5);
R7:=(R4-LLV(R564))/(HHV(R664)-LLV(R564))*150+65-10;
R8:=SMA((SMA(R731)*1.5-100)31);
R9:=3*(SMA(R731)*1.5-100)-2*R8;
R10:=(HIGH+LOW+CLOSE*2)/4;
R11:=(R10-(EMA(R1013)))*100/(STD(R1013));
R12:=EMA((EMA(R115))13)+200-100;
R13:=(SMA(R131))+R2+(SMA(R731)*1.5-100)+R12;
R14:=(SMA((SMA(R131))31))+R3+R8+(EMA(R1210));
R15:=(3*(SMA(R131))-2*(SMA((SMA(R131))31)))+(3*R12-2*(EMA(R1210)))+
R9+(3*R12-2*(EMA(R1210)));
R16:=(HIGH+LOW+CLOSE)/3;
R17:=(R16-MA(R1634))/(0.015*AVEDEV(R1634));
R18:=(HIGH+LOW+CLOSE+R16)/4;
R19:=(R18-(EMA(R1824)))/(STD(R1824))*100;
R20:=(R16-MA(R1624))/(0.015*AVEDEV(R1624));
R21:=(((EMA(R195))+R20+R17)/3+165)/4;
R22:=(R13+R14+R15*30)/32/5-15;
买卖: EMA(((R21+R22)/2/1.1)1);
阻力:MA(买卖3)COLORWHITELINETHICK2;
IF(买卖< 阻力买卖DRAWNULL)COLORGREENLINETHICK2;
IF(买卖>=阻力买卖DRAWNULL)COLORREDLINETHICK2;
神奇先知:(CLOSE-MA(CLOSE5))/MA(CLOSE5)*250 COLORYELLOWLINETHICK2;
金牛狂飙:IF(CROSS(神奇先知0) AND CROSS(买卖阻力) AND 阻力>0 AND 阻力>REF(阻力1) AND 五日内净流入>0 AND 五日内净流入>REF( 五日内净流入1)100)COLORRED;
DRAWICON(CROSS(买卖阻力) AND 神奇先知>REF(神奇先知1)阻力1);
DRAWICON(CROSS(阻力买卖)阻力-3.662);
DRAWICON(卖出买卖*1.136);
DRAWICON(CROSS(买卖100)买卖*1.109);
DRAWICON(CROSS(买卖120)买卖*1.0635);
DRAWICON(CROSS(神奇先知0) AND CROSS(买卖阻力) AND 阻力>0 AND 阻力>REF(阻力1) AND 五日内净流入>0 AND 五日内净流入>REF( 五日内净流入1) 2811);
STICKLINE(CROSS(神奇先知0) AND CROSS(买卖阻力) AND 阻力>0 AND 阻力>REF(阻力1) AND 五日内净流入>0 AND 五日内净流入>REF( 五日内净流入1)22.8010)COLORRED;
DRAWTEXT(CROSS(神奇先知0) AND CROSS(买卖阻力) AND 阻力>0 AND 阻力>REF(阻力1) AND 五日内净流入>0 AND 五日内净流入>REF( 五日内净流入1)29'←━金牛狂飙')COLORLIMAGENTA;
VAR2W:=REF(LOW1);
VAR3W:=SMA(ABS(LOW-VAR2W)31)/SMA(MAX(LOW-VAR2W0)31)*100;
VAR4W:=EMA(IF(CLOSE*1.3VAR3W*10VAR3W/10)3);
VAR5W:=LLV(LOW30);
VAR6W:=HHV(VAR4W30);
VAR7W:=IF(MA(CLOSE58)10);
VAR8W:=EMA(IF(LOW<=VAR5W(VAR4W+VAR6W*2)/20)3)/618*VAR7W;
VAR9W:=IF(VAR8W>100100VAR8W);
STICKLINE(VAR9W>-1500VAR9W20) COLORLIMAGENTA;
底部吸筹指标:=(CLOSE-MA(CLOSE40))/MA(CLOSE40)*100 COLOR00FF00;
STICKLINE(CROSS(底部吸筹指标-24)88010) COLORWHITE;
DRAWTEXT(CROSS(底部吸筹指标-24)89'建仓');
可能放量拉升:=IF(CROSS(底部吸筹指标-24)10) COLORWHITE;
短线获利:STICKLINE(REF(KDJ.J1)<0 AND KDJ.J>038010)COLORGREEN;
DRAWTEXT(REF(KDJ.J1)<0 AND KDJ.J>039'←短线获利')COLORYELLOW;
强弱分界线:50COLORLIBLUEDOTLINE;
风险顶:100COLORLIGREEN;
DRAWTEXT(ISLASTBAR100'清仓')COLORYELLOW;
DRAWTEXT(ISLASTBAR80'减仓')COLORYELLOW;
DRAWTEXT(ISLASTBAR50'控盘')COLORWHITE;
DRAWTEXT(ISLASTBAR10'吸筹')COLORGREEN;
MV3:=EMA(V3);
MA3:=EMA(C3);
MV3角度:=ATAN((MV3/REF(MV31)-1)*100)*180/3.1416;
MA3角度:=ATAN((MA3/REF(MA31)-1)*100)*180/3.1416;
MV5:=EMA(V5);
MA5:=EMA(C5);
MV5角度:=ATAN((MV5/REF(MV51)-1)*100)*180/3.1416;
MA5角度:=ATAN((MA5/REF(MA51)-1)*100)*180/3.1416;
MV10:=EMA(V10);
MA10:=EMA(C10);
MV10角度:=ATAN((MV10/REF(MV101)-1)*100)*180/3.1416;
MA10角度:=ATAN((MA10/REF(MA101)-1)*100)*180/3.1416;
强弱度:=(MV3角度+MA3角度+MV5角度+MA5角度+MV10角度+MA10角度)/6COLORFFFFFF;
十九强:=IF(强弱度>=80800)COLOR0000FFLINETHICK2;
脱离MA5:=(L/MA(C5)-1)*100COLORFF9988POINTDOTLINETHICK0;
DRAWTEXT(十九强 AND 脱离MA5>=3.5108'←险')COLORGREEN;
日:=150;昨前:=3;
高1:=REF(HHV(H日)昨前);
顶:REFDATE(高1DATE)COLORBLACK;
绝顶:=REFDATE(顶DATE)NODRAW;
跑:=绝顶=H AND ((C-L)<(O-C) OR (O-L)<(C-O))NODRAW;
STICKLINE(跑12010010)COLOR777777;
STICKLINE(跑12010010)COLORAAAAAA;
STICKLINE(跑12010010)COLORCCCCCC;
STICKLINE(跑1201000.10)COLORFFFFFF;
STICKLINE(跑12010010)COLORFFFFFF;
DRAWTEXT(跑阻力*1.03'←绝顶逃')COLORGREEN;

阅读:628    评论:0

联系我们 - 关于我们 - 网站地图

声明:站内所有文章、公式均来自互联网或网友分享提供,如侵犯您的权利请告知,我们会在24小时内及时删除! 


【电脑版】  【回到顶部】