通达信成功率70%的胜率公式
AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
趋势:=CEILING(SMA(AA5,13,8));
TYP := AMOUNT/VOL/100;
GJW1:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),21)/SUM(IF(TYP<REF
(TYP,1),TYP*VOL,0),21);
GJW2:=100-(100/(1+GJW1));
主力踪迹:=EMA(GJW2,5);
N1:=1;
M1:=13;
M2:=9;
R:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
T1:=REF(J,1)-REF(J,2)<0 AND J>REF(J,1)-0.7 AND J-REF(J,1)>REF(J,1)-REF(J,2);
T2:=REF(J,1)-REF(J,2)>0 AND J>REF(J,1);
T:=T1 OR T2;
流入:=IF(T=1,J,0),STICK,LINETHICK4,COLORRED;
流出:=IF(T=0,J,0),STICK,LINETHICK4,COLORGREEN;
黄金坑:=IF(J<0,J,0),STICK,LINETHICK4,COLORYELLOW;
二十日支撑:=REF(LLV(C,20),1) ,COLORGREEN;
MA55:=MA(C,55), LINETHICK2;
MA1:=MA(CLOSE,10),COLORWHITE;
MA2:=MA(CLOSE,20);
MA3:=MA(CLOSE,36),COLORRED;
KK:=二十日支撑=REF(二十日支撑,1) AND REF(二十日支撑,1)=REF(二十日支撑,2) AND NOT(REF(二十日支撑,2)=REF(二十日支撑,3));
W5:="笑君主图.MA55#WEEK";
WW5:=(H-W5)/W5<-0.03 OR (H-W5)/W5>0.01;
W3:="笑君主图.MA3#WEEK";
WW3:=(H-W3)/W3<-0.01 OR (H-W3)/W3>0.01 ;
KKK:趋势>REF(趋势,1) AND REF(趋势,1)>REF(趋势,2) AND 趋势<50 AND KK
AND 主力踪迹>REF(主力踪迹,1) AND REF(主力踪迹,1)>REF(主力踪迹,2)
AND ((C-MA(C,55))/C>0.01 OR (C-MA(C,55))/C<-0.04)
AND ((C-MA(C,30))/C>0.01 OR (C-MA(C,30))/C<-0.04)
AND 流入>REF(流入,1);
928299445.png
|