CCI優(yōu)化版CAR(同花順公式 公式、同花順源碼 K線(xiàn)圖)[同花順公式]
相關(guān)標(biāo)簽:
?
n:=14;
n1:=3;TYP:=(HIGH + LOW + CLOSE)/3;
CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),LINESTICK,colorred,LINETHICK2;
跌:IF(CCI<REF(CCI,1),CCI,DRAWNULL),colorgreen,LINETHICK2;
DRAWICON(CROSS(200,CCI),250,27);
DRAWICON( CROSS(CCI,-200),-250,26);
轉(zhuǎn)強(qiáng):STICKLINE(CCI>0,0,CCI,2,0),COLOR770077;
STICKLINE(CCI>0,0,CCI,1.5,0),COLOR990099;
STICKLINE(CCI>0,0,CCI,0.8,0),COLORBB00BB;
STICKLINE(CCI>0,0,CCI,0.3,0),COLORFF00FF;
轉(zhuǎn)弱:STICKLINE(CCI<0,0,CCI,2,0),COLOR888800;
STICKLINE(CCI<0,0,CCI,1.5,0),COLORAAAA00;
STICKLINE(CCI<0,0,CCI,0.8,0),COLORDDDD00;
STICKLINE(CCI<0,0,CCI,0.3,0),COLORFFFF00;
弱轉(zhuǎn)強(qiáng):=STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,2,0),COLOR00DFDF;
STICKLINE(弱轉(zhuǎn)強(qiáng),-150,0,7,0),coloryellow;
STICKLINE(弱轉(zhuǎn)強(qiáng),-150,0,4,0),COLOR000099;
STICKLINE(弱轉(zhuǎn)強(qiáng),-150,0,2,0),COLOR0000BB;
STICKLINE(弱轉(zhuǎn)強(qiáng),-150,0,1,0),COLOR0000DD;
STICKLINE(弱轉(zhuǎn)強(qiáng),-210,0,0.9,0),COLOR0000FF;
DRAWTEXT(弱轉(zhuǎn)強(qiáng),-210,'買(mǎi)'),coloryellow;
強(qiáng)轉(zhuǎn)弱:=STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,2,0),COLORGREEN;//http://www.kzuj.com.cn
STICKLINE(強(qiáng)轉(zhuǎn)弱,150,0,7,0),colorwhite;
STICKLINE(強(qiáng)轉(zhuǎn)弱,150,0,4,0),COLOR009900;
STICKLINE(強(qiáng)轉(zhuǎn)弱,150,0,2,0),COLOR00BB00;
STICKLINE(強(qiáng)轉(zhuǎn)弱,150,0,1,0),COLOR00DD00;
STICKLINE(強(qiáng)轉(zhuǎn)弱,210,0,0.9,0),COLOR00FF00;
DRAWTEXT(強(qiáng)轉(zhuǎn)弱,210,'賣(mài)'),COLORGREEN;//http://www.kzuj.com.cn
天頂線(xiàn):=200,colorred;//88 gs com
地底線(xiàn):-200,colorcyan;
牛熊線(xiàn):100,POINTDOT,LINETHICK3,colorwhite;
BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;
MN:=MA(MM,3);
CXH24:=LLV(LOW,36);
CXH25:=HHV(HIGH,30);
CXH26:=EMA((CLOSE-CXH24)/(CXH25-CXH24)*4,4)*25;
{底背離:= IF((CXH26<10),-100,-150), coloryellow,LINETHICK1;}
底背離:IF(MN<-4 ,-100,-150),coloryellow,LINETHICK1;
頂背離: IF((CXH26>90),150,200), colorgreen,LINETHICK1;
量能:MA(100*(CLOSE- LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),N1),coloryellow,LINETHICK1;
?
公式導(dǎo)入教程: 【通達(dá)信公式源碼導(dǎo)入方法教程】 【同花順公式源碼導(dǎo)入方法教程】 【大智慧新一代公式源碼導(dǎo)入方法教程】
?
有思路,想編寫(xiě)各種指標(biāo)公式,交易模型,選股公式,還原公式的朋友
可聯(lián)系技術(shù)人員 QQ: 262069696 或微信:cxhjy888 進(jìn)行 有償收費(fèi) 編寫(xiě)!(注:由于人數(shù)限制,QQ或微信請(qǐng)選擇方便的一個(gè)聯(lián)系我們就行,加好友時(shí)請(qǐng)簡(jiǎn)單備注下您的需求,否則無(wú)法通過(guò)。謝謝您!)
(怎么收費(fèi),代編流程等詳情請(qǐng)點(diǎn)擊查閱!)
(注:由于人數(shù)限制,QQ或微信請(qǐng)選擇方便的一個(gè)聯(lián)系我們就行,加好友時(shí)請(qǐng)簡(jiǎn)單備注下您的需求,否則無(wú)法通過(guò)。謝謝您!)
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容