逃顶快一步(副图公式源码、图、使用说明、不含未来函数)介绍
公式原理:为了使威廉指标的撞顶特点突出且能提前,对原有的经典威廉指标进行了小的改动。同时结合了kdj指标的反映灵敏的特定,对KDJ指标也进行调整。两者结合,组成了此“逃顶快一步”指标。适用于各个时间周期。
使用方法:信号出现后,下一个时间周期,以不低于信号出现的时间周期的收盘价卖出。如果能结合各位自己中意的自用指标,将更显其威力。本人使用此指标做T+0,一般采用30分钟和60分钟线,结合日线。在日线决定买入还是卖出的大前提下进行当天的短线买卖,结合自用的抄底公式,基本上能每天做一个买入和卖出交易,收益率在平均1.8%--5%左右。
公式是死的,人是活的,公式只是参考,最后的决定还要靠人------人决定一切!
N 1 1000 2
N2 1 1000 4
N3 1 1000 8
WR1:=-120*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),COLORGREEN;
WR2:=-110*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)),COLORYELLOW;
WR3:=-108*(HHV(HIGH,N2)-CLOSE)/(HHV(HIGH,N2)-LLV(LOW,N2)),COLORRED;
RSV2:=(CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100;
K2:=SMA(RSV2,2,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
否极泰来线:-100.00,COLORFF00FF,LINETHICK1;
底部线:=-80.00,COLORYELLOW,LINETHICK1;
突破线:=-50.00,COLORWHITE,LINETHICK1;
暴张线:=-20.00,COLORYELLOW,LINETHICK1;
物极必反线:=0,COLORFF00FF,LINETHICK1;
B1:=WR1<REF(WR1,1) AND CLOSE>REF(CLOSE,1);
B2:=WR1>REF(WR1,1) AND CLOSE<REF(CLOSE,1);
B3:=J2>D2;
B5:=B1 OR B2;
B6:=B5 AND B3;
标注:=DRAWICON(B6,WR1,26);
二次上拐:STICKLINE(B6,-70,-73,2,0),COLORGREEN;
大盘仓位优化成功逃顶抄底公式源码[大智慧公式]
Ms5:=SMA(MA(C,2),5,3);
Ms13:=SMA(C,13,2);
Ms21:=SMA(C,21,1);
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
a:=SMA(RSV,3,1);
b:=SMA(a,3,1);
DDX:=bigorder(1,2)-bigorder(2,2);
DIFF:=EMA(DDX,5) - EMA(DDX,13);
DIFF2:=EMA(DDX,7) - EMA(DDX,21);
IF(Ms5>REF(Ms5,1)) then
m1:=10;
ELSE IF(Ms5<REF(Ms5,1)) then
m1:=-10;
IF(Ms5<C) then
m2:=5;
ELSE IF(Ms5>C) then
m2:=-5;
IF(Ms13>REF(Ms13,1)) then
m3:=5;
ELSE IF(Ms13<REF(Ms13,1)) then
m3:=-5;
IF(Ms21>REF(Ms21,1)) then
m4:=10;
ELSE IF(Ms21<REF(Ms21,1)) then
m4:=-10;
IF(b>90) then
m5:=-10;
ELSE IF(b<90 AND b>10) then
m5:=0;
ELSE IF(b<10) then
m5:=10;
IF(diff>0 AND diff2>0) then
m6:=10;
ELSE IF(diff>0 OR diff2>0) then
m6:=0;
ELSE IF(diff<0 AND diff2<0) then
m6:=-10;
大盘仓位:(m1+m2+m3+m4+m5+m6+50);
STICKLINE(大盘仓位>50,0,大盘仓位,8,1),colorF000FF;
STICKLINE(大盘仓位<=50,0,大盘仓位,8,0),colorgreen;
10;
90;
AA:CROSS(大盘仓位,10) OR 大盘仓位=10,LINETHICK0;
STICKLINE(AA,AA,10,8,0),COLORRED;
DRAWTEXT(AA,AA*10,'抄'),COLOR00FFFF,LINETHICK3;
BB:REF((CROSS(90,大盘仓位) OR 大盘仓位=90),1) AND 大盘仓位<=80 ,LINETHICK0;
STICKLINE(BB,95,80,9,0),COLORFFFF00;
DRAWTEXT(BB,BB*80,'跑'),COLOR00FF00,LINETHICK3;CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=1 OR CXH=6));
DRAWTEXTREL(10 ,10 ,'指标公式');