SWL:(EMA(CLOSE,10)*7+EMA(CLOSE,20)*3)/10;
SWS:DMA(EMA(CLOSE,20),MAX(1,100*(SUM(VOL,5)/(3*CAPITAL)))),COLORWHITE,DOTLINE;
主力操盘线:IF(SWL SWS,SWL,DRAWNULL),COLORRED,LINETHICK2;
生命线:IF(SWL SWS,SWL,DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(C =O,L,H,0,0),COLORRED;
STICKLINE(C O,L,H,0,0),COLORCYAN;
STICKLINE(C O,C,O,3.5,0),COLORCYAN;
STICKLINE(C =O,C,O,3.5,0),COLORRED;
KMJ:=MA(C,3);
VAR1:=KMJ REF(KMJ,1)ANDKMJ REF(KMJ,2);
VAR2:=REF(VAR1,1)ANDKMJ =REF(KMJ,1)ANDKMJ =REF(KMJ,2);
VAR3:=REF(VAR2,1)ANDKMJ =REF(KMJ,1)ANDKMJ =REF(KMJ,2);
VAR4:=REF(VAR3,1)ANDKMJ =REF(KMJ,1)ANDKMJ =REF(KMJ,2);
VAR5:=REF(VAR4,1)ANDKMJ =REF(KMJ,1)ANDKMJ =REF(KMJ,2);
VAR6:=REF(VAR5,1)ANDKMJ =REF(KMJ,1)ANDKMJ =REF(KMJ,2);
VAR7:=REF(VAR6,1)ANDKMJ =REF(KMJ,1)ANDKMJ =REF(KMJ,2);
VAR8:=REF(VAR7,1)ANDKMJ =REF(KMJ,1)ANDKMJ =REF(KMJ,2);
VAR9:=REF(VAR8,1)ANDKMJ =REF(KMJ,1)ANDKMJ =REF(KMJ,2);
VARA:=REF(VAR9,1)ANDKMJ =REF(KMJ,1)ANDKMJ =REF(KMJ,2);
VARB:=REF(VARA,1)ANDKMJ =REF(KMJ,1)ANDKMJ =REF(KMJ,2);
VARC:=REF(VARB,1)ANDKMJ =REF(KMJ,1)ANDKMJ =REF(KMJ,2);
VARD:=KMJ REF(KMJ,1)ANDKMJ REF(KMJ,2);
VARE:=REF(VARD,1)ANDKMJ =REF(KMJ,1)ANDKMJ =REF(KMJ,2);
VAR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8ORVAR9ORVARA
ORVARBORVARC,CLOSE,O,1.5,0),COLOR0000AA;
STICKLINE(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7ORVAR8ORVAR9ORVARA
ORVARBORVARC,CLOSE,O,1,0),COLOR0000CC;
STICKLINE(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7ORVAR8ORVAR9ORVARA
ORVARBORVARC,CLOSE,O,0.5,0),COLOR0000EE;
STICKLINE(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15ORVAR16OR
VAR17ORVAR18,O,C,2.5,0),COLORLIGRAY;
STICKLINE(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15ORVAR16OR
VAR17ORVAR18,O,C,2.8,0),COLOR555555;
STICKLINE(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15ORVAR16OR
VAR17ORVAR18,O,C,2,0),COLOR888888;
手机指标公式:SMA(MAX(CLOSE-C,0),7,1)/SMA(ABS(CLOSE-C),7,1)*100,NODRAW;
STICKLINE(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15ORVAR16OR
VAR17ORVAR18,O,C,1.5,0),COLORAAAAAA;
STICKLINE(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15ORVAR16OR
VAR17ORVAR18,O,C,1,0),COLORCCCCCC;
STICKLINE(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15ORVAR16OR
VAR17ORVAR18,O,C,0.5,0),COLOREEEEEE;
STICKLINE(VAR1A,MAX(C,O),(H+L)/2,2.8,0),COLOR550055;
STICKLINE(VAR1A,MAX(C,O),(H+L)/2,2,0),COLOR880088;
STICKLINE(VAR1A,MAX(C,O),(H+L)/2,1.5,0),COLORAA00AA;
STICKLINE(VAR1A,MAX(C,O),(H+L)/2,1,0),COLORCC00CC;
STICKLINE(VAR1A,MAX(C,O),(H+L)/2,0.5,0),COLOREE00EE;
STICKLINE(VAR19,O,(H+L)/2,2.8,0),COLOR335555;
STICKLINE(VAR19,O,(H+L)/2,2,0),COLOR338888;
STICKLINE(VAR19,O,(H+L)/2,1.5,0),COLOR33AAAA;
STICKLINE(VAR19,O,(H+L)/2,1,0),COLOR33CCCC;
STICKLINE(VAR19,O,(H+L)/2,0,0),COLOR33EEEE;
KMJMR:DRAWTEXT(VAR19,L*0.99, ←主力建仓 ),COLORRED;
KMJMC:DRAWTEXT(VAR1A,H*1.01, ←主力减仓 ),COLORGREEN;
主力:EMA(100*(C-LLV(LOW,6))/(HHV(H,6)-LLV(LOW,6)),5),COLORRED,LINETHICK2;
将爆线:65,COLORYELLOW;
起爆线:80,COLOR00FF00,LINETHICK1;
警戒线:50,COLORBLUE;
线:20,COLORRED,LINETHICK2;
RSV:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100);
K:=SMA(RSV,13,1);
D:=SMA(K,13,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,18);
GUP1:=CROSS(J,REF(J+0.01,1))ANDXANDJ
STICKLINE(GUP1,0,1,3,0),COLORYELLOW;
GUP2:=((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100);
GUP3:=CROSS(20,EMA(GUP2,3));
GUP4:=REF(GUP3,1);
GUP5:=REF(CLOSE,1);
GUP6:=SMA(MAX(CLOSE-GUP5,0),5,1)/SMA(ABS(CLOSE-GUP5),5,1)*1000;
GUP3H:=GUP6-LLV(GUP6,10);
GUP7:=(MA(GUP3H,2)*3+GUP3H*13)/16;
:=IF(GUP7 13,MA(GUP7,2),GUP7)/6;
出击:=IF(CROSS(短线,1)AND(短线 30),30,1);
GUP8:=出击=30;
买点:=GUP4ANDGUP8;
IF(买点,40,20),COLORMAGENTA;
RSV:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100);
K:=SMA(RSV,13,1);
D:=SMA(K,13,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,18);
GUP1:=CROSS(J,REF(J+0.01,1))ANDXANDJ
GUP2:=((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100);
GUP3:=CROSS(20,EMA(GUP2,3));
GUP4:=REF(GUP3,1);
GUP5:=REF(CLOSE,1);
GUP6:=SMA(MAX(CLOSE-GUP5,0),5,1)/SMA(ABS(CLOSE-GUP5),5,1)*1000;
GUP3H:=GUP6-LLV(GUP6,10);
GUP7:=(MA(GUP3H,2)*3+GUP3H*13)/16;
短线:=IF(GUP7 13,MA(GUP7,2),GUP7)/6;
出击:=IF(CROSS(短线,1)AND(短线 30),30,1);
GUP8:=出击=30;
买点:GUP4ANDGUP8;
{公式二:黄柱}
RSV:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100);
K:=SMA(RSV,13,1);
D:=SMA(K,13,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,18);
GUP1:=CROSS(J,REF(J+0.01,1))ANDXANDJ
GUP2:=((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100);
GUP3:=CROSS(20,EMA(GUP2,3));
GUP4:=REF(GUP3,1);
GUP5:=REF(CLOSE,1);
GUP6:=SMA(MAX(CLOSE-GUP5,0),5,1)/SMA(ABS(CLOSE-GUP5),5,1)*1000;
黄柱:GUP1;