VAR0:=(3*CLOSE+LOW+OPEN+HIGH)/6;
多头线: (20*VAR0+19*REF(VAR0,1)+18*REF(VAR0,2)+17*REF(VAR0,3)+16*REF(VAR0,4)+15*REF(VAR0,5)+14*REF(VAR0,6)+13*REF(VAR0,7)+12*REF(VAR0,8)+11*REF(VAR0,9)+10*REF(VAR0,10)+9*REF(VAR0,11)+8*REF(VAR0,12)+7*REF(VAR0,13)+6*REF(VAR0,14)+5*REF(VAR0,15)+4*REF(VAR0,16)+3*REF(VAR0,17)+2*REF(VAR0,18)+REF(VAR0,20))/210,,COLORF00FF0,LINETHICK2;
空头线: MA(多头线,15),COLORGREEN,LINETHICK2;
VAR1:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
A1:=CLOSE/MA(CLOSE,40);
A2:=(CLOSE-OPEN)/OPEN*100
A3:=LOW*1.051 HIGH;
A4:=A3 AND COUNT(A3,5)
B1:=INDEXC;
B2:=MA(B1,5);
B3:=MA(B1,20);
B4:=B1*1.03 B2 AND B1*1.13
买入1:=(VAR1 6 AND A1 0.85 AND A2)*90;
买入2:=(VAR1 6 AND A1 0.76 AND A4)*70;
买入3:=(VAR1 6 AND B4)*60;
DRAWICON(VAR1 6 AND A1 0.85 AND A2,L*0.9,1);
DRAWTEXT(VAR1 6 AND A1 0.85 AND A2,L*0.85, --- 买入1 ),COLORRED;
DRAWICON(VAR1 6 AND A1 0.76 AND A4,L*0.9,1);
DRAWTEXT(VAR1 6 AND A1 0.76 AND A4,L*0.85, --- 买入2 ),COLORRED;
DRAWTEXT(VAR1 6 AND B4,L*0.85, --- 买入3 ),COLORRED;
VAR2:=MAX(ABS(HIGH-AMOUNT//100),ABS(AMOUNT/VOL/100-LOW));
VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);
MV:=(VAR2+VAR3)/AMOUNT*VOL*100*50;
VAR4:=EMA((EMA(CLOSE,95)-EMA(CLOSE,120)),35);
VAR5:=((EMA(CLOSE,95)-EMA(CLOSE,120))-VAR4)*2;
DRAWTEXT(CROSS(多头线,空头线),多头线*0.985, ⊙ ),COLORRED;
DRAWTEXT(CROSS(多头线,空头线),多头线*0.985, ),COLORRED;
DRAWTEXT(CROSS(多头线,空头线),多头线*0.985, ),COLORRED ;
DRAWTEXT(CROSS(多头线,空头线),多头线*0.975, ),COLORYELLOW;
STICKLINE(C 1.095*REF(C,1),O,C,8,0),COLORMAGENTA;
空头线1: MA(多头线,30),COLORRED,LINETHICK2;
空头线2: MA(多头线,120),COLORBLUE,LINETHICK2;