[转载]飞鹰操盘(主图)(副图)
(2017-01-23 23:11:35)
标签:
转载 |
分类: 公式仓库 |
原文地址:飞鹰操盘(主图)(副图)作者:wagne
可用于大智慧经典、大智慧L2
用法:主图会出现BS点;
源码:
主图
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=cross(买线,卖线);
SEL:=cross(卖线,买线);
drawtext(bu,LOW*0.996,'B'),colorred,linethick3;
drawtext(sel,HIGH*1.028,'S'),colorffff00,linethick3;
stickline(买线>=卖线,low,high,1,0),colorred;
stickline(买线>=卖线,close,open,4.5,0),color0000aa;
stickline(买线>=卖线,close,open,4,0),color0000cc;
stickline(买线>=卖线,close,open,3,0),color0000cc;
stickline(买线>=卖线,close,open,2,0),color0000ee;
stickline(买线<卖线,close,open,4.5,0),coloraaaa00;
stickline(买线<卖线,close,open,4,0),colorbbbb00;
stickline(买线<卖线,close,open,3,0),colorcccc00;
stickline(买线<卖线,close,open,2,0),coloreeee00;
stickline(买线<卖线,low,high,1,0),colorffff00;
stickline(cross(买线,卖线) or cross(卖线,买线),open,close,3,0),color00ffff;
指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;
界: MA(CLOSE,27),linethick1,Color00FFFF;
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=cross(买线,卖线);
SEL:=cross(卖线,买线);
drawtext(bu,LOW*0.996,'B'),colorred,linethick3;
drawtext(sel,HIGH*1.028,'S'),colorffff00,linethick3;
stickline(买线>=卖线,low,high,1,0),colorred;
stickline(买线>=卖线,close,open,4.5,0),color0000aa;
stickline(买线>=卖线,close,open,4,0),color0000cc;
stickline(买线>=卖线,close,open,3,0),color0000cc;
stickline(买线>=卖线,close,open,2,0),color0000ee;
stickline(买线<卖线,close,open,4.5,0),coloraaaa00;
stickline(买线<卖线,close,open,4,0),colorbbbb00;
stickline(买线<卖线,close,open,3,0),colorcccc00;
stickline(买线<卖线,close,open,2,0),coloreeee00;
stickline(买线<卖线,low,high,1,0),colorffff00;
stickline(cross(买线,卖线) or cross(卖线,买线),open,close,3,0),color00ffff;
指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;
界: MA(CLOSE,27),linethick1,Color00FFFF;
副图
Var1D:=EMA(CLOSE,2)-EMA(CLOSE,89);
Var1E:=EMA(Var1D,30);
Var1F:=2*(Var1D-Var1E)*10;
Var20:=POW(Var1F,3)*0.1+POW(Var1F,2);
Var25:=IF(Var1F>0.015,Var20,0)/45/4;
JJ:=(C*2+H+L)/4;
SKK:(EMA(JJ,13)-EMA(JJ,21))*180,COLORWHITE;
SDD:EMA(SKk,2),COLORYELLOW;
多方:=(SKK-SDD)*0.001,colorRED,linethick0;
空方:=-1*(SKK-SDD)*0.001,color33FF33,linethick0;
rc:ref(C,1),COLORWHITE;
MAV:=(2*C+H+L)/4;
SK:=(SLOPE(EMA(MAV,2),7)*15+MAV)*0.8,colorRED;
SD:=EMA(SK,2),colorGREEN;
SJ:=2.8*SK-1.8*SD,colorYELLOW;
s2:=sma(c,3,1);
s6:=sma(c,5,1);
dk:=2*(s2-s6)*15*4*1.5;
STICKLINE(sk>sd and dk<rc or dk=rc,rc,rc+dk,3,0),COLORred;
STICKLINE(dk>0 and sk>sd ,rc,rc+dk,4,0),COLOR6633CC;
STICKLINE(dk>0 and sk<sd ,rc,rc+dk,4,0),COLORFFAA66;
STICKLINE(dk>0 and 多方<空方,rc,rc+dk,4,0),COLOR33FF33;
STICKLINE(cross(多方,空方),rc,rc+dk,4,0),COLORyellow;
STICKLINE(cross(空方,多方),rc,rc+dk,4,0),COLOR33FF33;
STICKLINE(dk<0 and 多方<空方 and sk<sd,rc,rc+dk,2,0),COLOR33FF33;
Var1E:=EMA(Var1D,30);
Var1F:=2*(Var1D-Var1E)*10;
Var20:=POW(Var1F,3)*0.1+POW(Var1F,2);
Var25:=IF(Var1F>0.015,Var20,0)/45/4;
JJ:=(C*2+H+L)/4;
SKK:(EMA(JJ,13)-EMA(JJ,21))*180,COLORWHITE;
SDD:EMA(SKk,2),COLORYELLOW;
多方:=(SKK-SDD)*0.001,colorRED,linethick0;
空方:=-1*(SKK-SDD)*0.001,color33FF33,linethick0;
rc:ref(C,1),COLORWHITE;
MAV:=(2*C+H+L)/4;
SK:=(SLOPE(EMA(MAV,2),7)*15+MAV)*0.8,colorRED;
SD:=EMA(SK,2),colorGREEN;
SJ:=2.8*SK-1.8*SD,colorYELLOW;
s2:=sma(c,3,1);
s6:=sma(c,5,1);
dk:=2*(s2-s6)*15*4*1.5;
STICKLINE(sk>sd and dk<rc or dk=rc,rc,rc+dk,3,0),COLORred;
STICKLINE(dk>0 and sk>sd ,rc,rc+dk,4,0),COLOR6633CC;
STICKLINE(dk>0 and sk<sd ,rc,rc+dk,4,0),COLORFFAA66;
STICKLINE(dk>0 and 多方<空方,rc,rc+dk,4,0),COLOR33FF33;
STICKLINE(cross(多方,空方),rc,rc+dk,4,0),COLORyellow;
STICKLINE(cross(空方,多方),rc,rc+dk,4,0),COLOR33FF33;
STICKLINE(dk<0 and 多方<空方 and sk<sd,rc,rc+dk,2,0),COLOR33FF33;
主图图形:
![[转载]飞鹰操盘(主图)(副图) [转载]飞鹰操盘(主图)(副图)](http://simg.sinajs.cn/blog7style/images/common/sg_trans.gif)
副图图形:
![[转载]飞鹰操盘(主图)(副图) [转载]飞鹰操盘(主图)(副图)](http://simg.sinajs.cn/blog7style/images/common/sg_trans.gif)
大智慧L2公式下载:飞鹰操盘(主图).FNC
大智慧经典版下载:飞鹰操盘(主图).exp

加载中…