通达信三线合一+CCI主升指标主图幅图贴图源码
2018-01-17原创 编 辑:翔博软件
答:只需加微信:396950280申请加入爱公式VIP微信群即可,天天有更新!
【指标源码】
三线合一源码:
JRH:=HHV(C,2);
JRL:=LLV(C,2);
N:=10;
VAR2:HHV(MA(C,10),2),COLORGREEN,LINETHICK2;
FS:IF(EMA(C,5)<VAR2,(MA(C,5)-(VAR2-MA(C,5))),VAR2),COLORYELLOW,LINETHICK2;
CG:MA(C,10),LINETHICK2,COLORRED;
MA60:MA(C,60)COLORGREEN,DOTLINE;
IF(MA(C,60)>=REF(MA(C,60),1),MA(C,60),DRAWNULL),COLORYELLOW;
LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(FF,MA15),(LOW * 0.98),'*背离'),COLORYELLOW;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'*背离'),COLORGREEN;
MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(买=1,5),LOW-0.03,'*拉升'),COLORLIMAGENTA;
CCI主升源码:
CC1:CCI(25),COLORSTICK,COLOR40FF00;
DRAWICON(CROSS(200,CCI),250,2);
DRAWICON( CROSS(CCI,-200),-250,1);
转强:CCI>0,COLOR0000D5,NODRAW;
STICKLINE(CCI>0,0,CCI,2,0),COLOR0000D5;
弱转强:CROSS(CCI,-200) AND CCI>REF(CCI,1),COLOR00DFDF,NODRAW;
STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,2,0),COLOR00DFDF;
强转弱:CROSS(200,CCI) AND CCI<REF(CCI,1),COLOR00CA00,NODRAW;
STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,2,0),COLOR00CA00;
生命CCI线:CCI(84),COLORWHITE;
底部线:-100.00,COLORYELLOW,LINETHICK2;
警戒线:300.00,COLORWHITE,LINETHICK2;
生命线:100.00,COLORRED,LINETHICK2;
DRAWTEXT(CROSS(生命CCI线,底部线),底部线,'★主升浪')COLORRED;
DRAWTEXT(CROSS(生命CCI线,警戒线),警戒线,'★警惕')COLORRED;
DRAWTEXT(CROSS(生命CCI线,生命线),生命线,'★强')COLORMAGENTA;
200;
-200;
100;
【提供服务】
一、新编通达信主图、附图、选股公式
二、主图,附图改选股 预警公式
三、破解通达信指标
【收费规则】
根据编写条件的数量和难度收费
特别提示:
选股预警指标编写 ,不同主流行情软件间指标转换。 请联系微信:396950280
一个聚百万原创指标公式圈子