首页 > 编程语言 >通达信强势金叉副图公式源码

通达信强势金叉副图公式源码

时间:2024-02-09 09:57:50浏览次数:28  
标签:11 10 13 AMOUNT 通达信 源码 金叉 CLOSE REF

{ 股票指标 }


X_1:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_2:=(20*X_1+19*REF(X_1,1)+18*REF(X_1,2)+17*REF(X_1,3)+16*REF(X_1,4)+15*REF(X_1,5)+14*REF(X_1,6)+13*REF(X_1,7)+12*REF(X_1,8)+11*REF(X_1,9)+10*REF(X_1,10)+9*REF(X_1,11)+8*REF(X_1,12)+7*REF(X_1,13)+6*REF(X_1,14)+5*REF(X_1,15)+4*REF(X_1,16)+3*REF(X_1,17)+2*REF(X_1,18))/210;
X_3:=MA(X_2,6);
X_4:=CLOSE>REF(CLOSE,1)*1.097;
X_5:=COUNT(X_4,12);
X_6:=REF(X_5,1)>=1;
X_7:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
X_8:=MA(X_7,6);
X_9:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_10:=EMA(X_9,9);
X_11:=2*(X_9-X_10);
X_12:=X_11-REF(X_11,1);
X_13:=X_11-REF(X_11,1);
X_14:=MA(X_13,3);
X_15:=SMA(AMOUNT,10,1)/10000;
X_16:=REF(X_15,1);
X_17:=SMA(AMOUNT,10,1)/10000;
X_18:=MA(X_15,13);
X_19:=HHV(AMOUNT,13);
X_20:=IF(REF(CLOSE,BARSLAST(AMOUNT=X_19))>REF(CLOSE,BARSLAST(AMOUNT=X_19)+1),1,0);
X_21:=SMA(AMOUNT,10,1)/10000;
{分析家公式网WWW.FXJGSW.COM}
X_22:=BARSLAST(CLOSE/REF(CLOSE,1)>=1.097);
X_23:=REF(X_21,1);
X_24:=IF(X_22<=12,X_22,0);
X_25:=COUNT(X_21<x_23,x_24); <br="">X_26:=COUNT(OPEN>CLOSE,X_24);
X_27:=COUNT(HIGH>=HHV(HIGH,12) AND OPEN>CLOSE AND X_22>3 AND X_22<12,X_24);
强势金叉:CROSS(X_7,X_8) AND X_13>X_14 AND X_20>0 AND X_18>REF(X_18,1) AND X_25<3 AND X_26<5 AND X_27=0 AND X_6>=1 AND COUNT(CLOSE>X_3,4)>=4;

 

标签:11,10,13,AMOUNT,通达信,源码,金叉,CLOSE,REF
From: https://www.cnblogs.com/zhibiao/p/18012331

相关文章

  • 通达信中线买点主图指标公式源码主图
    {股票指标}ma1:=IF(MA(vol,3)>MA(VOL,12),MA(CLOSE,2),MA(CLOSE,3)),COLORYELLOW;MA2:=MA(CLOSE,6),COLOR00AA00;MA3:=MA(CLOSE,15),COLORADddfA;MA4:=MA(CLOSE,90),COLORYELLOW;MA5:=MA(CLOSE,288),COLORRED;MA6:=MA(CLOSE,576),COLORGREEN;九天:IF(1.1>SMA(CLOSE......
  • 通达信妖网主图指标公式源码主图妖网
    {股票指标}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,'----......
  • 通达信主力筹码集中指标公式源码副图主力筹码集中
    {股票指标}筹码集中度:(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的子类,这些都是建造者模式的应......