心血奉献-我的短线强打指标,给有缘人
N:=36;
M1:=20;
M2:=40;
RSV:= (HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))*100;
LWR1:=SMA(RSV,M1,1);
LC:=REF(CLOSE,1);
AA:=ABS(HIGH-LC);
BB:=ABS(LOW-LC);
CC:=ABS(HIGH-REF(LOW,1));
DD:=ABS(LC-REF(OPEN,1));
R:=IF(AA>BB AND AA>CC,AA+BB/2+DD/4,IF(BB>CC AND BB>AA,BB+AA/2+DD/4,CC+DD/4));
X:=(CLOSE-LC+(CLOSE-OPEN)/2+LC-REF(OPEN,1));
SI:=8*X/R*MAX(AA,BB);
ASI:=SUM(SI,0);
MASI:=MA(ASI,6);
XG1:=EVERY(MASI>REF(MASI,1)*1.3,2) AND MASI>REF(MASI,1) AND CROSS(C,MA(C,20)) AND LWR1>45;
MA5:=MA(C,5);
二日内有板:=EXIST((C/REF(C,1)>1.09 AND C=H),2)=1;
角度MA5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
XG2:=IF(角度MA5>60,1,0) ;{大于60度};
M5:=MA(CLOSE,5);
M10:=MA(CLOSE,10);
M20:=MA(CLOSE,20);
M30:=MA(CLOSE,30);
K1:=MAX(MAX(M5,M10),MAX(M20,M30));
K2:=MIN(MIN(M5,M10),MIN(M20,M30));
均线缠绕5:=(K1/K2-1)<0.035;{5,10,20,30日均线在0.015%以内}
均线缠绕1:=(K1/K2-1)<0.03;{5,10,20,30日均线在0.01%以内}
XG3:=均线缠绕5 AND 均线缠绕1;
{5,10,20,30日均线缠绕在2%--1%以内};
XG:XG1 AND XG2 AND XG3;
- 上一篇公式:通达信兄弟操盘主图源码
- 下一篇公式:通达信 主图macd,比副图清晰很多