18线开花+波段王
{18线开花}
a1:=ema(c,5)>ema(c,6) and ema(c,6)>ema(c,7) and ema(c,7)>ema(c,8) and ema(c,8)>ema(c,9) and ema(c,9)>ema(c,10) and ema(c,10)>ema(c,11) and ema(c,11)>ema(c,12)
and ema(c,12)>ema(c,13) and ema(c,13)>ema(c,14) and ema(c,14)>ema(c,15) and ema(c,15)>ema(c,20) and ema(c,20)>ema(c,30) and ema(c,30)>ema(c,60) and ema(c,60)>ema(c,90)
and ema(c,90)>ema(c,120) and ema(c,120)>ema(c,250);
a2:=ema(c,5)>ema(c,6) and ema(c,6)>ema(c,7) and ema(c,7)>ema(c,8) and ema(c,8)>ema(c,9) and ema(c,9)>ema(c,10) and ema(c,10)>ema(c,11) and ema(c,11)>ema(c,12)
and ema(c,12)>ema(c,13) and ema(c,13)>ema(c,14);
b1:=if(a1,1,2);
PARTLINE(b1=2,ema(c,5)),COLORBLUE;
PARTLINE(b1=2,ema(c,6)),COLORBLUE;
PARTLINE(b1=2,ema(c,7)),COLORBLUE;
PARTLINE(b1=2,ema(c,8)),COLORBLUE;
PARTLINE(b1=2,ema(c,9)),COLORBLUE;
PARTLINE(b1=2,ema(c,10)),COLORBLUE;
PARTLINE(b1=2,ema(c,11)),COLORBLUE;
PARTLINE(b1=2,ema(c,12)),COLORBLUE;
PARTLINE(b1=2,ema(c,13)),COLORBLUE;
PARTLINE(b1=2,ema(c,14)),COLORBLUE;
PARTLINE(a2,ema(c,5)),COLORYELLOW;
PARTLINE(a2,ema(c,6)),COLORYELLOW;
PARTLINE(a2,ema(c,7)),COLORYELLOW;
PARTLINE(a2,ema(c,8)),COLORYELLOW;
PARTLINE(a2,ema(c,9)),COLORYELLOW;
PARTLINE(a2,ema(c,10)),COLORYELLOW;
PARTLINE(a2,ema(c,11)),COLORYELLOW;
PARTLINE(a2,ema(c,12)),COLORYELLOW;
PARTLINE(a2,ema(c,13)),COLORYELLOW;
PARTLINE(a2,ema(c,14)),COLORYELLOW;
PARTLINE(a1,ema(c,5)),COLORMAGENTA;
PARTLINE(a1,ema(c,6)),COLORMAGENTA;
PARTLINE(a1,ema(c,7)),COLORMAGENTA;
PARTLINE(a1,ema(c,8)),COLORMAGENTA;
PARTLINE(a1,ema(c,9)),COLORMAGENTA;
PARTLINE(a1,ema(c,10)),COLORMAGENTA;
PARTLINE(a1,ema(c,11)),COLORMAGENTA;
PARTLINE(a1,ema(c,12)),COLORMAGENTA;
PARTLINE(a1,ema(c,13)),COLORMAGENTA;
PARTLINE(a1,ema(c,14)),COLORMAGENTA;
ma30:ma(c,30),POINTDOT;
ma60:ma(c,60)POINTDOT;
ma120:ma(c,120)POINTDOT;
ma250:ma(c,250)POINTDOT;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,9,0),colorFF5B00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8,0),colorFF6C00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,7,0),colorFF7B00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),colorFF9C00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),colorFFBE00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3.5,0),colorFFCC00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1.5,0),colorFFFF00;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,9,0),color70084;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),colorA3;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,7,0),colorB7;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),colorCD;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),colorE9;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),color754E9;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1.5,0),color76EF3;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),color77BF3;
STICKLINE((CLOSE > OPEN),OPEN,LOW,1,0),color726CA;
STICKLINE((CLOSE > OPEN),CLOSE,HIGH,1,0),color726CA;
STICKLINE((OPEN > CLOSE),CLOSE,LOW,1,0),colorDE9100;
STICKLINE((OPEN > CLOSE),OPEN,HIGH,1,0),colorDE9100;
{波段王}
Var1:=(CLOSE+HIGH+LOW+OPEN)/4;
Var2:=SUMBARS(VOL,CAPITAL);
Var3:=HHV(Var1,Var2);
Var4:=LLV(Var1,Var2);
Var5:=(2*Var1-Var4-REF(Var4,1))/(Var3-Var4);
Var6:=(Var1-Var4)/(Var3-Var4);
Var7:=IF(Var1<=Var4,Var5*60,Var6*60);
Var8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
Var9:=EMA(Var8,7);
VarA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;
VarB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;
买进: IF(VarA+VarB<7 AND CROSS(Var8,Var9) AND Var9<-18 AND Var9<VARB,60,50),COLORYELLOW , ;
DRAWICON(买进=60,70,3),colorred;
VarC:=HHV(HIGH,9)-LLV(LOW,9);
VarD:=HHV(HIGH,9)-CLOSE;
VarE:=CLOSE-LLV(LOW,9);
VarF:=VarD/VarC*100-70;
Var10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
Var11:=(2*CLOSE+HIGH+LOW)/4;
Var12:=SMA(VarE/VarC*100,3,1);
Var13:=LLV(LOW,34);
Var14:=SMA(Var12,3,1)-SMA(VarF,9,1);
Var15:=IF(Var14>100,Var14-100,0);
Var16:=HHV(HIGH,34);
Var17:EMA((Var11-Var13)/(Var16-Var13)*100,8);
哈利波特: Var17, ,coloryellow ;
Var18:=EMA(Var17,5);
STICKLINE(Var17>0 AND Var17-Var18>=0,79,80,6,0), ,colorred ;
STICKLINE(Var17>0 AND Var17-Var18<0,79,80,6,1), ,colorgreen ;
STICKLINE(Var17>0 AND Var17-Var18>=0,19,20,6,0),colorred, ;
STICKLINE(Var17>0 AND Var17-Var18<0,19,20,6,1), ,colorgreen ;
STICKLINE(Var17-Var18>0,Var17,Var18,8,1), ,colorred ;
STICKLINE(Var17-Var18<0,Var17,Var18,8,1), ,colorgreen ;
Var22:=REF(LOW,1);
Var23:=SMA(ABS(LOW-Var22),3,1)/SMA(MAX(LOW-Var22,0),3,1)*100;
Var24:=EMA(IF(CLOSE*1.3,Var23*10,Var23/10),3);
Var25:=LLV(LOW,30);
Var26:=HHV(Var24,30);
Var27:=IF(MA(CLOSE,58),1,0);
下载后,解压公式文件 ****.ALG.htm
改成:****.ALG,就可以引入安装 |