通达信生命线 取舍线 金鹰解盘主图指标公式源码[通达信公式]
通达信公式 金鹰解盘主图
A001:=C-REF(C,6);
A002:=MA(A001,6);
A003:=((C-LLV(L,9))/(HHV(H,9)-LLV(L,9)))*100;
A004:=SMA(A003,3,1);
A005:=SMA(A004,3,1);
A006:=EMA((3*A004-2*A005),2);
A007:=(H+L+C)/3;
A008:=((A007-MA(A007,14))/(0.015*AVEDEV(A007,14)))/2;
A009:=(A008+(EMA(((0-(100*(HHV(H,14)-C)/(HHV(H,14)-LLV(L,14))))+100)/100,3)*200-100))/2;
A010:=A009-REF(A009,14);
A011:=A009-REF(A009,26);
A012:=(A009+A010+A011)/3;
KKM:=EMA(A012,4);
A013:=HHV(H,34);
A014:=(2*C+H+L)/4;
A015:=LLV(L,34);
A016:=EMA(((A014-A015)/(A013-A015))*100,13);
A017:=EMA(0.667*REF(A016,1)+0.333*A016,2);
KKMD:=A016-A017>1 AND A016<30 AND A017<30;
KKML:=A016-A017<0 AND A016>80 AND A017>80 AND REF(A016-A017,1)>0;
KKMQ:=COUNT(A016-A017>0,2)=2;
KKAL:=(A016-A017)<0;
生命线:MA(C,20),COLOR0000FF;
取舍线:MA(C,10);
DRAWTEXT_FIX(C>O,0.001,0.001,0,'代编写QQ:511411198 微信:CXH99CXH99,公众号:A26206'),COLORWHITE;
DRAWTEXT_FIX(C>O,0.001,0.001,0,'代编写QQ:511411198 微信:CXH99CXH99,公众号:A26206'),COLORWHITE;
DRAWTEXT(FILTER(KKMD,30),L,'买入'),COLOR00FFFF;
DRAWTEXT(FILTER(KKML,30),H,'卖出'),COLORFFFF00;
DRAWTEXT(FILTER(KKMQ,30),C,'持仓'),COLOR00FF00;
DRAWTEXT(FILTER(KKAL,30),H,'空仓'),COLORFF8080;
DRAWTEXT(FILTER(C/REF(C,1)>INDEXC/REF(INDEXC,1),30),L*0.95,'强势'),COLORFF00FF;
{DRAWTEXT(CROSS(MA(C,5),MA(C,10)),L*0.92,'出手'),COLORFF00FF;
DRAWTEXT(CROSS(MA(C,10),MA(C,5)),H*1.08,'收手'),COLORFF0000;}
DRAWTEXT(FILTER(KKM>EMA(KKM,4) AND KKM>REF(KKM,1),30),L*0.98,'介入');
DRAWTEXT(FILTER(KKM<EMA(KKM,4) AND KKM<REF(KKM,1),30),H*1.02,'风险');
DRAWTEXT(FILTER(KKM>EMA(KKM,4) AND KKM<REF(KKM,1),30),H,'观望'),COLORAA8800;
DRAWTEXT(FILTER(KKM<EMA(KKM,4) AND KKM>REF(KKM,1),30),L,'有防御'),COLORAA00AA;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容