首页 > 编程语言 >通达信好恶财神副图指标公式源码

通达信好恶财神副图指标公式源码

时间:2024-03-09 09:22:31浏览次数:24  
标签:VAR4 VAR7 LC 通达信 源码 CLOSE 财神 SMA

{ 通达信好恶财神副图指标公式源码 }


LC:= REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
买:EMA(RSI1,M1),COLORRED,LINETHICK2;
卖:EMA(RSI2,M2),LINETHICK2,COLORFFFF00;
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
好财神:(CROSS(80,VAR2)),COLORF00FF0,LINETHICK2;
DRAWICON(好财神>0,买*1.15,2);
DRAWTEXT(FILTER(好财神>0,3),买,'财神跑'),COLOR00FF00;
VAR3:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR4:SMA(SMA(VAR3,3,1),3,1),COLOR00FF00;
VAR5:=EMA(VAR4,5);
VAR7:3*VAR4-2*VAR5,COLORGREEN;
恶财神:CROSS(VAR7,VAR4),COLORYELLOW,STICK;
DRAWTEXT(CROSS(VAR7,VAR4) AND VAR7<21,VAR4,'财神到'),COLORYELLOW;
DRAWICON(CROSS(VAR7,VAR4)>0 AND VAR7<21,VAR4,1);
分界:45,COLORFF0000;
顶:90,COLORYELLOW,LINETHICK2;;

 

 

标签:VAR4,VAR7,LC,通达信,源码,CLOSE,财神,SMA
From: https://www.cnblogs.com/zhibiao/p/18062268

相关文章

  • 通达信蓄势盘龙主图指标公式有使用方法源码
    {通达信蓄势盘龙主图指标公式有使用方法源码}指标使用方法:本指标是主图指标,黄线是天,股价到达这个位置容易受阻,下跌到绿色低线是抄底,在支撑线有支撑也是买点DRAWGBK(CLOSE>0,RGB(20,0,28),RGB(20,0,28),0,0,1);X_1:=120;X_2:=BARSLAST(CURRBARSCOUNT=X_1);X_3:=CO......
  • 通达信超跌加仓补仓信号源码
    {通达信超跌加仓补仓信号源码}超跌加仓股价出现超跌的情况下发出的接仓或者补仓信号RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:SMA(RSV,3,1),COLORFFFFFF;D:SMA(K,3,1),COLOR00FFFF;J:3*K-2*D,COLORFF00FF;超跌:IF(J<0,10,0),COLORFFFF00;BDDD:=LLV(J,2)=LLV(J,8)......
  • 通达信组合短线指标源码
    {通达信组合短线指标源码}Q1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;Q2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;Q3:=SMA(Q2,9,1);Q4:=SMA(Q3,3,1);AA:3*Q3-2*Q4,,COLOR7FFF00;Q5:=AA>1*REF(AA,1);Q6:=LLVBARS(LOW,50);Q7:=SUM(VOL,Q6);......
  • 通达信超级分时资金指标公式源码
    {通达信超级分时资金指标公式源码}X_1:=IF(AMOUNT>=FINANCE(40)*0.05/100ANDDCLOSE>=DOPEN,AMOUNT/10000,0);X_2:=IF(AMOUNT>=FINANCE(40)*0.05/100ANDDCLOSE<=DOPEN,AMOUNT/10000,0);X_3:=IF(AMOUNT>=FINANCE(40)*0.025/100ANDAMOUNT<finance(40)*0.05100=&q......
  • 通达信涨停狙击主图指标公式源码
    {通达信涨停狙击主图指标公式源码}MA1:MA(CLOSE,5);MA2:MA(CLOSE,10);MA3:MA(CLOSE,20);MA4:MA(CLOSE,60);N:=10;M:=9;VAB0:=531;VAB1:=1510000;VAB2:=VAB0+VAB1;A:=SMA(L,4,3);VAB3:=IF(DATE>VAB2,1,1);T:=DATE>901224ANDDATE<1130630;涨停:=IF(REF(C,1)......
  • 通达信简单EXPMA主图指标公式源码副图
    {通达信简单EXPMA主图指标公式源码副图}涨停:=IF(REF(C,1)*1.1-C<0.01,1,0);stICKLINE(涨停,OPEN,CLOSE,4,0),COLORRED;STICKLINE(涨停,OPEN,CLOSE,3,0),COLORYELLOW;STICKLINE(涨停,H,L,0,0),COLORYELLOW;K1:EMA(C,8),COLORBLUE;K2:EMA(C,13),COLORBLUE;中线:(......
  • 通达信牛股潜伏选股指标公式源码副图
    {通达信牛股潜伏选股指标公式源码副图}X_1:=CLOSE>REF(CLOSE,1)*1.097;X_2:=COUNT(X_1,12);X_3:=REF(X_2,1)>=1;X_4:=(3*CLOSE+LOW+OPEN+HIGH)/6;X_5:=(20*X_4+19*REF(X_4,1)+18*REF(X_4,2)+17*REF(X_4,3)+16*REF(X_4,4)+15*REF(X_4,5)+14*REF(X_4,6)+13*REF(X_4,7)+12*RE......
  • 通达信抵扣均线主图指标公式源码副图
    {通达信抵扣均线主图指标公式源码副图}MA5:MA(C,5);MA10:MA(C,10);MA20:MA(C,20);MA60:MA(C,60);MA120:MA(C,120);MA250:MA(C,250);DRAWICON(CURRBARSCOUNT=5+1,L/1.015,13);DRAWICON(CURRBARSCOUNT=10+1,L/1.015,26);DRAWICON(CURRBARSCOUNT=20+1,L/1.015,25);DRAWI......
  • 通达信三源主图指标公式源码
    {通达信三源主图指标公式源码}DRAWGBK(O>C,RGB(0,30,0),RGB(0,0,60),0,'01',0);DRAWKLINE(H,O,L,C);MV10:=MA(V,10);AVG_V:=(V-MV10)/MV10*100;量差:=AVG_V-REF(AVG_V,1);假阴:=C>REF(C,1)ANDC<o;高开:=(O-REF(C,1))/REF(C,1)*100;倍量:=V>REF(V,1)*1.69ANDV......
  • 通达信短线起航副图源码
    {通达信短线起航副图源码}OSC:=100*(CLOSE-MA(CLOSE,20));MAOSC:=EXPMEMA(OSC,6);BIAS:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;BIASMA:=MA(BIAS,6);F:=100*(C-REF(C,1))/REF(C,1);P1:=IF(C<ref(o,1)and=""f<0,1,0);=""<br="">P......