首页 > 编程语言 >通达信龙头回探主图指标公式源码主图

通达信龙头回探主图指标公式源码主图

时间:2024-03-10 11:55:22浏览次数:31  
标签:10 MA OPEN 主图 HIGH 通达信 源码 CLOSE REF

{ 通达信龙头回探主图指标公式源码主图 }

MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
趋势线:HHV(MA5,90),COLORRED,LINETHICK2;
X_1:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND REF(CLOSE,3)=REF(HIGH,3) AND REF(CLOSE,3)>REF(MA(CLOSE,5),3) AND REF(OPEN,3)>REF(MA(CLOSE,10),3) AND NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
X_2:=HIGH/REF(CLOSE,1)>=1.041;
X_3:=X_1 AND X_2;
X_4:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)=REF(HIGH,4) AND REF(CLOSE,4)>REF(MA(CLOSE,5),4) AND REF(OPEN,4)>REF(MA(CLOSE,10),4) AND NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
X_5:=HIGH/REF(CLOSE,1)>=1.041;
X_6:=REF(CLOSE,4)/OPEN>1.02;
X_7:=X_4 AND X_5 AND X_6;
X_8:=REF(CLOSE,5)/REF(CLOSE,6)>1.09 AND REF(CLOSE,5)=REF(HIGH,5) AND REF(CLOSE,5)>REF(MA(CLOSE,5),5) AND REF(OPEN,5)>REF(MA(CLOSE,10),5);
X_9:=HIGH/REF(CLOSE,1)>=1.041;
X_10:=X_8 AND X_9;
X_11:=REF(CLOSE,6)/REF(CLOSE,7)>1.09 AND REF(CLOSE,6)=REF(HIGH,6) AND REF(CLOSE,6)>REF(MA(CLOSE,5),6) AND REF(OPEN,6)>REF(MA(CLOSE,10),6);
X_12:=HIGH/REF(CLOSE,1)>=1.041;
X_13:=X_11 AND X_12;
X_14:=REF(CLOSE,7)/REF(CLOSE,7)>1.09 AND REF(CLOSE,7)=REF(HIGH,7) AND REF(CLOSE,7)>REF(MA(CLOSE,5),7) AND REF(OPEN,7)>REF(MA(CLOSE,10),7);
X_15:=HIGH/REF(CLOSE,1)>=1.041;
X_16:=X_14 AND X_15;
X_17:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND OPEN<ma(close,5) and="" ref(close,2)="" ref(close,3)<1.099="" (ref(close,1)<ref(ma(close,5),1)="" or="" low<ma(close,10))="" ma(close,5)="">REF(MA(CLOSE,5),1) AND REF(LOW,1)>REF(MA(CLOSE,20),1) AND OPEN/REF(CLOSE,1)<1.09 AND CLOSE>OPEN;
X_18:=X_3 OR X_7 OR X_10 OR X_13 OR X_16 AND X_17;
X_19:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,5)>MA(CLOSE,10);
X_20:=X_18 AND X_19;
X_21:=X_20 AND BARSCOUNT(CLOSE)<90;
X_22:=X_20 AND MA(CLOSE,5)>MA(CLOSE,60) AND MA(CLOSE,5)>MA(CLOSE,120) AND MA(CLOSE,10)>MA(CLOSE,30) AND MA(CLOSE,10)>MA(CLOSE,60) AND MA(CLOSE,10)>MA(CLOSE,120);
X_23:=X_21 OR X_22;
STICKLINE(X_23,OPEN,CLOSE,2.5,0),COLORMAGENTA;
DRAWICON(X_23,LOW*0.97,9);
DRAWTEXT(X_23,LOW*0.94,'回探'),COLORYELLOW;

 

标签:10,MA,OPEN,主图,HIGH,通达信,源码,CLOSE,REF
From: https://www.cnblogs.com/zhibiao/p/18063943

相关文章

  • 通达信涨跌动因指标公式源码附图
    {通达信涨跌动因指标公式源码附图}{指标介绍:主力资金,操作线同时在50上方上涨可期,散户线上穿50代表走弱。}VAR1:=LLV(LOW,13);VAR2:=HHV(HIGH,13);VAR3:=SMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5,1);VAR4:=SMA((VAR2-CLOSE)/(VAR2-VAR1)*100,5,1);DRAWBAND(VAR3,RGB(155,50,50......
  • 通达信骑牛找马选股指标公式源码附图
    {通达信骑牛找马选股指标公式源码附图}VAR1:=35;VAR2:=45;VAR3:=REF(CLOSE,1);VAR4:=SMA(MAX(CLOSE-VAR3,0),7,1)/SMA(Abs(CLOSE-VAR3),7,1)*100;VAR5:=SMA(MAX(CLOSE-VAR3,0),7,1)/SMA(ABS(CLOSE-VAR3),7,1)*100;牛股:=SMA(MAX(CLOSE-VAR3,0),7,1)/SMA(ABS(CLOSE-VAR3),......
  • 通达信多用途量比指标公式源码
    {通达信多用途量比指标公式源码}K:=2;D:=Abs(AMOUNT-REF(AMOUNT,1));E:=SUM(D,5)/5;F:=REF(SUM(D,250)/250,1);微元条件1:=E/F>0ANDE/F<3;FI:=EMA(SLOPE(C,21)*21+C,39);GI:=EMA(SLOPE(C,21)*21+C,55);条件2:=EMA(C,3)>FIANDFI>REF(FI,1)ANDFI>GI,NODRAW;MTR:=......
  • 通达信进出变盘提示主图指标公式源码
    {通达信进出变盘提示主图指标公式源码}MA13:MA(C,13);MA30:MA(C,30);MA60:MA(C,60);MA120:MA(C,120);MA240:MA(C,240);XL1:=((LLV(LOW,3)=LLV(LOW,60))AND((CLOSE/REF(CLOSE,1))>=1.04));XL2:=(((CLOSE-EMA(CLOSE,21))/EMA(CLOSE,21))*100);XL3:=crOSS(X......
  • 通达信月周共振三角主图指标公式源码
    {通达信月周共振三角主图指标公式源码}DRAWTEXT_FIX(1,0.4,0,0,'当主图出现共振信号后1~10个交易日内,观察副图对应的几日内,有无黄金坑,有则最佳'),COLORGRAY;DRAWTEXT_FIX(1,0.4,0.1,0,'当随后某日,5日线上穿10日线为第一买点;k线放量上穿60均线,则视为是大涨在即,为第二买点'),CO......
  • 通达信洞察主力主图指标公式源码
    {通达信洞察主力主图指标公式源码}DRAWGBK(CLOSE>0,RGB(150,50,175),RGB(0,25,100),0,2,0);DRAWTEXT_FIX(CURRBARSCOUNT=1,0.5,0,0,1),COLORCYAN;赚钱轨道:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORRED,LINETHICK2;X_1:=MA(CLOSE,20);DRAWBAND(赚钱轨......
  • 通达信回调选升级选股指标公式源码
    {通达信回调选升级选股指标公式源码}T:=IF(NAMELIKE('ST'),0,1)ANDIF(NAMELIKE('*'),0,1);T2:=NOT(CODELIKE('688'));T3:=NOT(CODELIKE('3'));T5:=NOT(CODELIKE('4'));T6:=NOT(CODELIKE('8'));T7:=NOT(INBLOCK('......
  • 通达信牛股强势异动指标公式源码
    {通达信牛股强势异动指标公式源码}VAR1:=MA(CLOSE,5);VAR2:=MA(CLOSE,10);VAR3:=MA(CLOSE,60);VAR4:=MA(CLOSE,120);VAR7:=EMA(HHV(HIGH,1),8);VAR8:=EMA(CLOSE,8);VAR9:=VAR8<ref(var8,1)and=""close<var8;<br="">VAR10:=IF(VAR7<ref(var7,......
  • 通达信波浪风险系数指标公式源码
    {通达信波浪风险系数指标公式源码}VAR13:=IF(YEAR>=2018ANDMONTH>=11ANDDAY>=1,0,1);AA:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;BB:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;CC:=EMA(AA,2);DD:=EMA(BB,5);VAR14:=MAX(EMA(AA,2)-EMA(BB,5),0)*1.2;VAR......
  • 通达信中波01号指标公式源码副图
    {通达信中波01号指标公式源码副图}X_1:=(MA(AMOUNT,5)/MA(vol,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100);X_2:=MA((LLV(LOW,28)-CLOSE)/(HHV(HIGH,28)-LLV(LOW,28))*100,5);X_3:=IF(NAMELIKE(1),0,1)ANDIF(NAMELIKE(2),0,1);X_4:=(CLOSE-MA(......