编写要求:
Var1:=MA(LOW,1); Var2:=MA(HIGH,2); Var3:=MA(CLOSE,2); Var4:=(Var3-LLV(Var1,8))/(HHV(Var2,8)-LLV(Var1,8))*100; Var5:=SMA(Var4,3,1); 多空分水:SMA(Var5,1,1),colorred,linethick2; Var6:=(HHV(Var1,10)-Var1)/(HHV(Var1,10)-LLV(Var1,10))*100; 加速拉升:SMA(Var6,5,5),colorff8888,linethick1; 波动:=100*(LLV(LOW,6)-CLOSE)/(LLV(LOW,6)-HHV(HIGH,6)); 短期波动:波动,COLOR0099FF,LINETHICK2; PARTLINE(多空分水,多空分水>REF(多空分水,1),RGB(255,0,0),多空分水多空分水 AND 短期波动-多空分水>=0,0,8,6,1),colorred ; ★乌云翻滚:STICKLINE(短期波动<多空分水 AND 短期波动-多空分水<0,0,8,6,1),colorffff00 ; Var7:=CROSS(短期波动,多空分水); ★开仓进宝: STICKLINE(Var7,0,10,8,0),COLORffffff; Var8:=CROSS(多空分水,短期波动); ★丰收在望: STICKLINE(Var8,0,8,6,0),COLORff00ff; Var9:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0); Var10:=IF(TROUGHBARS(3,21,1)=0 AND HIGH>LOW+0.04,4,0); STICKLINE(Var9>0,0,100,4,0),coloryellow; STICKLINE(Var10>0,0,100,4,0),COLORRED; DRAWTEXT(Var9>0,100,' 探底1'),coloryellow; DRAWTEXT(Var10>0,100,' 探底2'),COLORRED; LC:=REF(CLOSE,1); RSI1:=ema("RSI.RSI1#WEEK",1); RSI2:=ema("RSI.RSI2#WEEK",1); RSI3:=ema("RSI.RSI3#WEEK",1); 周金买:IF(CROSS(RSI1,RSI2),50,0),COLORRED,linethick1; DRAWTEXT(周金买,50,'转强'),COLORRED,linethick1;
公式在线网解答:
VAR1:=MA(LOW,1);
移动端首页 | PC端
© by Gszb.com Mobile Web
编写要求:
Var1:=MA(LOW,1); Var2:=MA(HIGH,2); Var3:=MA(CLOSE,2); Var4:=(Var3-LLV(Var1,8))/(HHV(Var2,8)-LLV(Var1,8))*100; Var5:=SMA(Var4,3,1); 多空分水:SMA(Var5,1,1),colorred,linethick2; Var6:=(HHV(Var1,10)-Var1)/(HHV(Var1,10)-LLV(Var1,10))*100; 加速拉升:SMA(Var6,5,5),colorff8888,linethick1; 波动:=100*(LLV(LOW,6)-CLOSE)/(LLV(LOW,6)-HHV(HIGH,6)); 短期波动:波动,COLOR0099FF,LINETHICK2; PARTLINE(多空分水,多空分水>REF(多空分水,1),RGB(255,0,0),多空分水多空分水 AND 短期波动-多空分水>=0,0,8,6,1),colorred ; ★乌云翻滚:STICKLINE(短期波动<多空分水 AND 短期波动-多空分水<0,0,8,6,1),colorffff00 ; Var7:=CROSS(短期波动,多空分水); ★开仓进宝: STICKLINE(Var7,0,10,8,0),COLORffffff; Var8:=CROSS(多空分水,短期波动); ★丰收在望: STICKLINE(Var8,0,8,6,0),COLORff00ff; Var9:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0); Var10:=IF(TROUGHBARS(3,21,1)=0 AND HIGH>LOW+0.04,4,0); STICKLINE(Var9>0,0,100,4,0),coloryellow; STICKLINE(Var10>0,0,100,4,0),COLORRED; DRAWTEXT(Var9>0,100,' 探底1'),coloryellow; DRAWTEXT(Var10>0,100,' 探底2'),COLORRED; LC:=REF(CLOSE,1); RSI1:=ema("RSI.RSI1#WEEK",1); RSI2:=ema("RSI.RSI2#WEEK",1); RSI3:=ema("RSI.RSI3#WEEK",1); 周金买:IF(CROSS(RSI1,RSI2),50,0),COLORRED,linethick1; DRAWTEXT(周金买,50,'转强'),COLORRED,linethick1;
公式在线网解答:
VAR1:=MA(LOW,1);