资源描述:
《【股票指标公式下载】-【通达信】买卖线(趋势线、捞钱》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】买卖线(趋势线、捞钱手、能量线、智能黄金线)■指标公式源码MMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,l),5,l)/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);AA:=-100*(趋势线-CLOSE)/趋势线;AC:=(EMA(AA,5));SSL:=EMA(CLOSE,3);MMV:=EMA(((SLOPE(CLOSE,22)*20)+CLOSE),55);MM:二MA(MMV,1);STTCKLTNE(((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),IJNETHTCK2,COLORFFOOFF;{1F(SSL4、,COLORFFFFOO;VA1:二EMA(上收,8);VA2:=EMA(.上收,20);DRAWTEXT(CROSS(ZTG(3,8),REF(ZTG(3,8),l)),L0W*0.97&'★绝佳'),L1NETH1CK2,COLORRED;DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,'★卖');DRAWTEXT(CROSS(VAI,VA2)AND(0=0)AND智能黄金线〉REF(智能黄金线,1),VA1*O・97/★买'),COLOROOFFOO;选手A:=MA(上收,3);箱顶A:=MA(REF(HHV(上收,6),1
5、),3);箱底A:二MA(REF(LLV(上收,3),1),3);T1:=MA(±收,20)>二REF(MAC上收,20),1);T2:=CROSS(选手A,箱底A)AND箱顶A/箱底A>100/100ANDTl;T3:二CROSS(箱顶A,选手A)AND箱顶A/箱底A>100/100;选手:二MA(上收,2);箱顶:MA(REF(HHV(上收,30),1),2),COLOROOOOFF,LINETHICK2;箱底:MA(REF(LLV(上收,30),1),2),COLOROOFFOO,LINETIIICK2;T4:二CROSS(选手,箱底)AND箱顶/箱底>110/100;T5:二CR
6、OSS(箱顶,选手)AND箱顶/箱底>110/100;VAR1:=(上收-1XV(上低,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、O;}DRAWTEXT(CROSS(VAR3,VAR4)AND(0=0)ANDVAR3<40ANDU00>0,LOW*O.96,'★'),COLORFOOFFO;STICKLINE(0=0,C,0,5,0),COLORRED;STICKLINE(0=0,H,L,0,0),COLORYELLOW;STICKLINE(C<=0,C,0,5,0),COLORGREEN;STICKLINE(C<=0,H,L,0,0),COLORFFFFOO