资源描述:
《【股票指标公式下载】-【通达信】绝佳主图(趋势线、能量线)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
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,
2、13))*(0-100));KS1:=IF(BARSCOUNT(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);STTCKLTNE(((SSL>MM)),SSL,MM,0.01,0),COLORRED;SA
3、:二(MM*0・985);SS:二(MA(CLOSE,5));DD:=(MA(CLOSE,13));GG:二(MA(CLOSE,21));捞钱手:IF(((SSL>MM)),MM,SA),IJNETHTCK2,COLORFFOOFF;{1F(SSL4、J,4);智能黄金线:A,COLORYELLOW,LINETHICK1;B:二REF(A,1);STICKLINE(((SSL5、);DRAWTEXT(CROSS(VAI,VA2)AND(0=0)AND智能黄金线〉REF(智能黄金线,1),VA1*O・97/★买'),COLOROOFFOO;选手A:=MA(上收,3);箱顶A:=MA(REF(HHV(上收,6),1),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;选手:
6、二MA(上收,2);箱顶:MA(REF(HHV(上收,30),1),2),COLOROOOOFF,LINETHICK2;箱底:MA(REF(LLV(上收,30),1),2),COLOROOFFOO,LINETIIICK2;T4:二CROSS(选手,箱底)AND箱顶/箱底>110/100;T5:二CROSS(箱顶,选手)AND箱顶/箱底>110/100;VAR1:=(上收-1XV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1
7、);VAR4:=SMA(VAR3,3,1);{DRAWTEXT(VAR3>=VAR4,箱顶,'--中期好'),COLOROOFFFF;DRAWTEXT(VAR3B,箱底,'--短期好'),COLOROOFFFF;DRAWTEXT(A0,LOW*O.96,'★'),COLORFOOFFO;ST
8、ICKLINE(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;买线:二EMA(C