请老师改为10日内进场资金都大于安全线的选股公式? Var1:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1) -2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1),15,1); Var2:=3*SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1) -2*SMA(SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1),15,1); Var3:=100-Var2; Var4:=100-Var1; var6:=100*vol/CAPITAL*10; 进场资金:IF(Var4=REF(Var3,1),var6,0),LINETHICK0, COLORff7700; STICKLINE(进场资金>0,0,进场资金,7,0), COLORRED; STICKLINE(进场资金>0,0,进场资金,6,0), COLOR4949FF; STICKLINE(进场资金>0,0,进场资金,5,0), COLOR5959FF; STICKLINE(进场资金>0,0,进场资金,4,0), COLOR6969FF; STICKLINE(进场资金>0,0,进场资金,3,0), COLOR7979FF; STICKLINE(进场资金>0,0,进场资金,2,0), COLOR8989FF; STICKLINE(进场资金>0,0,进场资金,1,0), COLOR9999FF; STICKLINE(退场资金>0,0,退场资金,7,0),COLORff7700; STICKLINE(退场资金>0,0,退场资金,6,0), COLORff7700; STICKLINE(退场资金>0,0,退场资金,5,0), COLORff9900; STICKLINE(退场资金>0,0,退场资金,4,0), COLORffbb00; STICKLINE(退场资金>0,0,退场资金,3,0), COLORffcc00; STICKLINE(退场资金>0,0,退场资金,2,0), COLORffdd00; STICKLINE(退场资金>0,0,退场资金,1,0), COLORffee00; 安全线:(MA((OPEN+CLOSE)/2,30)+MA(CLOSE,30))/2*1.25,coloryellow;
爱约股解答:
VAR1:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1)
-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1),15,1);
VAR2:=3*SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1)
-2*SMA(SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1),15,1);
VAR3:=100-VAR2;
VAR4:=100-VAR1;
VAR6:=100*VOL/CAPITAL*10;
进场资金:=IF(VAR4<REF(VAR3,1),VAR6,0),LINETHICK0,COLORRED;
安全线:=(MA((OPEN+CLOSE)/2,30)+MA(CLOSE,30))/2*1.25;
COUNT(进场资金>安全线,10)=10;