{操 盤 線【主圖指標(biāo)】}
{行情線 操盤線}
MA5:MA(C,5)COLORWHITE,DOTLINE;
BL:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
獲利比例:WINNER(C)*100,NODRAW,COLORRED;
A:=AMOUNT/V/100;
VARAB:=EMA((((A-EMA(A,13))/EMA(A,13))*(0-100)),5);
QQ:=EMA(((VARAB/10)+EMA(A,13)),0);
行情線:=MA(A,1);
重心:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
{現(xiàn)價(jià)止盈、止損價(jià)位}
現(xiàn)價(jià):DYNAINFO(7)COLORWHITE,NODRAW;
現(xiàn)價(jià)賺6%止盈位:REF(現(xiàn)價(jià)*1.06,1)COLORRED,NODRAW;
現(xiàn)價(jià)虧3%止損位:REF(現(xiàn)價(jià)*0.97,1)COLORGREEN,NODRAW;
{低位與高位}
低位接擋:(SMA(LOW,21,2) * 0.94)NODRAW,COLORRED;
高位逃遁:(SMA(HIGH,21,2) * 1.05)NODRAW,COLORGREEN;
0,COLORBLACK,NODRAW;
{莊家成本}
A000:=SUMBARS(V,CAPITAL*1);
A001:=SUM(COST(10),A000)/A000; {在A周期里獲利10%的平均價(jià)}
A002:=SUM(COST(20),A000)/A000; {在A周期里獲利20%的平均價(jià)}
A003:=SUM(COST(30),A000)/A000; {在A周期里獲利30%的平均價(jià)}
A004:=SUM(COST(40),A000)/A000; {在A周期里獲利40%的平均價(jià)}
A005:=SUM(COST(50),A000)/A000; {在A周期里獲利50%的平均價(jià)}
莊家成本:(5*A001+4*A002+3*A003+2*A004+A005)/15,DOTLINE,COLORCYAN,NODRAW;
莊得利:=C>=(莊家成本)COLORRED,NODRAW;
莊差錢:=C<(莊家成本)COLORGREEN,NODRAW;
【操盤線】:EMA(((SLOPE(C,26)*26)+C),55),COLORYELLOW,LINETHICK2;
【黃金線】:IF(重心>=【操盤線】,【操盤線】,DRAWNULL),COLORRED,LINETHICK2;
【空倉線】:IF(重心<【操盤線】,【操盤線】,DRAWNULL),COLORCYAN,LINETHICK2;
標(biāo)識(shí)025:=DRAWTEXT(ISLASTBAR,【操盤線】,'【操盤線】'),COLORRED;
平均成本線50:COST(50)COLORLICYAN,NODRAW;
平均成本線60:COST(50)COLORGREEN,NODRAW;
A05:=MA(CLOSE,5)COLORRED;
A06:=MA(CLOSE,6)COLORYELLOW;
A07:=MA(CLOSE,7)COLORGREEN;
A05線:=EMA(EMA(EMA(EMA(A05,2),2),5),5)COLORRED;
A06線:=EMA(EMA(EMA(EMA(A06,2),2),5),5)COLORYELLOW;
A07線:=EMA(EMA(EMA(EMA(A07,2),2),5),5)COLORGREEN;
B13:=EMA(MEMA(CLOSE,13),13),COLORRED;
B14:=EMA(MEMA(CLOSE,14),14),COLORYELLOW;
B15:=EMA(MEMA(CLOSE,15),15),COLORGREEN;
KY80:=EMA(MEMA(CLOSE,80),80),COLORRED;
KY84:=EMA(MEMA(CLOSE,84),84),COLORYELLOW,LINETHICK1;
KY88:=EMA(MEMA(CLOSE,88),88),COLORGREEN;
標(biāo)識(shí)001:=IF(KY84<REF(KY84,1),KY84,DRAWNULL),COLORYELLOW,LINETHICK1;
{日、周、月漲幅}
日漲幅:=((C-REF(C,1))/REF(C,1))*100,COLORRED,NODRAW;
周漲幅:((C-REF(C,5))/REF(C,5))*100,COLORYELLOW,NODRAW;
月漲幅:=((C-REF(C,20))/REF(C,20))*100,COLORGREEN,NODRAW;
季漲幅:=((C-REF(C,60))/REF(C,60))*100,COLORMAGENTA,NODRAW;
標(biāo)識(shí)25:STICKLINE(日漲幅>=9.95,O,C,2,0),COLORYELLOW;
{分鐘線首根K線標(biāo)注}
分鐘線首根K線:HOUR<REF(HOUR,1)COLOR0099FF,NODRAW;
給首日標(biāo)注:DRAWICON(分鐘線首根K線,H*1.015,41);
{名稱代碼所屬行業(yè)及概念板塊}
所屬行業(yè):DRAWTEXT_FIX(1,0.02,0.01,0,'所屬行業(yè):'),COLORFF6000;
行業(yè)標(biāo)識(shí):DRAWTEXT_FIX(1,0.059,0.01,0,HYBLOCK),COLORRED;
地域標(biāo)識(shí):DRAWTEXT_FIX(1,0.095,0.01,0,DYBLOCK),COLORGREEN;
名稱代碼:=STRCAT(STRCAT(STRCAT(STRCAT('名稱: ',STKNAME),' 代碼: '),CODE),' ' );
概念板塊:=STRCAT('概念板塊: ',GNBLOCK);
名稱代碼標(biāo)識(shí):DRAWTEXT_FIX(ISLASTBAR,0.14,0.01,0,STRCAT(名稱代碼,概念板塊)),COLORYELLOW;
{壓力與支撐}
壓力均線畫線:=HHV(HIGH,30),COLOR666666,DOTLINE;
支撐均線畫線:=LLV(LOW,30),COLOR666666,DOTLINE;
壓力均線30:=HHV(LOW,30),COLORFFCC00,DOTLINE;
支撐均線30:=LLV(HIGH,30),COLORFFCC00,DOTLINE;
向上突破:DRAWICON(FILTERX(CROSS(C,支撐均線30),10),L*0.995,1);
向上突破支撐:=DRAWTEXT(FILTERX(CROSS(C,支撐均線30),10),L*0.98,' 支撐位')COLORRED;
向下突破支撐:DRAWICON(FILTERX(CROSS(壓力均線30,C),10),H*1.03,2);
{短線——底部關(guān)注信號(hào)}
買:=IF("KDJ.J"<0,10,0);
條件:=CROSS(9.9,買);
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,5);
VAR3:=HHV(HIGH,5);
VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);
MA1:=MA(VAR4,3);
AA:=STICKLINE(VAR4>MA1,VAR4,MA1,3,1),COLORRED;
BBB:=STICKLINE(VAR4>MA1 AND REF(VAR4,1)<30,VAR4,MA1,3,1),COLORYELLOW;
標(biāo)識(shí)003:=STICKLINE(VAR4<=MA1,VAR4,MA1,3,1),COLORGREEN;
短線紅三角標(biāo)識(shí):DRAWICON(FILTERX(CROSS(9.9,買),5),L*0.98,38)COLORLICYAN;
{藍(lán)色打底K線}
標(biāo)識(shí)02:STICKLINE(CLOSE=OPEN,HIGH,LOW,0,0),COLORBLUE;
標(biāo)識(shí)03:STICKLINE(CLOSE=OPEN,CLOSE,OPEN,3,0),COLORBLUE;
標(biāo)識(shí)04:STICKLINE(CLOSE>OPEN,HIGH,CLOSE,0,0),COLORBLUE;
標(biāo)識(shí)05:STICKLINE(CLOSE>OPEN,LOW,OPEN,0,0),COLORBLUE;
標(biāo)識(shí)06:STICKLINE(CLOSE>OPEN,OPEN,CLOSE,3,1),COLORBLUE;
標(biāo)識(shí)07:STICKLINE(OPEN>CLOSE,HIGH,LOW,0,0),COLORBLUE;
標(biāo)識(shí)08:STICKLINE(OPEN>CLOSE,OPEN,CLOSE,3,0),COLORBLUE;
標(biāo)識(shí)09:STICKLINE(CLOSE<【操盤線】 AND OPEN>=CLOSE,HIGH,LOW,0,0),COLORBLUE;
標(biāo)識(shí)10:STICKLINE(CLOSE<【操盤線】 AND OPEN>=CLOSE,OPEN,CLOSE,3,0),COLORBLUE;
標(biāo)識(shí)11:STICKLINE(CLOSE<【操盤線】 AND OPEN<CLOSE,HIGH,CLOSE,0,0),COLORBLUE;
標(biāo)識(shí)12:STICKLINE(CLOSE<【操盤線】 AND OPEN<CLOSE,OPEN,LOW,0,0),COLORBLUE;
標(biāo)識(shí)13:STICKLINE(CLOSE<【操盤線】 AND OPEN<CLOSE,OPEN,CLOSE,3,1),COLORBLUE;
標(biāo)識(shí)14:STICKLINE(CLOSE>【操盤線】 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORRED;
標(biāo)識(shí)15:STICKLINE(CLOSE>【操盤線】 AND CLOSE>OPEN,LOW,OPEN,0,0),COLORRED;
標(biāo)識(shí)16:STICKLINE(CLOSE>【操盤線】 AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORRED;
標(biāo)識(shí)17:STICKLINE(CLOSE>【操盤線】 AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORRED;
標(biāo)識(shí)18:STICKLINE(CLOSE>【操盤線】 AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORRED;
標(biāo)識(shí)19:STICKLINE(CLOSE>【操盤線】 AND B15>REF(B15,1) AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORRED;
標(biāo)識(shí)20:STICKLINE(CLOSE>【操盤線】 AND B15>REF(B15,1) AND CLOSE>OPEN,OPEN,LOW,0,0),COLORRED;
標(biāo)識(shí)22:STICKLINE(CLOSE>【操盤線】 AND B15>REF(B15,1) AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORRED;
標(biāo)識(shí)23:STICKLINE(CLOSE>【操盤線】 AND B15>REF(B15,1) AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORRED;
標(biāo)識(shí)24:STICKLINE(CLOSE>【操盤線】 AND B15>REF(B15,1) AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORRED;
選股:DRAWICON(LONGCROSS(C,【操盤線】,7),L-0.1,9);
重倉:DRAWICON(CROSS(C,【操盤線】) AND CROSS(C,平均成本線50),L-0.1,5);
{《操盤線》選股公式——
平均成本線50:=COST(50);
平均成本線:=EMA(EMA(EMA(EMA(平均成本線50,2),2),5),5);
操盤線:=EMA(((SLOPE(C,26)*26)+C),55);
選股:DRAWICON(CROSS(C,操盤線) AND CROSS(C,平均成本線),L-0.1,5); };
聯(lián)系客服