TAG:选股 指标

请老师把 关注看看指标 ,做成 选股 (关注出现)做出选股 选股预警 例如300277
VARZ:=(H+L+C)/3;
VAR2Z:=(C-LLV(L,100))/(HHV(H,100)-LLV(L,100))*200;
VAR3Z:=SMA(VAR2Z,3,1);
线:=SMA(VAR3Z,3,1);
中线:=EMA((VARZ-LLV(VARZ,60))/(HHV(VARZ,60)-LLV(VARZ,60)),2)*100;
HAN:=DATE<1131230;
盈亏线:=MA((CLOSE-MA(CLOSE,27))/MA(CLOSE,27),3)*100;
观望:IF(盈亏线<0,盈亏线,0)*HAN,COLOR00EE00,LINETHICK2;{一线盈亏}
操作:IF(盈亏线>0,盈亏线,0)*HAN,COLORFF00FF,LINETHICK2;
看多:=IF(操作>盈亏线,操作,DRAWNULL);
DRAWBAND(操作,RGB(250,0,0),0,RGB(0,100,150))*HAN;
看空:=IF(盈亏线>观望,盈亏线,DRAWNULL);
DRAWBAND(盈亏线,RGB(250,0,0),0,RGB(256,200,0)*HAN);
STICKLINE(线<30 AND 中线<15,4,100,25,0)*HAN,COLOR990055;
STICKLINE(线<30 AND 中线<15,4,80,25,0)*HAN,COLOR990059;
STICKLINE(线<30 AND 中线<15,4,60,25,0)*HAN,COLOR990060;
STICKLINE(线<30 AND 中线<15,4,40,25,0)*HAN,COLOR990064;
STICKLINE(线<30 AND 中线<15,4,30,25,0)*HAN,COLOR990069;
STICKLINE(线<30 AND 中线<15,4,20,25,0)*HAN,COLOR990070;


最底线:-5,COLORWHITE,LINETHICK3;

VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);

XX:=EMA((VAR1*HAN-VAR2)/(VAR3-VAR2)*100,13);
YY:=EMA(0.667*REF(XX*HAN,1)+0.333*XX,2) , ;
冯:=STICKLINE(YY<XX,XX,YY,3,0),COLORRED;
冯A:=STICKLINE(YY>XX,XX,YY,3,0);

V1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
V2:=2*ABS(V1);
V3:=100-(100-3*SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))
*100,20,1)+2*SMA(SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))
*100,20,1),15,1));
V4:=100-(100-3*SMA((O-LLV(L,75))/(HHV(H,75)-LLV(L,75))
*100,20,1)+2*SMA(SMA((O-LLV(L,75))/(HHV(H,75)-LLV(L,75))
*100,20,1),15,1));
V5:=(H+L+C)/3;
V6:=(V5-MA(V5,10))/(0.015*AVEDEV(V5,10));
V7:=(V5-MA(V5,30))/(0.015*AVEDEV(V5,30));
V8:=IF(V6>=150 AND V6<200 AND V7>=150 AND V7<200,10,0);
V9:=IF(V6<=-150 AND V6>-200 AND V7<=-150 AND V7>-200,-10,V8);
VA:=(C-MA(C,13))/MA(C,13)*100;
VB:=100-ABS(VA);
VC:=3*SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1)-2
*SMA(SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);

VE:=REF(L,1)*0.9;
VF:=L*0.9;
V10:=(VF*V+VE*(CAPITAL-V))/CAPITAL;
V11:=EMA(V10,30);
V12:=V11-C;
V13:=REF(C,1);
V14:=SMA(MAX(C-V13,0),7,1)/SMA(ABS(C-V13),7,1)*100;
V15:=SMA(MAX(C-V13,0),13,1)/SMA(ABS(C-V13),13,1)*100;
V16:=BARSCOUNT(C);
V17:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
V18:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2;
V19:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
V1A:=(SMA(V19,4,1)-50)*2;
V1B:=SMA(V1A,3,1);
V1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
V1D:=SMA(V1C,4,1);
V1E:=SMA(V1D,3,1);
V1F:=(HHV(H,30)-C)/C*100;
V20:=IF(V17<=25 AND V18<-95 AND V1F>20 AND V1B<-30 AND V1E<30
AND V12>=-0.25 AND V14<22 AND V15<28 AND V16>50,80,0);
顶线:=IF(VB<90,VB,100);
抄底:=V20;
T6:=抄底>50 AND 顶线<90;


趋势: V3*HAN;

多方:= IF(V1>20,V1,0),LINESTICK;
空方:= -IF(V1<0,V2,0),LINESTICK;
预警系统:= (IF((V7>=200 AND V6>=150) OR CROSS(65,多方),15,IF(V7<=-200 AND V6<=-150,-15,V9))+65);
T1:=C>MA(C,20) AND MA(C,20)>=REF(MA(C,20),1);

T4:=多方>48 AND 预警系统>65 AND 顶线<100;
T8:=V3<=REF(V4,1) AND C AND 空方>=REF(空方,1) AND VC;

波:STICKLINE(V3<=REF(V4,1),V3,V4,8,0)*HAN,COLORGREEN;
江:STICKLINE(V3>REF(V4,1),V3,V4,8,0)*HAN,COLORRED;
STICKLINE(趋势>106,V3,V4,6,0)*HAN,COLOR00FFFF;

买入线:4,COLORRED,LINETHICK2 ;
高压线:100,COLORBLUE,LINETHICK2;

警戒线:80,COLORYELLOW,LINETHICK2;


趋势线:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
见底信号:= 3;
买入:= IF(CROSS(趋势线,见底信号),100,0);

趋势线1:= 3*SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1),3,1);
见底信号1:= 3;
买入1:= IF(CROSS(趋势线1,见底信号1),100,0);

趋势线2:= 3*SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,5,1),3,1);
见底信号2:= 3;
买入2:= IF(CROSS(趋势线2,见底信号2),50,0);
顶:=STICKLINE(买入 AND 买入1 AND 买入2 AND 趋势<10,25,80,8,0);
小:=IF(COUNT(( 趋势<0),5)=3, -25,0) ;
顶顶A:=STICKLINE(顶 OR 小,25,80,8,0);
顶部:=FILTER(顶顶A,25);
顶A:STICKLINE(顶部,40,80,8,0),COLORRED;