当前位置:→ 股海网飞狐公式 → 正文
  • 力道幅图指标

  • 相关简介:力道幅图指标 源码 X1:=(CLOSE+LOW+HIGH)/3; X2:=EMA(X1,6); X3:=EMA(X2,5); DRAWGBK(X2=X3,COLORRGB(150,0,0),COLORRGB(100,50,0),1); DRAWGBK(X2X3,COLORRGB(0,150,0),COLORRGB(0,80,0),1); VAR2:=EMA(EMA(X1,1),13); VAR3:=EMA(VAR2,21); PARTLINE(VAR3,VAR3),LINETHICK2,col

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

力道幅图指标

源码

X1:=(CLOSE+LOW+HIGH)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
DRAWGBK(X2>=X3,COLORRGB(150,0,0),COLORRGB(100,50,0),1);
DRAWGBK(X2<X3,COLORRGB(0,150,0),COLORRGB(0,80,0),1);
VAR2:=EMA(EMA(X1,1),13);
VAR3:=EMA(VAR2,21);
PARTLINE(VAR3,VAR3),LINETHICK2,colorFFFF;
PARTLINE(VAR2<VAR3,VAR3),LINETHICK2,colorFF0000;
STICKLINE(VAR2>=VAR3,VAR2,VAR3,8,0),colorFFFF;
STICKLINE(VAR2<VAR3,VAR2,VAR3,8,0),color9B6469;
XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
XOPEN:=EMA((REF(OPEN,1)+REF(XCLOSE,1))/2,3);
TEMPG:=MAX(HIGH,XOPEN);
XHIGH:=EMA(MAX(TEMPG,XCLOSE),3);
TEMP:=MIN(LOW,XOPEN);
XLOW:=EMA(MIN(TEMP,XCLOSE),3);
O1:=IF(XOPEN<XCLOSE,XOPEN,XCLOSE);
C1:=IF(XOPEN<XCLOSE,XCLOSE,XOPEN);
STICKLINE(XOPEN>=XCLOSE,XHIGH,XLOW,0.1,0),colorFF0000;
STICKLINE(XOPEN>=XCLOSE,C1,O1,6,0),colorFF0000;
STICKLINE(XOPEN<XCLOSE,XHIGH,XLOW,0.1,0),colorFF;
STICKLINE(XOPEN<XCLOSE,C1,O1,6,0),colorFF;
AC:=CLOSE;
轉強:=WMA(HIGH,6);
轉弱:=WMA(LOW,6);
B:=CLOSE*0;
FOR I=13+1 TO DATACOUNT DO BEGIN
IF AC[I]>轉強[I-1] THEN
B[I]:=1;ELSE
IF AC[I]<轉弱[I-1] THEN
B[I]:=-1;ELSE
B[I]:=B[I-1];
END;
轉折線:IF(B=-1,MA(HIGH,6),MA(LOW,6)),LINETHICK2,colorFFFFFF;
趨勢:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
OP:=MA(X1,5);
REFOP:=REF(OP,1);
YDD:='==yungkuang==';
DRAWTEXT(SYSPARAM(2)=BARSCOUNT(CLOSE),CLOSE,YDD),ALIGN5,colorFF00;
EXPLAIN(CLOSE,'【多空力道觀點】'),colorFF;
EXPLAIN(OP>轉折線,'多空方向:多頭'),colorFF00FF;
EXPLAIN(OP<轉折線,'多空方向:空頭'),colorFF00FF;
EXPLAIN(OP>REF(OP,1),'短操作線:向上'),colorFFFF;
EXPLAIN(OP=REF(OP,1),'短操作線:持平'),color808080;
EXPLAIN(OP<REF(OP,1),'短操作線:向下'),colorFF0000;
EXPLAIN(X2>X3,'多空力道:向上'),colorFF;
EXPLAIN(X2<X3,'多空力道:向下'),colorFFFF00;
EXPLAIN(X2=X3,'多空力道:持平'),color808080;
EXPLAIN(趨勢>REF(趨勢,1),'主趨勢線:向上'),colorFF;
EXPLAIN(趨勢<REF(趨勢,1),'主趨勢線:向下'),colorFF0000;
EXPLAIN(趨勢=REF(趨勢,1),'主趨勢線:持平'),color808080;
EXPLAIN(CLOSE,'==================='),colorFF0000;
EXPLAIN(CLOSE,'【均線觀點】'),colorFF;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA60:=MA(CLOSE,60);
EXPLAIN(MA5>REF(MA5,1)*1.01,'5日均線:強勁向上'),colorFFFF;
EXPLAIN(MA5>REF(MA5,1),'5日均線:向上'),colorFF;
EXPLAIN(MA5=REF(MA5,1),'5日均線:持平'),colorFF0000;
EXPLAIN(MA5<REF(MA5,1)*0.985,'5日均線:快速向下'),colorFFFFFF;
EXPLAIN(MA5<REF(MA5,1),'5日均線:向下'),colorFFFF00;
EXPLAIN(MA10>REF(MA10,1),'10日均線:向上'),colorFF;
EXPLAIN(MA10<REF(MA10,1),'10日均線:向下'),colorFFFF00;
EXPLAIN(MA10=REF(MA10,1),'10日均線:持平'),colorFF0000;
EXPLAIN(MA20>REF(MA20,1),'20日均線:向上'),colorFF;
EXPLAIN(MA20<REF(MA20,1),'20日均線:向下'),colorFFFF00;
EXPLAIN(MA20=REF(MA20,1),'20日均線:持平'),colorFF0000;
EXPLAIN(MA60>REF(MA60,1),'60日均線:向上'),colorFF;
EXPLAIN(MA60<REF(MA60,1),'60日均線:向下'),colorFFFF00;
EXPLAIN(MA60=REF(MA60,1),'60日均線:持平'),colorFF0000;
C1:=REF(CLOSE,1);
C2:=HHV(C1,2);
C3:=LLV(C1,1);
ET:=HHV(C1,2);
ET1:=REF(ET,1);
XB:=LLV(C1,1);
XB1:=REF(XB,1);
M:=BARSLAST(CLOSE<XB AND C1>=XB1);
M11:=REF(M,1);
N9:=BARSLAST(CLOSE>ET AND C1<=ET1);
N1:=REF(N9,1);
M21:=BARSLAST(M-N9>0 AND M11<=N1)+1;
N2:=BARSLAST(N9-M>0 AND N1<=M11)+1;
ET2:=HHV(ET,M21);
XB2:=LLV(XB,N2);
A:=IF(M-N9>0 AND M11<=N1,1,IF(N9-M>0 AND N1<=M11,0,2));
H1:=IF(M-N9>0,CLOSE,ET2);
H2:=IF(A=1,CLOSE,C2);
H3:=IF(M-N9<0,CLOSE,XB2);
H4:=IF(A=1,CLOSE,XB2);
H5:=IF(M-N9>0 OR A=1,CLOSE,H3);
H6:=REF(H5,1);
H7:=REF(H5,2);
H8:=H5>H6;
H9:=H4=REF(H4,1) AND REF(H4,1)<REF(H4,2) AND H5>REF(H5,2);
H10:=H2=REF(H2,1) AND H4=REF(H4,1) AND H5=REF(H5,2);
W:=H8 OR H9 OR H10;
T9:=H5<H6 AND H5<REF(H5,2);
T10:=H4=REF(H4,1) AND H5<REF(H5,2);
T11:=H3>REF(H3,1) AND H5<REF(H5,1);
T12:=H5=REF(H5,1) AND H3=H4;
T13:=H2=REF(H2,1) AND H2=H5;
TW:=T9 OR T10 OR T11 OR T12 OR T13;
BBP:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
EXPLAIN(CLOSE,'==================='),colorFF0000;
EXPLAIN(CLOSE,'【支撐壓力狀況】'),colorFF;
EXPLAINEX(ISLASTBAR AND W,'最高壓力:',H5*1.025,2,0),colorFF9900;
EXPLAINEX(ISLASTBAR AND W,'最低支撐:',H5*0.99,2,0),color99FF;
EXPLAINEX(ISLASTBAR AND TW,'最高壓力:',(H5+H4)/1.96,2,0),colorFF9900;
EXPLAINEX(ISLASTBAR AND TW,'最低支撐:',(H5+H3)/2.05,2,0),color99FF;
EXPLAINEX(ISLASTBAR AND W,'高點壓力:',H5*1.02,2,0),colorFF9900;
EXPLAINEX(ISLASTBAR AND W,'低點支撐:',H5*1,2,0),color99FF;
EXPLAINEX(ISLASTBAR AND TW,'高點壓力:',(H5+H4)/1.99,2,0),colorFF9900;
EXPLAINEX(ISLASTBAR AND TW,'低點支撐:',(H5+H3)/2.03,2,0),color99FF;
EXPLAIN(CLOSE,'==================='),colorFF0000;

力道幅图指标

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

力道幅图指标

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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