首页 > 编程语言 >通达信妖网主图指标公式源码主图妖网

通达信妖网主图指标公式源码主图妖网

时间:2024-02-09 09:57:07浏览次数:34  
标签:STICKLINE 网主 DRAWTEXT 主图 持仓 源码 CLOSE OPEN FIX

{ 股票指标 }

N:=34;
M1:=3;
M2:=3;
DRAWGBK(C>0,RGB(0,10,10),RGB(88,0,0),0,'0',0);
DRAWGBK(C>0,RGB(40,120,20),RGB(00,00,00),0,'0',1);
DRAWGBK(C>0,RGB(80,100,120),RGB(00,00,00),0,'0',1);
Z111:=stRCAT(HYBLOCK,'----');
Z211:=STRCAT(Z111,FGBLOCK);
Z311:=STRCAT(Z211,DYBLOCK);
Z411:=STRCAT(Z311,'----');
DRAWTEXT_FIX(1,0.00,0.00,0,'【主题概念】')COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.09,0.00,0,STRCAT(Z411,GNBLOCK)),COLORCYAN;
NW1:=CLOSE/REF(CLOSE,1)>1.03;
NW2:=Ema(CLOSE,9);
NW3:=EMA(NW2*1.13,5);
NW4:=CLOSE>=OPEN;
NW5:=EMA(NW2*1.12,5);
NW6:=EMA(NW2*1.11,5);
NW7:=crOSS(CLOSE,NW6);
NW8:=CROSS(CLOSE,NW3);
NW9:=CROSS(CLOSE,NW5);
NW10:=(NW8 OR NW9 OR NW7 AND NW4 AND NW1);
NW11:=HHV(HHV(LOW,14),60);{BB}
NW12:=HHV(MA((L+H+C)/3,8),60),COLORFF00FF;{X}
NW13:=EMA(EMA(NW12,14)+2*STD(NW11,14),4),COLORAAAAAA;
NW14:=C>NW12 AND C>NW13 AND NW10;
纲一:EMA(EMA(NW11,16)-2*STD(NW11,16),3),COLORAAAAAA;
纲二:EMA(EMA(NW11,14)+2*STD(NW11,14),8),COLORAAAAAA;
STICKLINE(纲一>0 ,纲一 ,纲二 ,0 ,0 ),COLOR555555;
DRAWTEXT_FIX(CLOSE>0,0,0.06,0,'【仓位管理】')COLORYELLOW;
DRAWTEXT_FIX(CLOSE>0,0.09,0.06,0,'红色持仓,黄棕色警告,青色空仓,黄色芯涨停,蓝色芯跌停,粉上影线涨停后回落,蓝下影线跌停后回升,k线进网小心,蓝色忽略 ')COLORFF9900;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
持仓段:=IF(D>LLV(D,2),1,IF(D<hhv(d,2),0,drawnull)),nodraw;
STICKLINE(持仓段=1 AND CLOSE>=OPEN,OPEN,CLOSE,3,1),COLORRED;
STICKLINE(持仓段=1 AND CLOSE>=OPEN,CLOSE,HIGH,0,1),COLORRED;
STICKLINE(持仓段=1 AND CLOSE>=OPEN,LOW,OPEN,0,1),COLORRED;
STICKLINE(持仓段=1 AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(持仓段=1 AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORRED;
STICKLINE(持仓段=1 AND K<ref(k,1) and="" close="">=OPEN,OPEN,CLOSE,3,1),COLOR3399CC;
STICKLINE(持仓段=1 AND K<ref(k,1) and="" close="">=OPEN,CLOSE,HIGH,0,1),COLOR3399CC;
STICKLINE(持仓段=1 AND K<ref(k,1) and="" close="">=OPEN,LOW,OPEN,0,1),COLOR3399CC;
STICKLINE(持仓段=1 AND K<ref(k,1) and="" close<="OPEN,OPEN,CLOSE,3,0),COLOR3399CC;<br"> STICKLINE(持仓段=1 AND K<ref(k,1) and="" close<="OPEN,HIGH,LOW,0,0),COLOR3399CC;<br"> STICKLINE(持仓段=0 AND CLOSE>=OPEN,CLOSE,OPEN,3,1),COLORCYAN;
STICKLINE(持仓段=0 AND CLOSE>=OPEN,CLOSE,HIGH,0,1),COLORCYAN;
STICKLINE(持仓段=0 AND CLOSE>=OPEN,LOW,OPEN,0,1),COLORCYAN;
STICKLINE(持仓段=0 AND CLOSE<=OPEN,CLOSE,OPEN,3,0),COLORCYAN;
STICKLINE(持仓段=0 AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORCYAN;
NGH:= C<纲一;
STICKLINE(NGH,O,C,3,0),COLORFF9900;
STICKLINE(NGH,L,H,0,0),COLORFF9900;
BK:=IF(INBLOCK('科创板'),0.2,IF(INBLOCK('创业板'),0.2,IF(INBLOCK('ST板块'),0.05,0.1)));
XA_1:=IF(DATE<=1200823,1,0);
STICKLINE((C>=ZTPRICE(REF(CLOSE,1),0.1) AND C=H) AND XA_1=1,O,C,2.7,0),COLORRED;
STICKLINE((C<=DTPRICE(REF(CLOSE,1),0.1) AND C=L) AND XA_1=1,O,C,2.7,0),COLORBLUE;
STICKLINE((C>=ZTPRICE(REF(C,1),BK) AND C=H),O,C,1,0),COLORYELLOW;
STICKLINE((C<=DTPRICE(REF(C,1),BK) AND C=L),O,C,1,0),COLORBLUE;
STICKLINE((H>=ZTPRICE(REF(C,1),BK) AND C<h) or="" (h="">=ZTPRICE(REF(CLOSE,1),0.1) AND C STICKLINE((L<=DTPRICE(REF(C,1),BK) AND C>L) OR (L<=DTPRICE(REF(CLOSE,1),0.1) AND C>L AND XA_1=1),L,MIN(C,O),0.2,0),COLORBLUE;
条件1:= V<ref(v,1) and="" ref(v,1)="HHV(V,0);<br"> TS20:=BArslAST(条件1)+1;
高20:=REF(H,TS20);
低20:=REF(L,TS20);
STICKLINE(高20,高20,高20,16,0),COLORRED,LINETHICK2;
STICKLINE(低20,低20,低20,8,0),COLORGREEN,LINETHICK1;
{DRAWTEXT_FIX(1,0.0,0.850,0,'个股亮点:')COLORLIGREEN;} {同花顺}
{DRAWTEXT_FIX(1,0.04,0.850,0,EXTERNSTR(0,26))COLORFF00FF;
DRAWTEXT_FIX(1,0.0,0.900,0,'热点解读:')COLORFF00FF;
DRAWTEXT_FIX(1,0.04,0.900,0,EXTERNSTR(0,27))COLORYELLOW;} {上市公司主营};
{DRAWTEXT_FIX(1,0.0,0.991,0,'全部概念:')COLORYELLOW;
DRAWTEXT_FIX(1,0.04,0.991,0,EXTERNSTR(0,36))COLORLIGREEN;};

 

标签:STICKLINE,网主,DRAWTEXT,主图,持仓,源码,CLOSE,OPEN,FIX
From: https://www.cnblogs.com/zhibiao/p/18012334

相关文章

  • 通达信主力筹码集中指标公式源码副图主力筹码集中
    {股票指标}筹码集中度:(COst(90+(100-90)/2)-COST((100-90)/2))/(COST(90+(100-90)/2)+COST((100-90)/2))+C,COLOR00FFFF,LINETHICK3;前期高点:REF(HHV(筹码集中度,20),0),COLOR0000FF;前期高点2:=REF(HHV(筹码集中度,3),0);前期低点:=REF(LLV(筹码集中度,20),0),COLOR00FF......
  • 通达信前高前底MACD指标公式源码副图
    {股票指标}{指标介绍:只做均线量化评分大于50的个股为佳。}DIFF:=Ema(CLOSE,3)-EMA(CLOSE,15);DEA:=EMA(DIFF,9);macd:2*(DIFF-DEA),COLORstICK,LINETHICK2;中:0,LINETHICK1,COLORRED;VA1:=HHVBARS(MacD,BArslAST(MACD<0)+1);VA2:=crOSS(BACKSET(CROSS(0,MACD),REF(VA1,......
  • 通达信竞开强度排序指标公式源码
    {股票指标}今开:(OPEN/REF(CLOSE,1)-1)*100,NODRAW;创业板:=IF(CODELIKE('300'),1,0);排除一字:=REF((((今开<9.8ANDNOT(创业板))OR(今开<19.5AND创业板))=0),0);涨停创:=IF(C>1.1990*REF(C,1)ANDC=H,1,0);涨停主:=IF(C>1.09*REF(C,1)ANDC=H,1,0);涨停数:=(涨......
  • 通达信与庄共舞主图源码
    {股票指标} 与庄共舞主图使用方法:暗条越长压力越大,暗条越短做多越好 举一反三,股价在暗条的上方那么暗条越长,支撑力度越大。 参数自己填写吧DA1:=IF(130>TOTALBARSCOUNT,TOTALBARSCOUNT,130);DA:=IF(CURRBARSCOUNT>DA1,0,DA1);HI:=REFDATE(HHV(H,DA),DATE);LO:......
  • 通达信金石探庄,底部顶部都明确信号源码副图
    {股票指标}VAR3:=(2*CLOSE+HIGH+LOW)/4;VAR4:=LLV(LOW,34);VAR5:=HHV(HIGH,34);空:EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13),COLORYELLOW;多:EMA(0.667*REF(空,1)+0.333*空,2),COLORF00FF0;高抛低吸分界线:50,CROSSDOT,COLORYELLOW;危险小心套牢:IF(CROSS(多,空)AND......
  • A030 《花样摩天轮》编程 源码
    一、课程介绍本节课将复习函数的相关知识,结合while、动画实现一个转动的摩天轮。二、单词卡park[pɑːrk]公园box[bɑːks]箱子draw[drɔː]画三、小试牛刀3.1源码操作编写代码,画出一棵松树。importturtlep=turtle.Pen()turtle.bgpic('trunk.gif')deftree(x,......
  • Ubuntu源码安装Python
    Ubuntu源码安装Python目前Ubuntu电脑需要升级Python,但根据源来升级,会出现报错,故记录用源码升级的方法。从官方链接下载源码:https://www.python.org/downloads/source/根据自己需求下载对应版本即可。这里笔者下载的是Python-3.10.0rc2.tgz解压:tar-zxvfPython-3.10.0rc......
  • 【设计模式】建造者模式——OkHttp源码中的建造者模式
    OkHttp源码中的建造者模式之所以有必要单独拿出来讲,是因为OkHttp3.x和4.x分别用Java语言和Kotlin语言写的,所以需要做一个对比分析。在OkHttp的源码中搜索“Builder”,可以看到OkHttp的OkHttpClient、Request和Response等很多类的代码里包含名为Builder的子类,这些都是建造者模式的应......
  • 扒开源安卓性能测试工具moblieperf源码——开发属于你自己的性能稳定性测试工具
    moblieperf下载和使用moblieperf由阿里巴巴开源的Android性能测试工具下载:官方源码地址mobileperfgithub使用:使用pycharm打开下载的项目使用只需要修改配置文件config.conf即可运行采集:a.mac、linux在mobileperf工具根目录下执行shrun.sh;b.windows双击run.bat配置......
  • 源码搭建教学:直播带货商城小程序开发
    结合小程序开发的直播带货商城,不仅可以提供更便捷的购物体验,还可以实现更高效的销售。因此,学习如何搭建一个直播带货商城小程序将成为您拓展商业领域的利器。步骤一:准备工作在开始开发之前,您需要进行一些准备工作。首先,确保您已经安装了微信开发者工具,并且注册了微信小程序的开发者......