首页 > 编程语言 >通达信喜鹊蹬枝主图指标公式源码

通达信喜鹊蹬枝主图指标公式源码

时间:2024-02-06 19:11:59浏览次数:32  
标签:MA DRAWTEXT 蟹膏满 通达信 源码 CLOSE 枝主图 100 REF

{ 股票指标 }

VAR1:=ma(CLOSE,30);
下轨: VAR1-2*stD(CLOSE,60),COLORCYAN;
成本: MA(CLOSE,60),POINTDOT,COLORMAGENTA,LINETHICK4;
上轨: VAR1+2*STD(CLOSE,60),COLORWHITE;
喜鹊:SAR(10,2,20),COLORYELLOW,LINETHICK2;
满仓:0.72*MA(FORCAST(CLOSE,2),40),POINTDOT,COLOR0000FF;
DRAWTEXT(crOSS(满仓,L),L*0.98,'满');
低吸:0.82*MA(FORCAST(CLOSE,2),40),POINTDOT,COLORF7E300;
A:=REF(C,1)>L AND 低吸>L;
DRAWTEXT(A,L,'');
AB:=CROSS(满仓,L) AND A;
DRAWICON(AB,L,1);
VAR1A:=DMA(EMA(CLOSE,12),SUM(vol,5)/3/CAPITAL);
VAR2A:=REF(HIGH,10)/CLOSE>1.35;
VAR3A:=(COST(20)-CLOSE)/CLOSE>0.15;
VAR4A:=HIGH>LOW*1.051;
秋风起蟹膏满:=VAR4A AND COUNT(VAR4A,5)>1;
蟹膏满:=(((CLOSE-VAR1A)/VAR1A*100<-30) OR VAR2A) AND VAR3A AND 秋风起蟹膏满;
DRAWTEXT(蟹膏满,L*0.9,'');
BB:=蟹膏满 AND A;
DRAWICON(BB,L,1);
BA:=CROSS(满仓,L) AND 蟹膏满;
DRAWICON(BA,L,1);
SS:(MA(CLOSE,8) * 0.998),COLORBLUE;
短期乖离率:=(((CLOSE - MA(CLOSE,13)) / MA(CLOSE,13)) * 100);
VARA:=EMA(((AMOUNT / VOL) / 100),3);
D:=LLV(CLOSE,20);
XXY:=EMA(VARA,88);
XXD:=(XXY * 0.74);
DRAWTEXT(FILTER(((((((短期乖离率 < 6) AND (OPEN <= D)) AND (LOW <= XXD))
AND ((CLOSE / OPEN) > 1.03)) AND (CLOSE > REF(CLOSE,1)))
AND ((CLOSE / LOW) > 1.03)),5),(LOW - (LOW * 0.09)),'★'),COLORFF00FF;
VAR111:=REF(C,1);
VAR122:=SMA(MAX(C-VAR111,0),18,1)/SMA(Abs(C-VAR111),18,1)*100;
DRAWTEXT(CROSS(79,VAR122),H*1.04,' 抛↓'),COLOR33FF33;

 

标签:MA,DRAWTEXT,蟹膏满,通达信,源码,CLOSE,枝主图,100,REF
From: https://www.cnblogs.com/zhibiao/p/18010192

相关文章

  • 通达信真假黑马源码副图
    {股票指标}VAR2:=(3)*(SMA(((OPEN-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89)))*(100),20,1))-(2)*(Sma(SMA(((OPEN-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89)))*(100),20,1),15,1));VAR3:=VAR2-100;VAR5:=CLOSE-LOW;VAR6:=HIGH-LOW;VAR7:=CLOSE-HIGH;VAR8:=IF(......
  • 通达信机构潜伏源码副图
    {股票指标}X_1:=1501230;X_2:=HHV(vol,5);X_3:=OPEN>CLOSE;X_4:=CLOSE>OPEN;X_5:=CLOSE=OPEN;X_6:=SUM(VOL,5)/X_2;X_7:=IF(X_6>0.3,1,0);X_8:=IF(X_3ANDX_7,VOL,0);X_9:=IF(X_4ANDX_7,VOL,0);X_10:=SUM(X_9,10);X_11:=ma(X_10,9)/50000000;X_12:=SUM......
  • 配置bc网站源码搭建sysctl.conf文件修改内核参数
    配置BC网站源码与直接修改sysctl.conf文件以调整内核参数是两个不同的任务,但我可以为您提供关于如何修改sysctl.conf文件以调整内核参数的一般指导。请注意,直接修改系统内核参数可能会对系统稳定性和安全性产生重大影响,因此应谨慎进行。首先,关于sysctl.conf文件:定位文件:sysctl.co......
  • 【设计模式】原型模式——其他框架源码中的原型模式
    原型模式在其他框架源码中也有广泛的应用。Retrofit众所周知Retrofit是OkHttp的扩展,因此Retrofit的Call接口也像OkHttp的Call类一样实现了原型模式。Call与原型模式有关的代码如下:publicinterfaceCall<T>extendsCloneable{//……代码省略……/***Createanew,i......
  • 源码安装node
    进入官网https://nodejs.org/en/about/previous-releases文件拖放lrzszhttps://registry.npmmirror.com/binary.html?path=node/v12.14.1/解压sudodpkg-icode_1.49.3-1601661857_amd64.deb解压deb后缀解压7z后缀安装sudoaptinstallp7zip-full7zx文件......
  • 【Flink入门修炼】1-2 Mac 搭建 Flink 源码阅读环境
    在后面学习Flink相关知识时,会深入源码探究其实现机制。因此,需要现在本地配置好源码阅读环境。本文搭建环境:MacM1(AppleSilicon)Java8IDEAFlink官方源码一、下载Flink源码github地址:https://github.com/apache/flink考虑到一些原因,github下载可能会极其缓慢,且大......
  • 源码安装 OpenCV
    opencv_contrib额外模块,经过测试,使用成熟后才会加入到opencv:https://github.com/opencv/opencv_contrib/1.安装OpenCV所需要的依赖项目#1、安装cmakeg++wgetunzipsudoaptupdate&&sudoaptinstall-ycmakeg++wgetunzip#2、安装opencv依赖的库(通过会依赖某些图......
  • 【源码日记】了解 PLpgSQL_datum
    basedonpostgrescommitb96115acb8a0e08a46877c2b8ef2a7b5560b371bTheSQLCREATEORREPLACEFUNCTIONdemo_fors()RETURNSVOIDAS$$DECLAREaRECORD;BEGINFORaINSELECT*FROMsome_tableLOOPRAISENOTICE'id:%,name:%',a.id,a.nam......
  • ReentrantLock源码分析、LockSuppor、ReentrantReadWriteLock、锁优化的方法
    ReentrantLock类图我们看一下重入锁ReentrantLock类关系图,它是实现了Lock接口的类。NonfairSync和FairSync都继承自抽象类Sync,在ReentrantLock中有非公平锁NonfairSync和公平锁FairSync的实现。在重入锁ReentrantLock类关系图中,我们可以看到NonfairSync和FairSync都继承自抽象......
  • ReentrantLock源码分析、LockSuppor、ReentrantReadWriteLock、锁优化的方法
    ReentrantLock类图我们看一下重入锁ReentrantLock类关系图,它是实现了Lock接口的类。NonfairSync和FairSync都继承自抽象类Sync,在ReentrantLock中有非公平锁NonfairSync和公平锁FairSync的实现。在重入锁ReentrantLock类关系图中,我们可以看到NonfairSync和FairSync都继承自抽象......