小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

CCI頂?shù)妆畴x公式及用法

 老老樂(lè) 2019-08-20
一直很喜歡用CCI,覺(jué)得簡(jiǎn)單明了,對(duì)于我這種不喜歡動(dòng)腦筋,有密集恐懼癥的小白來(lái)說(shuō),就用一根線指導(dǎo)操作最是實(shí)用.在網(wǎng)上搜到了這個(gè)CCI頂?shù)妆畴x的公式,很好用,衷心感謝公式的編者!
我根據(jù)自己對(duì)CCI的使用習(xí)慣仔細(xì)研究了下,制定了一個(gè)買賣規(guī)則,如下:
1.CCI>-100;
2.CCI上拐;
3.CCI>趨勢(shì)線;
(4.CCI上穿-100)
簡(jiǎn)單的說(shuō)就是CCI進(jìn)入多頭趨勢(shì)時(shí)的拐點(diǎn)買入.CCI上拐,配合底分型就是買點(diǎn),止損設(shè)在底分型的最低點(diǎn),只要破止損,堅(jiān)決走!紀(jì)律是關(guān)鍵!
均線就一根,20MA.線上操作.大道至簡(jiǎn)嘛! CCI頂?shù)妆畴x公式及用法

通達(dá)信公式如下:
{背景}
DRAWGBK(C>0, RGB(1,1,1),RGB(1,1,1),0,'0',0);
STICKLINE(C>0,-100,100,28,0)COLOR000840;
STICKLINE(C>0,200,200,28,-1)COLOR000080;
STICKLINE(C>0,100,100,28,-1)COLOR000080;
STICKLINE(C>0,-2.5,2.5,28,0)COLOR000080;
STICKLINE(C>0,-100,-100,28,-1)COLOR000080;
STICKLINE(C>0,-200,-200,28,-1)COLOR000080;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),STICK;{CCI柱線}
趨勢(shì)線:EXPMA(CCI,4.5),COLORFF8000,NODRAW;{CCI的5天EMA}
DRAWBAND(CCI,RGB(128,0,0),趨勢(shì)線,RGB(0,128,0));
STICKLINE(CCI>=0,0,CCI,0,-1),COLORLIRED;{紅柱}
STICKLINE(CCI<0,0,CCI,0,-1),COLORLIBLUE;{綠柱}
{CCI}
{TYP:=(HIGH+LOW+CLOSE)/3;}
CCI值:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORYELLOW,LINETHICK1;{CCI線}
DRAWTEXT(ISLASTBAR,CCI值,' ←CCI'),COLORYELLOW;
{CCI背離}
N:=5;
CCI底背:=REF(C,BARSLAST(REF(FILTER(BACKSET(REF(CCI,N)=LLV(CCI,2*N+1),N+1),N) AND CCI=LLV(CCI,N+1),1))+1)>C AND 
REF(CCI,BARSLAST(REF(FILTER(BACKSET(REF(CCI,N)=LLV(CCI,2*N+1),N+1),N) AND CCI=LLV(CCI,N+1),1))+1)
FILTER(BACKSET(REF(CCI,N)=LLV(CCI,2*N+1),N+1),N) AND CCI=LLV(CCI,N+1),COLORWHITE,NODRAW;
DRAWLINE(FILTER(BACKSET(REF(CCI,N)=LLV(CCI,2*N+1),N+1),N) AND CCI=LLV(CCI,N+1),CCI,FILTER(CCI底背>0,5),CCI,0),
COLORWHITE,DOTLINE;
DRAWTEXT(CCI底背,CCI,'底背'),COLORWHITE;
CCI頂背:=REF(C,BARSLAST(REF(FILTER(BACKSET(REF(CCI,N)=HHV(CCI,2*N+1),N+1),N) AND CCI=HHV(CCI,N+1),1))+1)
REF(CCI,BARSLAST(REF(FILTER(BACKSET(REF(CCI,N)=HHV(CCI,2*N+1),N+1),N) AND CCI=HHV(CCI,N+1),1))+1)>CCI AND 
FILTER(BACKSET(REF(CCI,N)=HHV(CCI,2*N+1),N+1),N) AND CCI=HHV(CCI,N+1),COLORGREEN,NODRAW;
DRAWLINE(FILTER(BACKSET(REF(CCI,N)=HHV(CCI,2*N+1),N+1),N) AND CCI=HHV(CCI,N+1),CCI,FILTER(CCI頂背>0,5),CCI,0),
COLORGREEN,DOTLINE;
DRAWTEXT(CCI頂背,CCI,'頂背'),COLORGREEN;
{趨勢(shì)線的背離}
趨勢(shì)線底背:=REF(C,BARSLAST(REF(FILTER(BACKSET(REF(趨勢(shì)線,N)=LLV(趨勢(shì)線,2*N+1),N+1),N) AND 趨勢(shì)線=LLV(趨勢(shì)線,N+1),1))+1)>C AND 
REF(趨勢(shì)線,BARSLAST(REF(FILTER(BACKSET(REF(趨勢(shì)線,N)=LLV(趨勢(shì)線,2*N+1),N+1),N) AND 趨勢(shì)線=LLV(趨勢(shì)線,N+1),1))+1)<趨勢(shì)線 AND 
FILTER(BACKSET(REF(趨勢(shì)線,N)=LLV(趨勢(shì)線,2*N+1),N+1),N) AND 趨勢(shì)線=LLV(趨勢(shì)線,N+1),COLORWHITE,NODRAW;
DRAWLINE(FILTER(BACKSET(REF(趨勢(shì)線,N)=LLV(趨勢(shì)線,2*N+1),N+1),N) AND 趨勢(shì)線=LLV(趨勢(shì)線,N+1),趨勢(shì)線,FILTER(趨勢(shì)線底背>0,5),趨勢(shì)線,0),
COLORWHITE,DOTLINE;
DRAWTEXT(趨勢(shì)線底背,趨勢(shì)線,'趨勢(shì)底背'),COLORFF80FF;
趨勢(shì)線頂背:=REF(C,BARSLAST(REF(FILTER(BACKSET(REF(趨勢(shì)線,N)=HHV(趨勢(shì)線,2*N+1),N+1),N) AND 趨勢(shì)線=HHV(趨勢(shì)線,N+1),1))+1)
REF(趨勢(shì)線,BARSLAST(REF(FILTER(BACKSET(REF(趨勢(shì)線,N)=HHV(趨勢(shì)線,2*N+1),N+1),N) AND 趨勢(shì)線=HHV(趨勢(shì)線,N+1),1))+1)>趨勢(shì)線 AND 
FILTER(BACKSET(REF(趨勢(shì)線,N)=HHV(趨勢(shì)線,2*N+1),N+1),N) AND 趨勢(shì)線=HHV(趨勢(shì)線,N+1),COLORGREEN,NODRAW;
DRAWLINE(FILTER(BACKSET(REF(趨勢(shì)線,N)=HHV(趨勢(shì)線,2*N+1),N+1),N) AND 趨勢(shì)線=HHV(趨勢(shì)線,N+1),趨勢(shì)線,FILTER(趨勢(shì)線頂背>0,5),趨勢(shì)線,0),
COLORGREEN,DOTLINE;
DRAWTEXT(趨勢(shì)線頂背,趨勢(shì)線,'趨勢(shì)頂背'),COLORFF8000;
{面積背離}
JC:= 0-CCI;
綠柱面積:=IF(CCI<0,SUM(CCI,BARSLAST(JC<0)),0);
紅柱面積:=IF(CCI>0,SUM(CCI,BARSLAST(JC>0)),0);
本次最低價(jià):=LLV(L,BARSLAST(JC<0));
本次最高價(jià):=HHV(H,BARSLAST(JC>0));
X1:=IF (CCI<0,BARSLAST(CROSS(CCI,0)),0);
前次綠柱面積:=REF(綠柱面積,X1+1);
前次最低價(jià):=REF(本次最低價(jià),X1+1);
Y1:=IF((綠柱面積<0 AND ABS(綠柱面積)<前次最低價(jià) ),1,0);
RS1:= CCI<0 AND REF(CCI,1)<0 AND C<前次最低價(jià)
AND ABS(綠柱面積)
底背馳:= IF (CROSS(CCI,0),REF(Y1,1),0);
DRAWTEXT(底背馳,LLV(CCI,5),'←面積底背'),COLORLIRED;
X2:=IF (CCI>0,BARSLAST(CROSS(0,CCI)),0);
前次紅柱面積:=REF(紅柱面積,X2+1);
前次最高價(jià):=REF(本次最高價(jià),X2+1);
Y2:=IF((紅柱面積>0 AND 紅柱面積<前次紅柱面積 AND 本次最高價(jià)>前次最高價(jià) ),1,0);
RS2:= CCI>0 AND REF(CCI,1)>0 AND C>前次最高價(jià) AND ABS(紅柱面積)
頂背馳:= IF (CROSS(0,CCI),REF(Y2,1),0);
DRAWTEXT(頂背馳,HHV(CCI,5),'←面積頂背'),COLORCYAN;

我只是為了存公式,不喜勿噴!

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約