经典有效大智慧L2公式

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

直接引入大智慧L2公式文件

{资金博弈}

jgV:=(BIGORDER(1,3)-BIGORDER(2,3))*vol/CAPITAL;

dhV:=(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*vol/CAPITAL; zhV:=(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*vol/CAPITAL; shV:=(BIGORDER(2,1)-BIGORDER(1,1))*vol/CAPITAL;

A1:=MIN((COUNT(ORDER(2),0)),60);

超级资金:EMA(jgV,A1)*A1,COLORMAGENTA;

大户资金:EMA(dhV,A1)*A1,color3399FF ;

中户资金:EMA(zhV,A1)*A1,colorcyan;

散户资金:EMA(shV,A1)*A1,colorgreen;

0,color333333;

{超级资金}

A1:=MIN((COUNT(ORDER(2),0)),60);

超户:(BIGORDER(1,3)-BIGORDER(2,3))*vol/CAPITAL,COLOR3D ;

累计:EMA(超户,A1)*A1,COLORMAGENTA;

均值:EMA(累计,10),colorwhite;

{大户资金}

A1:=MIN((COUNT(ORDER(2),0)),60);

大户:(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*vol/CAPITAL,COLOR3D ; 累计:EMA(大户,A1)*A1,color3399FF;

均值:EMA(累计,10),colorwhite;

{中户资金}

A1:=MIN((COUNT(ORDER(2),0)),60);

中户:(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*vol/CAPITAL,COLOR3D ; 累计:EMA(中户,A1)*A1,colorcyan;

均值:EMA(累计,10),colorwhite;

{散户资金}

A1:=MIN((COUNT(ORDER(2),0)),60);

散户:(BIGORDER(2,1)-BIGORDER(1,1))*vol/capital,COLOR3D ;

累计:EMA(散户,A1)*A1,colorgreen;

均值:EMA(累计,10),colorwhite;

{大单比率}

input:P1(5,0,100),P2(30,0,100);

A1:=MIN((COUNT(ORDER(2),0)),60);

大单比率:(BIGORDER(1,2) - BIGORDER(2,2))*vol/CAPITAL,color3d; 均值1:EMA(大单比率,P1),coloryellow;

均值2:EMA(大单比率,P2),colormagenta;

{筹码聚散}

聚散程度:10*(ORDER(2)-ORDER(1))/CAPITAL, COLOR3D;

聚散方向:ema( 聚散程度,10),linethick2 ;

{资金流变}

input:n1(5,0,100);

a:=((BIGORDER(1,2) - BIGORDER(2,2)) *AMOUNT/100000000) ; STICKLINE(a>0,0,a,6,0 ),COLORred;

STICKLINE(a<0,0,a,6,0 ),COLORgreen;

当日资金净流:a,precis4,linethick0;

资金累净流:SUM(a,n1),precis4,coloryellow;

{成本均线}

input:p1(5,0,100), p2(13,0,100),p3(34,0,100); cb1:ema(AMOUNT,P1)/EMA(VOL,P1)/100; cb2:ema(amount,P2)/ema(vol,P2)/100;

cb3:ema(amount,P3)/ema(vol,P3)/100;

∞:DMA(C,V/CAPITAL);

{按部就班}

现价:C;

顶部: cost(95) ,colorffff33;

卖出: cost(75) ,colorgreen;

买入: cost(30) ,colorred;

底部: cost(5) ,coloryellow;

{龙腾四海}

input:n(8,0,100);

坐标线:0;20;50;80;100;

100-100*(HHV(HIGH,5*N)-CLOSE)/(HHV(HIGH,5*N)-LLV(LOW,5*N)),colorwhite;

海面:20,COLORGREEN;

海天分界线:50,COLORYELLOW;

天际:80,COLORRED;

{趋势顶底}

80,COLOR996699;

20,COLORGREEN;

10,COLORCC6633,LINETHICK2;

90,COLOR9966FF,LINETHICK2;

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

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);

长期线:A+100,COLOR9900FF;

短期线:B+100,COLOR888888;

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

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

相关文档
最新文档