以下是通达信买在底部成功率高的公式源码副图(无源码的请下载附件导入)
底部动态:EMA(IF(L<= LLV(L,40),SMA(ABS(L-REF(L,1)),40,1)/SMA(MAX(L-REF(L,1),0),40,1),0),3)*10,STICK,COLORRED,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K:SMA(RSV,3,1),COLORWHITE;
D:SMA(K,3,1),COLORYELLOW;
J:3*K-2*D,COLORFF00FF;
DRAWLINE(D>=HHV(D,21),D,D<=LLV(D,21),D,1),COLOR00FF00;
A1:=REF(C,1)/REF(C,2)>1.095;
A2:=C>O AND L/REF(C,1)>1.03;
A3:=A1 AND A2;
A4:=BARSSINCEN(A3,40);
A5:=A4=1 AND H>REF(HHV(H,40),38);
XG:IF(BARSSINCEN(A5,40)>30 AND CROSS(C,REF(HHV(H,40),5)),50,0);
100;
C1:=MA(LOW,19)*1.18;
C2:=MA(LOW,19)*1.08;
C3:=MA(HIGH,19)*0.9;
C4:=MA(HIGH,19)*0.8;
C11:=REF(C1,1);
C12:=REF(C2,1);
C13:=REF(C3,1);
C14:=REF(C4,1);
C21:=REF(C1,2);
C22:=REF(C2,2);
C23:=REF(C3,2);
C24:=REF(C4,2);
CP:= IF(C>C2,IF(C>C1,4,3),IF(C>C3 AND C<C2,2,IF(C<C4,0,1)));
CP1:=IF(REF(C,1)>C12,IF(REF(C,1)>C11,4,3),IF(REF(C,1)>C13 AND REF(C,1)<C12,2,IF(REF(C,1)<C14,0,1)));
CP2:=IF(REF(C,2)>C22,IF(REF(C,2)>C21,4,3),IF(REF(C,2)>C23 AND REF(C,2)<C22,2,IF(REF(C,2)<C24,0,1)));
趋势强度: IF(CP<=1 AND CP1<=1,0,25);
75411985.jpg
|