STICKLINE(X2 X3 AND C EMA13,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(X2 X3 AND C EMA13,LOW,HIGH,0.1,1),COLORFFFF52;
STICKLINE(X2 X3 AND C EMA13,CLOSE,OPEN,3,0),COLORFFFF52;
GR1:=BARSLAST(BETWEEN( BIAS.BIAS2 (6,13,24),0,5));
GR2:=EMA13 EMA21 AND EMA21 EMA34 AND EMA13 REF(EMA13,1);
GR3:=COUNT( BIAS.BIAS2 (6,13,24) 10 AND H=HHV(H,GR1),GR1);
GR4:=H=HHV(H,GR1);
GR5:= MACD.MACD (9,17,8) REF( MACD.MACD (9,17,8),1);
{GR6:=GR2 AND GR3 AND GR4;
GR7:=GR2 AND GR3 AND GR4 AND GR5;
GR8:=GR6 AND GR7;}
LC := REF(CLOSE,1);
RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
BIAS5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
换手:=100*V/CAPITAL;
BB13:=ATAN(EMA13-REF(EMA13,1))*3.1416*10;
EMA8:=EMA(C,8);
AA1:=AMOUNT/VOL;
BB1:=L AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100
DD1:=L MA(C,6)*0.921;
EE1:=VOL MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;
DRAWTEXT(FF1,L*0.99,'买点'),COLOR00FF00;
{STICKLINE(FF1,H,L,0.3,0),COLOR00FF00;
STICKLINE(FF1,O,C,3,1),LINETHICK2,COLOR00FF00;}
A2:=(C-REF(C,1))/REF(C,1)*100 1.02;
A3:=H MA(C,5)*1.12;
AA:= A2 AND A3;
DRAWTEXT(AA,H*1.02,'卖点'),COLORFF0000;
{STICKLINE(AA,H,L,3,0),COLORFF0000;}
出货:1.36*MA(FORCAST(CLOSE,2),40),COLORGREEN,LINETHICK2;
高抛:1.175*MA(FORCAST(CLOSE,2),40),COLORRED,LINETHICK2;
低吸:0.812*MA(FORCAST(CLOSE,2),40),COLORF7E300,LINETHICK2;
A:=MA(CLOSE,32);
B:=MA(CLOSE,12);
DRAWTEXT(CROSS(B,A),B,'进场'),COLORGREEN,LINETHICK2;
DRAWTEXT(CROSS(A,B),A,'走人');
持钱:MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),COLORFF9900,LINETHICK2;
持币:MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORFF9900,LINETHICK2;
搏杀持股线:IF(MA(CLOSE,17) 持币,持币,MA(CLOSE,17)),COLORYELLOW,LINETHICK2;
N:=MA(CLOSE,89);
VAR11:=LLV(LOW,64)*1.15;
VAR12:=LLV(LOW,64)*1.29;
VAR13:=LLV(LOW,64)*1.49;
VAR14:=LLV(LOW,64)*1.61;
VAR15:=LLV(LOW,64)*1.8;
VAR16:=HHV(HIGH,64)*0.85;
VAR17:=HHV(HIGH,64)*0.71;
VAR18:=HHV(HIGH,64)*0.51;
VAR19:=HHV(HIGH,64)*0.39;
VAR20:=HHV(HIGH,64)*0.2;
目标①:=IF(CLOSE N,VAR11,VAR16);
目标⑤:=IF(CLOSE N,VAR15,VAR20);
VAR0:=(CLOSE*2+HIGH+LOW)/4*VOL;
VAR1:=SUM(VAR0,89)/SUM(VOL,89);
VAR2:=IF(COUNT(VAR0 0,2) =2,MA(CLOSE,89)*(1+(MA(VAR0,89)/REF(MA(VAR0,89),1)-1)/21),MA(CLOSE,89));
VAR3:=IF(COUNT(ABS(CLOSE-VAR1) 21,8) =1 AND COUNT(CLOSE/REF(CLOSE,1) 0.8,8) 1 AND COUNT(VAR0 0,2) =2,10,0);
VAR4:=IF(CLOSE =VAR1 AND COUNT(VAR0 0,2) =2,VAR1*1.001,IF(VAR0 0.1 AND COUNT(VAR0 0,2) 1.5,MA(CLOSE,89),VAR1*0.999));
VAR5:=IF(VAR3 0,VAR2,VAR4);
VAR6:=MA(CLOSE,89);
搏杀生命线:IF(VAR5/REF(VAR5,1) 1.1 OR VAR5/REF(VAR5,1) 0.9,VAR6,VAR5),COLORF00FF0,LINETHICK2;
varl13:=( macd.diff#WEEK (26,12,9));
varl14:=( macd.dea#WEEK (26,12,9));
VL:=REF(LOW,1); VH:=REF(H,1);
Var1:=SMA(ABS(H-Vh),13,1)/SMA(MAX(H-Vh,0),13,1)*100;
Var2:=SMA(ABS(L-VL),13,1)/SMA(MAX(L-VL,0),13,1)*100;
Var3:=MA(Var1,13);
Var4:=MA(Var2,13);
Var5:=LLV(L,34);
Var6:=HHV(H,34);
Var7:=EMA(IF(H =Var6,Var3,0),3);
Var8:=EMA(IF(L =Var5,Var4,0),3);
var9:=(SMA(SMA((((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54))) * 100),7,1),5,1));
var10:=((SMA(((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54)) * 100),7,1)) * 16.18) - (var9* 10.9);
Var11:=FILTER(IF(var10 =var9 AND Var8 REF(Var8,1),Var8*8,0),55);
Var21:=LLV(LOW,60);
Var31:=HHV(HIGH,60);
Var41:=EMA((CLOSE-Var21)/(Var31-Var21)*100,13);
Var51:=EMA(0.667*REF(Var41,1)+0.333*Var41,21);
varl2:=FILTER(CROSS(Var51,Var41) AND Var41 84,13);
{K线
STICKLINE(CLOSE OPEN or CLOSE=OPEN and CLOSE REF(CLOSE,1),LOW,HIGH,0.1,0),colorred;
STICKLINE(CLOSE OPEN or CLOSE=OPEN and CLOSE REF(CLOSE,1),OPEN,CLOSE,7,0),colorred;
STICKLINE(CLOSE OPEN or CLOSE=OPEN and CLOSE =REF(CLOSE,1),LOW,HIGH,0.1,0),colorcyan;
STICKLINE(CLOSE OPEN or CLOSE=OPEN and CLOSE =REF(CLOSE,1),OPEN,CLOSE,7,0),colorcyan;
STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00;
STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,8,0 ),COLOR008800;
STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,7,0 ),COLOR009900;
STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,6,0 ),COLOR00AA00;
STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,5,0 ),COLOR00BB00;
STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,4,0 ),COLOR00CC00;
STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00DD00;
STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00EE00;
STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00FF00;
STICKLINE(CLOSE OPEN,CLOSE,OPEN,0,0) ,COLORFFBBFF;
[1]