首页 > 编程语言 >通达信KDJ多周期共振指标公式源码副图

通达信KDJ多周期共振指标公式源码副图

时间:2024-02-25 10:55:44浏览次数:27  
标签:KDJ STICKLINE 通达信 源码 NODRAW REF DAY 共振

{ 股票指标 }

YK:kdj.K#MONTH,NODRAW;
YD:kdJ.D#MONTH,NODRAW;
ZK:KDJ.K#WEEK,NODRAW;
X_1:=KDJ.D#WEEK;
X_2:="KDJ.J#MONTH";
X_3:="KDJ.J#WEEK";
X_4:=1;
stICKLINE(X_4 AND X_3=1,55,65,5,0),COLOR000088;
STICKLINE(X_4 AND X_3=0,55,65,5,0),COLOR008800;
STICKLINE(X_4 AND X_2=1,45,35,5,0),COLOR000088;
STICKLINE(X_4 AND X_2=0,45,35,5,0),COLOR008800;
K:KDJ.K#DAY,COLORWHITE;
D:KDJ.D#DAY,COLORYELLOW;
J:KDJ.J#DAY,COLORmaGENTA;
DRAWBAND(K,RGB(158,158,0),D,RGB(0,158,158));
X_5:=KDJ.K#DAY>KDJ.D#DAY;
X_6:=X_4 AND X_3=1;
X_7:=X_4 AND X_2=1;
多共振:FILTER(crOSS(X_5 AND X_6 AND X_7 AND REF(ZK,1)<50,0.5),5),NODRAW,COLORYELLOW;
STICKLINE(X_4 AND 多共振=1,45,55,1,0),COLORYELLOW;
X_8:=KDJ.K#DAY<kdj.d#day;
X_9:=X_4 AND X_3=0;
X_10:=X_4 AND X_2=0;
空共振:FILTER(CROSS(X_8 AND X_9 AND X_10 AND REF(ZK,1)>50,0.5),5)*X_4,NODRAW,COLORCYAN;
STICKLINE(空共振=1,45,55,1,0),COLORCYAN;
金叉共振:BArslAST(REF(KDJ.K#DAY,1)<ref(kdj.d#day,1) and="" kdj.k#day="">=KDJ.D#DAY)<=1 AND BARSLAST(CROSS(KDJ.K#WEEK,KDJ.D#WEEK))<=5 AND X_2=1 AND REF(ZK,1)<50,NODRAW,COLORRED;
DRAWICON(CROSS(金叉共振,0.1),20,34);
死叉共振:BARSLAST(REF(KDJ.K#DAY,1)>REF(KDJ.D#DAY,1) AND KDJ.K#DAY<=KDJ.D#DAY)<=1 AND BARSLAST(CROSS(KDJ.D#WEEK,KDJ.K#WEEK))<=5 AND X_2=0 AND REF(ZK,1)>50,NODRAW,COLORGREEN;
DRAWICON(CROSS(死叉共振,0.1)*X_4,80,35);

 

标签:KDJ,STICKLINE,通达信,源码,NODRAW,REF,DAY,共振
From: https://www.cnblogs.com/zhibiao/p/18032145

相关文章

  • 通达信小股短线王指标公式源码副图
    {股票指标}成交量:=vol;ma5:=MA(VOL,5);MA10:=MA(VOL,10);MA20:=MA(VOL,20);MA35:=MA(VOL,35);AAA:=VOL/((H-L)*2-Abs(C-O));主买:=IF(C>O,AAA*(H-L),IF(C<o,aaa*((h-o)+(c-l)),vol2))*0.8,linethick0;<br="">主卖:=-IF(C>O,0-AAA*((H-C)+(O-L)),IF......
  • 通达信资金100分指标公式源码副图
    {股票指标}N:=3;M:=8;AA:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<open,aa*((high-open)+(close-low)),vol2)),linethick0,colorred;<br="">卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE......
  • 通达信主买占比指标公式源码副图
    {股票指标}万手:vol/10000,LINETHICK0;AA:=IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL);预测:AA/10000;BB:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<open,bb*((high-open)+(close-low)),vol2));<br="......
  • 通达信顾比回调认同主图指标公式
    {股票指标}ma1:EXPMEMA(CLOSE,3),COLORRED,LINETHICK2;MA2:EXPMEMA(CLOSE,5);MA3:EXPMEMA(CLOSE,8);MA4:EXPMEMA(CLOSE,10);MA5:EXPMEMA(CLOSE,12);MA6:EXPMEMA(CLOSE,15);MA7:EXPMEMA(CLOSE,30),COLORRED;MA8:EXPMEMA(CLOSE,35);MA9:EXPMEMA(CLOSE,40);MA10:EXPMEMA......
  • 通达信一剑定乾坤指标公式源码副图
    {股票指标}MB03:=ma(C,3);MB10:=MA(C,10);MB1:=EMA(CLOSE,12)-EMA(CLOSE,26);MB2:=EMA(MB1,9);MB3:=(MB1-MB2)*2;稳定剑:=MB3;MAR1:=((C-LLV(L,55))/(HHV(H,55)-LLV(L,55)))*100;MAR2:=SMA(MAR1,13,8);趋势线:=CEILING(SMA(MAR2,13,8)),COLORRED,LINETHICK2;MAR10:=E......
  • UE5源码版本在多个工程来回切换时重复编译引擎问题
    细看UBT日志,已经给出了提示11>ParsingheadersforActionRPG11>RunningInternalUnrealHeaderToolD:\UEProject\ActionRPG\ActionRPG.uprojectD:\UEProject\ActionRPG\Intermediate\Build\Win64\ActionRPG\Development\ActionRPG.uhtmanifest-WarningsAsError......
  • Spring启动流程XML版(源码)
    1.XML方式配置bean启动Spring的核心类: ClassPathXmlApplicationContext-> AbstractXmlApplicationContext 类结构如下: 核心方法: refresh()方法, 刷新容器, 包含12个核心子方法, 如下: 方法1:prepareRefresh();作用:容器刷新前的准备工作方法2: ConfigurableL......
  • 陪玩程序源码,如何引导用户进行点赞操作?
    引导点赞我们需要让按钮做出一些视觉效果来引导用户进行点赞操作,那持续震动无疑是一种好的选择。//love.jsconstlikeBtn=document.getElementById('likeBtn');constheart=document.getElementById('heart')likeBtn.addEventListener('mousemove',()=>{heart.cl......
  • 游戏陪玩app源码,多爱心漂浮按钮周围的实现代码
    爱之满满按钮效果怎么样才能在游戏陪玩app源码中达到爱之满满按钮效果呢,那必然是越多的爱越好啊。我们想办法让爱心漂浮在按钮周围,在规定时间内爱心进行位移并消失即可。创建一个元素可以使用document.createElement,移除元素可以使用DOM的remove()剩下的就简单了,只需要在这个......
  • 浅析ThreadLocal源码
    privatevoidset(ThreadLocal<?>key,Objectvalue){//Wedon'tuseafastpathaswithget()becauseitisat//leastascommontouseset()tocreatenewentriesas//itistoreplaceexistingones,inwhichcase,afast/......