首页 > 编程语言 >通达信金龙狂舞指标公式源码副图

通达信金龙狂舞指标公式源码副图

时间:2024-01-28 18:24:06浏览次数:27  
标签:EMA REF HIGH 通达信 源码 LOW CLOSE 狂舞 OPEN

A1:=(Ema((OPEN+HIGH+LOW+CLOSE)/4,3)+EMA((OPEN+HIGH+LOW+CLOSE)/4,6)+EMA((OPEN+HIGH+LOW+CLOSE)/4,9))/3;
A2:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,5)+EMA((OPEN+HIGH+LOW+CLOSE)/4,11)+EMA((OPEN+HIGH+LOW+CLOSE)/4,22))/3;
A3:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,7)+EMA((OPEN+HIGH+LOW+CLOSE)/4,14)+EMA((OPEN+HIGH+LOW+CLOSE)/4,29))/3;
A4:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,9)+EMA((OPEN+HIGH+LOW+CLOSE)/4,18)+EMA((OPEN+HIGH+LOW+CLOSE)/4,38))/3;
A5:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,11)+EMA((OPEN+HIGH+LOW+CLOSE)/4,22)+EMA((OPEN+HIGH+LOW+CLOSE)/4,48))/3;
A6:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,13)+EMA((OPEN+HIGH+LOW+CLOSE)/4,26)+EMA((OPEN+HIGH+LOW+CLOSE)/4,54))/3;
A7:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,21)+EMA((OPEN+HIGH+LOW+CLOSE)/4,34)+EMA((OPEN+HIGH+LOW+CLOSE)/4,72))/3;
VAR1:=FORCAst(A1,6);
VAR2:=FORCAST(A2,6);
VAR3:=FORCAST(A3,6);
VAR4:=FORCAST(A4,6);
VAR5:=FORCAST(A5,6);
VAR6:=FORCAST(A6,6);
VAR7:=FORCAST(A7,6);
IF(VAR1>REF(VAR1,1),VAR1,DRAWNULL),POINTDOT,COLORFF00FF;
IF(VAR1<ref(var1,1),var1,drawnull),pointdot,color00ff00;
IF(VAR2>REF(VAR2,1),VAR2,DRAWNULL),POINTDOT,COLORFF00FF;
IF(VAR2<ref(var2,1),var2,drawnull),pointdot,color00ff00;
IF(VAR3>REF(VAR3,1),VAR3,DRAWNULL),POINTDOT,COLORFF00FF;
IF(VAR3<ref(var3,1),var3,drawnull),pointdot,color00ff00;
IF(VAR4>REF(VAR4,1),VAR4,DRAWNULL),POINTDOT,COLORFF00FF;
IF(VAR4<ref(var4,1),var4,drawnull),pointdot,color00ff00;
IF(VAR5>REF(VAR5,1),VAR5,DRAWNULL),POINTDOT,COLORFF00FF;
IF(VAR5<ref(var5,1),var5,drawnull),pointdot,color00ff00;
IF(VAR6>REF(VAR6,1),VAR6,DRAWNULL),POINTDOT,COLORFF00FF;
IF(VAR6<ref(var6,1),var6,drawnull),pointdot,color00ff00;
IF(VAR7>REF(VAR7,1),VAR7,DRAWNULL),LINETHICK2,COLORFF00FF;
IF(VAR7<ref(var7,1),var7,drawnull),linethick2,color00ff00;
towERC:=FORCAST(EMA((3*CLOSE+2*OPEN+HIGH+LOW)/7,3),6);
DIRECTIONMAX:=MAX(REF(TOWERC,1),REF(TOWERC,1));
DIRECTIONMIN:=MIN(REF(TOWERC,1),REF(TOWERC,1));
STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,DIRECTIONMAX,4,0),COLOR0000FF;
STICKLINE(TOWERC<ref(towerc,1),towerc,directionmin,4,0),color00ff00;< p="">

 

标签:EMA,REF,HIGH,通达信,源码,LOW,CLOSE,狂舞,OPEN
From: https://www.cnblogs.com/zhibiao/p/17993119

相关文章

  • 通达信N字首板选股指标公式源码副图
    收盘换手:=vol/CAPITAL*100;前板:=CLOSE>REF(CLOSE,1)*1.095;天数:=BArslAst(前板);小阴小阳:=HHV(Abs(C-REF(C,1))/REF(C,1)*100,BARSLAST(前板))<9;时间限制:=COUNT(前板,10)=1ANDBARSLAST(前板)>1ANDBARSLAST(前板)<6;温和换手:=EVERY(收盘换手>3,BARSLAST(前板));......
  • MyBatis 源码系列:MyBatis 体系结构、六大解析器
    体系结构MyBatis是一个持久层框架,其体系结构分为三层:基础支持层、核心处理层和接口层。基础支持层包括数据源模块、事务管理模块、缓存模块、Binding模块、反射模块、类型转换模块、日志模块、资源加载模块和解析器模块。这些模块为MyBatis提供了基础功能,为核心处理层提供了良好......
  • 通达信 深海预警指标公式源码副图
    80,COLOR888888,; QW1:=(HIGH+LOW+CLOSE*2)/4; QW3:=EMA(QW1,10); QW4:=STD(QW1,10); QW5:=(QW1-QW3)*100/QW4; QW6:=EMA(QW5,5); RK7:=EMA(QW6,10);涨:EMA(QW6,10)+100/2-5,LINETHICK1,COLORYELLOW;跌:=EMA(涨,4),LINETHICK1,COLORFFFF34,;多线:IF(CROSS(涨,跌)A......
  • 通达信启动买入主图指标公式源码
    A:EMA(C,21)COLORBLUE,LINETHICK3; B:=A<ref(a,1); IF(B-1,A,DRAWNULL)COLORRED,LINETHICK3; AA:=EMA(C,3)>EMA(C,21); BB:=EMA(C,3)<EMA(C,21); CC:=EMA(C,3)>EMA(C,8); CC1:=EMA(C,3)<EMA(C,8); DD:=CLOSE<open;STICKLINE(AA,H,L,0,0),C......
  • 通达信【寻妖记】幅图选股公式 大概率捉妖 简洁浓缩 分析股票的强度指标 源码文件分享
    通达信【寻妖记】幅图选股公式简洁浓缩分析股票的强度指标源码文件分享原公式完全加密,时间限时,股海网解密源码文件分享,已经解除时间限制,可以永久使用,并新增选股公式一个本指标叠加了资金流动、筹码流动、股票情绪三个元素,是一个综合性的评价指标,可用于选股、操盘。这个指标......
  • 通达信启动与洗盘指标公式源码
    volUME:VOL,VOLstICK;主力启动线:ma(VOLUME,5),COLORRED,LINETHICK1;主力洗盘线:MA(VOLUME,35),COLORYELLOW,LINETHICK1;资金异动线:MA(VOLUME,135),COLORWHITE,LINETHICK1;出击:STICKLINE(crOSS(主力启动线,资金异动线)OR((主力洗盘线>资金异动线)ANDCROSS(主力启动线,......
  • 通达信抓大牛主图指标公式源码主图
    M3:ma(CLOSE,3);M13:MA(CLOSE,13);M34:MA(CLOSE,34),COLORRED,LINETHICK2;X:=BArslAst(REF(crOSS(C,MA(C,120)),1))ANDCROSS(MA(C,20),MA(C,120));IF(M34<ref(m34,1),m34,drawnull),colorgreen,linethick2;STICKLINE(M3>=M13ANDM34>=REF(M34,1),H,L,0.1,0......
  • 通达信赤霞捉妖指标公式源码副图
    {日周月趋势}月DIF:=(Ema(CLOSE,12*4*4)-EMA(CLOSE,26*4*4));月DEA:=EMA(月DIF,9*4*4);月macd:=2*(月DIF-月DEA);周DIF:=(EMA(CLOSE,12*4)-EMA(CLOSE,26*4));周DEA:=EMA(周DIF,9*4),COLORWHITE,DOTLINE;周MacD:=2*(周DIF-周DEA);日DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26));日D......
  • 通达信超级生命线指标公式源码副图
    LASBAR:=BARstATUS==2;volX:=IF(LASBAR,DYNAINFO(17)*DYNAINFO(38),0),LINETHICK0;STICKLINE(LASBAR,0,VOLX,7.5,1)COLORYELLOW;VOLUME:VOL,VOLSTICK;BLZ:=VOL>REF(V,1)*1.9;BLZ1:=VOL<REF(LLV(VOL,13),1);BLZ2:=VOL<REF(LLV(VOL,55),1);HJZ:=(3*C+H+L+O)/6......
  • 通达信卧龙根副图指标公式源码副图
    跟庄看盘:DRAWNULL,COLOR0088FF;DT:=L=DTPRICE(REF(C,1),0.1);ZT:=C=ZTPRICE(REF(C,1),0.1);连阴:=COUNT((C<REF(C,1)ORL<REF(L,1)),10)>=5;间谍柱:=REF(连阴,1)ANDDT;卧底:=BArslAst(间谍柱);卧龙根:卧底<20ANDcrOSS(C,REF((C+O)/2,卧底));洗龙根:EXIST(卧龙根,1......