首页 > 编程语言 >通达信钻石黄金操盘指标公式源码

通达信钻石黄金操盘指标公式源码

时间:2024-03-09 09:24:48浏览次数:33  
标签:HHV LLV 通达信 源码 LOW CLOSE 100 操盘 SMA

{ 通达信钻石黄金操盘指标公式源码 }



 

 
N:=5; N1:=21;
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*Sma(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
VAR2:=8,COLORGREEN,LINETHICK0;
尝试买: IF(crOSS(VAR1,VAR2),60,0),LINETHICK2,COLORLIBLUE;
DRAWTEXT(尝试买,85,'试买'),COLORYELLOW,COLORLIBLUE;
有庄:= IF(VAR1<=8,50,0),COLORCYAN,LINETHICK2;
低吸线: 20,LINETHICK2,COLORLIMAGENTA;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓:= IF((VARO7<10),100,118) ,COLOR00CCFF,LINETHICK1;
CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7;
CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));
CD3:=SMA(SMA(CD2,3,1),3,1);
CD4:=(CD3-SMA(CD1,9,1))-0.5;
CD5:=IF(CD4>0.00,CD4,0.00);
CD6:=REF(CD5,1);
VAR81:=MA(C,9),COLORRED;
空头1:=IF(CD6-CD5,CD6,CD5),LINETHICK3,COLORYELLOW;
减仓:=CROSS(CD6,CD5),stICK,COLORYELLOW;
VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2A:=SMA(VAR1A,9,1)+100;
VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4A:=SMA(VAR3A,3,1);
VAR5A:=SMA(VAR4A,3,1)+100;
VAR6A:=VAR5A-VAR2A;
出击:=IF(VAR6A>N1,VAR6A-N1,0),COLORLIRED;
钻石黄金柱:IF(CROSS(出击,0.01),72,0),STICK,COLORYELLOW,LINETHICK9;
DRAWICON(钻石黄金柱>0,72,24);
XG:=CROSS(出击,0.01);
LC:=REF(CLOSE,1);
rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;
E:=CROSS(83,RSI);
RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
操盘线:SMA(RSV,3,1),LINETHICK1,COLORRED;
散户线:SMA(操盘线,3,1),LINETHICK1,COLORYELLOW;
STICKLINE(REF(出击,1)<出击,出击,REF(出击,1),3,0),COLORLIMAGENTA;
STICKLINE(REF(出击,1)>出击,出击,REF(出击,1),3,0),COLORFFCCCC;

 

标签:HHV,LLV,通达信,源码,LOW,CLOSE,100,操盘,SMA
From: https://www.cnblogs.com/zhibiao/p/18062259

相关文章

  • 通达信牛股启动信号,牛股启动源码
    {通达信牛股启动信号,牛股启动源码}GUP1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;GUP2:=SMA(SMA(GUP1,3,1),3,1)/28.57;GUP3:=EMA(GUP2,5);GUP4:=3*GUP2-2*GUP3;GUP5:=CROSS(GUP4,GUP2)ANDGUP2<2.1ANDCLOSE>OPEN;STICKLINE(GUP5,82,0,0.005,0),colorre......
  • 通达信拐点起飞主图 通达信主图指标源码附图
    {通达信拐点起飞主图通达信主图指标源码附图}{拐点起飞主图} YX:=C<o;<br="">ZGJ:=HHV(H,0);ZD:=LLV(L,60);DWTS:=YXANDCOUNT(YX,0)=4;TS:=BARSLAST(DWTS);SJ:=INTPART(TS/6);ZQ:=BARSLASTCOUNT(SJ=REF(SJ,1))=5;TJ11:=(DWTSORZQ)ANDTS>=0;FB:=C=ZTPRICE(......
  • 通达信风云彩带副图指标公式源码
    {通达信风云彩带副图指标公式源码}DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIFF,9);MACD:2*(DIFF-DEA),LINETHICK0;DRAWBAND(DIFF,RGB(255,128,192),DEA,RGB(128,255,128));STICKLINE(MACD>=0,MACD,0,2.5,1),COLORF00FF0;STICKLINE(MACD<0,MACD,0,2.5,1),COLORWHITE......
  • 通达信好恶财神副图指标公式源码
    {通达信好恶财神副图指标公式源码}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......
  • 通达信蓄势盘龙主图指标公式有使用方法源码
    {通达信蓄势盘龙主图指标公式有使用方法源码}指标使用方法:本指标是主图指标,黄线是天,股价到达这个位置容易受阻,下跌到绿色低线是抄底,在支撑线有支撑也是买点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;中线:(......