副图指标:
DRAWGBK(C>0,RGB(1,1,10),RGB(20,28,10),0,' ',0),LINETHICK9;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA60:=MA(C,60);
MA90:=MA(C,90);
MA120:=MA(C,120);
MA250:=MA(C,250);
VAR1:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);
ABV:=MA(SUM(IF(C>REF(C,1),V,IF(C<REF(C,1),-V,0)),0)/25000,2);
M1:=EMA(ABV,12);
M2:=EMA(ABV,26);
MTM:=C-REF(C,1);
MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));
MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));
MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));
MMA:=C-REF(C,1);
MMB:=100*EMA(EMA(MMA,9),9)/EMA(EMA(ABS(MMA),9),9);
MMC:=MA(MMB,5);
A:=((VOL)/(CAPITAL))*(100);
S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));
Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));
X:=1;
V1:=(H+O+L+(2)*(C))/(5);
V2:=REF(V1,1);
V3:=MAX(V1-V2,0);
V4:=ABS(V1-V2);
V5:=SMA(V3,10,1);
V6:=SMA(V4,10,1);
V8:=COUNT(((V5)/(V6)<0.2),5); V9:=COUNT((LLV(V1,10)=V1),10); 主力进出:=(MMS>REF(MMS,1) AND MMB>REF(MMB,1) AND CROSS(ABV,M2) AND ABV>REF(ABV,1) AND M1>REF(M1,1) AND M2>REF(M2,1));
主进主轨:=ABV>M2 AND CROSS(ABV,M1) AND CROSS(MMB,MMC) COLORBLUE;
TJ:=REF(C,1)>REF(O,1) AND V>REF(V,1);
精准买卖:V8>=1 AND V9>=1 AND C>O AND TJ AND MMS>MML AND CROSS(ABV,M2) COLORMAGENTA;
中线买点:V8>=1 AND V9>=1 AND C>O AND TJ AND ABV>REF(ABV,1) AND MMS>MML AND CROSS(MMM,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1) COLORYELLOW;
短线买点:V8>=1 AND V9>=1 AND C>O AND TJ AND CROSS(MMS,MML) AND ABV>REF(ABV,1) COLORWHITE;
选股指标:
{精准买卖}
ABV:=MA(SUM(IF(C>REF(C,1),V,IF(C<REF(C,1),-V,0)),0)/25000,2);
M2:=EMA(ABV,26);
MTM:=C-REF(C,1);
MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));
MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));
V1:=(H+O+L+(2)*(C))/(5);
V2:=REF(V1,1);
V3:=MAX(V1-V2,0);
V4:=ABS(V1-V2);
V5:=SMA(V3,10,1);
V6:=SMA(V4,10,1);
V8:=COUNT(((V5)/(V6)<0.2),5); V9:=COUNT((LLV(V1,10)=V1),10); TJ:=REF(C,1)>REF(O,1) AND V>REF(V,1);
精准买卖:V8>=1 AND V9>=1 AND C>O AND TJ AND MMS>MML AND CROSS(ABV,M2);
{中线买点}
ABV:=MA(SUM(IF(C>REF(C,1),V,IF(C<REF(C,1),-V,0)),0)/25000,2);
MTM:=C-REF(C,1);
MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));
MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));
MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));
V1:=(H+O+L+(2)*(C))/(5);
V2:=REF(V1,1);
V3:=MAX(V1-V2,0);
V4:=ABS(V1-V2);
V5:=SMA(V3,10,1);
V6:=SMA(V4,10,1);
V8:=COUNT(((V5)/(V6)<0.2),5); V9:=COUNT((LLV(V1,10)=V1),10); TJ:=REF(C,1)>REF(O,1) AND V>REF(V,1);
中线买点:V8>=1 AND V9>=1 AND C>O AND TJ AND ABV>REF(ABV,1) AND MMS>MML AND CROSS(MMM,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1);
{短线买点}
ABV:=MA(SUM(IF(C>REF(C,1),V,IF(C<REF(C,1),-V,0)),0)/25000,2);
MTM:=C-REF(C,1);
MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));
MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));
V1:=(H+O+L+(2)*(C))/(5);
V2:=REF(V1,1);
V3:=MAX(V1-V2,0);
V4:=ABS(V1-V2);
V5:=SMA(V3,10,1);
V6:=SMA(V4,10,1);
V8:=COUNT(((V5)/(V6)<0.2),5); V9:=COUNT((LLV(V1,10)=V1),10); TJ:=REF(C,1)>REF(O,1) AND V>REF(V,1);
短线买点:V8>=1 AND V9>=1 AND C>O AND TJ AND CROSS(MMS,MML) AND ABV>REF(ABV,1);