商品期货15分周期操盘全网第一强力指标
MA16:EMA(CLOSE,16),LINETHICK1;
MA32:EMA(CLOSE,32),LINETHICK1;
MA90:EMA(CLOSE,90),LINETHICK1;
MA180:EMA(CLOSE,180),LINETHICK1;
N:=1;
XOPEN:=(REF(O,N)+REF(C,N))/2;
XCLOSE:=CLOSE;
XHIGH:=MAX(HIGH,XOPEN);
XLOW:=MIN(LOW,XOPEN);
VOLALITY:=MA(XHIGH-XLOW,8);
B线:MA(XCLOSE,5)+VOLALITY/2,PRECIS0;
A线:MA(XCLOSE,5)-VOLALITY/2,PRECIS0;
BU:=CROSS(XCLOSE,B线);
SEL:=CROSS(A线,XCLOSE);
VAR1S:=BARSLAST(BU);
VAR2S:=BARSLAST(SEL);
STICKLINE(XCLOSE>XOPEN AND VAR1S<VAR2S,XCLOSE,XOPEN ,5,0 ),colorred;
STICKLINE(XCLOSE>XOPEN AND VAR1S<VAR2S,XHIGH,XCLOSE ,2,0 ),colorred;
STICKLINE(XCLOSE>XOPEN AND VAR1S<VAR2S,XOPEN,XLOW ,2,0 ),colorred;
STICKLINE(XCLOSE<=XOPEN AND VAR1S<VAR2S,XCLOSE,XOPEN ,5,0 ),COLOR0000FF;
STICKLINE(XCLOSE<=XOPEN AND VAR1S<VAR2S,XHIGH,XOPEN ,2,0 ),COLOR0000FF;
STICKLINE(XCLOSE<=XOPEN AND VAR1S<VAR2S,XCLOSE,XLOW ,2,0 ),COLOR0000FF;
STICKLINE(XCLOSE<=XOPEN AND VAR1S>VAR2S,XCLOSE ,XOPEN ,5,0 ),colorgreen;
STICKLINE(XCLOSE<=XOPEN AND VAR1S>VAR2S,XOPEN ,XHIGH ,2,0 ),colorgreen;
STICKLINE(XCLOSE<=XOPEN AND VAR1S>VAR2S,XCLOSE,XLOW ,2,0 ),colorgreen;
STICKLINE(XCLOSE>XOPEN AND VAR1S>VAR2S,XCLOSE ,XOPEN ,5,0 ),COLOR00FF00;
STICKLINE(XCLOSE>XOPEN AND VAR1S>VAR2S,XCLOSE,XHIGH ,2,0 ),COLOR00FF00;
STICKLINE(XCLOSE>XOPEN AND VAR1S>VAR2S,XOPEN,XLOW ,2,0 ),COLOR00FF00;
A5:=EMA(CLOSE,16);
B5:=EMA(CLOSE,32);
DRAWTEXT(CROSS(B5,A5),(HIGH * 1.01),'空'),COLOR00FFFF;
DRAWTEXT(CROSS(A5,B5),(LOW * 0.99),'多'),COLOR00FFFF;
VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
VAR2:=(REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR3:=(REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR4:=(REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR5:=(REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR6:=(REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR7:=(REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR8:=(REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR9:=(REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARA:=(REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARC:=(REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,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);
DRAWICON(VAR19 AND REF(CLOSE,1),LOW/1.002,1);
DRAWICON(VAR1A AND REF(CLOSE,1),HIGH*1.002,2);
|