相关简介:通达信黄金坑k线图(主力拉升前)指标公式源码分享

     通达信指标公式源码概况:

指标类别:通达信指标公式

授权方式:免费版

指标评级:★★★★★

指标分类:策略

画线方法:副图

   当前股市走势复杂,众说纷纭,专家公认操作难度巨大。现在大盘是顶还是底?【黄金坑】指标应运而生,答案也随之预出!指标成功率虽高,但永远做不到百分之百,我们也不要奢望有百分之百,毕竟黄金坑是走出来的,不是炒出来的!我在这里祝福朋友们永远做那成功率高的多数!

   指标永远都是辅助,炒股者个人才是主体,千万不要搞反了!观念一致者请放心下载

   什么是真底?什么是假底?底都是走出来的,不是猜和炒出来的!走出来了就是真底,没有走出来都是假底!黄金坑也都是走出来的。

   可以进一步优化,但进一步优化将丧失掉更多好的机会,底是走出来的!指标是辅助,关键看自己如何去把握机会。

   指标都是辅助,为的是减少选股样本的数量,抉择在操作者自身。黄金坑是走出来的,发出信号的当天要结合大盘环境和股票板块趋势多方面因素看能不能当天介入,也可在第二天考虑结合成交量等综合因素确认是否真正的黄金坑。

   指标是源码,我给的是大众用户,优化后的指标“赌”的意图会更加明显,一旦失败将会导致骂声一片,得不偿失!想优化,完全可以自己来的,调整参数就是其中之一的方法。

   指标不带未来函数,信号收盘后不漂移,无时间限制,为操盘参考使用,使用时还需多加总结。指标是死的,股市是活的,各种不确定性较大,一切买卖和盈亏与指标无关~风险自负!

   在目前大多数股票属于超跌情况下,特发一个黄金坑的源码。可以帮大家辅助判断哪些股是阶段性底部,

   可以叠加到其他指标附图中,希望对大家有帮助!

通达信指标公式源码:

   Var1:=ma(CLOSE,5);

   Var2:=MA(CLOSE,10);

   Var3:=MA(CLOSE,30);

   Var4:=MA(CLOSE,60);

   VarB:=SUM(CLOSE*vol*100,28)/SUM(VOL*100,28);

   VarC:=INTPART(VarB*100)/100;

   VarD:=EMA(CLOSE,5)-EMA(CLOSE,10);

   VarE:=EMA(VarD,9);

   VarF:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;

   Var10:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;

   Var11:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;

   Var12:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;

   Var13:=REF(VarE,1);

   Var14:=VarE;

   Var15:=Var14-Var13;

   Var16:=REF(VarD,1);

   Var17:=VarD;

   Var18:=Var17-Var16;

   Var19:=OPEN;

   Var1A:=CLOSE;

   倍量上攻:IF(Var19<=Var1ANDVar19<=Var2ANDVar19<=Var3ANDVar1A>=Var1ANDVar1A>=VarCAND

   Var15>0ANDVar18>0,0.8,0),LINETHICK3,Color00FFFF;

   stICKLINE(倍量上攻,0,倍量上攻*0.86,2,1),LINETHICK2,Color00FFFF;

   DRAWICON(倍量上攻>0,倍量上攻,1);

   ma1:=EMA(CLOSE,5);

   ma2:=EMA(CLOSE,10);

   ma3:=EMA(CLOSE,20);

   ma4:=EMA(CLOSE,30);

   三线粘合:crOSS(MA1,MA2)ANDC>OANDC>REF(C,1)ANDC/REF(C,1)>=1.018

   ORCROSS(MA1,MA4)ANDC>OANDC>REF(C,1)ANDC/REF(C,1)>=1.018

   ORCROSS(MA2,MA3)ANDC>OANDC>REF(C,1)ANDC/REF(C,1)>=1.018

   ORCROSS(MA1,MA3)ANDC>OANDC>REF(C,1)ANDC/REF(C,1)>=1.018,colorff00ff;

   STICKLINE(三线粘合,0,三线粘合*0.96,2,1),colorff00ff;

   DRAWICON(三线粘合>0,三线粘合,1);

   bias1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

   BIAS2:=HHV((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,200);

   m1:=bias1=bias2;

   m2:=V>MA(V,5);

   m3:=REF(bias1,1)<REF(bias2,1);

   追进:IF(m1ANDm2ANDm3,0.60,0),colorffcccc,linethick2;

   STICKLINE(追进,0,追进*0.56,2,1),colorffcccc,linethick2;

   DRAWICON(追进>0,追进,1);

   C1:=HHV(C,115);

   C2:=LLV(C,115);

   C3:=C1-C2;

   C4:=MA((C-C2)/C3-0.5,14)*20;

   hh:=REF(HHV(C,66),2);

   BUY1:=CROSS(C,hh)AND(HHV(C,110)/LLV(C,110)-1)*100<45ANDC4<5.666;

   SIGN1:=LLV(c4,35)<-8.9ANDCROSS(c4,-7.815)ANDc4<-1.2;

  抄底:1*FILTER(SIGN1,41),STICK,LINETHICK2,COLOR00EE00;

   MA5:=MA(CLOSE,5);

   MA10:=MA(CLOSE,10);

   MA60:=MA(CLOSE,60);

   Var1:=MA(CLOSE,5);

   Var2:=MA(CLOSE,10);

   Var3:=MA(CLOSE,60);

   Var4:=BArslAST(CROSS(Var1,Var3));

   Var5:=BARSLAST(CROSS(Var2,Var3));

   Var6:=BARSLAST(HIGH=HHV(HIGH,Var5));

   Var7:=BARSLAST(CROSS(Var2,Var1));

   Var8:=BARSLAST(CROSS(Var1,Var2));

   Var9:=Var4>Var5ANDVar5>Var6ANDVar6>Var7ANDVar7>Var8ANDVar8<5;

   VarA:=COUNT(CROSS(Var2,Var1),Var5)=1;

   老鸭头:Var9ANDVarAANDVar3>REF(Var3,1),COLORFF00FF;

   DRAWTEXT(老鸭头,0.8,’老鸭头’),colorred;

   nA1:=MIN(MA(C,5),MA(C,10))>MA(C,60)ANDCROSS(MA(C,5),MA(C,10));

   nA2:=MIN(MA(C,5),MA(C,10))/MA(C,60)<1.05;

   nA3:=COUNT(V<MA(V,10),10)>6;

   蜻蜓点水:nA1ANDnA2ANDnA3,COLOR00FF00,LINETHICK2;

   DRAWTEXT(蜻蜓点水,0.8,’蜻蜓点水’),colorred;

   线:=MA(C,180)>REF(MA(C,180),2)ANDCOUNT(CROSS(MA(C,5),MA(C,180)),6)>=1ANDC/MA(C,180)>1.04,colorblue;

   穿180线:MA(C,180)>REF(MA(C,180),2)ANDCOUNT(CROSS(MA(C,5),MA(C,180)),6)>=1ANDC/MA(C,180)>1.04,colorblue;

   DRAWTEXT(穿180线,0.8,’180′),colorblue;

   ss1:=(LOW+HIGH+CLOSE*2)/4;

   ss2:=MA(ss1,4);

   ss3:=HHV(ss2,10);

   ss4:=MA(ss3,3);

   ss5:=1.25*ss4-0.25*ss3;

   xkkj:=IF(ss5>ss3,ss3,ss5);

   ff1:=LLV(ss2,10);

   ff2:=MA(ff1,3);

   ff3:=1.25*ff2-0.25*ff1;

   dkkj:=IF(ff3<ff1,ff1,ff3);

   ma13:=MA(C,13);

   zdhm:=CROSS(C,dkkj)ANDCROSS(C,ma13)ANDCROSS(C,xkkj);

   zhm:=CROSS(C,ma13)ANDCROSS(C,xkkj);

   的:zdhmORzhm,colorgreen;

   DRAWTEXT(的,0.5,’的’),colorred;

   MA111:=MA(CLOSE,20);

   MA112:=MA(CLOSE,40);

   MA113:=MA(CLOSE,60);

   A11:=OPEN<MA111OROPEN<MA112OROPEN<MA113,colorred;

   A12:=C>MAX(MA111,MAX(MA112,MA113)),colorred;

   A13:=V/MA(V,30)>1.2,colorred;

   A14:=C/REF(C,1)>1.049,colorred;

   芙蓉:A11ANDA12ANDA13ANDA14,colorwhite;

   DRAWTEXT(芙蓉,0.3,’出水芙蓉’),colorwhite;

   F:=100*(C-REF(C,1))/REF(C,1);

   今小昨:=IF(C<REF(O,1)ANDF<0,1,0);

   S1:=今小昨;

   今小前:=IF(C<REF(O,2)ANDF<0,1,0),LINETHICK0;

   S2:=今小前;

   A1:=S1=0ANDREF(S1,1)=1ANDS2=0ANDREF(S2,1)=1ANDCROSS(zig(3,3),REF(ZIG(3,3),1));

   A2:=S1=0ANDREF(S1,1)=1ANDS2=0ANDREF(S2,1)=1ANDCROSS(ZIG(3,5),REF(ZIG(3,5),1));

   A3:=S1=0ANDREF(S1,1)=1ANDS2=0ANDREF(S2,1)=1ANDCROSS(ZIG(3,10),REF(ZIG(3,10),1));

   STICKLINE(A1ANDA2,0,3,3,0);colorgreen;

   STICKLINE(A1ANDA2,0,1,3,0);colorblue;

   STICKLINE(A1ANDA2ANDA3,0,5,3,0);coloryellow;

   STICKLINE(A1ANDA2ANDA3,0,3,3,0);COLORFF00FF;

   STICKLINE(A1ANDA2ANDA3,0,1,3,0);colorblue;

   DRAWTEXT(A3=1,4.8,’倍量上攻!’),coloryellow;

   追击:ZIG(3,6)>REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1)<REF(ZIG

   (3,6),2),colorwhite,LINETHICK1;

   DRAWTEXT(追击=1,0.8,’买!’),colorwhite;

   退:ZIG(3,10)<REF(ZIG(3,10),1)ANDREF(ZIG(3,10),1)>REF(ZIG

   (3,10),2),coloryellow,LINETHICK1;

   DRAWTEXT(退=1,1.3,’卖!’),colorgreen;

   VAR3:=PEAKBARS(2,15,1)<10;

   VAR5:=IF(VAR3=1,2,0);

   顶:=IF(VAR5=2,2,0);

   VAR1:=CLOSE>REF(CLOSE,1)ANDCLOSE>REF(CLOSE,2);

   VAR2:=REF(VAR1,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR3:=REF(VAR2,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VAR4:=REF(VAR3,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR5:=REF(VAR4,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VAR6:=REF(VAR5,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR7:=REF(VAR6,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VAR8:=REF(VAR7,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR9:=REF(VAR8,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VARA:=REF(VAR9,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VARB:=REF(VARA,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VARC:=REF(VARB,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   STICKLINE(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7ORVAR8ORVAR9ORVARA

   ORVARBORVARC,CLOSE,REF(CLOSE,1),3,1),COLORRED;

   VARD:=CLOSE<REF(CLOSE,1)ANDCLOSE<REF(CLOSE,2);

   VARE:=REF(VARD,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VARF:=REF(VARE,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR10:=REF(VARF,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VAR11:=REF(VAR10,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR12:=REF(VAR11,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VAR13:=REF(VAR12,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR14:=REF(VAR13,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VAR15:=REF(VAR14,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR16:=REF(VAR15,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VAR17:=REF(VAR16,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR18:=REF(VAR17,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   STICKLINE(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15

   ORVAR16ORVAR17ORVAR18,CLOSE,REF(CLOSE,1),3,1),COLORFF9900;

   VAR19:=REF(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15ORVAR16ORVAR17ORVAR18,1)ANDVAR1;

   STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3.0,0),COLOR0088FF;

   STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2.0,0),COLOR33AAFF;

   STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),0.5,0),COLOR66CCFF;

   VAR1A:=REF(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7ORVAR8ORVAR9ORVARAORVARBORVARC,1)ANDVARD;

   STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3.0,0),COLOR008800;

   STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2.0,0),COLOR00BB00;

   STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0.5,0),COLOR00EE00;

   B1:=ma(C,1);

   B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);

   SMA2:=MA(B2,3);

   三枪买入:IF(LLV(MA(B2,8),3)<B2,LLV(MA(B2,8),3),B2);

   IF(B2>SMA2,B2,DRAWNULL),COLORRED,LINETHICK4;

   IF(B2<SMA2,B2,DRAWNULL),COLORGREEN,LINETHICK4;

   三枪卖出:HHV(MA(B2,1),13),COLORYELLOW;

   VAR1:=(2*CLOSE+HIGH+LOW)/4;

   VAR2:=MA(VAR1,7);

   VAR3:=VAR2-MA(VAR1,7/2)<0;

   VAR4:=VAR2-MA(VAR1,7/2)>0;

   VAR5:=BArslAst(VAR3);

   VAR6:=0-BARSLAST(VAR4);

   VAR7:=IF(VAR3<=0,VAR5,VAR6);

   STICKLINE(三枪卖出>B2ANDB2>SMA2,三枪卖出,B2,0,1),COLORLIBLUE;

   STICKLINE(三枪卖出>SMA2ANDB2<SMA2,三枪卖出,SMA2,0,1),COLORBLUE;

   VAR11:=(CLOSE*2+HIGH+LOW)/4;

   VAR21:=EMA(VAR11,13)-EMA(VAR11,34);

   VAR31:=EMA(VAR21,5);

   STICKLINE((C>=O),OPEN,LOW,0,0),COLOR0726CA;

   STICKLINE((C>=O),CLOSE,HIGH,0,0),COLOR0726CA;

   STICKLINE((C<O),CLOSE,LOW,0,0),COLORDE9100;

   STICKLINE((C<O),OPEN,HIGH,0,0),COLORDE9100;

   STICKLINE((C<O),CLOSE,OPEN,4,0),COLORFF5B00;

   STICKLINE((C<O),CLOSE,OPEN,3.4,0),COLORFF6C00;

   STICKLINE((C<O),CLOSE,OPEN,2.8,0),COLORFF7B00;

   STICKLINE((C<O),CLOSE,OPEN,2.2,0),COLORFF9C00;

   STICKLINE((C<O),CLOSE,OPEN,1.6,0),COLORFFBE00;

   STICKLINE((C<O),CLOSE,OPEN,1,0),COLORFFCC00;

   STICKLINE((C<O),CLOSE,OPEN,0.3,0),COLORFFFF00;

   STICKLINE((C>O),CLOSE,OPEN,4,0),COLOR070084;

   STICKLINE((C>O),CLOSE,OPEN,3.4,0),COLOR0000A3;

   STICKLINE((C>O),CLOSE,OPEN,2.8,0),COLOR0000B7;

   STICKLINE((C>O),CLOSE,OPEN,2.2,0),COLOR0000CD;

   STICKLINE((C>O),CLOSE,OPEN,1.6,0),COLOR0000E9;

   STICKLINE((C>O),CLOSE,OPEN,1,0),COLOR0754E9;

   STICKLINE((C>O),CLOSE,OPEN,0.5,0),COLOR076EF3;

   STICKLINE((C>O),CLOSE,OPEN,0.2,0),COLOR077BF3;

   VAR2A:=((CLOSE>REF(CLOSE,1))AND(CLOSE>REF(CLOSE,2)));

   VAR3A:=((REF(VAR2A,1)AND(CLOSE<=REF(CLOSE,1)))AND(CLOSE>=REF(CLOSE,2)));

   VAR4A:=((REF(VAR3A,1)AND(CLOSE>=REF(CLOSE,1)))AND(CLOSE<=REF(CLOSE,2)));

   VAR5A:=((REF(VAR4A,1)AND(CLOSE<=REF(CLOSE,1)))AND(CLOSE>=REF(CLOSE,2)));

   VAR6A:=((REF(VAR5A,1)AND(CLOSE>=REF(CLOSE,1)))AND(CLOSE<=REF(CLOSE,2)));

   VAR7A:=((REF(VAR6A,1)AND(CLOSE<=REF(CLOSE,1)))AND(CLOSE>=REF(CLOSE,2)));

   VAR8A:=((REF(VAR7A,1)AND(CLOSE>=REF(CLOSE,1)))AND(CLOSE<=REF(CLOSE,2)));

   VAR9A:=((REF(VAR8A,1)AND(CLOSE<=REF(CLOSE,1)))AND(CLOSE>=REF(CLOSE,2)));

   VARAA:=((REF(VAR9A,1)AND(CLOSE>=REF(CLOSE,1)))AND(CLOSE<=REF(CLOSE,2)));

   VARBA:=((REF(VARAA,1)AND(CLOSE<=REF(CLOSE,1)))AND(CLOSE>=REF(CLOSE,2)));

   VARCA:=((REF(VARBA,1)AND(CLOSE>=REF(CLOSE,1)))AND(CLOSE<=REF(CLOSE,2)));

   VARDA:=((REF(VARCA,1)AND(CLOSE<=REF(CLOSE,1)))AND(CLOSE>=REF(CLOSE,2)));

   VAREAA:=((CLOSE<REF(CLOSE,1))AND(CLOSE<REF(CLOSE,2)));

   VARFA:=((REF(VAREAA,1)AND(CLOSE>=REF(CLOSE,1)))AND(CLOSE<=REF(CLOSE,2)));

   VAR10A:=((REF(VARFA,1)AND(CLOSE<=REF(CLOSE,1)))AND(CLOSE>=REF(CLOSE,2)));

   VAR11A:=((REF(VAR10A,1)AND(CLOSE>=REF(CLOSE,1)))AND(CLOSE<=REF(CLOSE,2)));

   VAR12A:=((REF(VAR11A,1)AND(CLOSE<=REF(CLOSE,1)))AND(CLOSE>=REF(CLOSE,2)));

   VAR13A:=((REF(VAR12A,1)AND(CLOSE>=REF(CLOSE,1)))AND(CLOSE<=REF(CLOSE,2)));

   VAR14A:=((REF(VAR13A,1)AND(CLOSE<=REF(CLOSE,1)))AND(CLOSE>=REF(CLOSE,2)));

   VAR15A:=((REF(VAR14A,1)AND(CLOSE>=REF(CLOSE,1)))AND(CLOSE<=REF(CLOSE,2)));

   VAR16A:=((REF(VAR15A,1)AND(CLOSE<=REF(CLOSE,1)))AND(CLOSE>=REF(CLOSE,2)));

   VAR17A:=((REF(VAR16A,1)AND(CLOSE>=REF(CLOSE,1)))AND(CLOSE<=REF(CLOSE,2)));

   VAR18A:=((REF(VAR17A,1)AND(CLOSE<=REF(CLOSE,1)))AND(CLOSE>=REF(CLOSE,2)));

   VAR19A:=((REF(VAR18A,1)AND(CLOSE>=REF(CLOSE,1)))AND(CLOSE<=REF(CLOSE,2)));

   VAR1A:=(REF((((((((((((VAREAAORVARFA)ORVAR10A)ORVAR11A)ORVAR12A)OR

   VAR13A)ORVAR14A)ORVAR15A)ORVAR16A)ORVAR17A)ORVAR18A)ORVAR19A),1)ANDVAR2A);

   STICKLINE(VAR1A,O,O+(C-O)/3,4,0),COLOR1029FF;

   STICKLINE(VAR1A,O,O+(C-O)/3,3.4,0),COLOR1040FF;

   STICKLINE(VAR1A,O,O+(C-O)/3,2.8,0),COLOR1083FF;

   STICKLINE(VAR1A,O,O+(C-O)/3,2.2,0),COLOR10ABFF;

   STICKLINE(VAR1A,O,O+(C-O)/3,1.6,0),COLOR10D0FF;

   STICKLINE(VAR1A,O,O+(C-O)/3,1,0),COLOR10FFFF;

   STICKLINE(VAR1A,O,O+(C-O)/3,0.3,0),COLOR00FFFF;

   AA:=(REF((((((((((((VAR2AORVAR3A)ORVAR4A)ORVAR5A)ORVAR6A)ORVAR7A)OR

   VAR8A)ORVAR9A)ORVARAA)ORVARBA)ORVARCA)ORVARDA),1)ANDVAREAA);

   STICKLINE(AA,O,O+(C-O)/3,4.3,0),COLOR009900;

   STICKLINE(AA,O,O+(C-O)/3,3.2,0),COLOR00AA00;

   STICKLINE(AA,O,O+(C-O)/3,2.4,0),COLOR00BB00;

   STICKLINE(AA,O,O+(C-O)/3,1.7,0),COLOR00CC00;

   STICKLINE(AA,O,O+(C-O)/3,1.1,0),COLOR00DD00;

   STICKLINE(AA,O,O+(C-O)/3,0.5,0),COLOR00EE00;

   STICKLINE(AA,O,O+(C-O)/3,0.2,0),COLOR00FF00;

   A13:=EMA(CLOSE,55);

   A14:=MA(CLOSE,75);

   A15:=EMA(A14,3);

   A16:=EMA(A15,3);

   A17:=(HIGH+LOW)/5;

   A18:=(MA(A17,4))-(MA(A17,34));

   A19:=crOSS(A18,0);

   A20:=CROSS(0,A18);

   A21:=BARSLAST(A19);

   A22:=BARSLAST(A20);

   A23:=REF(A19,1);

   A24:=REF(A20,1);

   A25:=BARSLAST(A23);

   A26:=BARSLAST(A24);

   A27:=IF((A25A27))AND(A21=(REF(A27,1)))AND(CLOSE(REF(BARSLAST(A30),1)));

   DRAWTEXT(A32,SMA2*0.99,’←锁喉’),COLORYELLOW;

   ac:=AMOUNT/(vol);

   YY:=MA(AC,13);

   LLL:=(C-YY)/YY*100;

   MIDC:=MA(CLOSE,22);

   UPPERC:=MIDC+2*STD(C,22);

   LOWERC:=MIDC-2*STD(C,22);

   BBA:=(C-LOWERC)/(UPPERC-LOWERC);

   LIFENGcyc:=(REF(LLL,1)<-15ANDREF(BBA,1)<0ANDLLL>REF(LLL,1));

   STICKLINE(LIFENGCYC,LOW*0.93,LOW*0.95,6,0)COLORRED;

   STICKLINE(LIFENGCYC>0,C,O,4,0),COLORRED;

   STICKLINE(LIFENGCYC>0,C,O,3.4,0),COLOR1029FF;

   STICKLINE(LIFENGCYC>0,C,O,2.8,0),COLOR1040FF;

   STICKLINE(LIFENGCYC>0,C,O,2.2,0),COLOR1083FF;

   STICKLINE(LIFENGCYC>0,C,O,1.6,0),COLOR10ABFF;

   STICKLINE(LIFENGCYC>0,C,O,1,0),COLOR10D0FF;

   STICKLINE(LIFENGCYC>0,C,O,0.3,0),COLOR10FFFF;

   DRAWTEXT(LIFENGCYC>0,LOW*0.98,’$’),COLORFF00FF;

   DRAWTEXT(LIFENGCYC>0,LOW*0.92,’探头’),COLORFF00FF;

   RR8:=MA(CLOSE,27);

   RR9:=(CLOSE-RR8)/RR8*100;

   RRA:=MA(RR9,2);

   RRB:=BARSLAST(CROSS(-10,RRA)=1);

   RRD:=RRA<-10ANDRRB>3;

   STICKLINE(IF(RRD,-120,0),-120,0,8,0),COLORLIBLUE;

   【黄金坑】:IF(RRD,-120,0),COLORYELLOW,LINETHICK2;

   TYP:=(HIGH+LOW+CLOSE)/3;

   CCI14:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORMAGENTA,LINETHICK2;

[源码注释]通达信公式动态翻译结果

输出XG:开盘价>1日前的最高价 AND 最低价<1日前的最高价

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。