资源描述:
《【股票指标公式下载】-【通达信】新版捞钱手(趋势线、》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】新版捞钱手(趋势线、捞钱手、能量线、智能黄金线)■指标公式源码MMS:二MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1)*100,1)+50;G1:=IF(-MMS>95,0,20);U00:二(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0ANDGl)+1);KS:=(((CLOSE-EMA(CLOSE,13))/EMA(CLOSE,13))*(0-100));KS1:=IF(B
2、ARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);趋势线:=EMA(((KS/10)+EMA(CLOSE,10)),3);M:二-100*(趋势线-CLOSE)/趋势线;AC:=(EMA(AA,5));SSL:=EMA(CLOSE,3);MMV:=EMA(((SLOPE(CLOSE,22)*20)+CLOSE),55);MM:=MA(MMV,1);{STTCKIJNE(((SSL>MM)),SSL,MM,0.01,0),COLORRED;}SA:二(MM*0・985);SS:二(MA(CLOSE,5));DD:=(MA(CLOSE,13));GG:二(
3、MA(CLOSE,21));捞钱手:IF(((SSL>MM)),MM,SA),IJNETHTCKO,COLORFFOOFF;{1F(SSL4、OLORFFFFOO;}VA1:二EMA(上收,8);VA2:=EMA(.上收,20);DRAWTEXT(CROSS(ZTG(3,8),REF(ZTG(3,8),1)),LOW*1.2,'★买'),L1NETH1CK0,COLORWHITE;DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*O.9,'•卖colorwhite;{DRAWTEXT(CROSS(VAI,VA2)AND(0=0)AND智能黄金线〉REF(智能黄金线,1),VA1*O・97,''),COLORRED;}选手A:二MA(上收,3);箱顶A:二MA(REF(HHV(上收,6)
5、,1),3);箱底A:=MA(REF(LLV(上收,3),1),3);T1:=MA(上收,20)>=REF(MA(上收,20),1);T2:二CROSS(选手A,箱底A)AND箱顶A/箱底A>100/100ANDT1;T3:=CROSS(箱顶A,选手A)AND箱顶A/箱底A>100/100;选手:二MA(上收,2);箱顶:MA(REF(IIIIV(上收,30),1),2),COLOROOOOFF,LINETIIICKO;箱底:MA(REF(LLV(上收,30),1),2),COLOROOFFOO,LINETHICKO;T4:二CROSS(选手,箱底)AND箱顶/箱底>110/100;T5:=
6、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);{DRAWTEXT(VAR3>=VAR4,箱顶,'--中期好'),COLOROOFFFF;DRAWTEXT(VAR3B,箱底,'--短期好'),COLOROOFFFF;DRAWTEXT(A7、;DRAWTEXT(CROSS(VAR3,VAR4)AND(0=0)ANDVAR3<40ANDU00>0,LOW*O.96,''),COLORFOOFFO;}STICKLINE(0=0,C,0,3,0),COLORRED;STICKLINE(0=0,II,L,0,0),COLORYELLOW;STICKLINE(C<=0,C,0,3,0),COLORGREEN;STICKLINE(C<=0,H,L,0,0),