当前位置:→ 股海网飞狐公式 → 正文
  • 飞狐霸王庄主图源码

  • 相关简介:霸王庄 (主图 源码) {大箱体} 顶: COST(95)*1, linedot,COLORRED; Var11:=(2*CLOSE+HIGH+LOW)/4; 底: EMA(Var11,99)*0.91,linedot,colorgreen ; {小箱体} //箱顶:MA(REF(HHV(c,30),1),2),COLOR0000FF,LINETHICK2; //箱底:MA(REF(LLV(c,30),1),2),COLOR00FF00,LINETHICK2; {均线系统} MA10:=MA(C

  • 文章来源:股海网作者:股海网发布时间:2012-03-11浏览次数:下载次数:0

霸王庄  (主图 源码)
 
{大箱体}
 顶: COST(95)*1, linedot,COLORRED;
 Var11:=(2*CLOSE+HIGH+LOW)/4;
 底: EMA(Var11,99)*0.91,linedot,colorgreen ;
 
{小箱体}
 //箱顶:MA(REF(HHV(c,30),1),2),COLOR0000FF,LINETHICK2;
 //箱底:MA(REF(LLV(c,30),1),2),COLOR00FF00,LINETHICK2;
 
{均线系统}
 MA10:=MA(C,10),colorwhite;
 MA60:MA(C,60),coloryellow;
 DRAWTEXT(CROSS(MA10,MA60),(LOW * 0.95),'注意'),Coloryellow;
 
多:=EMA(C,3),COLORYELLOW;
 空:=EMA(C,5),COLOR00FF00;
 均衡:=EMA(空,5),COLORWHITE,;
 VARF1:=COUNT(CROSS(多,均衡),2)=1;
 VARF2:=COUNT(CROSS(空,均衡),2)=1;
 ZAI:=FILTER(VARF1 AND VARF2,2);
 DRAWTEXT(ZAI,均衡,'主升'),COLORFF00FF;
 {中轨:HHV(MA(H,13),13),COLORRED,LINETHICK2;}
 {趋势123:LLV(MA(H,13),1),COLORGREEN,LINETHICK2;}
 主升:=if(ZAI,1,0),colorwhite;
 
{趋势}
 MA15:=EMA(CLOSE,21);
 STICKLINE((MA15 > REF(MA15,1)),MA15,MA15,9,6),LINETHICK4,Color00FFFF;
 STICKLINE((MA15 < REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,colorFF0000;
 
{k线}
 FO:=OPEN;
 FH:=HIGH;
 FL:=LOW;
 FC:=CLOSE;
 KK:=IF(FC>=FO AND (FC>=REF(FC,1) OR REF(FC,1)>=REF(FO,1)),1,IF(FC<FO AND (FC<REF(FO,1) OR REF(FC,1)<REF(FO,1)),-1,0));
 STICKLINE(FC>FO,FH,FL,0.4,0),colorFF;
 STICKLINE(KK=1 AND FC>=FO,FO,FC,8,0),colorFF;
 STICKLINE(KK=1 AND FC<FO,FO,FC,8,0),colorFF;
 STICKLINE(KK=0 AND FC>=FO,FO,FC,8,0),colorFF;
 STICKLINE(KK=0 AND FC<FO,FO,FC,8,0),colorFF;
 
{趋势向下k线染灰}
 STICKLINE((MA15 < REF(MA15,1)),h,l,0.4,0),Colorgray;
 STICKLINE((MA15 < REF(MA15,1)),c,o,8,0),Colorgray;
 
{k线涂粉关注}
 STICKLINE(MA15 < REF(MA15,1) and (FC>FO),FH,FL,0.4,0),ColorFF80FF;
 STICKLINE(KK=1 AND FC>=FO and ma15 < ref(ma15,1),FO,FC,8,0),ColorFF80FF;
 STICKLINE(KK=1 AND FC<FO  and ma15 < ref(ma15,1),FH,FL,0.4,0),ColorFF80FF;
 STICKLINE(KK=1 AND FC<FO  and ma15 < ref(ma15,1),FO,FC,8,0),ColorFF80FF;
 STICKLINE(KK=0 AND FC>=FO and ma15 < ref(ma15,1),FH,FL,0.4,0),ColorFF80FF;
 STICKLINE(KK=0 AND FC>=FO and ma15 < ref(ma15,1),FO,FC,8,0),ColorFF80FF;
 STICKLINE(KK=0 AND FC<FO  and ma15 < ref(ma15,1),FH,FL,0.4,0),ColorFF80FF;
 STICKLINE(KK=0 AND FC<FO  and ma15 < ref(ma15,1),FO,FC,8,0),ColorFF80FF;
 
{霸王庄}
 主力持仓:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
 指数趋势:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);
 强弱分界:=80;
 主力筹码集中度:=WINNER(C)*100;
 散筹筹码集中度:=(WINNER(C*1.1)-WINNER(C*0.9))*100;
 qiang:=(主力持仓-散筹筹码集中度)>20 and (主力筹码集中度-散筹筹码集中度)>0 and 主力持仓>50;
 强庄坐镇:if(qiang,1,0),colorred,linethick0;
 DRAWTEXT(强庄坐镇,(LOW * 0.99),'☉'),Coloryellow;
 ●霸王庄●:if(qiang and 主力筹码集中度-散筹筹码集中度>20,1,0),ColorFF80FF,linethick0;;
 DRAWTEXT(●霸王庄●,(LOW * 0.99),'⊙'),Colorred;
 
{神秘均线}
 LOCK:=IF(CURRENTDATE<1120923,1,0);
 PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,6)>REF(EMA((2*CLOSE+HIGH+LOW)/4,6),1),EMA((2*CLOSE+HIGH+LOW)/4,5)),colorFF;
 PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,6)<REF(EMA((2*CLOSE+HIGH+LOW)/4,6),1),EMA((2*CLOSE+HIGH+LOW)/4,5)),colorFF00;
 PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,10)>REF(EMA((2*CLOSE+HIGH+LOW)/4,13),1),EMA((2*CLOSE+HIGH+LOW)/4,13)),colorFF;
 PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,10)<REF(EMA((2*CLOSE+HIGH+LOW)/4,13),1),EMA((2*CLOSE+HIGH+LOW)/4,13)),LINETHICK2,colorFF00;
 PARTLINE(EMA((LOW+CLOSE+OPEN)/3,28)>REF(EMA((LOW+CLOSE+OPEN)/3,28),1),REF(EMA((LOW+CLOSE+OPEN)/3,25),1)),LINETHICK3,colorFF;
 PARTLINE(EMA((LOW+CLOSE+OPEN)/3,28)<REF(EMA((LOW+CLOSE+OPEN)/3,28),1),REF(EMA((LOW+CLOSE+OPEN)/3,25),1)),LINETHICK3,colorff00;
 PARTLINE((EMA(LOW,250)+EMA((CLOSE+LOW)/2,300))/2>REF((EMA(LOW,250)+EMA((CLOSE+LOW)/2,300))/2,1),(EMA(LOW,250)+EMA((CLOSE+LOW)/2,250))/2),linethick4,colorFF;
 PARTLINE((EMA(LOW,250)+EMA((CLOSE+LOW)/2,300))/2<REF((EMA(LOW,250)+EMA((CLOSE+LOW)/2,300))/2,1),(EMA(LOW,250)+EMA((CLOSE+LOW)/2,250))/2),linethick4,colorgray;
 
小趋势线:ma15,coloryellow,linethick0;
 小趋势成立:if(MA15 > REF(MA15,1),1,0),linethick0,coloryellow;
 大趋势线:(EMA(LOW,250)+EMA((CLOSE+LOW)/2,300))/2,colorwhite,linethick0;
 
{立庄量}
 VOLUME:=VOL,linethick0;
 MAVOL1:=MA(VOLUME,5);
 MAVOL2:=MA(VOLUME,10);
 V2:=IF(BARSTATUS=2,VOL*240/MINUTE/REF(VOL,1)-1,VOL/REF(VOL,1)-1),COLORRED;
 STICKLINE(V2>=1,(llv(l,10)/2+hhv(h,10)/2),c,3,0),COLORYELLOW;
 
{财务指标}
 毛利润率:=FINANCE(21)/FINANCE(20)*100;
 主营业务增长率:=FINANCE(53);
 净利润增长率:=FINANCE(55);
 市盈率:=DYNAINFO(39);
 市净率:=c/FINANCE(34);
 莸利比例:=WINNER(c )*100;
 净资产:=FINANCE(34);
 净资收益率:=FINANCE(37);
 DRAWTEXTEX(c,1,10,253,'市盈率:'),LINETHICK1,ColorFFFFFF;
 DRAWTEXTEX(c,1,90,253,NUMTOSTR(市盈率,2)+''),ColorFFFFFF;
 DRAWTEXTEX(c,1,150,253,'市净率:'),LINETHICK1,ColorFFFFFF;
 DRAWTEXTEX(c,1,230,253,NUMTOSTR(市净率,2)+''),ColorFFFFFF;
 DRAWTEXTEX(c,1,10,85,'莸利比例:'),LINETHICK2,ColorAFFF00;
 DRAWTEXTEX(c,1,90,85,NUMTOSTR(莸利比例,2)+'%'),ColorAFFF00;
 DRAWTEXTEX(c,1,10,157,'主营业务增长率:'),LINETHICK2,Color00FFFF;
 DRAWTEXTEX(c,1,170,157,NUMTOSTR(主营业务增长率,2)+'%'),Color00FFFF;
 DRAWTEXTEX(c,1,260,157,'净利润增长率:'),LINETHICK2,Color00FFFF;
 DRAWTEXTEX(c,1,390,157,NUMTOSTR(净利润增长率,2)+'%'),Color00FFFF;
 DRAWTEXTEX(c,1,190,85,'净资产:'),LINETHICK2,ColorAFFF00;
 DRAWTEXTEX(c,1,270,85,NUMTOSTR(净资产,2)+''),ColorAFFF00;
 DRAWTEXTEX(c,1,370,85,'净资收益率:'),LINETHICK2,Colorgreen;
 DRAWTEXTEX(c,1,485,85,NUMTOSTR(净资收益率,2)+'%'),Colorgreen;
 DRAWTEXTex(c,1,10,20,'\n所属板块:'+BLKNAME),colorFFFFFF;

飞狐霸王庄主图源码

 ☟问题反馈 ☞┄┄┄┄┄┄┄┄┄┄→收藏资源:

飞狐霸王庄主图源码

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

上传会员: 
股海网
文件大小: 
Bytes
上传时间: 
2012-03-11
下载积分: 
-
免责声明: 
请仔细阅读并同意后才能下载
本附件为用户分享上传,股海网没有对文件进行验证,不能保证下载资源的准确性、安全性和完整性,也不保证下载资源能正常安装和使用,且下载后扣除的积分无法退还,除非您充分理解并完全接受本声明,否则您无权下载。
本站对提供下载的软件、指标、资料等不拥有任何权利,其版权归该下载资源的合法拥有者所有。本附件仅供学习和研究使用,不得用于商业或者非法用途,如有侵犯您的版权, 请参看 《股海网侵权处理流程》《股海网免责声明条款》
点击下载无反应时,更换主流浏览器重新登录操作,如360浏览器、Edge浏览器、谷歌浏览器,个别浏览器有不兼容现象。
勾选以下表示您已经阅读并同意以上声明才能下载本文件,扣除积分无法退还!
我已阅读所有条款规定, 请点我同意 所有条款内容!我自愿下载!
提示:如下载失败,请点关闭刷新此页面或提交问题反馈给管理员→
关闭

关于我们 - 联系我们 - 隐私政策 - 免责声明 - 下载帮助 - 广告合作 - SiteMap - TOP
增值电信业务经营ICP许可证:湘B2-20210269 湘ICP备09016573号-10 湘公网安备43108102000040号
Copyright © 2021 铭网科技,All Rights Reserved.