通达信雷达反弹公式源码K线图
-
相关简介:RSVC:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100; RSVO:=(OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100; A:=SMA(RSVC,25,1); B:=SMA(RSVO,25,1); VAR1:=3*A-2*SMA(A,15,1); VAR2:=3*B-2*SMA(B,15,1); VAR6:=80*VOL/CAPITAL*10; STICKLINE(VAR1REF(VAR2
-
文章来源:股海网作者:股海网发布时间:2019-07-18浏览次数:
RSVC:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
RSVO:=(OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
A:=SMA(RSVC,25,1);
B:=SMA(RSVO,25,1);
VAR1:=3*A-2*SMA(A,15,1);
VAR2:=3*B-2*SMA(B,15,1);
VAR6:=80*VOL/CAPITAL*10;
STICKLINE(VAR1>REF(VAR2,1),VAR1,VAR2,VAR6,1),COLORRED;
STICKLINE(VAR1+VAR2>200,VAR1,VAR2,VAR6,1);
STICKLINE(VAR1<=REF(VAR2,1),VAR1,VAR2,VAR6,1),COLORGREEN;
A1:=1;
A2:=MA(C,30);
A3:=(C-A2)/A2*100;
A4:=MA(A3,3);
A5:=A1-1.01*1000000;
A6:=BARSLAST(CROSS(-10,A4)=1);
A7:= IF(A4<-15 AND A6>=10,-1*(A4-50),0);
反弹机会1:A7,COLORRED;{画红色柱线}
A8:=RANGE(A5,(1-0.618)*1000,(1+1.9/100)*1000);
DRAWTEXT(FILTER(A7=A4 AND A8=0,8)=1,A7*1.2 ,'反弹'),COLORBLUE;
K:="KDJ.K"(12,3,3);
D:="KDJ.D"(12,3,3);
V1:=CROSS(K,D) AND D<16;{KD指标产生黄金交叉,K线上穿D线;D值要小于16}
BIAS24:=(C-EMA(C,24))/EMA(C,24)*100<-10;{BIAS指标设置为24日,要小于-6}
反弹机会2:IF(V1 AND BIAS24,50,0),LINETHICK3,COLORBLUE;