跟庄操盘主图指标公式
W1:=FILTER(O<REF(L,1) && C>O && VOL>REF(V,1),13);
JH:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
SZ:=FILTER(CROSS(JH,35),13);
SX:=FILTER(CROSS(JH,30),7);
SQ:=FILTER(CROSS(71,JH),74);
SD:=FILTER(CROSS(80,JH),74);
BB:=IF(CAPITAL<1,SQ,SD);
AA:=IF(CAPITAL<1,SZ,SX);
CC:=REF(HHV(CLOSE,120),1);
DD:=REF(LLV(CLOSE,120),1);
WW:=((100*(CLOSE-DD))/(CC-DD));
FF:=(EMA(AMOUNT,5)/REF(EMA(AMOUNT,5),5));
BZ:=FILTER(((FF>=2 && WW<35 && BARSCOUNT(C)>30) OR (FF>=2 &&
WW<100 && BARSCOUNT(C)<50)),30);
STICKLINE(C>O OR C>REF(C,1),H,L,0,0),COLOR0022FF;
STICKLINE(C>O OR C>REF(C,1),C,O,3.2,0),COLOR002288;
STICKLINE(C>O OR C>REF(C,1),C,O,2.6,0),COLOR0033AA;
STICKLINE(C>O OR C>REF(C,1),C,O,1.9,0),COLOR0044CC;
STICKLINE(C>O OR C>REF(C,1),C,O,1.1,0),COLOR0055EE;
STICKLINE(C>O OR C>REF(C,1),C,O,0.3,0),COLOR0088FF;
STICKLINE(C<O OR C<REF(C,1),H,L,0,1),COLORFF8800;
STICKLINE(C<O OR C<REF(C,1),C,O,3.2,0),COLORFF2200;
STICKLINE(C<O OR C<REF(C,1),C,O,2.6,0),COLORFF4400;
STICKLINE(C<O OR C<REF(C,1),C,O,1.9,0),COLORFF6600;
STICKLINE(C<O OR C<REF(C,1),C,O,1.1,0),COLORFF8800;
STICKLINE(C<O OR C<REF(C,1),C,O,0.3,0),COLORFFAA00;
STICKLINE(C=REF(C,1),H,L,0,1),COLORFFFFFF;
STICKLINE(C=REF(C,1),C,O,3.2,0),COLOR555555;
STICKLINE(C=REF(C,1),C,O,2.6,0),COLOR777777;
STICKLINE(C=REF(C,1),C,O,1.9,0),COLOR999999;
STICKLINE(C=REF(C,1),C,O,1.1,0),COLORCCCCCC;
{STICKLINE(C=REF(C,1),C,O,0.3,0),COLORDDDDDD;}
STICKLINE(W1,H,L,0,1),COLORFF55FF;
STICKLINE(W1,C,O,3.2,0),COLOR880088;
STICKLINE(W1,C,O,2.6,0),COLORAA00AA;
STICKLINE(W1,C,O,1.9,0),COLORCC00CC;
STICKLINE(W1,C,O,1.1,0),COLOREE00EE;
STICKLINE(W1,C,O,0.3,0),COLORFF44FF;
STICKLINE(AA,H,L,0,1),COLORYELLOW;
STICKLINE(AA,C,O,3.2,0),COLOR117777;
STICKLINE(AA,C,O,2.6,0),COLOR119999;
STICKLINE(AA,C,O,1.9,0),COLOR11BBBB;
STICKLINE(AA,C,O,1.1,0),COLOR11DDDD;
STICKLINE(AA,C,O,0.3,0),COLOR44FFFF;
STICKLINE(BB,H,L,0,1),COLORGREEN;
STICKLINE(BB,C,O,3.2,0),COLOR006600;
STICKLINE(BB,C,O,2.6,0),COLOR008800;
STICKLINE(BB,C,O,1.9,0),COLOR00AA00;
STICKLINE(BB,C,O,1.1,0),COLOR00CC00;
STICKLINE(BB,C,O,0.3,0),COLOR00FF00;
STICKLINE(BZ,H,L,0,1),COLOR0000FF;
STICKLINE(BZ,C,O,3.2,0),COLOR000066;
STICKLINE(BZ,C,O,2.6,0),COLOR000088;
STICKLINE(BZ,C,O,1.9,0),COLOR0000AA;
STICKLINE(BZ,C,O,1.1,0),COLOR0000CC;
STICKLINE(BZ,C,O,0.3,0),COLOR2200FF;
VAR1AA:=((2)*(CLOSE)+OPEN+HIGH+LOW)/(5);
VAR2AA:=VOL;
上升价格线: (SUM((VAR1AA)*(VAR2AA),8))/(SUM(VAR2AA,8)),COLORRED;
下降价格线:LLV(上升价格线,8),COLOR007700;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01)
AND (VAR3AA>0),91,0);
DRAWTEXT(FILTER((VAR4AA>90),34),(LOW)*(0.99),'*加仓'),COLORRED;
A1AA:=9;
A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);
DRAWTEXT(FILTER((A2AA>0),34),(HIGH)*(1.01),'*警'),COLORGREEN;
VAR1:=REF(CLOSE,1);
VAR2:=MA(CLOSE,5);
VAR3:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
VAR4:=SMA(MAX(CLOSE-VAR1,0),12,1)/SMA(ABS(CLOSE-VAR1),12,1)*100;
VAR5:=SMA(MAX(CLOSE-VAR1,0),24,1)/SMA(ABS(CLOSE-VAR1),24,1)*100;
VAR6:=IF(CROSS(VAR3,VAR5),LOW,REF(LOW,BARSLAST(CROSS(VAR3,VAR5)
)));
VAR7:=IF(CROSS(VAR5,VAR3),HIGH,REF(HIGH,BARSLAST(CROSS(VAR5,VAR
3))));
VAR8:=IF(CLOSE>=MA(CLOSE,20),80,50);
VAR9:=IF(CLOSE>=MA(CLOSE,20),50,20);
VARA:=IF(VAR3<VAR8 AND
REF(VAR3,1)>=VAR8,HHV(REF(HIGH,1),BARSLAST(VAR3>=VAR8 AND
REF(VAR3,1)<VAR8)-1),REF(HHV(REF(HIGH,1),BARSLAST(VAR3>=VAR8 AND
REF(VAR3,1)<VAR8)-1),BARSLAST(VAR3<VAR8 AND REF(VAR3,1))));
VARB:=IF(HIGH>VARA,LOW,REF(LOW,BARSLAST(HIGH>VARA)));
VARC:=IF(HIGH>VARA,VAR3,REF(VAR3,BARSLAST(HIGH>VARA)));
VARD:=IF(HIGH>VARB AND VAR3<VARC AND
VAR3<VAR5,HIGH,REF(HIGH,BARSLAST(HIGH>VARB AND VAR3<VARC AND
VAR3<VAR5)));
VARE:=IF(VAR3>VAR9 AND
REF(VAR3,1)<=VAR9,LLV(REF(LOW,1),BARSLAST(VAR3<=VAR9 AND
REF(VAR3,1)>VAR9)-1),REF(LLV(REF(LOW,1),BARSLAST(VAR3<=VAR9 AND
REF(VAR3,1)>VAR9)-1),BARSLAST(VAR3>VAR9 AND REF(VAR3,1))));
VARF:=IF(LOW<VARE,HIGH,REF(HIGH,BARSLAST(LOW<VARE)));
VAR10:=IF(LOW<VARE,VAR3,REF(VAR3,BARSLAST(LOW<VARE)));
VAR11:=IF(LOW<VARF AND VAR3>VAR10 AND
VAR3>VAR5,LOW,REF(LOW,BARSLAST(LOW<VARF AND VAR3>VAR10 AND
VAR3>VAR5)));
支撑线:VAR11,COLORYELLOW,LINETHICK1;
压力线:VARD, COLORGREEN,LINETHICK1;
跟庄买卖指标公式主图
MAA5:MA(C,5),COLORFF00FF,LINETHICK2;
MAA10:=MA(C,10);
MAA30:MA(C,30),COLORRED;
KS:IF(MAA10>MAA30,MAA10,MAA30),COLORBLUE;
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖跟庄买进'),COLORYELLOW;
STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;
{跟庄买进选股}
MAA5:=MA(C,5);
MAA10:=MA(C,10);
MAA30:=MA(C,30);
KS:=IF(MAA10>MAA30,MAA10,MAA30);
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
跟庄买进:LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
评论(0)