通达信副图公式源码 通达信常用寻宝副图公式源码
2015-3-5 10:54:19 股票入门 http://rumen.southmoney.com
南方财富网带来通达信副图公式源码 通达信常用寻宝副图公式源码:
M:=20;
N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
CCK:(TYP-MA(TYP,M))/(0.005*AVEDEV(TYP,M));
STICKLINE(CCI》REF(CCI,1) AND CCI《0 AND CCI》-100,0,CCI,1,0),COLORGREEN;
STICKLINE(CCI》REF(CCI,1) AND CCI》120,0,CCI,1,0),COLORRED;
STICKLINE(CCK《390 AND REF(CCK,10)》400,400,200,1,0),COLORRED;
趋势线:EXPMA(CCI,15),COLORMAGENTA,LINETHICK2;
黑马线:EXPMA(CCK,5),COLORRED,LINETHICK2;
CCQ:=(趋势线-黑马线);
CCA:=((REF(趋势线,8)-REF(黑马线,8)) OR (REF(趋势线,10)-REF(黑马线,10))
OR (REF(趋势线,12)-REF(黑马线,12)) OR (REF(趋势线,15)-REF(黑马线,15))
OR (REF(趋势线,18)-REF(黑马线,18)) OR (REF(趋势线,20)-REF(黑马线,20))
OR (REF(趋势线,23)-REF(黑马线,23)));
STICKLINE(CROSS(CCI,趋势线) AND CCI《0 AND CCQ《230,100,-400,1,0),COLORGREEN;
STICKLINE(CCA》150 AND CCI《0 AND CCI》CCK AND CCI《-30 AND MA(C,20)《MA(C,120),-100,-300,3,0 ),COLORYELLOW;
STICKLINE((REF(趋势线,10)-REF(黑马线,10))》250 AND (趋势线-黑马线)《230 AND (CROSS(REF(CCI,1),REF(趋势线,1))
OR CROSS(REF(CCI,2),REF(趋势线,2)) OR CROSS(CCI,趋势线)),-500,-300,3,0 ),COLORRED;
CCB:=CCK》-340 AND 趋势线》黑马线 AND CCI《0 AND (REF(CCK,8)《-350 OR REF(CCK,10)《-350
OR REF(CCK,12)《-350 OR REF(CCK,15)《-350 OR REF(CCK,13)《-350 OR REF(CCK,11)《-350
OR REF(CCK,9)《-350 OR REF(CCK,7)《-350) AND (CROSS(REF(黑马线,5),REF(CCK,5))
OR CROSS(REF(黑马线,6),REF(CCK,6)) OR CROSS(REF(黑马线,4),REF(CCK,4)));
STICKLINE(CCB,100,-200,1,0),COLORYELLOW;
STICKLINE(CCK》CCI AND CCI》黑马线 AND CROSS(CCI,趋势线),-500,-200,1,0),COLORYELLOW;
STICKLINE(CROSS(REF(CCI,1),REF(黑马线,1)) AND CROSS(CCK,黑马线),-500,-700,1,0),COLORGREEN;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。