飞狐私募操盘精品指标
-
相关简介:input:nn(20),rln(6),cb1(2),智(10); STICKLINE(OPEN=CLOSE,CLOSE,OPEN,9,0),colorAAAAAA; STICKLINE(OPEN=CLOSE,CLOSE,OPEN,6,0),colorBBBBBB; STICKLINE(OPEN=CLOSE,CLOSE,OPEN,2.4,0),colorCCCCCC; STICKLINE(OPEN=CLOSE,CLOSE,OPEN,1.1,0),colorDDDDDD; STICKLINE(CL
-
文章来源:股海网作者:股海网发布时间:2016-05-14浏览次数:
input:nn(20),rln(6),cb1(2),智(10);
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,9,0),colorAAAAAA;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,6,0),colorBBBBBB;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.4,0),colorCCCCCC;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.1,0),colorDDDDDD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,9,0),color6666CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0),color7777DD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4,0),color8888EE;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.1,0),color9999FF;
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0),color1199FF;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5,0),color1199FF;
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5,0),colorCCCCCC;
DRAWTEXT(SYSPARAM(2)=BARPOS,CLOSE,'版块:'+BLKNAME),ALIGN4;
A:=SUMBARS(VOL,CAPITAL*1);
A2:=SUM(COST(20),A)/A;
A1:=SUM(COST(10),A)/A;
A3:=SUM(COST(30),A)/A;
A4:=SUM(COST(40),A)/A;
A5:=SUM(COST(50),A)/A;
E:=LLV(LOW,250)=LOW;
E1:=BARSLAST(E);
OK:(5*A1+4*A2+3*A3+2*A4+A5)/15,CIRCLEDOT,colorFF;
OK1:STICKLINE(CROSS(CLOSE,OK) AND E1>=40,OPEN,CLOSE,5,0),colorFFFF;
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
RSV12:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K12:=SMA(RSV12,3,1);
D12:=SMA(K12,3,1);
J12:=3*K12-2*D12;
RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K24:=SMA(RSV24,3,1);
D24:=SMA(K24,3,1);
J24:=3*K24-2*D24;
支撑位:IF(CROSS(J,J24),LOW,REF(LOW,BARSLAST(CROSS(J,J24)))),LINETHICK1,color80A810;
U2L:=IF(CLOSE>=MA(CLOSE,NN),80,50);
L2L:=IF(CLOSE>=MA(CLOSE,RLN),50,20);
RL1:=IF(J>L2L AND REF(J,1)<=L2L,LLV(REF(LOW,1),BARSLAST(J<=L2L AND REF(J,1)>L2L)-1),REF(LLV(REF(LOW,1),BARSLAST(J<=L2L AND REF(J,1)>L2L)-1),BARSLAST(J>L2L AND REF(J,1))));
RL4:=IF(LOW<RL1,HIGH,REF(HIGH,BARSLAST(LOW<RL1)));
RL42:=IF(LOW<RL1,J,REF(J,BARSLAST(LOW<RL1)));
抄底:IF(LOW<RL4 AND J>RL42 AND J>J24,LOW,REF(LOW,BARSLAST(LOW<RL4 AND J>RL42 AND J>J24))),color10FF10;
RH1:=IF(J<U2L AND REF(J,1)>=U2L,HHV(REF(HIGH,1),BARSLAST(J>=U2L AND REF(J,1)<U2L)-1),REF(HHV(REF(HIGH,1),BARSLAST(J>=U2L AND REF(J,1)<U2L)-1),BARSLAST(J<U2L AND REF(J,1))));
RH4:=IF(HIGH>RH1,LOW,REF(LOW,BARSLAST(HIGH>RH1)));
RH42:=IF(HIGH>RH1,J,REF(J,BARSLAST(HIGH>RH1)));
压力位:IF(CROSS(J24,J),HIGH,REF(HIGH,BARSLAST(CROSS(J24,J)))),LINETHICK1,colorFF6600;
拦顶:IF(HIGH>RH4 AND J<RH42 AND J<J24,HIGH,REF(HIGH,BARSLAST(HIGH>RH4 AND J<RH42 AND J<J24))),color10FFFF;
CB:=AMOUNT/VOL/100;
CD:=CB>HIGH OR CB<LOW;
STICKLINE(CD<1,CB-0.002,CB+0.002,8,1),colorFFFF;
导航:MA(CLOSE,CB1),color1010FF;
VAR1:=EMA(CLOSE,7);
VAR2:=EMA(CLOSE,21);
VAR3:=EMA(VAR2,7);
VAR4:=EMA(VAR3,27);
VAR5:=EMA(VAR2,100);
VAR6:=EMA(VAR5,100);
VAR7:=MA(CLOSE,5);
VAR8:=VAR1>VAR2 AND VAR2>VAR3 AND VAR3>VAR4 AND VAR4>VAR5 AND VAR5>VAR6;
VAR9:=VAR2>REF(VAR2,1) AND VAR3>REF(VAR3,1) AND VAR4>REF(VAR4,1) AND VAR5>REF(VAR5,1) AND VAR6>REF(VAR6,1);
VARA:=(LOW+HIGH+CLOSE+OPEN)/4;
VARB:=MA(CLOSE,34);
VARC:=MA(CLOSE,60);
VARD:=(2*CLOSE+HIGH+LOW)/4;
VARE:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
VARF:=EMA(VARE,7);
VAR10:=LLV(LOW,34);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VARD-VAR10)/(VAR11-VAR10)*100,6);
VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,4);
VAR14:=LLV(LOW,120);
VAR15:=HHV(HIGH,120);
VAR16:=VAR15-VAR14;
VAR17:=REF(CLOSE,1);
VAR18:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;
VAR19:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;
VAR1A:=(SMA(MAX(CLOSE-VAR17,0),6,1))/(SMA(ABS(CLOSE-VAR17),6,1))*100;
VAR1B:=MA(VARA,5);
VAR1C:=HHV(VAR1B,20);
VAR1D:=HHV(VAR1B,60);
VAR1E:=LLV(VAR1B,20);
VAR1F:=FORCAST(CLOSE,10);
VAR20:=EMA(VAR1F*1.05,3);
VAR21:=EMA(VAR1F*0.95,4);
VAR22:=100*(CLOSE-VAR21)/(VAR20-VAR21);
DRAWTEXT(VAR19+VAR18<7 AND CROSS(VARE,VARF) AND VARF<-18 AND VARF<VAR18,LOW-0.2,'←短买'),colorFF00;
DRAWTEXT(FILTER(VAR9 AND VAR8 AND COUNT(VAR1<REF(VAR1,1),5)>2 AND VAR1>REF(VAR1,1),3),LOW-0.2,'←回补'),colorFF;
DRAWTEXT((COUNT(CLOSE<REF(CLOSE,1),8))/8>0.3 AND COUNT(VAR12>VAR13,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,LOW-0.2,'←低买'),colorFF0000;
DRAWTEXT(REF(VAR22,1)>VAR22 AND REF(VAR22,1)>100 AND CLOSE>REF(CLOSE,1),HIGH+0.2,'←短出'),colorFFFF00;
DRAWTEXT(CROSS(84,VAR1A),HIGH+0.2,'←高出1');
DRAWTEXT(FILTER(VAR1D>REF(VAR1D,1) AND VAR1E>REF(VAR1E,1),5),HIGH+0.2,'←高出2'),colorFFFF;
MA5:MA(导航,1);
BB5:=MA5-REF(MA5,1);
PARTLINE(BB5>0,MA5),LINETHICK2,color1010FF;
PARTLINE(BB5<=0,MA5),LINETHICK2,colorFCCC10;
MA10:MA(拦顶,1);
BB10:=MA10-REF(MA10,1);
PARTLINE(BB10>0,MA10),LINETHICK2,colorFFAC10;
PARTLINE(BB10<=0,MA10),LINETHICK2,color10FFFF;
MA20:MA(压力位,1);
BB20:=MA20-REF(MA20,1);
PARTLINE(BB20>0,MA20),LINETHICK2,color10FFFF;
PARTLINE(BB20<=0,MA20),LINETHICK2,colorFF6600;
MA6:MA(支撑位,1);
BB6:=MA6-REF(MA6,1);
MA7:MA(抄底,1);
BB7:=MA7-REF(MA7,1);
PARTLINE(BB6>0,MA6),LINETHICK2,colorD8B8FF;
PARTLINE(BB6<=0,MA6),LINETHICK2,color80A810;
PARTLINE(BB7>0,MA7),LINETHICK2,colorCC5FFF;
PARTLINE(BB7<=0,MA7),LINETHICK2,color10FF10;
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,智);
B:=REF(A,1);
终极黄金:STICKLINE(A>B,A,B,5,0),colorFFFF;
一卸千里:STICKLINE(A<B,A,B,5,0),colorFF0000;