公式解读:
Var1:=REF(OPEN,1);
Var2:=SMA(MAX(OPEN-Var1,0),6,1)/SMA(ABS(OPEN-Var1),6,1)*100;
Var3:=REF(CLOSE,1);
Var4:=SMA(MAX(CLOSE-Var3,0),6,1)/SMA(ABS(CLOSE-Var3),6,1)*100;
Var5:=REF(HIGH,1);
Var6:=SMA(MAX(HIGH-Var5,0),6,1)/SMA(ABS(HIGH-Var5),6,1)*100;
Var7:=REF(LOW,1);
Var8:=SMA(MAX(LOW-Var7,0),6,1)/SMA(ABS(LOW-Var7),6,1)*100;
STICKLINE(Var4 STICKLINE(Var4Var2,Var2,Var4,5,0),colorred , ;
STICKLINE(Var4Var2 AND Var6Var8 AND Var8Var4,Var4,Var6,0.5,1),colorred , ;
V1:=STICKLINE(Var4Var2 AND Var6Var8 AND Var8 V2:=STICKLINE(Var4Var2 AND Var6Var4,Var4,Var8,0.5,1),colorred , ;
V3:=STICKLINE(Var4Var2 AND Var6Var8 AND Var6 V4:=STICKLINE(Var4Var2 AND Var6Var8 AND Var6Var2,Var2,Var8,0.5,1),colorred , ;
v5:=STICKLINE(Var4Var2 AND Var6 STICKLINE(Var4Var2 AND Var6Var2,Var2,Var6,0.5,1),colorred , ;
STICKLINE(Var4Var8 AND Var6 v6:=STICKLINE(Var4 V7:=STICKLINE(Var4Var4,Var4,Var8,0.5,1),colorgreen , ;
V8:=STICKLINE(Var4Var8 AND Var6 V9:=STICKLINE(Var4Var8 AND Var6Var4,Var2,Var8,0.5,1),colorgreen , ;
V10:=STICKLINE(Var4 STICKLINE(Var4Var2,Var2,Var6,0.5,1),colorgreen , ;
RSI1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
RSI2:=SMA(MAX(CLOSE-REF(C,1),0),12,1)/SMA(ABS(CLOSE-REF(C,1)),12,1)*100;
顶部线:80,colorwhite;
底部线:20,colorblue;
持仓:STICKLINE( RSI1RSI2,0 ,10 , 1, 0),linethick2,colorred;
空仓:STICKLINE( RSI1
Var1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
Var2:=SMA(Var1,3,1);
Var3:=SMA(Var2,3,1);
Var4:=SMA(Var3,3,1);
波: Var3;
段: Var4;
Var5:=CROSS(Var3,Var4) AND Var320;
DRAWTEXT(FILTER(var5,10)=1,40, #39;抄底 #39;),colorred;
STICKLINE(FILTER(var5,10)=1,0,30,10,0),colorred;
Var9:=CROSS(Var4,Var3) AND Var380;
STICKLINE(FILTER(var9,5)=1,80,100,10,0),colorgreen;
DRAWTEXT(FILTER(var9,5)=1,70, #39;逃顶 #39;),colorgreen;
Var8:=CROSS(Var2,Var3) AND Var380 AND Var3Var4;
STICKLINE(var8,85,100,10,0),color0099ff;
100,colorbbbbbb,linethick3;
0,colorcyan,linethick3;
趋势: 5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),LINETHICK0,COLOR7F52AF;
趋势1: EMA(MA(趋势,5),3),LINETHICK0,COLORA6B8C1;
STICKLINE(趋势=趋势1,趋势,趋势1,5,0),COLOR7F52AF;
STICKLINE(趋势趋势1,趋势,趋势1,5,0),COLORA6B8C1;
STICKLINE(趋势108 AND 趋势=趋势1,趋势,108,5,0),COLORFF0000;
STICKLINE(趋势1108 AND 趋势趋势1,趋势1,108,5,0),COLORFFFFFF;
STICKLINE(趋势0 AND 趋势趋势1,趋势,0,5,0),COLORF00FF0;
STICKLINE(趋势10 AND 趋势趋势1,趋势1,0,5,0),COLORF0F000;
V1:= MA(CLOSE,5)=HHV(MA(CLOSE,5),20);
V2:= MA(CLOSE,5)MA(CLOSE,20);
V3:= COUNT(MA(CLOSE,1)REF(CLOSE,1),3)=3;
风险: IF(V1 AND V2 AND V3,30,0),LINETHICK0,STICK,COLOR00FF00;
V11:= MA(CLOSE,5)=HHV(MA(CLOSE,5),120);
V21:= MA(CLOSE,5)MA(CLOSE,120);
V31:= COUNT(MA(CLOSE,1)REF(CLOSE,1),3)=3;
风险1: IF(V11 AND V21 AND V31,60,0),LINETHICK0,STICK,COLORF0F000;
底部: 5,LINETHICK0,COLOR00FFFF;
抄底: IF(CROSS(趋势,底部),60,0),LINETHICK2,STICK,COLOR00FFFF;
DRAWTEXT(抄底,50, #39;抄底 #39;),COLOR0000FF;
天线: 108,LINETHICK0,COLORFF9D00;
逃顶: IF(CROSS(天线,趋势),1,0),LINETHICK0,STICK,COLORFF9D00;
STICKLINE(CROSS(天线,趋势),90,108,3,0),COLORFF9D00;
DRAWTEXT(CROSS(天线,趋势),85, #39;逃顶 #39;),COLORFF9D00;