SWL:(EMA(CLOSE,10)*7+EMA(CLOSE,20)*3)/10,COLORGREEN,LINETHICK9;
SWS:DMA(EMA(CLOSE,20),MAX(1,100*(SUM(vol,5)/(3*CAPITAL)))),COLORWHITE,DOTLINE;
主力操盘线:IF(SWL>SWS,SWL,DRAWNULL),COLORRED,LINETHICK9;
生命线:IF(SWL
STICKLINE(C
KMJ:=MA(C,3);
VAR1:=KMJ>REF(KMJ,1) AND KMJ>REF(KMJ,2);
VAR2:=REF(VAR1,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR3:=REF(VAR2,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR4:=REF(VAR3,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR5:=REF(VAR4,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR6:=REF(VAR5,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR7:=REF(VAR6,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR8:=REF(VAR7,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR9:=REF(VAR8,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VARA:=REF(VAR9,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VARB:=REF(VARA,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VARC:=REF(VARB,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VARD:=KMJVARE:=REF(VARD,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VARF:=REF(VARE,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR10:=REF(VARF,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR11:=REF(VAR10,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR12:=REF(VAR11,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR13:=REF(VAR12,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR14:=REF(VAR13,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR15:=REF(VAR14,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR16:=REF(VAR15,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR17:=REF(VAR16,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR18:=REF(VAR17,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR
VAR17 OR VAR18,1) AND VAR1;
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1)
AND VARD;
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA
OR VARB OR VARC,O,C,2,0),COLORRED;
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA
OR VARB OR VARC,CLOSE,O,2.8,0),COLOR000055;
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA
OR VARB OR VARC,CLOSE,O,2,0),COLOR000088;
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA
OR VARB OR VARC,CLOSE,O,1.5,0),COLOR0000AA;
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA
OR VARB OR VARC,CLOSE,O,1,0),COLOR0000CC;
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA
OR VARB OR VARC,CLOSE,O,0.5,0),COLOR0000EE;
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR
VAR17 OR VAR18,O,C,2.5,0),COLORLIGRAY;
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR
VAR17 OR VAR18,O,C,2.8,0),COLOR555555;
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR
VAR17 OR VAR18,O,C,2,0),COLOR888888;
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR
VAR17 OR VAR18,O,C,1.5,0),COLORAAAAAA;
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR
VAR17 OR VAR18,O,C,1,0),COLORCCCCCC;
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR
VAR17 OR VAR18,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;