|
NNN:=3;
MMM:=1;
ZS:=0.005;
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
T:=ZIGZAG(H,NNN,1),COLORLIGHTRED,DOT,NODRAW;
T1:=BARSLAST(T>REF(T,1)&&T>REFX(T,1))+1;
T2:=BARSLAST(T<REF(T,1)&&T<REFX(T,1))+1;
TT:=ZIGZAG(L,NNN,1),COLORLIGHTRED,DOT,NODRAW;
TT1:=BARSLAST(TT>REF(TT,1)&&TT>REFX(TT,1))+1;
TT2:=BARSLAST(TT<REF(TT,1)&&TT<REFX(TT,1))+1;
DRAWNUMBER(PERIOD>3&&TT2,L-1*MINPRICE,L,0,COLORYELLOW),ALIGN2,VALIGN0;
DRAWNUMBER(PERIOD>3&&T1,H+1*MINPRICE,H,0,COLORYELLOW),ALIGN2,VALIGN2;
A:=LLV(L,TT2);
入场止损:=A*ZS
B:=HHV(H,T1);
入场止损空:=B*ZS/MINPRICE;
NN:=(L-HHV(H,T1))*100/HHV(H,T1);
MM:=(H-LLV(L,TT2))*100/LLV(L,TT2);
DRAWNUMBER(PERIOD>3&&TT2,L-1*MINPRICE,NN,2,COLORCYAN),ALIGN0,VALIGN0;
DRAWNUMBER(PERIOD>3&&T1,H+1*MINPRICE,MM,2,COLORRED),ALIGN0,VALIGN2;
DRAWNUMBER(PERIOD=3&&TT2,L-40*MINPRICE,NN,2,RGB(0,128,255)),ALIGN1,VALIGN2,FONTSIZE32;
DRAWNUMBER(PERIOD=3&&T1,H+40*MINPRICE,MM,2,RGB(0,128,255)),ALIGN1,VALIGN0,FONTSIZE32;
DRAWNUMBER(PERIOD=2&&TT2,L-30*MINPRICE,NN,2,RGB(0,128,255)),ALIGN1,VALIGN2,FONTSIZE32;
DRAWNUMBER(PERIOD=2&&T1,H+30*MINPRICE,MM,2,RGB(0,128,255)),ALIGN1,VALIGN0,FONTSIZE32;
DRAWNUMBER(PERIOD=1&&TT2,L-23*MINPRICE,NN,2,RGB(0,128,255)),ALIGN1,VALIGN2,FONTSIZE32;
DRAWNUMBER(PERIOD=1&&T1,H+23*MINPRICE,MM,2,RGB(0,128,255)),ALIGN1,VALIGN0,FONTSIZE32;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
S:=ZIGZAG(H,MMM,1),COLORLIGHTRED,DOT,NODRAW;
S1:=BARSLAST(S>REF(S,1)&&S>REFX(S,1))+1;
S2:=BARSLAST(S<REF(S,1)&&S<REFX(S,1))+1;
IF(S1<=S2&&PERIOD<4,HHV(H,S1),NULL),RGB(0,100,0),LINETHICK1;
SS:=ZIGZAG(L,MMM,1),COLORLIGHTRED,DOT,NODRAW;
SS1:=BARSLAST(SS>REF(SS,1)&&SS>REFX(SS,1))+1;
SS2:=BARSLAST(SS<REF(SS,1)&&SS<REFX(SS,1))+1;
IF(SS1>=SS2&&PERIOD<4,LLV(L,SS2),NULL),RGB(100,0,0),LINETHICK1;
AA:=LLV(L,SS2);
入场止损黄线:=AA*ZS/MINPRICE;
BB:=HHV(H,S1);
入场止损空黄线:=BB*ZS/MINPRICE;
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
DRAWSL(PERIOD<4&&S1,H,0,5,0,COLORYELLOW);
DRAWSL(PERIOD<4&&SS2,L,0,5,0,COLORYELLOW);
DRAWSL(PERIOD<4&&S1,H-入场止损空黄线/2*MINPRICE,0,5,0,COLORYELLOW),DOT;
DRAWSL(PERIOD<4&&SS2,L+入场止损黄线/2*MINPRICE,0,5,0,COLORYELLOW),DOT;
DRAWSL(PERIOD<4&&S1,H-入场止损空黄线*MINPRICE,0,5,0,COLORYELLOW),DOT;
DRAWSL(PERIOD<4&&SS2,L+入场止损黄线*MINPRICE,0,5,0,COLORYELLOW),DOT;
MMM1:=BACKSET(ISLASTBAR,BARSLAST(S>REF(S,1)&&S>REFX(S,1)||SS<REF(SS,1)&&SS<REFX(SS,1))+1);
MMM2:=BACKSET(ISLASTBAR,BARSLAST(SS<REF(SS,1)&&SS<REFX(SS,1)||S>REF(S,1)&&S>REFX(S,1))+1);
DRAWSL(PERIOD<4&&SS<REF(SS,1)&&SS<REFX(SS,1)&&MMM1,L+入场止损黄线*2*MINPRICE,0,5,0,COLORYELLOW);
DRAWSL(PERIOD<4&&S>REF(S,1)&&S>REFX(S,1)&&MMM2,H-入场止损空黄线*2*MINPRICE,0,5,0,COLORYELLOW);
DRAWSL(PERIOD<4&&SS<REF(SS,1)&&SS<REFX(SS,1)&&MMM1,L+入场止损黄线*3*MINPRICE,0,5,0,COLORYELLOW);
DRAWSL(PERIOD<4&&S>REF(S,1)&&S>REFX(S,1)&&MMM2,H-入场止损空黄线*3*MINPRICE,0,5,0,COLORYELLOW);
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
FILLRGN(TT1>=TT2,SUM(AVPRICE*V,TT2)/SUM(V,TT2),LLV(L,TT2),RGB(0,60,120));
FILLRGN(T1<=T2,SUM(AVPRICE*V,T1)/SUM(V,T1),HHV(H,T1),RGB(0,60,120));
FILLRGN(SS1>=SS2,SUM(AVPRICE*V,SS2)/SUM(V,SS2),LLV(L,SS2),RGB(100,0,0));
FILLRGN(S1<=S2,SUM(AVPRICE*V,S1)/SUM(V,S1),HHV(H,S1),RGB(0,80,0));
DRAWNUMBER(PERIOD<4&&SS2,L-1*MINPRICE,L,0,RGB(255,17,136)),ALIGN2,VALIGN0;
DRAWNUMBER(PERIOD<4&&S1,H+1*MINPRICE,H,0,COLORCYAN),ALIGN2,VALIGN2;
DRAWNUMBER(PERIOD<4&&SS2,L-1*MINPRICE,(L-HHV(H,S1))*100/HHV(H,S1),2,COLORYELLOW),ALIGN0,VALIGN0;
DRAWNUMBER(PERIOD<4&&S1,H+1*MINPRICE,(H-LLV(L,SS2))*100/LLV(L,SS2),2,COLORYELLOW),ALIGN0,VALIGN2;
DRAWTEXT(PERIOD<4&&T1<=T2&&HHV(H,T1)-入场止损空*1*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*1*MINPRICE),HHV(H,T1)-入场止损空*1*MINPRICE,'-0.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&T1<=T2&&HHV(H,T1)-入场止损空*3*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*3*MINPRICE),HHV(H,T1)-入场止损空*3*MINPRICE,'-1.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&T1<=T2&&HHV(H,T1)-入场止损空*5*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*5*MINPRICE),HHV(H,T1)-入场止损空*5*MINPRICE,'-2.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&T1<=T2&&HHV(H,T1)-入场止损空*7*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*7*MINPRICE),HHV(H,T1)-入场止损空*7*MINPRICE,'-3.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&T1<=T2&&HHV(H,T1)-入场止损空*9*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*9*MINPRICE),HHV(H,T1)-入场止损空*9*MINPRICE,'-4.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&T1<=T2&&HHV(H,T1)-入场止损空*11*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*11*MINPRICE),HHV(H,T1)-入场止损空*11*MINPRICE,'-5.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&T1<=T2&&HHV(H,T1)-入场止损空*13*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*13*MINPRICE),HHV(H,T1)-入场止损空*13*MINPRICE,'-6.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&T1<=T2&&HHV(H,T1)-入场止损空*15*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*15*MINPRICE),HHV(H,T1)-入场止损空*15*MINPRICE,'-7.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&T1<=T2&&HHV(H,T1)-入场止损空*17*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*17*MINPRICE),HHV(H,T1)-入场止损空*17*MINPRICE,'-8.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&T1<=T2&&HHV(H,T1)-入场止损空*19*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*19*MINPRICE),HHV(H,T1)-入场止损空*19*MINPRICE,'-9.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&T1<=T2&&HHV(H,T1)-入场止损空*21*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*21*MINPRICE),HHV(H,T1)-入场止损空*21*MINPRICE,'-10.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*2*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*2*MINPRICE),HHV(H,T1)-入场止损空*2*MINPRICE,'-1%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*4*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*4*MINPRICE),HHV(H,T1)-入场止损空*4*MINPRICE,'-2%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*6*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*6*MINPRICE),HHV(H,T1)-入场止损空*6*MINPRICE,'-3%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*8*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*8*MINPRICE),HHV(H,T1)-入场止损空*8*MINPRICE,'-4%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*10*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*10*MINPRICE),HHV(H,T1)-入场止损空*10*MINPRICE,'-5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*12*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*12*MINPRICE),HHV(H,T1)-入场止损空*12*MINPRICE,'-6%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*14*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*14*MINPRICE),HHV(H,T1)-入场止损空*14*MINPRICE,'-7%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*16*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*16*MINPRICE),HHV(H,T1)-入场止损空*16*MINPRICE,'-8%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*18*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*18*MINPRICE),HHV(H,T1)-入场止损空*18*MINPRICE,'-9%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*20*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*20*MINPRICE),HHV(H,T1)-入场止损空*20*MINPRICE,'-10%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*22*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*22*MINPRICE),HHV(H,T1)-入场止损空*22*MINPRICE,'-11%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*24*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*24*MINPRICE),HHV(H,T1)-入场止损空*24*MINPRICE,'-12%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*26*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*26*MINPRICE),HHV(H,T1)-入场止损空*26*MINPRICE,'-13%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*28*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*28*MINPRICE),HHV(H,T1)-入场止损空*28*MINPRICE,'-14%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*30*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*30*MINPRICE),HHV(H,T1)-入场止损空*30*MINPRICE,'-15%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*32*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*32*MINPRICE),HHV(H,T1)-入场止损空*32*MINPRICE,'-16%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*34*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*34*MINPRICE),HHV(H,T1)-入场止损空*34*MINPRICE,'-17%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*36*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*36*MINPRICE),HHV(H,T1)-入场止损空*36*MINPRICE,'-18%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*38*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*38*MINPRICE),HHV(H,T1)-入场止损空*38*MINPRICE,'-19%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*40*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*40*MINPRICE),HHV(H,T1)-入场止损空*40*MINPRICE,'-20%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*42*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*42*MINPRICE),HHV(H,T1)-入场止损空*42*MINPRICE,'-21%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*44*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*44*MINPRICE),HHV(H,T1)-入场止损空*44*MINPRICE,'-22%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*46*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*46*MINPRICE),HHV(H,T1)-入场止损空*46*MINPRICE,'-23%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*48*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*48*MINPRICE),HHV(H,T1)-入场止损空*48*MINPRICE,'-24%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*50*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*50*MINPRICE),HHV(H,T1)-入场止损空*50*MINPRICE,'-25%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(T1<=T2&&HHV(H,T1)-入场止损空*52*MINPRICE>=LLV(L,T1)&&CROSSDOWN(LLV(L,T1),HHV(H,T1)-入场止损空*52*MINPRICE),HHV(H,T1)-入场止损空*52*MINPRICE,'-26%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&TT1>=TT2&&LLV(L,TT2)+入场止损*1*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*1*MINPRICE),LLV(L,TT2)+入场止损*1*MINPRICE,'+0.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&TT1>=TT2&&LLV(L,TT2)+入场止损*3*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*3*MINPRICE),LLV(L,TT2)+入场止损*3*MINPRICE,'+1.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&TT1>=TT2&&LLV(L,TT2)+入场止损*5*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*5*MINPRICE),LLV(L,TT2)+入场止损*5*MINPRICE,'+2.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&TT1>=TT2&&LLV(L,TT2)+入场止损*7*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*7*MINPRICE),LLV(L,TT2)+入场止损*7*MINPRICE,'+3.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&TT1>=TT2&&LLV(L,TT2)+入场止损*9*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*9*MINPRICE),LLV(L,TT2)+入场止损*9*MINPRICE,'+4.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&TT1>=TT2&&LLV(L,TT2)+入场止损*11*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*11*MINPRICE),LLV(L,TT2)+入场止损*11*MINPRICE,'+5.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&TT1>=TT2&&LLV(L,TT2)+入场止损*13*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*13*MINPRICE),LLV(L,TT2)+入场止损*13*MINPRICE,'+6.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&TT1>=TT2&&LLV(L,TT2)+入场止损*15*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*15*MINPRICE),LLV(L,TT2)+入场止损*15*MINPRICE,'+7.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&TT1>=TT2&&LLV(L,TT2)+入场止损*17*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*17*MINPRICE),LLV(L,TT2)+入场止损*17*MINPRICE,'+8.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&TT1>=TT2&&LLV(L,TT2)+入场止损*19*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*19*MINPRICE),LLV(L,TT2)+入场止损*19*MINPRICE,'+9.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&TT1>=TT2&&LLV(L,TT2)+入场止损*21*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*21*MINPRICE),LLV(L,TT2)+入场止损*21*MINPRICE,'+10.5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*2*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*2*MINPRICE),LLV(L,TT2)+入场止损*2*MINPRICE,'+1%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*4*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*4*MINPRICE),LLV(L,TT2)+入场止损*4*MINPRICE,'+2%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*6*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*6*MINPRICE),LLV(L,TT2)+入场止损*6*MINPRICE,'+3%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*8*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*8*MINPRICE),LLV(L,TT2)+入场止损*8*MINPRICE,'+4%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*10*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*10*MINPRICE),LLV(L,TT2)+入场止损*10*MINPRICE,'+5%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*12*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*12*MINPRICE),LLV(L,TT2)+入场止损*12*MINPRICE,'+6%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*14*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*14*MINPRICE),LLV(L,TT2)+入场止损*14*MINPRICE,'+7%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*16*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*16*MINPRICE),LLV(L,TT2)+入场止损*16*MINPRICE,'+8%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*18*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*18*MINPRICE),LLV(L,TT2)+入场止损*18*MINPRICE,'+9%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*20*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*20*MINPRICE),LLV(L,TT2)+入场止损*20*MINPRICE,'+10%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*22*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*22*MINPRICE),LLV(L,TT2)+入场止损*22*MINPRICE,'+11%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*24*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*24*MINPRICE),LLV(L,TT2)+入场止损*24*MINPRICE,'+12%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*26*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*26*MINPRICE),LLV(L,TT2)+入场止损*26*MINPRICE,'+13%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*28*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*28*MINPRICE),LLV(L,TT2)+入场止损*28*MINPRICE,'+14%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*30*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*30*MINPRICE),LLV(L,TT2)+入场止损*30*MINPRICE,'+15%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*32*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*32*MINPRICE),LLV(L,TT2)+入场止损*32*MINPRICE,'+16%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*34*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*34*MINPRICE),LLV(L,TT2)+入场止损*34*MINPRICE,'+17%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*36*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*36*MINPRICE),LLV(L,TT2)+入场止损*36*MINPRICE,'+18%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*38*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*38*MINPRICE),LLV(L,TT2)+入场止损*38*MINPRICE,'+19%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*40*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*40*MINPRICE),LLV(L,TT2)+入场止损*40*MINPRICE,'+20%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*42*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*42*MINPRICE),LLV(L,TT2)+入场止损*42*MINPRICE,'+21%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*44*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*44*MINPRICE),LLV(L,TT2)+入场止损*44*MINPRICE,'+22%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*46*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*46*MINPRICE),LLV(L,TT2)+入场止损*46*MINPRICE,'+23%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*48*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*48*MINPRICE),LLV(L,TT2)+入场止损*48*MINPRICE,'+24%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*50*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*50*MINPRICE),LLV(L,TT2)+入场止损*50*MINPRICE,'+25%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(TT1>=TT2&&LLV(L,TT2)+入场止损*52*MINPRICE<=HHV(H,TT2)&&CROSSUP(HHV(H,TT2),LLV(L,TT2)+入场止损*52*MINPRICE),LLV(L,TT2)+入场止损*52*MINPRICE,'+26%'),RGB(0,128,255),ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*1*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*1*MINPRICE),HHV(H,S1)-入场止损空黄线*1*MINPRICE,'-0.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*3*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*3*MINPRICE),HHV(H,S1)-入场止损空黄线*3*MINPRICE,'-1.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*5*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*5*MINPRICE),HHV(H,S1)-入场止损空黄线*5*MINPRICE,'-2.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*7*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*7*MINPRICE),HHV(H,S1)-入场止损空黄线*7*MINPRICE,'-3.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*9*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*9*MINPRICE),HHV(H,S1)-入场止损空黄线*9*MINPRICE,'-4.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*11*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*11*MINPRICE),HHV(H,S1)-入场止损空黄线*11*MINPRICE,'-5.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*13*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*13*MINPRICE),HHV(H,S1)-入场止损空黄线*13*MINPRICE,'-6.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*15*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*15*MINPRICE),HHV(H,S1)-入场止损空黄线*15*MINPRICE,'-7.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*17*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*17*MINPRICE),HHV(H,S1)-入场止损空黄线*17*MINPRICE,'-8.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*19*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*19*MINPRICE),HHV(H,S1)-入场止损空黄线*19*MINPRICE,'-9.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*21*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*21*MINPRICE),HHV(H,S1)-入场止损空黄线*21*MINPRICE,'-10.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*2*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*2*MINPRICE),HHV(H,S1)-入场止损空黄线*2*MINPRICE,'-1%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*4*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*4*MINPRICE),HHV(H,S1)-入场止损空黄线*4*MINPRICE,'-2%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*6*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*6*MINPRICE),HHV(H,S1)-入场止损空黄线*6*MINPRICE,'-3%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*8*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*8*MINPRICE),HHV(H,S1)-入场止损空黄线*8*MINPRICE,'-4%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*10*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*10*MINPRICE),HHV(H,S1)-入场止损空黄线*10*MINPRICE,'-5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*12*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*12*MINPRICE),HHV(H,S1)-入场止损空黄线*12*MINPRICE,'-6%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*14*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*14*MINPRICE),HHV(H,S1)-入场止损空黄线*14*MINPRICE,'-7%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*16*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*16*MINPRICE),HHV(H,S1)-入场止损空黄线*16*MINPRICE,'-8%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*18*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*18*MINPRICE),HHV(H,S1)-入场止损空黄线*18*MINPRICE,'-9%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&S1<=S2&&HHV(H,S1)-入场止损空黄线*20*MINPRICE>=LLV(L,S1)&&CROSSDOWN(LLV(L,S1),HHV(H,S1)-入场止损空黄线*20*MINPRICE),HHV(H,S1)-入场止损空黄线*20*MINPRICE,'-10%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*1*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*1*MINPRICE),LLV(L,SS2)+入场止损黄线*1*MINPRICE,'+0.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*3*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*3*MINPRICE),LLV(L,SS2)+入场止损黄线*3*MINPRICE,'+1.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*5*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*5*MINPRICE),LLV(L,SS2)+入场止损黄线*5*MINPRICE,'+2.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*7*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*7*MINPRICE),LLV(L,SS2)+入场止损黄线*7*MINPRICE,'+3.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*9*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*9*MINPRICE),LLV(L,SS2)+入场止损黄线*9*MINPRICE,'+4.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*11*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*11*MINPRICE),LLV(L,SS2)+入场止损黄线*11*MINPRICE,'+5.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*13*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*13*MINPRICE),LLV(L,SS2)+入场止损黄线*13*MINPRICE,'+6.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*15*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*15*MINPRICE),LLV(L,SS2)+入场止损黄线*15*MINPRICE,'+7.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*17*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*17*MINPRICE),LLV(L,SS2)+入场止损黄线*17*MINPRICE,'+8.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*19*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*19*MINPRICE),LLV(L,SS2)+入场止损黄线*19*MINPRICE,'+9.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*21*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*21*MINPRICE),LLV(L,SS2)+入场止损黄线*21*MINPRICE,'+10.5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*2*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*2*MINPRICE),LLV(L,SS2)+入场止损黄线*2*MINPRICE,'+1%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*4*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*4*MINPRICE),LLV(L,SS2)+入场止损黄线*4*MINPRICE,'+2%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*6*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*6*MINPRICE),LLV(L,SS2)+入场止损黄线*6*MINPRICE,'+3%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*8*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*8*MINPRICE),LLV(L,SS2)+入场止损黄线*8*MINPRICE,'+4%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*10*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*10*MINPRICE),LLV(L,SS2)+入场止损黄线*10*MINPRICE,'+5%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*12*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*12*MINPRICE),LLV(L,SS2)+入场止损黄线*12*MINPRICE,'+6%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*14*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*14*MINPRICE),LLV(L,SS2)+入场止损黄线*14*MINPRICE,'+7%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*16*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*16*MINPRICE),LLV(L,SS2)+入场止损黄线*16*MINPRICE,'+8%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*18*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*18*MINPRICE),LLV(L,SS2)+入场止损黄线*18*MINPRICE,'+9%'),COLORYELLOW,ALIGN2,VALIGN1;//
DRAWTEXT(PERIOD<4&&SS1>=SS2&&LLV(L,SS2)+入场止损黄线*20*MINPRICE<=HHV(H,SS2)&&CROSSUP(HHV(H,SS2),LLV(L,SS2)+入场止损黄线*20*MINPRICE),LLV(L,SS2)+入场止损黄线*20*MINPRICE,'+10%'),COLORYELLOW,ALIGN2,VALIGN1;//
|
|