首页 > 编程语言 >通达信波段均线指标公式源码副图

通达信波段均线指标公式源码副图

时间:2024-01-28 11:59:01浏览次数:26  
标签:MA 21 CROSS 波段 通达信 源码 CLOSE REF 小黑

VAR1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR2:=SMA(VAR1,3,1);
波:=Sma(VAR2,3,1);
段:=SMA(波,3,1);
VAR9:=crOSS(段,波) AND 波>80;
stICKLINE(FILTER(VAR9,5)=1,80,100,10,0),COLORGREEN;
DRAWTEXT(FILTER(VAR9,5)=1,70,'逃顶'),COLORGREEN;
AA:=LLV(LOW,36);
BB:=HHV(HIGH,30);
风险:80,COLORFF00FF;
小心:87.5,COLOR00FF00;
股神:(MEMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25),COLOR0000FF,LINETHICK2;
VAR5:=(CROSS(股神,波) AND 波<20) AND (CROSS(股神,10));
DRAWTEXT(FILTER(VAR5,10)=1,40,'抄底'),COLORYELLOW;
STICKLINE(FILTER(VAR5,10)=1,0,30,10,0),COLORYELLOW;
主力:=DMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11),2);
散户:=EMA( (CLOSE-MA(CLOSE,8))/MA(CLOSE,8),7);
DRAWTEXT(CROSS(散户,0),股神,'↑升'),COLOR00CCFF;
DD1:=EMA(CLOSE,15);
DD2:=EMA(CLOSE,24);
DD3:=EMA(CLOSE,60);
DD4:=EMA(CLOSE,99);
三线粘合剑:CROSS(DD1,DD2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(DD1,DD4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(DD2,DD3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(DD1,DD3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018,COLORFF00FF;
顶剑:IF(三线粘合剑,70,100),COLORCCFF66;
短线1:=(MA(CLOSE,3)+MA(CLOSE,5)+MA(CLOSE,7)+MA(CLOSE,9))/4;
短线2:=MA(短线1,3);
短剑:IF((CROSS(短线1,短线2)) AND CROSS(波,段),50,0),COLORCCFFFF;
QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
QVAR1C:=SMA(QVAR1B,13,8);
QVAR1D:=SMA(QVAR1A,21,8);
生意上门:SMA(QVAR1C,13,8),COLORRED;
AAS:=FILTER((COUNT((生意上门-QVAR1D<(-65)),3)=3),34);
收银:IF(AAS,60,0),COLORRED,STICK,LINETHICK4;
DRAWTEXT(收银,65,'收银');
买卖顺意:=MA((((-100))*(HHV(HIGH,34)-CLOSE))/(HHV(HIGH,34)-LLV(LOW,34))+100,5);
天:(生意上门+买卖顺意)/2;
使:(股神+波+段)/3;
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/211;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2);
小黑码:IF(CROSS(D1,K1),45,0),COLORFFCC66,POINTDOT;
STICKLINE(小黑码>0,0,小黑码*1.1,1,0),COLORWHITE;
STICKLINE(小黑码>0 AND 小黑码<52,30,小黑码,1,0),COLORFFCC66;
STICKLINE(小黑码>0,0,小黑码*0.8,4,0),COLORFFCC66;
STICKLINE(小黑码>0,0,小黑码*0.4,8,0),COLORFFCC66;
STICKLINE(小黑码>0,0,小黑码*0.2,10,0),COLORFF00FF;
STICKLINE(小黑码>0,0,小黑码*0.1,10,0),COLORBLUE;

 

标签:MA,21,CROSS,波段,通达信,源码,CLOSE,REF,小黑
From: https://www.cnblogs.com/zhibiao/p/17992669

相关文章

  • 通达信聪明成交量副图指标公式源码
    变量0:=5;变量1:=10;变量2:=60;DRAWBAND(MA(VOL,变量0),RGB(188,88,98),MA(VOL,变量1),RGB(0,188,0));DRAWBAND(MA(VOL,变量0),RGB(160,0,0),MA(VOL,变量2),RGB(83,123,68));变量5:=IF(PERIOD=5,240,IF(PERIOD=4,60,IF(PERIOD=3,30,IF(PERIOD=2,15,IF(PERIOD=1,5,......
  • 通达信双金趋势副图指标公式源码
    DIFF:EMA(CLOSE,6)-EMA(CLOSE,13),LINESTICK,COLORYELLOW;IF(DIFF>=REF(DIFF,1),DIFF,DRAWNULL),COLORRED,LINETHICK3;DEA:EMA(DIFF,5);MACD:=2*(DIFF-DEA);A:=MACD;G:=MA(MACD,2);J:=MA(MACD,3);J1:=MA(MACD,5);STICKLINE(CROSS(MA(A,1),G),0.05,0,4,1),COLORYE......
  • 通达信极品抄底优化指标公式源码副图
    X_1:=(2*CLOSE+HIGH+LOW)/4;X_2:=LLV(LOW,5);X_3:=HHV(HIGH,5);X_4:=Ema((X_1-X_2)/(X_3-X_2)*100,5);X_5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;X_6:=SMA(X_5,3,1);X_7:=SMA(X_6,3,1);X_8:=3*X_6-2*X_7;X_9:=X_8<(-10);X_10:=REF(X_9,1)=1ANDX_9=......
  • 通达信先锋夺宝副图指标公式源码副图
      CC1:"CCI.CCI"(25),COLORSTICK,COLOR40FF00;DRAWICON(CROSS(200,"CCI.CCI"),250,2);DRAWICON(CROSS("CCI.CCI",-200),-250,1);资金进入:"CCI.CCI">0,NODRAW,COLOR0000D5;STICKLINE("CCI.CCI">0,0,"CCI......
  • 通达信潜伏主升主图指标公式源码
    X_1:=1;X_2:=ma(CLOSE,60);X_3:=MA(CLOSE,120);DRAWBAND(X_2,RGB(90,0,0),X_3,RGB(0,90,0));MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA20:MA(CLOSE,20);MA60:MA(CLOSE,60);MA120:MA(CLOSE,120);DRAWKLINE(HIGH,OPEN,LOW,CLOSE);X_4:=REF(CLOSE,1);X_5:=IF((CLOSE-X_4)......
  • 通达信分时机构买卖指标公式源码副图
    {指标介绍:量能用四种颜色的小短柱表示,绿色若,红色较强,粉红色强,青色更强,浅红色最强。中间的红色是量堆。下方的红色带及绿色带也是代表量能。底部的白色小箭头是买点,红色箭头一般是当天的最低点。上方的绿色小箭头是当天的最高点。出现红色西线关注,出现白色细线及"突"可以追进去......
  • 通达信盲点套利模型指标公式源码副图
    预涨幅10%:=REF(C,1)*1.10,COLORYELLOW;预涨幅09%:=REF(C,1)*1.09,COLORYELLOW;{DRAWTEXT(CURRBARSCOUNT=1,预涨幅12%,'预涨幅12%'),COLORBLacK,LINETHICK3;}预涨幅08%:=REF(C,1)*1.08,COLORYELLOW;{DRAWTEXT(CURRBARSCOUNT=1,预涨幅08%,'预涨幅8%'),COLORWHITE,LINETHIC......
  • 通达信【智取妖底】幅图选股公式 做短线及短波段精准抄底系统 源码文件分享
    主力运作股大跌后底部拉升起爆思路.思路安全.稳中求胜.狙击短线妖股必备利器.适合做短线和短波段.指标不含未来,放心使用. 智取妖底系统为:主力运作股大跌后底部低位拉升起爆思路.这是一种非常彪悍的洗盘手法,快速洗盘完成后一般会有更大的涨幅,本公司长期致力于研究各种主力的......
  • 通达信操盘结构指标公式源码副图
    RA:=maX(O,C);RB:=MIN(O,C);RC:=REF(HHV(H,2),1);RD:=REF(LLV(L,2),1);T1:=IF(RA>RC,1,IF(RB<rd,-1,0));T2:=BArslAst(T1=0);TH:=REF(REF(H,BARSLAST(T1=1)),T2);TL:=REF(REF(L,BARSLAST(T1=-1)),T2);TA:=IF(T1=1,IF(RA>TH,1,0),IF(T1=-1,IF(RB<tl,-1,0),......
  • 通达信持股持币变盘指标公式源码副图
    X_1:=CLOSE-REF(CLOSE,1);X_2:=100*Ema(EMA(X_1,5),3)/EMA(EMA(Abs(X_1),5),3);X_3:=100*EMA(EMA(X_1,13),8)/EMA(EMA(ABS(X_1),13),8);X_4:=X_2>X_3;X_5:=IF(X_4,6,0);X_6:=EMA(CLOSE,8)-EMA(CLOSE,13);X_7:=EMA(X_6,5);X_8:=X_6>X_7;X_9:=IF(X_8,1,0);X_10:=......