同花顺超强背离王指标公式
源码:
A1:=FORCAST(EMA(CLOSE,5),5);
A2:=FORCAST(EMA(CLOSE,8),5);
A3:=FORCAST(EMA(CLOSE,11),5);
A4:=FORCAST(EMA(CLOSE,14),5);
A5:=FORCAST(EMA(CLOSE,17),5);
B:=A1+A2+A3+A4-4*A5;
TOWERC:=EMA(B,2);
VAR1L:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,20)-LLV(LOW,10)),5)-20;
VAR2L:=2*ABS(VAR1L);
AMOV:=B;//www.88gs.com
MN:=(AMOV-LLV(AMOV,20))/(HHV(AMOV,20)-LLV(AMOV,20))*15.97;
NOTEXT1:IF(C>=MN,MN*5,DRAWNULL),LINETHICK1,COLOR0000FF;
NOTEXT2:IF(C
STICKLINE(TOWERC
STICKLINE(TOWERC>=REF(TOWERC,1),NOTEXT1,VAR2L,0,0),colorred;
STICKLINE(TOWERC>=REF(TOWERC,1),NOTEXT1,VAR2L,0,0),colorred;
STICKLINE(TOWERC>=REF(TOWERC,1),NOTEXT1,VAR2L,0,0),colorred;
STICKLINE(TOWERC
STICKLINE(TOWERC
STICKLINE(TOWERC
STICKLINE(TOWERC
N:=13;
VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),coloryellow,LINETHICK0;
VAR2:8,colorgreen,LINETHICK0,NODRAW;
上升在即: IF(CROSS(VAR1,VAR2),50,0),STICK,COLOR0000CC,LINETHICK2;
专吸庄血: IF(VAR1<=8,25,0),STICK,colorwhite,LINETHICK2;
DRAWICON(CROSS(VAR1,VAR2),8,1);
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区: IF((VARO7<10),80,100) ,COLOR0080FF,LINETHICK1;
DRAWICON(CROSS(100,VAR1),100,2);
DRAWICON((100-VAR1<3 AND 100-VAR1>0),100,2);
Y:=IF((55-VAR1)>=0,-1,1),colorgreen;
持有:Y=1,colorred,NODRAW;
观望:Y=-1,colorgreen,NODRAW;
DRAWTEXT(CROSS(VAR1,建仓区),VAR1,'终');
DRAWTEXT(CROSS(VAR2,VAR1),VAR2,'始'),COLOR00FFFF;
KD1B:=IF(LOW=LLV(LOW,3),1,0);
DLB:=IF(REF(KD1B,2)=1 AND REF(KD1B,1)=0 AND KD1B=0,REF(LOW,2),REF(LOW,2+BARSLAST(REF(KD1B,2)=1
AND REF(KD1B,1)=0 AND KD1B=0)));
LVB:=L
AMOVB2:=DPB;
MNB2:=(AMOVB2-LLV(AMOVB2,20))/(HHV(AMOVB2,20)-LLV(AMOVB2,20))*15.97;
NOTEXT1B2:IF(C>=MNB2,MNB2*5,DRAWNULL),LINETHICK2,COLORFF0000;
绿军: IF(VAR1L<0,VAR2L,0), LINESTICK ,COLOR00FF00;
KD1:=IF(LOW=LLV(LOW,30),1,0);
DL:=IF(REF(KD1,2)=1 AND REF(KD1,1)=0 AND KD1=0,REF(LOW,2),REF(LOW,2+BARSLAST(REF(KD1,2)=1
AND REF(KD1,1)=0 AND KD1=0)));
LV:=L
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!