免费高清特黄a大片,九一h片在线免费看,a免费国产一级特黄aa大,国产精品国产主播在线观看,成人精品一区久久久久,一级特黄aa大片,俄罗斯无遮挡一级毛片

分享

統(tǒng)計(jì)指標(biāo)【纏中說禪均線分類】

 我的蘋果樹 2014-02-27
第一步:建立一個(gè)統(tǒng)計(jì)指標(biāo)【纏中說禪均線分類】,注意,這個(gè)指標(biāo)是用來統(tǒng)計(jì)不是用來顯示的。

{參數(shù)設(shè)置:N1=5,N2=13,N3=21,N4=34,N5=55,N6=89,N7=144,N8=233}

ZZD:=REF(L,1)+REF(H,1);
nG:=ZZD-REF(L,2);
nD:=ZZD-REF(H,2);
MA1:=(eMA(nG,N1)+eMA(nd,N1))/2;
MA2:=(eMA(ng,N2)+eMA(nd,N2))/2;
MA3:=(eMA(ng,N3)+eMA(nd,N3))/2;
MA4:=(eMA(ng,N4)+eMA(nd,N4))/2;
MA5:=(eMA(ng,N5)+eMA(nd,N5))/2;
MA6:=(eMA(ng,N6)+eMA(nd,N6))/2;
MA7:=(eMA(ng,N7)+eMA(nd,N7))/2;
MA8:=(eMA(ng,N8)+eMA(nd,N8))/2;
l1:=if(c<ma1 
and c<ma2 and c<ma3 and c<ma4 and c<ma5 and c<ma6 and c<ma7 
and 
c<ma8,1,0);
l2:=if(c>=ma1,1,0);
l3:=if(c>=ma2,1,0);
l4:=if(c>=ma3,1,0);
l5:=if(c>=ma4,1,0);
l6:=if(c>=ma5,1,0);
l7:=if(c>=ma6,1,0);
l8:=if(c>=ma7,1,0);
l9:=if(c>=ma8,1,0);
Fl:=if(l1=0,1+l1+l2+l3+l4+l5+l6+l7+l8+l9,1);
l9:fl=9;
l8:fl=8;
l7:fl=7;
l6:fl=6;
l5:fl=5;
l4:fl=4;
l3:fl=3;
l2:fl=2;
l1:fl=1;

    
說明一下,這里面的EMA可以改成MA,但如果一個(gè)股票上市不足233日,那么用MA統(tǒng)計(jì)是無效的,由于近年來新上市的股票比較多,為了將這些股票都統(tǒng)計(jì)進(jìn)來,所以只能折衷地選擇了EMA。

    EMA和MA的區(qū)別,自己一定要搞清楚,這里就不多講了。

第二步:添加橫向統(tǒng)計(jì)

    
在橫向統(tǒng)計(jì)中把剛才從L1到L9的數(shù)據(jù)分別統(tǒng)計(jì)進(jìn)去。對(duì)軟件不熟悉的可以去搜索下橫向統(tǒng)計(jì)功能的運(yùn)用,這里也不多說。

第三步:建立第二個(gè)指標(biāo),這個(gè)指標(biāo)就是用來顯示在軟件中的。

    
由于L1-L9在KT的橫向統(tǒng)計(jì)數(shù)據(jù)中是在data3-data11,所以下面的公式中,各位根據(jù)自己添加進(jìn)橫向統(tǒng)計(jì)內(nèi)不同的位置調(diào)整estdata的位置。指標(biāo)取名叫【均線看盤】吧,如下:
{參數(shù)設(shè)置:N=5,M=13}
多頭:=estdata(8)+estdata(9)+estdata(10)+estdata(11);
空頭:=-estdata(3)-estdata(4)-estdata(5)-estdata(6)-estdata(7);
L5:estdata(3),COLORRED,linethick0;
L13:estdata(4),COLORwhite,linethick0;
L21:estdata(5),COLORyellow,linethick0;
L34:estdata(6),COLORGREEN,linethick0;
L55:estdata(7),COLORMAGENTA,linethick0;
L89:estdata(8),COLORBLUE,linethick0;
L144:estdata(9),COLORGRAY,linethick0;
L233:estdata(10),COLORCYAN,linethick0;
LS:estdata(11),colorred,linethick0;
stickline(多頭>0,0,estdata(8),3,0),COLORBLUE;
stickline(多頭>0,estdata(8),estdata(8)+estdata(9),3,0),COLORGRAY;
stickline(多頭>0,estdata(8)+estdata(9),estdata(8)+estdata(9)+estdata(10),3,0),COLORCYAN;
stickline(多頭>0,estdata(8)+estdata(9)+estdata(10),estdata(8)+estdata(9)+estdata(10)+estdata(11),3,0),COLORRED;
stickline(空頭<0,0,-estdata(7),3,0),COLORMAGENTA;
stickline(空頭<0,-estdata(7),-estdata(7)-estdata(6),3,0),COLORGREEN;
stickline(空頭<0,-estdata(7)-estdata(6),-estdata(7)-estdata(6)-estdata(5),3,0),COLORyellow;
stickline(空頭<0,-estdata(7)-estdata(6)-estdata(5),-estdata(7)-estdata(6)-estdata(5)-estdata(4),3,0),COLORwhite;
stickline(空頭<0,-estdata(7)-estdata(6)-estdata(5)-estdata(4),-estdata(7)-estdata(6)-estdata(5)-estdata(4)-estdata(3),3,0),COLORRED;
強(qiáng)弱:ma(多頭+空頭,N),COLORwhite;
M強(qiáng)弱:ma(強(qiáng)弱,M),COLORGREEN;

    至此,該公式就完成了,而橫向統(tǒng)計(jì)功能中可以查看到具體是哪些股票在哪條均線上的,所以對(duì)每日的股票異動(dòng)情況可以有一個(gè)全面的認(rèn)識(shí),如何運(yùn)用,可以結(jié)合纏師的課文看,以后KT也可以談?wù)劇?/span>

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(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)論公約