首页 > 编程语言 >通达信鼎牛猎杀选股指标公式源码副图

通达信鼎牛猎杀选股指标公式源码副图

时间:2024-02-07 09:44:41浏览次数:33  
标签:EMA HIGH 通达信 源码 LOW CLOSE REF MACD 鼎牛

{ 股票指标 }

YM:=Ema(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48);
macd价格1:=EMA(CLOSE,3)-EMA(CLOSE,9);
DEA1021:=EMA(EMA(MacD价格1,102)-EMA(MACD价格1,204),9);
DEA511:=EMA(EMA(MACD价格1,51)-EMA(MACD价格1,102),9);
DEA36361:=EMA(EMA(MACD价格1,36)-EMA(MACD价格1,72),9);
DEA24241:=EMA(EMA(MACD价格1,24)-EMA(MACD价格1,48),9);
DEA18181:=EMA(EMA(MACD价格1,18)-EMA(MACD价格1,36),9);
DEA661:=EMA(EMA(MACD价格1,6)-EMA(MACD价格1,12),9);
DEA331:=EMA(EMA(MACD价格1,3)-EMA(MACD价格1,9),9);
DEA12121:=EMA(EMA(MACD价格1,12)-EMA(MACD价格1,24),9);
MACD24241:=2*(EMA(MACD价格1,24)-EMA(MACD价格1,48)-DEA24241);
HH1:=(20*HIGH+19*REF(HIGH,1)+18*REF(HIGH,2)+17*REF(HIGH,3)+16*REF(HIGH,4)+15*REF(HIGH,5)+14*REF(HIGH,6)+13*REF(HIGH,7)+12*REF(HIGH,8)+11*REF(HIGH,9)+10*REF(HIGH,10)+9*REF(HIGH,11)+8*REF(HIGH,12)+7*REF(HIGH,13)+6*REF(HIGH,14)+5*REF(HIGH,15)+4*REF(HIGH,16)+3*REF(HIGH,17)+2*REF(HIGH,18)+REF(HIGH,20))/210;
LL1:=(20*LOW+19*REF(LOW,1)+18*REF(LOW,2)+17*REF(LOW,3)+16*REF(LOW,4)+15*REF(LOW,5)+14*REF(LOW,6)+13*REF(LOW,7)+12*REF(LOW,8)+11*REF(LOW,9)+10*REF(LOW,10)+9*REF(LOW,11)+8*REF(LOW,12)+7*REF(LOW,13)+6*REF(LOW,14)+5*REF(LOW,15)+4*REF(LOW,16)+3*REF(LOW,17)+2*REF(LOW,18)+REF(LOW,20))/210;
D90H1:=EMA(HH1,90);
D90L1:=EMA(LL1,90);
D901:=(D90H1+D90L1)/2;
Y1M:=EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48);
cci151:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,15))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,15));
CCI101:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,10))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,10));
CCI51:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,5))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,5));
CCI31:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,3))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,3));
CCI买点定位1:=crOSS(CCI51,0) AND CROSS(CCI31,0) AND REF(CCI151,1)>0 AND REF(CCI101,1)>(-30) AND REF(CCI151,1)>REF(CCI101,1) AND REF(CCI101,1)>REF(CCI51,1);
CCI买点定位2:=CROSS(CCI31,0) AND CCI51>REF(CCI51,1) AND REF(CCI51,1)<(-100) AND REF(CCI151,1)>0 AND REF(CCI101,1)>(-30) AND REF(CCI151,1)>REF(CCI101,1) AND REF(CCI101,1)>REF(CCI51,1);
CCI买点定位3:=CROSS(CCI51,0) AND CROSS(CCI31,0) AND REF(CCI101,1)>0 AND REF(CCI101,1)>REF(CCI151,1);
CCI买点定位:=CCI买点定位1=1 OR CCI买点定位2=1 OR CCI买点定位3=1;
金牛1:=CCI买点定位=1 AND DEA12121>DEA18181 AND DEA18181>DEA24241 AND DEA24241>DEA36361 AND DEA36361>DEA511 AND DEA511>=DEA1021 AND DEA18181>REF(DEA18181,1) AND DEA24241>REF(DEA24241,1) AND DEA36361>REF(DEA36361,1) AND DEA511>REF(DEA511,1) AND DEA1021>REF(DEA1021,1) AND DEA36361>0 AND DEA331>0;
金牛2:=CCI买点定位=1 AND DEA12121>DEA18181 AND DEA18181>DEA24241 AND DEA24241>DEA36361 AND DEA18181>DEA1021 AND DEA18181>REF(DEA18181,1) AND DEA24241>REF(DEA24241,1) AND DEA36361>REF(DEA36361,1) AND DEA511>REF(DEA511,1) AND DEA1021>REF(DEA1021,1) AND DEA18181>0 AND DEA331>0;
金牛:=金牛1=1 OR 金牛2=1;
vol比:=VOL/REF(VOL,1);
高度:=(D90H1-D90L1)*2+D90H1;
PBX11:=(expma((CLOSE+HIGH+LOW)/3,4)+EMA((CLOSE+HIGH+LOW)/3,4*2)+EMA((CLOSE+HIGH+LOW)/3,4*4))/3;
PBX22:=(EXPMA((CLOSE+HIGH+LOW)/3,5)+EMA((CLOSE+HIGH+LOW)/3,5*2)+EMA((CLOSE+HIGH+LOW)/3,5*4))/3;
PBXHH:=(EXPMA(HIGH,2)+EMA(HIGH,2*2)+EMA(HIGH,2*4))/3;
PBXLL:=(EXPMA(LOW,2)+EMA(LOW,2*2)+EMA(LOW,2*4))/3;
牛魔王:(CLOSE+HIGH+LOW)/3>Y1M AND 金牛=1 AND PBX11>PBX22 AND CLOSE<高度,COLORYELLOW,LINETHICK2;

 

标签:EMA,HIGH,通达信,源码,LOW,CLOSE,REF,MACD,鼎牛
From: https://www.cnblogs.com/zhibiao/p/18010625

相关文章

  • 通达信暗流涌动源码副图
    {股票指标}TYP:=(IF(HIGH<=0,CLOSE,HIGH)+IF(LOW<=0,CLOSE,LOW)+CLOSE)/3;CL:=(TYP-ma(TYP,30))/(0.015*AVEDEV(TYP,30));C2:=MA(CL,4);C3:=MA(CL,10);DRAWBAND(CL,RGB(0,255,0),C2,RGB(0,0,0));DRAWBAND(CL,RGB(255,0,0),C3,RGB(0,0,0));动力:CL,COLORYELLOW,LINET......
  • 通达信金牛波段暴起源码副图
    {股票指标}AA:=LLV(LOW,34);BB:=HHV(HIGH,30);DD:=(Ema(((CLOSE-AA)/(BB-AA))*(4),4))*(25);谷:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);GUP1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;GUP2:=SMA(GUP1,3,1);GUP3:=SMA(GUP2,3,1);GUP4:=SM......
  • 通达信天天满仓选股公式源码副图
    {股票指标}VAR01:=Ema((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA(CLOSE-LLV(LOW,25),5);VAR03:=crOSS(VAR02,VAR01);VAR04:=REF(VAR02,2);VAR05:=COUNT(VAR03,7)>0ANDVAR04;底部满仓:=VAR05ANDCOUNT(VAR05,5)=1......
  • 通达信逆流而上指标公式源码副图
    {股票指标}大盘线:INDEXC,NODRAW;DM5:ma(大盘线,5);个股:=EMA(CLOSE,120)/EMA(INDEXC,120);个股线:CLOSE/个股,NODRAW;GM5:MA(个股线,5);TDXstEP110:STICKLINE(大盘线>=REF(大盘线,1),大盘线,REF(大盘线,1),3,0),COLORYELLOW;TDXSTEP111:STICKLINE(大盘线<ref(大盘线,1)......
  • 通达信角度雷达寻牛排序指标公式源码副图
    {股票指标}ma5:=MA(C,5);MA10:=MA(C,10);MA30:=MA(C,30);角度5:ATAN((MA5/REF(MA5,1)-1)*100)*180/3.14159,LINETHICK2,COLORYELLOW;角度10:ATAN((MA10/REF(MA10,1)-1)*100)*180/3.14159,LINETHICK2,COLORMAGENTA;角度30:ATAN((MA30/REF(MA30,1)-1)*100)*180/3.14159,LIN......
  • 通达信尾盘擒龙主图指标公式源码
    {股票指标}N:=10;M1:=11;M2:=9;UPPER:(1+M1/100)*ma(CLOSE,N);LOWER:(1-M2/100)*MA(CLOSE,N);ene:(UPPER+LOWER)/2;A1:=crOSS(H,UPPER);stICKLINE(A1,O,C,3,0),COLORGREEN;DRAWTEXT(A1,H*1.01,'卖'),COLORGREEN;X_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100......
  • 通达信狙击牛股通达信副图源码
    {股票指标}VAB0:=531; VAB1:=1510000;VAB2:=VAB0+VAB1;VAB3:=IF(DATE>VAB2,0,1);LC:=REF(CLOSE,1);SG:=EMA(HHV(HIGH,1),8);X1:=EMA(CLOSE,8);X30:=((X1<REF(X1,1))AND(CLOSE<X1));X31:=IF(((SG<REF(SG,1))ORX30),1,0);操作线:=SMA(MAX(CLO......
  • 通达信短中趋势判断主图指标公式见红就买吧源码
    {股票指标}短中趋势判断通达信主图指标源码A1:=C*2-REF(C,8.5/2);A2:=REF(C,19/3)*2-C;短期对称:=(A1+A2)/2;关键点:=HHV(短期对称,27/2);M1:=L*2-REF(H,27/2);M2:=REF(H,27/2)*2-L;M3:=(M1+M2)/2;中期对称:=FORCAST(M3,21);趋势判断:MA(M3,27*2),COLOR0000FF,N......
  • 通达信抄底不难副图指标公式只要是底部必有信号
    {股票指标}VAR1:=EMA(HHV(HIGH,500),21);VAR2:=EMA(HHV(HIGH,250),21);VAR3:=EMA(HHV(HIGH,90),21);VAR4:=EMA(LLV(LOW,500),21);VAR5:=EMA(LLV(LOW,250),21);VAR6:=EMA(LLV(LOW,90),21);VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/......
  • 通达信主力资金能量柱副图指标公式源码
    {股票指标}M:=55;N:=21;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS((CLOSE-LC)),3,1))*100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);VAR1:=IF(YEAR>=2038ANDMONTH>=1,0,1);VAR2:=REF(LOW,1)*VAR1;VAR3:=SMA(ABS(LOW-VAR2),3,1)/SM......