首页 > 编程语言 >龙哥量化:通达信波浪形态主图指标公式源码

龙哥量化:通达信波浪形态主图指标公式源码

时间:2024-06-12 22:00:26浏览次数:21  
标签:FILTER 窗口 DRAWTEXT 龙哥 主图 HIGH 源码 0.99 LOW

如果您需要代写公式, 请联系我。

龙哥QQ:591438821

龙哥微信:Long622889

N1:=6;
A1:=EMA(C,14)COLORWHITE,LINETHICK1;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
突破:REF(EMA(C,14),1),NODRAW;
距离:(C-突破)/突破*100,NODRAW;
出击:IF(A1X>=0,REF(EMA(C,14),BArslAST(crOSS(A1X,0))+1),DRAWNULL)COLORRED,LINETHICK1;
休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORGREEN,LINETHICK1;
涨幅:IF(A1X>=0,(C-出击)/出击*100,DRAWNULL)NODRAW;
跌幅:IF(A1X<0,(C-休假)/休假*100,DRAWNULL)NODRAW;
♂10%:IF(H>=出击*1.1,出击*1.1,DRAWNULL),COLORRED,POINTDOT;
♂20%:IF(H>=出击*1.2,出击*1.2,DRAWNULL),COLORRED,POINTDOT;
♂30%:IF(H>=出击*1.3,出击*1.3,DRAWNULL),COLORRED,POINTDOT;
♀Ⅰ:IF(L<休假*0.9,休假*0.9,DRAWNULL),COLORGREEN,POINTDOT;
♀Ⅱ:IF(L<休假*0.8,休假*0.8,DRAWNULL),COLORGREEN,POINTDOT;
♀Ⅲ:IF(L<休假*0.7,休假*0.7,DRAWNULL),COLORGREEN,POINTDOT;
STICKLINE(CROSS(A1X,0),C,O,2,0)COLORYELLOW;
STICKLINE(CROSS(0,A1X),C,O,2,0)COLORGREEN;
STICKLINE(CROSS(A1X,0)OR CROSS(0,A1X),REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,2,0)COLORWHITE;
STICKLINE(ISLASTBAR,REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,5,0)COLORWHITE;
A11:DRAWLINE(HIGH>=HHV(HIGH,5),HIGH,LOW<=LLV(LOW,5),LOW,0);
B1:DRAWLINE(LOW<=LLV(LOW,5),LOW,HIGH>=HHV(HIGH,5),HIGH,0);
A2:DRAWLINE(HIGH>=HHV(HIGH,13),HIGH,LOW<=LLV(LOW,13),LOW,0);
B2:DRAWLINE(LOW<=LLV(LOW,13),LOW,HIGH>=HHV(HIGH,13),HIGH,0);
A3:DRAWLINE(HIGH>=HHV(HIGH,34),HIGH,LOW<=LLV(LOW,34),LOW,0);
B3:DRAWLINE(LOW<=LLV(LOW,34),LOW,HIGH>=HHV(HIGH,34),HIGH,0);
A4:DRAWLINE(HIGH>=HHV(HIGH,55),HIGH,LOW<=LLV(LOW,55),LOW,0);
B4:DRAWLINE(LOW<=LLV(LOW,55),LOW,HIGH>=HHV(HIGH,55),HIGH,0);
mtm:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(Abs(MTM),N1),N1);
买1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND CROSS(ZLGJ,MA(ZLGJ,2)),1,0);
卖1:=IF(HHV(ZLGJ,2)=HHV(ZLGJ,7) AND COUNT(ZLGJ>50,2) AND CROSS(MA(ZLGJ,2),ZLGJ),1,0);
DRAWICON(FILTER(买1=1,5),LOW*0.99,7),COLORRED;
STICKLINE(FILTER(买1=1,5),C,O,1,0),COLORRED;
DRAWICON(FILTER(卖1=1,1),H*1.01,8),COLOR00FF00;
STICKLINE(FILTER(卖1=1,1),C,O,1,0),COLOR00FF00;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BDGD:=HHV(J,2)=HHV(J,8) AND J>80;
注意:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0);
DRAWTEXT(注意 AND 卖1<1,HIGH*1.01,'J'),COLOR00FF00,LINETHICK3;
STICKLINE(注意 AND 卖1<1,O,CLOSE,1,0),COLORYELLOW,LINETHICK2;
时间窗口01:=FILTER(IF(HHVBARS(HIGH,5),0,H),5),COLORFFFF00;
DRAWTEXT(时间窗口01,HIGH*0.99,'5');
时间窗口02:=FILTER(IF(LLVBARS(LOW,5),0,L),5),COLOR00FFFF;
DRAWTEXT(时间窗口02,LOW*0.99,'5');
时间窗口1:=FILTER(IF(HHVBARS(HIGH,13),0,1),13),COLOR00FF00;
DRAWTEXT(时间窗口1,HIGH*0.99,'13');
时间窗口2:=FILTER(IF(LLVBARS(LOW,13),0,1),13),COLOR0000FF;
DRAWTEXT(时间窗口2,LOW*0.99,'13');
时间窗口3:=FILTER(IF(HHVBARS(HIGH,34),0,2),34),COLOR55FF55;
DRAWTEXT(时间窗口3,HIGH*0.99,'34');
时间窗口4:=FILTER(IF(LLVBARS(LOW,34),0,2),34),COLOR5555FF;
DRAWTEXT(时间窗口4,LOW*0.99,'34');
时间窗口5:=FILTER(IF(HHVBARS(HIGH,55),0,30),55),COLOR99FF99;
DRAWTEXT(时间窗口5,HIGH*0.99,'55');
时间窗口6:=FILTER(IF(LLVBARS(LOW,55),0,30),55),COLORDD00FF;
DRAWTEXT(时间窗口6,LOW*0.99,'55');
时间窗口7:=FILTER(IF(HHVBARS(HIGH,89),0,40),89),COLORddfFDD;
DRAWTEXT(时间窗口7,HIGH*0.99,'89');
时间窗口8:=FILTER(IF(LLVBARS(LOW,89),0,40),89),COLOR0055FF;
DRAWTEXT(时间窗口8,LOW*0.99,'89');
时间窗口9:=FILTER(IF(HHVBARS(HIGH,144),0,50),144),COLORDDFF00;
DRAWTEXT(时间窗口9,HIGH*0.99,'144');
时间窗口10:=FILTER(IF(LLVBARS(LOW,144),0,50),144),COLOR9955FF;
DRAWTEXT(时间窗口10,LOW*0.99,'144');
时间窗口11:=FILTER(IF(HHVBARS(HIGH,233),0,60),233),COLORDDFFFF;
DRAWTEXT(时间窗口11,HIGH*0.99,'233');
时间窗口12:=FILTER(IF(LLVBARS(LOW,233),0,60),233),COLORFF55FF;
DRAWTEXT(时间窗口12,LOW*0.99,'233');

 

 

标签:FILTER,窗口,DRAWTEXT,龙哥,主图,HIGH,源码,0.99,LOW
From: https://www.cnblogs.com/long136/p/18244786

相关文章

  • 龙哥量化:通达信寻找底部,出现粉色柱状线为多头信号,后势上涨概率较大
    如果您需要代写公式,请联系我。龙哥QQ:591438821龙哥微信:Long622889寻找底部使用说明:出现粉色柱状线为多头信号,后势上涨概率较大;出现青色柱状线信号为空头信号,后势下跌风险较大。黄线为构筑底部区域,当出现第一根粉色柱状线为最佳买入信号。 实价线:(C-LLV(L,60))/(HHV(......
  • 龙哥量化:通达信寻找超跌区指标公式源码副图
    如果您需要代写公式,请联系我。龙哥QQ:591438821龙哥微信:Long622889 超:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;跌:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;区:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;bias:=(超+2*跌+3*区)/6;AA:=MA(BIAS,3);BB:STICKLINE(AA<-12ANDAA>=-1......
  • 龙哥量化:通达信尾盘淘金选股指标公式
    如果您需要代写公式,请联系我。龙哥QQ:591438821龙哥微信:Long622889VAR1:=REF(OPEN>CLOSE,3)ANDREF(OPEN>CLOSE,2)ANDREF(OPEN<CLOSE,1);VAR2:=OPEN>CLOSE;VAR3:=REF(CLOSE,1)/CLOSE>=1.03;VAR4:=CLOSE/LOW<1.03;VAR5:=vol<REF(VOL,3)*1.2ANDVOL>REF(VOL,3)*......
  • 龙哥量化:通达信筹码密度指标公式源码(筹码密集度)
    如果您需要代写公式,请联系我。龙哥QQ:591438821龙哥微信:Long622889筹码密集度:(COST(90+(100-90)/2)-COST((100-90)/2))/(COST(90+(100-90)/2)+COST((100-90)/2))+CLOSE,COLORYELLOW,LINETHICK3;X_1:=REF(HHV(筹码密集度,20),0);X_2:=REF(HHV(筹码密集度,3),0);X_3:=REF(LLV(......
  • 龙哥量化:通达信庄家筹码副图指标公式源码
    如果您需要代写公式,请联系我。龙哥QQ:591438821龙哥微信:Long622889庄筹线:EMA(WINNER(C)*70,5)COLORREDLINETHICK2;散筹线:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5)COLORGREENLINETHICK2;{5;20;40;60;}捞活鱼:FILTER((CROSS(5,庄筹线)AND散筹线<20)*40,10),COLO......
  • 龙哥量化:通达信动量曲线副图,通过动量,捕捉波段介入点
    如果您需要代写公式,请联系我。龙哥QQ:591438821龙哥微信:Long622889VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);阶段卖出:3.2,COLORC6C600;STICKLINE(C>0,3.2,3.2,0.5,1),COLOR404040;清仓卖出:3.5,COLORWHITE;STICKLINE(C>0,3.5,3.5,5,1),COLOR404040;强弱分界线:1.75,COLO......
  • PasteSpider的集群组件PasteCluster(让你的项目快速支持集群模式)的思路及实现(含源码
    PasteSpider是什么?一款使用.net编写的开源的Linux容器部署助手,支持一键发布,平滑升级,自动伸缩,Key-Value配置,项目网关,环境隔离,运行报表,差量升级,私有仓库,集群部署,版本管理等!30分钟上手,让开发也可以很容易的学会在linux上部署你得项目![从需求角度介绍PasteSpider(K8S平替部署......
  • ThreadLocal源码分析
    目录0x00ThreadLocal0x01ThreadLocalMap0x02ThreadLocal内存泄漏0x00ThreadLocalThreadLocal提供了线程局部的变量,但和普通局部变量不同,同一个ThreadLocal变量可以被多个线程共享,而不是线程私有的。在ThreadLocal源代码中有一个使用例子,代码如下:importjava.ut......
  • Chromium源码阅读:深入理解Mojo框架的设计思想,并掌握其基本用法(2)
    我们继续分析Chromium的Mojo模块。DispatcherDispatcher是MojoIPC系统中的一个关键概念。它是一个虚基类类(或接口),用于实现与特定MojoHandle相关联的Mojo核心API调用。在Mojo系统中,应用程序通过这些API与各种类型的IPC机制进行交互,如消息管道、共享缓冲区......
  • 青否数字人直播源码代理端后台操作步骤!
    青否数字人直播源码代理端后台,我们将详细介绍一下数字人的代理端后台的详细操作步骤!1.代理端入口2.代理后台预览基本设置,账号管理,资金管理,克隆端。2.1基本设置设置一些账号的基本信息包括名称,logo,二维码等等,点击“提交”即可2.2账号管理打开账号管理,可搜索已创建的......