当前位置:→ 股海网大智慧公式 → 正文
  • 大智慧先胜黄金分割主图指标

  • 相关简介:大智慧先胜黄金分割主图指标 源码 {背景设置} DRAWGBKLAST(C0,STRIP(RGB(90,90,90),RGB(0,0,0),0)); {黄金分割} x:=BARPOS-hhv(if(DISPSTATUS=1,BARPOS,0),0)+1; hh:=hhv(h,x); ll:=llv(l,x); hl:=hh-ll; a80:=.809*hl+ll;a61:=.618*hl+ll;a38:=.382*hl+ll; a19:=.191*hl+ll; a5:=.5*hl+ll; a

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

大智慧先胜黄金分割主图指标

源码

{背景设置}
DRAWGBKLAST(C>0,STRIP(RGB(90,90,90),RGB(0,0,0),0));

{黄金分割}
x:=BARPOS-hhv(if(DISPSTATUS=1,BARPOS,0),0)+1;
hh:=hhv(h,x);  ll:=llv(l,x);   hl:=hh-ll;
a80:=.809*hl+ll;a61:=.618*hl+ll;a38:=.382*hl+ll;
a19:=.191*hl+ll;   a5:=.5*hl+ll;
a0:=.001*hl+ll;   a100:=1.00*hl+ll;
DRAWTEXTREL(0,0,'最高 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄' ),COLORRED;
DRAWTEXTREL(0,900+76,'最低.................................................................................................................................'),color00ff00;
DRAWTEXTREL(0,0.50*(900+76),'0.5..................................................................................................................................'),color0099ff;
DRAWTEXTREL(0,0.191*(900+76),'0.809................................................................................................................................'),COLORYELLOW;
DRAWTEXTREL(0,0.382*(900+76),'0.618................................................................................................................................'),COLORYELLOW;
DRAWTEXTREL(0,0.618*(900+76),'0.382................................................................................................................................'),COLORYELLOW;
DRAWTEXTREL(0,0.809*(900+76),'0.191................................................................................................................................'),COLORYELLOW;
DRAWTEXTREL(999,0.809*(900+76),NUMTOSTR(a19)),VALIGN2,ALIGN2,colorwhite;
DRAWTEXTREL(999,0.618*(900+76),NUMTOSTR(a38)),VALIGN2,ALIGN2,colorwhite;
DRAWTEXTREL(999,0.5*(900+76),NUMTOSTR(a5)),VALIGN2,ALIGN2,color0099ff;
DRAWTEXTREL(999,0.382*(900+76),NUMTOSTR(a61)),VALIGN2,ALIGN2,colorwhite;
DRAWTEXTREL(999,0.191*(900+76),NUMTOSTR(a80)),VALIGN2,ALIGN2,colorwhite;
DRAWTEXTREL(999,1.00*(900+76),NUMTOSTR(a0)),VALIGN2,ALIGN2,colorwhite;
DRAWTEXTREL(999,0.001*(900+76),NUMTOSTR(a100)),VALIGN0,ALIGN2,colorwhite;

主线:(WMA(CLOSE,5) * 0.98),LINETHICK2,COLORRED;
主线1:WMA(主线,2),color00ff00,linethick2;
DRAWICON((主线 > REF(主线,1)),主线,10);

VAR18:=(EMA(CLOSE,3) - EMA(CLOSE,6)) + (EMA(CLOSE,6) - EMA(CLOSE,12))*100;
VAR28:=EMA(VAR18,3); 
VAR58:=CROSS(VAR18,VAR28);
VAR36:=CROSS(VAR28,VAR18);
STICKLINE(VAR36,OPEN,CLOSE,1.5,0),colorFFFFFF;
STICKLINE(VAR58,OPEN,CLOSE,8,0),COLORRED;
STICKLINE(VAR58,OPEN,(CLOSE - ((CLOSE - OPEN) * 0.33)),8,0),COLORYELLOW;
STICKLINE(VAR58,OPEN,(CLOSE - ((CLOSE - OPEN) * 0.66)),8,0),LINETHICK2,colorFF00FF;
拐点:=MA(CLOSE,4);
拐点1:=MA(CLOSE,4);
GD1:=(REF((COUNT((拐点 <= REF(拐点,1)),5) = 5),1) AND (拐点 > REF(拐点,1)));
GD2:=(REF((COUNT((拐点1 <= REF(拐点1,1)),5) = 5),1) AND (拐点1 > REF(拐点1,1))); 
DRAWTEXT(GD1,L*0.985,'▲'),ALIGN1,VALIGN0,Colorff00ff;
DRAWTEXT(GD1,L*0.990,' ̄'),ALIGN1,VALIGN0,Colorff00ff;
KS:=(((CLOSE - SMA(CLOSE,13,1)) / SMA(CLOSE,13,1)) * (0 - 100));
RKS:=REF(KS,1);
MLS:=((((RKS / KS) > 1.23) AND (RKS > 13)) AND ((CLOSE / REF(CLOSE,1)) > 1.03));
开:=OPEN;
高:=HIGH;
低:=LOW;
收:=CLOSE;
超跌:STICKLINE((KS > 13),高,低,0,1),LINETHICK2,colorFFFFFF;
反弹:STICKLINE((MLS = 1),高,低,0,1),LINETHICK2,colorFF00FF;
STICKLINE((KS > 13),开,收,8,1),LINETHICK2,colorFFFFFF;
STICKLINE((MLS = 1),开,收,8,1),LINETHICK2,colorFF00FF; 
VARk2:=((REF(HIGH,1) + REF(LOW,1)) / 2);
VARk3:=(MA(CLOSE,27) + (2 * STD(CLOSE,27))); 
DRAWTEXT(CROSS(VARk2,VARk3),H*1.00,'▼'),ALIGN1,VALIGN2,COLORGREEN;
DRAWTEXT(CROSS(VARk2,VARk3),H*1.002,' ̄'),ALIGN1,VALIGN0,COLORGREEN;

上通道:=(EMA(EMA(EMA(HIGH,5),5),5) * 1.05);
DRAWTEXT(FILTER(((HIGH > 上通道) AND (CLOSE < 上通道)),3),(HIGH * 1.01),'逃'),ALIGN1,VALIGN2,colorEE00FF;
短期乖离率:=(((CLOSE - MA(CLOSE,13)) / MA(CLOSE,13)) * 100);
趋势:=(((5 * SMA((((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 80),5,1)) - (3 * SMA(SMA((((CLOSE - LLV(LOW,7)) / (HHV(HIGH,7) - LLV(LOW,7))) * 80),5,1),3,1))) - SMA(SMA(SMA((((CLOSE - LLV(LOW,20)) / (HHV(HIGH,20) - LLV(LOW,20))) * 80),5,1),3,1),2,1)); 
平衡线:=EMA(EMA(EMA(HIGH,3),3),1);
回挡线:=(平衡线 * 0.92);
DRAWTEXT((CROSS(趋势,0) AND (短期乖离率 > 3)) AND ((回挡线 - REF(回挡线,1)) > 0),L*0.985,'▲'),ALIGN1,VALIGN0,Colorff00ff;
DRAWTEXT((CROSS(趋势,0) AND (短期乖离率 > 3)) AND ((回挡线 - REF(回挡线,1)) > 0),L*0.990,' ̄'),ALIGN1,VALIGN0,Colorff00ff;
买进价:=((c-ref(ma(c,55),1))/6+ma(c,55))*1.004;
买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);
买进:STICKLINE(买进条件,H,L,0,1),colormagenta,linethick2;
STICKLINE(买进条件,O,C,8,9),colormagenta,linethick2;
DRAWTEXT(买进条件,L*0.985,'▲'),ALIGN1,VALIGN0,Colorff00ff;
DRAWTEXT(买进条件,L*0.990,' ̄'),ALIGN1,VALIGN0,Colorff00ff;

DDD:=(EMA(CLOSE,10) - EMA(CLOSE,100));
AMA:=EMA(DDD,4);
BMA:=(EMA(CLOSE,3) - EMA(CLOSE,30));
BMB:=EMA(BMA,4);
SS:=(MA(CLOSE,8) * 0.998);
HH1:=FILTER(((DDD >= AMA) AND (BMA >= BMB)),33);
DRAWTEXT(HH1,L*0.985,'▲'),ALIGN1,VALIGN0,Colorff00ff;
DRAWTEXT(HH1,L*0.990,' ̄'),ALIGN1,VALIGN0,Colorff00ff;

中期大底:=(LLV(LOW,30) * 1.01);
DRAWTEXT((((LOW <= 中期大底) AND ((回挡线 - REF(回挡线,1)) >= (0 - 0.99999))) AND ((CLOSE / OPEN) > 1.025)),LOW,'买吧'),ALIGN1,VALIGN0,COLORYELLOW; 
了结线:=(平衡线 * 1.06);
主线2:=WMA(CLOSE,8);
上:=(MA(HIGH,30) * 1.15);
WX:=MA(CLOSE,0);
M1:=(MA(CLOSE,15) * IF((20 < 5),WX,1));
M2:=(MA(CLOSE,20) * IF((20 < 7),WX,1));
DRAWTEXT((((((((REF(CLOSE,1) < M2) AND ((主线2 - REF(主线2,1)) > 0)) AND ((了结线 - REF(了结线,1)) > 0.01)) AND (LOW < M2)) AND (CLOSE > M2)) AND ((M1 - REF(M1,1)) > 0)) AND ((CLOSE / OPEN) > 1.052)),(LOW - 0.08),'★黄金'),COLORYELLOW;
MA10:=MA(CLOSE,10);
平均值:=((MA10 / -10) + MA10);
MX:=((平均值 * 2) * 0.54);
MA13:=MA(CLOSE,13);
MA34:=MA(CLOSE,25);
DRAWTEXT(FILTER((((((((上 - REF(上,1)) > 0) AND (短期乖离率 < (0 - 4))) AND (CLOSE < OPEN)) AND (LOW <= MA34)) AND (CLOSE < MA13)) AND ((MX - REF(MX,1)) > 0)),1),LOW,'★破多买入'),colorFFFFFF;
短期底:=(LLV(HIGH,30) * 0.93);
DRAWTEXT((((LOW <= 短期底) AND (CLOSE < MX)) AND (短期乖离率 > (0 - 8))),(LOW - 0.15),'★涨20%'),COLORYELLOW;

大智慧先胜黄金分割主图指标

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

大智慧先胜黄金分割主图指标

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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