当前位置:→ 股海网飞狐公式 → 正文
  • 魔道主图,源码

  • 相关简介:魔道主图,源码 input:P(10,1,100); 均价:=((((HIGH + LOW) + OPEN) + CLOSE) / 4); B:=((2 * EMA(LLV(均价,88),5)) - 均价); 财神线下穿买!:((3 * B) - (2 * SMA(B,5,1))),LINETHICK0; DRAWICON(CROSS(CLOSE,财神线下穿买!),CLOSE,4),ALIGN5; VERTLINE(CROSS(CLOSE,财神线下穿买!)),LINEDOT; 主线:=(WMA(

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

魔道主图,源码

input:P(10,1,100);
 均价:=((((HIGH + LOW) + OPEN) + CLOSE) / 4);
 B:=((2 * EMA(LLV(均价,88),5)) - 均价);
 财神线下穿买!:((3 * B) - (2 * SMA(B,5,1))),LINETHICK0;
 DRAWICON(CROSS(CLOSE,财神线下穿买!),CLOSE,4),ALIGN5;
 VERTLINE(CROSS(CLOSE,财神线下穿买!)),LINEDOT;
 主线:=(WMA(CLOSE,P) * 0.99);
 VAR1:=POW((CLOSE - 主线),1);
 VAR2:=MA(VAR1,3);
 VAR3:=SQRT(VAR2);
 阻力线:=(主线 + (1.96 * VAR3));
 支撑线:=(主线 - (1.96 * VAR3));
 PARTLINE(((主线 > REF(主线,1)) AND (阻力线 <> 支撑线)),主线),LINETHICK1,colorFF;
 DRAWICON((主线 > REF(主线,1)),主线,10);
 DRAWICON(((主线 > REF(主线,1)) AND (REF(主线,1) < REF(主线,2))),(主线 * 0.99),8);
 魔中轨:=MA(CLOSE,20);
 魔道上:(魔中轨 + (2 * STD(CLOSE,24))),POINTDOT,LINETHICK3,colorFF9966;
 魔道下:(魔中轨 - (2 * STD(CLOSE,24))),POINTDOT,LINETHICK3,colorFF9966;
 V1:=((CLOSE + (4 * HIGH)) / 5);
 V2:=LLV(V1,30);
 生死线:(V2 * 0.98),LINETHICK2,colorFF;
 VAR1:=REF(CLOSE,1);
 VAR2:=((SMA(MAX((CLOSE - VAR1),0),6,1) / SMA(ABS((CLOSE - VAR1)),6,1)) * 100);
 DRAWTEXT(CROSS(80,VAR2),(HIGH * 1.02),'顶'),LINETHICK2,colorEEFF;
 阻挡:=(SMA(HIGH,13,2) * 1.04);
 STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,9,0),colorFF5B00;
 STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8,0),colorFF6C00;
 STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,7,0),colorFF7B00;
 STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),colorFF9C00;
 STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),colorFFBE00;
 STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3.5,0),colorFFCC00;
 STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1.5,0),colorFFFF00;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),colorAA;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),colorCC;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,0),colorDD;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),colorFF;
 STICKLINE((CLOSE >= OPEN),HIGH,LOW,0,0),colorFFFF;
 STICKLINE((CLOSE <= OPEN),CLOSE,OPEN,8,0),color998855;
 STICKLINE((CLOSE <= OPEN),CLOSE,OPEN,6,0),colorBBAA77;
 STICKLINE((CLOSE <= OPEN),CLOSE,OPEN,4,0),colorDDCC99;
 STICKLINE((CLOSE <= OPEN),CLOSE,OPEN,2,0),colorFFEEBB;
 STICKLINE((CLOSE <= OPEN),HIGH,LOW,0,0),colorFFFF00;
 STICKLINE((CLOSE < OPEN),HIGH,LOW,1,0),color8800;
 STICKLINE((CLOSE < OPEN),HIGH,LOW,0,0),colorFF00;
 STICKLINE((CLOSE < OPEN),CLOSE,OPEN,8,0),color8800;
 STICKLINE((CLOSE < OPEN),CLOSE,OPEN,7,0),color9900;
 STICKLINE((CLOSE < OPEN),CLOSE,OPEN,6,0),colorAA00;
 STICKLINE((CLOSE < OPEN),CLOSE,OPEN,5,0),colorBB00;
 STICKLINE((CLOSE < OPEN),CLOSE,OPEN,4,0),colorCC00;
 STICKLINE((CLOSE < OPEN),CLOSE,OPEN,3,0),colorDD00;
 STICKLINE((CLOSE < OPEN),CLOSE,OPEN,2,0),colorEE00;
 STICKLINE((CLOSE < OPEN),CLOSE,OPEN,1,0),colorFF00;
 STICKLINE((CLOSE >= OPEN),HIGH,LOW,1,0),colorFF;
 STICKLINE((CLOSE >= OPEN),HIGH,LOW,0,0),colorEEFF;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),colorFF;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,7,0),color22FF;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),color44FF;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),color66FF;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,0),color88FF;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),colorAAFF;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),colorCCFF;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),colorEEFF;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),colorCCFF;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),colorEEFF;
 STICKLINE((CLOSE < OPEN),HIGH,LOW,1,0),color8800;
 STICKLINE((CLOSE < OPEN),HIGH,LOW,0,0),colorFF00;
 STICKLINE((CLOSE < OPEN),CLOSE,OPEN,8,0),color8800;
 STICKLINE((CLOSE < OPEN),CLOSE,OPEN,7,0),color9900;
 STICKLINE((CLOSE < OPEN),CLOSE,OPEN,6,0),colorAA00;
 STICKLINE((CLOSE < OPEN),CLOSE,OPEN,5,0),colorBB00;
 STICKLINE((CLOSE < OPEN),CLOSE,OPEN,4,0),colorCC00;
 STICKLINE((CLOSE < OPEN),CLOSE,OPEN,3,0),colorDD00;
 STICKLINE((CLOSE < OPEN),CLOSE,OPEN,2,0),colorEE00;
 STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 阻挡)) AND (CLOSE < 阻挡)),OPEN,LOW,0.7,0),colorFF0000;
 STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 阻挡)) AND (CLOSE < 阻挡)),CLOSE,HIGH,0.7,0),colorFF0000;
 STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 阻挡)) AND (CLOSE < 阻挡)),CLOSE,OPEN,9,0),colorFF0000;
 STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 阻挡)) AND (CLOSE < 阻挡)),CLOSE,OPEN,6,0),colorFF0000;
 STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 阻挡)) AND (CLOSE < 阻挡)),CLOSE,OPEN,4,0),colorFF0000;
 STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 阻挡)) AND (CLOSE < 阻挡)),CLOSE,OPEN,2,0),colorFF0000;
 DRAWICON((((CLOSE < REF(CLOSE,1)) AND (HIGH > 阻挡)) AND (CLOSE < 阻挡)),(HIGH * 1.02),5);
 MID:=MA(CLOSE,20);
 UPPER:=(MID + (2 * STD(CLOSE,20)));
 LOWER:=(MID - (2 * STD(CLOSE,20)));
 V1:=(((CLOSE - LOWER) / (UPPER - LOWER)) * 100);
 V2:=(V1 - EMA(V1,5));
 K1:=(SUM(LLV(V2,4),4) / 4);
 V3:=(EMA(V2,64) * 10);
 V4:=EMA(((0.4 * V2) * (0 - 1)),3);
 V5:=(0 - ((1 * EMA(V2,39)) * 10));
 A:=(V3 > 10);
 B:=(V2 > V4);
 E:=(V5 > 10);
 KS:=(((V3 <= 10) OR (V2 <= V4)) OR (V5 <= 10));
 RKS:=(((CLOSE - SMA(CLOSE,13,1)) / SMA(CLOSE,13,1)) * (0 - 100));
 MLS:=REF(RKS,1);
 开:=((((MLS / RKS) > 1.23) AND (MLS > 13)) AND ((CLOSE / REF(CLOSE,1)) > 1.03));
 高:=OPEN;
 低:=HIGH;
 收:=LOW;
 VAR4:=CLOSE;
 超跌:STICKLINE((RKS > 13),低,收,0,1),LINETHICK2,colorFFFFFF;
 反弹:STICKLINE((开 = 1),低,收,0,1),LINETHICK2,colorFF00FF;
 STICKLINE((RKS > 13),高,VAR4,8,1),LINETHICK2,colorFFFFFF;
 STICKLINE((开 = 1),高,VAR4,8,1),LINETHICK2,colorFF00FF;
 VAR1:=((EMA(CLOSE,3) - EMA(CLOSE,6)) - ((EMA(CLOSE,6) - EMA(CLOSE,12)) * (0 - 100)));
 VAR2:=EMA(VAR1,3);
 VAR3:=((EMA(CLOSE,3) - EMA(CLOSE,6)) - ((EMA(CLOSE,24) - EMA(CLOSE,36)) * (0 - 100)));
 VAR5:=EMA(VAR3,9);
 VAR6:=CROSS(VAR1,VAR2);
 VARA:=CROSS(VAR2,VAR1);
 牛:STICKLINE(VAR6,OPEN,CLOSE,10,0),colorFFFF;
 纪律:STICKLINE(VAR6,OPEN,(CLOSE - ((CLOSE - OPEN) * 0.33)),10,0),colorFF00FF;
 赚了跑:STICKLINE(VAR6,OPEN,(CLOSE - ((CLOSE - OPEN) * 0.66)),10,0),LINETHICK2,colorFF;
 VAR1:=EMA(((((CLOSE + LOW) + OPEN) + HIGH) / 2),2);
 STICKLINE(((VAR1 <= REF(VAR1,3)) AND (CLOSE > OPEN)),OPEN,CLOSE,9,3),colorFFFFFF;
 VARB:=((AMOUNT / VOL) / 100);
 VARC:=(((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 7);
 VARD:=((SUM(AMOUNT,7) / VARB) / 100);
 VARE:=DMA(VARC,(VOL / VARD));
 VARF:=(((CLOSE - VARE) / VARE) * 100);
 VARJ:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100);
 BIAS18:=(MA(VARF,20) + STD(VARF,20));
 K:=(((CLOSE - MA(CLOSE,18)) / MA(CLOSE,18)) * 100);
 顶:=SMA(VARJ,3,1);
 趋势线:=(((REF(K,1) >= 5) AND CROSS(BIAS18,VARF)) AND (顶 > 79));
 DRAWTEXT(FILTER((((REF(K,1) >= 5) AND CROSS(BIAS18,VARF)) AND (顶 > 79)),5),(HIGH * 1.02),'风险'),colorFFFF;
 短期乖离率:=((3 * SMA((((CLOSE - LLV(LOW,28)) / (HHV(HIGH,28) - LLV(LOW,28))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1)));
 VAR119:=(((CLOSE - MA(CLOSE,13)) / MA(CLOSE,13)) * 100);
 DRAWTEXT(FILTER((IF(((CROSS(短期乖离率,10) AND ((CLOSE / LOW) > 1.04)) AND (VAR119 < 0.35)),1,0) AND (CLOSE > OPEN)),5),(LOW - 0.07),'★底'),ALIGN2,colorEEFF;

魔道主图,源码

 

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

魔道主图,源码

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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