超级逃顶(飞狐)

[复制链接]
查看193 | 回复0 | 2021-8-21 12:51:35 | 显示全部楼层 |阅读模式

Var1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
趋势线: EMA(Var1,8);
趋势均线:MA(趋势线,7);
Var3:=(c+h+l+o)/4;
Var4:=llv(l,34);
Var5:=hhv(h,34);
Var6:=ema((Var3-Var4)/(Var5-Var4)*100,8);
Var7:=ema(Var6,5);
stickline((Var6-Var7)>0,Var6,Var7,8,1),colorBB11AA;
stickline((Var6-Var7)<0,Var6,Var7,8,1),colorgreen;
卖:if(cross(趋势均线,趋势线) and 趋势线>80,50,100),colorgreen;
顶部区域:stickline(Var7>80,100,105,10,1),colorFFFFDD;
底部区域:stickline(Var7<20,-5,0,8,1),coloryellow;
趋势线:=SMA(EMA(((C+L)/2-LLV(L,21))/(HHV((H+C) /2,21)-LLV(L,21))*100,3),7,1)-(13);
判断:=(SMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,2,1)-8);
买参考:IF(FILTER(CROSS(判断,趋势线)=1 OR 判断>REF(判断,1),10) AND 判断
<25 ,35,1),COLORWHITE,POINTDOT;
STICKLINE(FILTER(CROSS(判断,趋势线)=1 OR 判断>REF(判断,1),10) AND 判断
<25 ,35,0,2,1),COLORWHITE;
卖参考:IF(FILTER(判断<REF(判断,1)AND 判断
>65,5),80,70),COLORred;
STICKLINE(FILTER(判断<REF(判断,1)AND 判断
>65,5),80,70,4,0),COLOR00FF00;
DVAR4:=LLV(LOW,10);
DVAR3:=HHV(HIGH,25);
阶段卖出: 3.2*30,COLORC6C600;
3.5*30,COLOR0088FF;
清仓卖出: 3.5*30,COLORFF75FF;
动力线:= EMA((CLOSE-DVAR4)/(DVAR3-DVAR4)*4,4)*30;
STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLORRED;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLORFF7700;
底部:0.2*30,COLOR70DB93;
关注:0.5*30,COLORYELLOW;
DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,4);
DRAWICON( FILTER(CROSS(清仓卖出,动力线),20),动力线+0.02,5);
DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,4);
DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,5);
强弱分界线:1.75*30,POINTDOT,LINETHICK2,COLOR70DB93;
数值:动力线,COLORA8A8A8;

202108211232.png

202108211232.png

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则