123456825 发表于 2024-2-10 08:55:08

通达信主图指标老师助手(附源码)

<p data-first-child >通达信主图指标老师助手(附源码)</p><p >A001:=CLOSE-REF(CLOSE,6);    </p><p >A002:=MA(A001,6);    </p><p >A003:=((CLOSE-LL(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100;    </p><p >A004:=SMA(A003,3,1);    </p><p >A005:=SMA(A004,3,1);    </p><p >A006:=EMA((3*A004-2*A005),2);    </p><p >A007:=(HIGH+LOW+CLOSE)/3;    </p><p >A008:=((A007-MA(A007,14))/(0.015*AVEDEV(A007,14)))/2;    </p><p >A009:=(A008+(EMA(((0-(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))))+100)/100,3)*200-100))/2;    </p><p >A010:=A009-REF(A009,14);    </p><p >A011:=A009-REF(A009,26);    </p><p >A012:=(A009+A010+A011)/3;    </p><p >KKM:=EMA(A012,4);    </p><p >A013:=HHV(HIGH,34);    </p><p >A014:=(2*CLOSE+HIGH+LOW)/4;    </p><p >A015:=LLV(LOW,34);    </p><p >A016:=EMA(((A014-A015)/(A013-A015))*100,13);    </p><p >A017:=EMA(0.667*REF(A016,1)+0.333*A016,2);    </p><p >KKMD:=A016-A017>1 AND A016<30 AND A017<30;    </p><p >KKML:=A016-A017<0 AND A016>80 AND A017>80 AND REF(A016-A017,1)>0;    </p><p >KKMQ:=COUNT(A016-A017>0,2)=2;    </p><p >KKAL:=(A016-A017)<0;    </p><p >生命线:MA(CLOSE,20),COLOR0000FF;    </p><p >取舍线:MA(CLOSE,10);    </p><p >DRAWTEXT(FILTER(KKMD,30),L,'最佳买入时机'),COLOR00FFFF;    </p><p >DRAWTEXT(FILTER(KKML,30),H,'最佳卖出时机'),COLORFFFF00;    </p><p >DRAWTEXT(FILTER(KKMQ,30),C,'持仓区'),COLOR00FF00;    </p><p >DRAWTEXT(FILTER(KKAL,30),H,'空仓区'),COLORFF8080;    </p><p >DRAWTEXT(FILTER(CLOSE/REF(CLOSE,1)>INDEXC/REF(INDEXC,1),30),L*0.95,'该股强于大盘'),COLORFF00FF;    </p><p >DRAWTEXT(CROSS(MA(CLOSE,5),MA(CLOSE,10)),L*0.92,'可出手'),COLORFF00FF;    </p><p >DRAWTEXT(CROSS(MA(CLOSE,10),MA(CLOSE,5)),H*1.08,'收手了'),COLORFF0000;    </p><p >DRAWTEXT(FILTER(KKM>EMA(KKM,4) AND KKM>REF(KKM,1),30),L*0.98,'快速介入');    </p><p >DRAWTEXT(FILTER(KKM<EMA(KKM,4) AND KKM<REF(KKM,1),30),H*1.02,'风险较大');    </p><p >DRAWTEXT(FILTER(KKM>EMA(KKM,4) AND KKM<REF(KKM,1),30),H,'休息观望~'),COLORAA8800;    </p><p >DRAWTEXT(FILTER(KKM<EMA(KKM,4) AND KKM>REF(KKM,1),30),L,'有防御能力')    </p><p >,COLORAA00AA;    </p><p >注:平台目前更新的有关公式源码,(会有收费,捡漏勿扰,该主图99元可得)(全部支持电脑手机),使用过程中,若有不懂,可以及时联系我们这边,帮忙处理,,喜欢加关注,感谢点赞支持,后市若有可期,希望越来越好!</p><p></p>

dalilixiaoxiao 发表于 2024-3-24 14:20:14

非常好,赞一个!
页: [1]
查看完整版本: 通达信主图指标老师助手(附源码)