(完整版)量化经典博易大师指标公式汇总以及源代码集成三

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

DRAWTEXT(CLOSE>上分形AND REF(CLOSE,1)

DKX:=(EMA(C,18)),POINTDOT;

STICKLINE(((C >=DKX) AND (C >= O)),H,L,0,1),COLORRED;

STICKLINE(((C >=DKX) AND (C >= O)),O,C,2,1),COLORRED;

STICKLINE(((C >=DKX) AND (C <= O)),H,L,0,0),COLORRED;

STICKLINE(((C >=DKX) AND (C <= O)),O,C,2,0),COLORRED;

STICKLINE(((C = O)),H,L,0,1),COLORGREEN;

STICKLINE(((C < DKX) AND (C >= O)),O,C,2,1),COLORGREEN;

STICKLINE(((C < DKX) AND (C <= O)),H,L,0,0),COLORGREEN;

STICKLINE(((C < DKX) AND (C <= O)),O,C,2,0),COLORGREEN;

V AR1:=(HHV(HIGH,15)-LLV(LOW,15));

V AR2:=(HHV(HIGH,15)-CLOSE);

V AR3:=(CLOSE-LLV(LOW,15));

V AR4:=(((V AR2/V AR1)*100)-70);

V AR5:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*100);

V AR6:=((((2*CLOSE)+HIGH)+LOW)/4);

V AR7:=SMA(((V AR3/V AR1)*100),3,1);

V AR8:=LLV(LOW,34);

V AR9:=(SMA(V AR7,3,1)-SMA(V AR4,9,1));

V AR10:=IF((VAR9>100),(V AR9-100),0);

V AR11:=HHV(HIGH,34);

V AR12:=EMA((((V AR6-V AR8)/(V AR11-V AR8))*100),15);

V AR13:=EMA(((0.667*REF(V AR12,1))+(0.333*V AR12)),2);

MA11:=EMA(VAR13,5);

DRAWTEXT(CROSS(V AR12-V AR13,0),L-1,'多');

DRAWTEXT(CROSS(0,V AR12-V AR13),H+1,'空');

多空参考

(副图)

V AR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;

V AR2:=SMA(V AR1,10,1);

慢速:=SMA(VAR2,5,1);

RSV:= ((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100)-70;

RSV1:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

FATK:=SMA(RSV1,3,1);

形态:=SMA(FATK,3,1);

V ARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

V ARB:=SMA(V ARA,3,1);

V ARC:=SMA(V ARB,3,1);

加速: EMA(3*V ARB-2*V ARC,2),COLORYELLOW;

底:6,COLOR00BF00;

大底:-6,COLOR007300;

顶:90,COLORFFA500;

大顶:100,COLORWHITE;

V AR11:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;

V AR22:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;

买入:=V AR11 AND V AR22,LINETHICK2,COLORRED;

V AR3:=REF(CLOSE,1);

V AR4:=SMA(MAX(CLOSE-V AR3,0),6,1)/SMA(ABS(CLOSE-V AR3),6,1)*100;

卖出:=CROSS(80,V AR4),LINETHICK2,COLORGREEN;

V AR5:=CROSS(加速,100);V AR6:=CROSS(加速,-6);

V AR7:=CROSS(80,加速);V AR8:=CROSS(加速,6);

DRAWTEXT(V AR5,85,'注意顶'),COLORBLUE;

DRAWTEXT(V AR6,0,'关注底'),COLORRED;

DRAWTEXT(V AR7,95,'空'),COLORGREEN;

DRAWTEXT(V AR8,5,'多'),COLORMAGENTA;

趋势顶底

S1:80,COLOR996699,PRECIS0;

B1:20,COLORGREEN,PRECIS0;

A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED; B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));

D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2; 长期线:A+100,COLOR9900FF;

短期线:B+100,COLOR888888;

中期线:D+100,COLORYELLOW,LINETHICK2;

见顶:(REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线),PRECIS0;

顶部区域:(中期线80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5 AND 短期线<中期线AND 短期线<长期线+4,PRECIS0;

顶部:=FILTER(顶部区域,4);

底部区域:(长期线<12 AND 中期线<8 AND (短期线<7.2 OR REF(短期线,1)<5) AND (中期

相关文档
最新文档