当前位置:→ 股海网飞狐公式 → 正文
  • VV布林主图公式 源码

  • 相关简介:VV布林主图公式 源码 平衡:EMA(C,20),CIRCLEDOT,COLORwhite; 上轨:平衡 + 2*STD(C,20),LINETHICK2,COLORFF00FF; 下轨:平衡 - 2*STD(C,20),LINETHICK2,COLOR00ff00; STICKLINE((CLOSE 平衡),平衡,平衡,1,0),LINETHICK6,color0000ff; STICKLINE((平衡 CLOSE),平衡,平衡,1,0),LINETHICK6,colorff6600; STI

  • 文章来源:股海网作者:股海网发布时间:2016-07-06浏览次数:下载次数:0

VV布林主图公式

 源码

平衡:EMA(C,20),CIRCLEDOT,COLORwhite;
上轨:平衡 + 2*STD(C,20),LINETHICK2,COLORFF00FF;
下轨:平衡 - 2*STD(C,20),LINETHICK2,COLOR00ff00;
 STICKLINE((CLOSE >平衡),平衡,平衡,1,0),LINETHICK6,color0000ff;
 STICKLINE((平衡 > CLOSE),平衡,平衡,1,0),LINETHICK6,colorff6600;
 STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF;
 STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF;
 STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00;
 STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLORff7700;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORff9900;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORffbb00;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORffcc00;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORffdd00;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORffee00;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORffFF00;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000055;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000bb;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000dd;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000ff;

 var9Q:=c= hhv(c,4)and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref(c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv(c,4) and c>=ref(c,1) and c>=ref(c,2);
红持:=var9Q;
      stickline(var9Q,c,(o+c)/2,7,0),color000055;
      stickline(var9Q,c,(o+c)/2,6,0),color000066;
      stickline(var9Q,c,(o+c)/2,5,0),color000077;
      stickline(var9Q,c,(o+c)/2,4,0),color000099;
      stickline(var9Q,c,(o+c)/2,3,0),color0000bb;
      stickline(var9Q,c,(o+c)/2,2,0),color0000dd;
      stickline(var9Q,c,(o+c)/2,1,0),color0000ff;
 varaQ:=c=hhv(c,4) and ref(c,1)=llv(c,4);
粉变:=varaQ;
      stickline(varaQ,c,(o+c)/2,7,0),colorff11ff;
      stickline(varaQ,c,(o+c)/2,6,0),colorff33ff;
      stickline(varaQ,c,(o+c)/2,5,0),colorff55ff;
      stickline(varaQ,c,(o+c)/2,4,0),colorff77ff;
      stickline(varaQ,c,(o+c)/2,3,0),colorff99ff;
      stickline(varaQ,c,(o+c)/2,2,0),colorffbbff;
      stickline(varaQ,c,(o+c)/2,1,0),colorffddff;
 varbQ:=c=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3)) or ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<>hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4) and c<ref(c,1) and c<ref(c,2);
灰跌:=varbQ;
      stickline(varbQ,c,(o+c)/2,7,0),color333333;
      stickline(varbQ,c,(o+c)/2,6,0),color555555;
      stickline(varbQ,c,(o+c)/2,5,0),color777777;
      stickline(varbQ,c,(o+c)/2,4,0),color999999;
      stickline(varbQ,c,(o+c)/2,3,0),colorbbbbbb;
      stickline(varbQ,c,(o+c)/2,2,0),colordddddd;
      stickline(varbQ,c,(o+c)/2,1,0),colorffffff;
 varcQ:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1);
绿买:=varcQ;
      stickline(varcQ,o,(o+c)/2,7,0),color003300;
      stickline(varcQ,o,(o+c)/2,6,0),color005500;
      stickline(varcQ,o,(o+c)/2,5,0),color007700;
      stickline(varcQ,o,(o+c)/2,4,0),color009900;
      stickline(varcQ,o,(o+c)/2,3,0),color00bb00;
      stickline(varcQ,o,(o+c)/2,2,0),color00dd00;
      stickline(varcQ,o,(o+c)/2,1,0),color00ff00;
 vardQ:=ref(c,1)=hhv(c,4) and c<ref(c,2) or (ref(c,2)=hhv(c,4) and ref(c,1)>ref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)>ref(c,2)) and ref(c,2)>=ref(c,4) and c<ref(c,1);
蓝抛:=vardQ;
 stickline(vardQ,o,(o+c)/2,7,0),colorff1100;
 stickline(vardQ,o,(o+c)/2,6,0),colorff3300;
 stickline(vardQ,o,(o+c)/2,5,0),colorff5500;
 stickline(vardQ,o,(o+c)/2,4,0),colorff7700;
 stickline(vardQ,o,(o+c)/2,3,0),colorff9900;
 stickline(vardQ,o,(o+c)/2,2,0),colorffbb00;
 stickline(vardQ,o,(o+c)/2,1,0),colorffdd00;

 Y1:=REF(EMA(DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9),3),1);
 DRAWtext(CROSS(CLOSE,Y1),LOW,'[买进]'),ColorYELLOW;
 STICKLINE(CROSS(Y1,CLOSE),h*1.05,h,1,0),COLORwhite;
 DRAWtext(CROSS(Y1,CLOSE),HIGH*1.05,'[卖出]'),colorwhite;

 VAR1w:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
 VAR2w:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
 VAR3w:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
 DRAWTEXT(CROSS(VAR2w,MA(VAR3w,6)),LOW -0.6,'(买)'),colorFF99FF;
 DRAWTEXT(CROSS(MA(VAR3w,6),VAR1w),HIGH +0.9,'(卖)'),colorccFF13;
 Var3p:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0);
 STICKLINE(Var3p>90,L,L*0.92,1,0),COLORff00ff;
 DRAWTEXT(Var3p>90,LOW*0.92,'追涨'),COLORFF00FF;
 Ss:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2);
 SC:=L<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND H>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND C>REF(C,1) AND C>O;
 MR:=SC AND COUNT(Ss,2);
买:=MR AND NOT(REF(MR,1));

 STICKLINE(买,L,L*0.95,1,0),COLORred;
 DRAWTEXT(买,L*0.95, '必涨'),COLORred;
多方:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
 -3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)
 -SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
 ,3,1),2,1);
 STICKLINE(CROSS(78.89,多方),h+1.5,h,1,0),COLOR00FF00;

 DRAWTEXT(CROSS(78.89,多方),H+1.5,'(逃顶)'),COLOR00FF00;
 A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*1,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*1,5,1);
 A2:=(EMA(A1,5)-REF(EMA(A1,5),1))/REF(EMA(A1,5),1)*1;
 A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*1;
 DRAWTEXT(CROSS(A1,EMA(A1,5))AND EMA(A1,5)<A5,l*0.98,'(黑马)'),COLORyellow;

 Var1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*1;

 Var2:=SMA(Var1,3,1)*100;

趋势线:=SMA((SMA(Var2,3,1)*var1),3,1)*1;
 Var9:=CROSS(趋势线,(SMA(Var2,3,1)*var1)) AND (SMA(Var2,3,1)*var1)>8;
 DRAWTEXT(Var9 AND COUNT(Var9,1)=1,h+0.6,'逃'),linethick2,COLORyellow;

VV布林主图公式 源码

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

VV布林主图公式 源码

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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