写个今天量小于等于前面N天内最小量的选股公式
写个今天量小于等于前面N天内最小量的选股公式
【股票资源馆】大智慧专业版破解版,大智慧机构破解版,大智慧ACE破解版,ACE策略,AI活跃度。
编写条件:
编写方法:
网友求助:
Var1:=BARSCOUNT(CLOSE);
Var2:=(HHV(HIGH,200)-LLV(LOW,200))/40;
STICKLINE(Var1/30=FLOOR(Var1/30),HIGH+Var2,HIGH+Var2*4,8,0), ,COLORYELLOW;
STICKLINE(Var1/30=FLOOR(Var1/30),HIGH+Var2,HIGH+Var2*3,8,0), , COLORRED;
Var3:=REF(CLOSE,1);
Var4:=REF(CLOSE,2);
Var5:=REF(CLOSE,3);
Var6:=REF(CLOSE,4);
Var7:=HHV(CLOSE,4);
Var8:=LLV(CLOSE,4);
Var9:=CLOSE=Var7 AND (Var3>=Var4 OR Var3>=Var5) OR Var3=Var7 AND CLOSE>=Var4 OR Var4=Var7 AND Var5=Var8 AND CLOSE>=Var3 OR Var5=Var7 AND CLOSE>=Var3 AND CLOSE>=Var4;
红色持股: STICKLINE(Var9,Var3,CLOSE,5,1), ,COLORRED;
VarA:=CLOSE=Var7 AND Var3=Var8;
品红变盘: STICKLINE(VarA,Var4,CLOSE,5,1), , COLORMAGENTA;
VarB:=CLOSE=Var8 AND (Var3<Var4 OR Var3<Var5) OR Var3=Var8 AND CLOSE<Var4 OR Var4=Var8 AND Var3<>Var7 AND CLOSE<Var3 OR Var5=Var8 AND CLOSE<Var3 AND CLOSE<Var4;
黄色下跌: STICKLINE(VarB,Var3,CLOSE,5,0), , COLORYELLOW;
VarC:=Var3=Var8 AND CLOSE>=Var4 OR Var4=Var8 AND Var3<=Var5 AND Var4<Var6 AND CLOSE>=Var3;
绿色买: STICKLINE(VarC,Var3,Var4,5,0), , COLORGREEN;
VarD:=Var3=Var7 AND CLOSE<Var4 OR (Var4=Var7 AND Var3>Var5 OR Var5=Var7 AND Var3>Var4) AND Var4>=Var6 AND CLOSE<Var3;
兰色抛售: STICKLINE(VarD,Var3,Var4,5,1), , COLORBLUE;
生命线: FORCAST(CLOSE,30), ,COLORWHITE;
支撑: MA(CLOSE,13)*0.955, , COLORCYAN;
Var2:=(HHV(HIGH,200)-LLV(LOW,200))/40;
STICKLINE(Var1/30=FLOOR(Var1/30),HIGH+Var2,HIGH+Var2*4,8,0), ,COLORYELLOW;
STICKLINE(Var1/30=FLOOR(Var1/30),HIGH+Var2,HIGH+Var2*3,8,0), , COLORRED;
Var3:=REF(CLOSE,1);
Var4:=REF(CLOSE,2);
Var5:=REF(CLOSE,3);
Var6:=REF(CLOSE,4);
Var7:=HHV(CLOSE,4);
Var8:=LLV(CLOSE,4);
Var9:=CLOSE=Var7 AND (Var3>=Var4 OR Var3>=Var5) OR Var3=Var7 AND CLOSE>=Var4 OR Var4=Var7 AND Var5=Var8 AND CLOSE>=Var3 OR Var5=Var7 AND CLOSE>=Var3 AND CLOSE>=Var4;
红色持股: STICKLINE(Var9,Var3,CLOSE,5,1), ,COLORRED;
VarA:=CLOSE=Var7 AND Var3=Var8;
品红变盘: STICKLINE(VarA,Var4,CLOSE,5,1), , COLORMAGENTA;
VarB:=CLOSE=Var8 AND (Var3<Var4 OR Var3<Var5) OR Var3=Var8 AND CLOSE<Var4 OR Var4=Var8 AND Var3<>Var7 AND CLOSE<Var3 OR Var5=Var8 AND CLOSE<Var3 AND CLOSE<Var4;
黄色下跌: STICKLINE(VarB,Var3,CLOSE,5,0), , COLORYELLOW;
VarC:=Var3=Var8 AND CLOSE>=Var4 OR Var4=Var8 AND Var3<=Var5 AND Var4<Var6 AND CLOSE>=Var3;
绿色买: STICKLINE(VarC,Var3,Var4,5,0), , COLORGREEN;
VarD:=Var3=Var7 AND CLOSE<Var4 OR (Var4=Var7 AND Var3>Var5 OR Var5=Var7 AND Var3>Var4) AND Var4>=Var6 AND CLOSE<Var3;
兰色抛售: STICKLINE(VarD,Var3,Var4,5,1), , COLORBLUE;
生命线: FORCAST(CLOSE,30), ,COLORWHITE;
支撑: MA(CLOSE,13)*0.955, , COLORCYAN;
解答如下:
Var3:=REF(CLOSE,1);
Var4:=REF(CLOSE,2);
Var5:=REF(CLOSE,3);
Var6:=REF(CLOSE,4);
Var7:=HHV(CLOSE,4);
Var8:=LLV(CLOSE,4);
xg:Var3=Var8 AND CLOSE>=Var4 OR Var4=Var8 AND Var3<=Var5 AND Var4<Var6 AND CLOSE>=Var3;
Var4:=REF(CLOSE,2);
Var5:=REF(CLOSE,3);
Var6:=REF(CLOSE,4);
Var7:=HHV(CLOSE,4);
Var8:=LLV(CLOSE,4);
xg:Var3=Var8 AND CLOSE>=Var4 OR Var4=Var8 AND Var3<=Var5 AND Var4<Var6 AND CLOSE>=Var3;
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}炒股软件
把春华秋实指标改为飞狐分时指标
把春华秋实指标改为飞狐分时指标