以下是通达信CCI4系统〓国外新鲜运到!

CCI4系统源码

B1:=(H + L + C – MA(H,4) – MA(L,4) – MA(C,4) ) * 800 / 3 / (ABS(H + L + C – MA(H,4) – MA(L,4) – MA(C,4) ) + ABS(REF(H,1 ) + REF(L,1 ) + REF(C,1 ) – MA(H,4 ) – MA(L,4 ) – MA(C,4) ) + ABS(REF(H,2) + REF(L,2) + REF(C,2) – MA(H,4) – MA(L,4) – MA(C,4) ) + ABS(REF(H,3 ) + REF(L,3 ) + REF(C,3 ) – MA(H,4 ) – MA(L,4 ) – MA(C,4) ) + 0.000001);
 B2:=(REF(H,2) + REF(L,2 ) + REF(C,2 ) – MA(H,4.2 ) – MA(L,4.2) – MA(C,4.2) ) * 800 / 3 / (ABS(REF(H,2) + REF(L,2 ) + REF(C,2 ) – MA(H,4.2 ) – MA(L,4.2) – MA(C,4.2) ) + ABS(REF(H,3 ) + REF(L,3) + REF(C,3 ) – MA(H,4.2) – MA(L,4.2 ) – MA(C,4.2) ) + ABS(REF(H,4) + REF(L,4 ) + REF(C,4 ) – MA(H,4.2) – MA(L,4.2) – MA(C,4.2) ) + ABS(REF(H,5) + REF(L,5) + REF(C,5) – MA(H,4.2) – MA(L,4.2 )- MA(C,4.2)) + 0.000001);
 TYP:=(HIGH+LOW+CLOSE)/3;
 CCI4A:(TYP-MA(TYP,4))/(0.015*AVEDEV(TYP,4));
 CCI4B:(2*B1+3*B2)/2;
 -100;
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。