首页 > 编程语言 >通达信涨跌动因指标公式源码附图

通达信涨跌动因指标公式源码附图

时间:2024-03-10 11:47:23浏览次数:30  
标签:HIGH 50 附图 通达信 源码 LOW QJ0 CLOSE 动因

{ 通达信涨跌动因指标公式源码附图 }

{指标介绍:主力资金,操作线同时在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),50,RGB(0,100,50));
主力:VAR3,COLORRED;
散户:VAR4,COLORGREEN;
VAR5:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(Abs(CLOSE-REF(CLOSE,1)),5,1)*100;
操作:EMA(VAR5,3),COLORYELLOW;
STICKLINE(C,90,90,1,0),COLOR3C3CFF;
STICKLINE(C,50,50,1,0),COLORYELLOW;
STICKLINE(C,10,10,1,0),COLORCYAN;
N:=20;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=vol/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
大单动向:20* ((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,100000000,1000000),COLOR00AAAA,LINETHICK;
DX:=(MA(大单动向,5)*N)*2;
STICKLINE(大单动向>0,50,50+大单动向*8.5,2.5,0),COLORYELLOW;
STICKLINE(大单动向<0,50,50+大单动向*8.5,2.5,0),COLORBLUE;
涨跌:=IF(BETWEEN(C,REF(C,1),H),VOL,0);
动因:=IF(BETWEEN(C,REF(C,1),L),VOL,0);
CC2:=IF(涨跌 AND 动因,0,VOL/3);
涨跌动因:3*(涨跌-(动因+CC2))/IF(CAPITAL<1,SUM(INDEXV,71),CAPITAL),LINETHICK0;
STICKLINE(涨跌动因>0,10,10+涨跌动因*28.5,2,0 ),COLORYELLOW;
STICKLINE(涨跌动因<0,10,10+涨跌动因*28.5,2,0 ),COLORBLUE;

 

标签:HIGH,50,附图,通达信,源码,LOW,QJ0,CLOSE,动因
From: https://www.cnblogs.com/zhibiao/p/18063910

相关文章

  • 通达信骑牛找马选股指标公式源码附图
    {通达信骑牛找马选股指标公式源码附图}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(......
  • 通达信买入翻倍指标公式源码副图
    {通达信买入翻倍指标公式源码副图}{指标介绍:当多空线上穿0轴以后并且沿着45度向上运行时可视为有效突破,此时的信号可视为有效信号。信号出现在平台盘整期间,或者是小多头回调之后向上拉升之际,此时的信号最为有效,其它时间的信号要仔细辨别,下跌趋势中信号或者是高位钝化中的信号......