最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信趋势买卖主图指标公式(通达信趋势指标及买卖选股公式)

    正文概述    2024-05-04 04:03:05  

    通达信指标公式源码概况:


    指标类别: 通达信指标公式


    授权方式: 免费版


    指标评级: ★★★★★


    指标分类: 策略


    画线方法: 副图


    一、通达信主图指标公式

    今天⼩编就给⼤家分享⼀个做T的买卖参考指标,⾮常适合做⾼抛低吸! 

    使⽤⽅法: 

    1、绿⾊线是压⼒线; 

    2、紫⾊线是⽀撑线; 

    3、黄⾊箭头是买⼊信号; 

    4、黄⾊线柱是加强买⼊信号; 

    5、绿⾊箭头是⾼抛信号。 

    中字头出现护盘,刚在直播说过,指数这波分时图杀跌是否放量,如果不放量的话⽇内估 

    计也跌不下去了,继续⾛胶着的⾛势,这状态今天指数估计收个振幅⽐较⼤的⼗字星。午后 

    ⼀开盘创业板指标股出来护盘下,刚才主板指标股也出来护盘下,算是“扯平了”今天指数估计就 

    是这样了,上不上、下不下的。指数没想到杀尾盘,刚才说的指数k线收⼗字星实现不了,指数 

    整体还是弱势震荡的⾛势,从创业板指数上看,加上今天已经是五连阴了,从震荡思维看后⾯ 

    ⼏天有可能会反弹,但是反弹的⼒度还是要结合后⾯的盘⾯氛围去综合考虑。现在指数⼤周期 

    处于震荡,要跌有也不会连续跌所以没必要恐慌。上证午后第⼀个⼩时才337亿,⽐早盘第⼆个 

    ⼩时⼩了点,市场继续萎缩,现在看指数这波分时图杀跌是否放量,如果不放量的话⽇ 

    内估计也跌不下去了,继续⾛胶着的⾛势。 

    通达信【买卖提⽰】分时主图指标公式 

    VAR1:=DYNAINFO(3); 

    VAR2:=DYNAINFO(5); 

    VAR3:=DYNAINFO(6); 

    VAR4:MA(REF(HHV(C,30),1),2),COLORGREEN,CIRCLEDOT; 

    VAR5:MA(REF(LLV(C,30),1),2),COLORMAGENTA,CIRCLEDOT; 

    VAR6:=MAX(VAR1,VAR2); 

    VAR7:=MIN(VAR1,VAR3); 

    VAR8:=VAR6-VAR7; 

    VAR9:=VAR7+VAR8*0.875; 

    VAR10:=VAR7+VAR8*0.0625; 

    VAR11:=CROSS(VAR10,C); 

    VAR12:=LONGCROSS(VAR10,C,2); 

    VAR13:=LONGCROSS(C,VAR9,2); 

    STICKLINE(VAR11,VAR10,VAR9,3,0),COLORYELLOW; 

    DRAWICON(VAR12,VAR10,34); 

    DRAWICON(VAR13,VAR9,35); 

    T+0分时主图指标 

    思路:可以⽤作T+0操作,在⽹上下载资源的基础上经过多次修改和优化,供喜欢的坛友学习 

    参考。 

    在A股市场中T+0操作是⾮常重要的盈利⼿段。通俗的说,T+0就是昨天逢低买⼊,今天待冲⾼ 

    再卖出;今天冲⾼卖掉以后,明天再逢低买⼊,这样来回操作。就像打游击⼀样,在振幅⼤⼀ 

    些的股票上旁敲侧击,咬⼀⼝是⼀⼝。如果只看⼀天两天,的确赚的不多,但是⼀年两年,甚 

    ⾄⼗年⼋年下来,成效就⾮常可观了。缺点是⽐较⿇烦,天天有买有卖的,真的不适合上班 

    族、事情多和性⼦⽐较急的⼈。⼀天钓个死光⽪,不把⽼⼦急死啦!!! 

    红⾊三⾓表⽰买⼊,粗黄线表⽰近时段处于较低位,如果价位不⾼,可以适当加仓,绿⾊圆点 

    表⽰卖出。不多做解释了,贴图和指标⼀⽬了然。 

    CGX:=MAX(DYNAINFO(3),DYNAINFO(5)); 

    HTD:=MAX(DYNAINFO(3),DYNAINFO(5)); 

    LTR:=MIN(DYNAINFO(3),DYNAINFO(6)); 

    KKMA:=HTD-LTR; 

    SP2:=MIN(DYNAINFO(3),DYNAINFO(6)); 

    RHGF1:=CGX*7/8; 

    RHGF2:=CGX*0.5/8; 

    YCL:=BARSCOUNT(CLOSE); 

    TATI:=SUM(VOL*CLOSE,0)/SUM(VOL,0); 

    GGF1:=MA(CLOSE,YCL); 

    GGF2:=(HHV(CLOSE,YCL)-LLV(CLOSE,YCL))/CLOSE 0.05; 

    GGF3:=SMA(VOL,30,1); 

    TDC:=(GGF3-LLV(LLV(GGF3,1),30))/(HHV(HHV(GGF3,1),30)-LLV(LLV(GGF3,1),30)) 0.95; 

    TDC1:=CLOSE/REF(CLOSE,1) 1.02ORCLOSE/REF(CLOSE,1) 0.98; 

    TDC2:=TDC1=0ANDGGF2ANDTDCANDCROSS(TATI,GGF1); 

    TDC3:=TDC1=0ANDGGF2ANDTDCANDCROSS(CLOSE,TATI)AND 

    CROSS(CLOSE,GGF1); 

    IF(MACD.DEA 0,CLOSE,DRAWNULL),COLORYELLOW,LINETHICK3; 

    DRAWICON(CROSS(TATI,GGF1),TATI,38); 

    DRAWTEXT(LONGCROSS(C,LTR+KKMA*7/8,2),C, ● ),COLORGREEN; 

    指标三 

    {⽀撑} 

    H1:=MAX(DYNAINFO(3),DYNAINFO(5)); 

    L1:=MIN(DYNAINFO(3),DYNAINFO(6)); 

    P1:=H1-L1; 

    阻⼒:L1+P1*7/8,COLOR00DD00; 

    ⽀撑:L1+P1*0.5/8,COLOR00DD00; 

    现价:=C; 

    DRAWICON(LONGCROSS(⽀撑,现价,2),⽀撑*1.001,1); 

    DRAWICON(LONGCROSS(现价,阻⼒,2),现价,2); 

    ⽤法: 

    把公式设置为主图公式,保存后打开分时图,点右键,分时主图指标,选择主图指标,技术指 

    标公式,其它类型,⽀撑。就能在主图上见到了。

    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); 

    买卖阶梯:MA(CLOSE,10000); 

    STICKLINE((MA15 

    REF(MA15,1)),MA15,MA15,5,6),LINETHICK2,COLOR0000FF; 

    STICKLINE((MA15 

    REF(MA15,1)),MA15,MA15,5,6),LINETHICK2,COLORFF0000; 

    买线:=EMA(C,2); 

     

    卖线:=EMA(SLOPE(C,21)*20+C,42); 

    BU:=CROSS(买线,卖线); 

    SEL:=CROSS(卖线,买线); 

    DRAWTEXT(CROSS(买线,卖线),(LOW*0.99), 买 

    ),COLOR00FFFF; 

    DRAWTEXT(CROSS(卖线,买线),(HIGH*1.02), 卖 

    ),COLOR00FF00; 

    STICKLINE(买线 =卖线,LOW,HIGH,1,0),COLORRED; 

    STICKLINE(买线 =卖线,CLOSE,OPEN,2,0),COLOR0000AA; 

    STICKLINE(买线 =卖线,CLOSE,OPEN,3,0),COLOR0000CC; 

    STICKLINE(买线 =卖线,CLOSE,OPEN,2,0),COLOR0000CC; 

    STICKLINE(买线 =卖线,CLOSE,OPEN,2,0),COLOR0000EE; 

    STICKLINE(买线 卖线,CLOSE,OPEN,4,0),COLORAAAA00; 

    STICKLINE(买线 卖线,CLOSE,OPEN,3,0),COLORBBBB00; 

    STICKLINE(买线 卖线,CLOSE,OPEN,2,0),COLORCCCC00; 

    STICKLINE(买线 卖线,CLOSE,OPEN,1,0),COLOREEEE00; 

    STICKLINE(买线 卖线,LOW,HIGH,1,0),COLORFFFF00; 

    STICKLINE(CROSS(买线,卖线)ORCROSS(卖线,买线),OPEN,CLOSE,2,0),COLOR00FFFF; 

    指导线: 

    EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLO 

    SE,24))/4,2),LINETHICK1,COLORFFFFFF; 

    界:MA(CLOSE,27),LINETHICK1,COLOR00FFFF;


    image.png



    二、通达信趋势指标及买卖公式


     

    VAR1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSEREF(CLOSE,1)),7,1)*100; 

    VAR2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSEREF(CLOSE,1)),13,1)*100; 

    VAR3:=BARSCOUNT(CLOSE); 

    VAR4:=VAR1 20ANDVAR2 23andvar3  

    VAR5:=VAR4ANDCOUNT(VAR4,1)=1; 

    VAR6:=EMA(CLOSE,21)-EMA(CLOSE,8); 

    VAR7:=EMA(VAR6,5); 

    VAR8:=TROUGHBARS(3,6,1) 4ANDCROSS(VAR6,VAR7); 

    VAR9:=(HIGH+LOW+CLOSE)/3; 

    VAR10:=IF(TROUGHBARS(3,16,1)=0ANDHIGH LOW+0.04,4,0); 

    VAR11:=(VAR9-MA(VAR9,14))/(0.015*AVEDEV(VAR9,14)); 

    见底:VAR10,COLORYELLOW,LINETHICK3; 

    DRAWTEXT(VAR11 -110and见底 0,3, 见底 ),,COLORYELLOW; 

    DRAWTEXT(见底ANDVAR11 -100andvar8andvar5 0,4.1, ★组合5分钟线选股思路 

    获利5%以上 ),,COLORRED; 

    DRAWICON(见底 0,4,1); 

    XX:=EMA(CLOSE,30)-EMA(CLOSE,17); 

    AA:=EMA(XX,5); 

    YY:=EMA(XX,13); 

    短:=TROUGHBARS(3,10,1) 1ANDCROSS(XX,AA); 

    DRAWICON(短 0,1.8,18); 

    DRAWTEXT(短 0,1.8, 慧眼 ),COLORWHITE; 

    枪:=TROUGHBARS(3,5,1) 1ANDXX  

    短1:=IF(枪 0,0.4,0),STICK,COLORF0F000,LINETHICK4; 

    DRAWICON(短1 0,1.4,1); 

    DRAWTEXT(短1 0,1.1, 套利 ),COLORLIBLUE; 

    短2:=CROSS(XX,AA)ANDTROUGHBARS(3,7,1)  

    DRAWICON(短2 0,1.4,1); 

    DRAWTEXT(短2,2.5, ⼩⽜ ),COLORWHITE; 

    狙击:短OR短1OR短2,COLORWHITE,LINETHICK9; 

    VAR12:=PEAKBARS(3,15,1)  

    VAR13:=IF(VAR12=1,2,0); 

    顶:=IF(VAR13=2,2,0); 

    逃命:IF(顶 REF(顶,1),3,0),COLORRED,LINETHICK2; 

    DRAWTEXT(逃命=3,3, 逃! ),COLORRED; 

    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*5; 

    FASTK:=SMA(RSV,3,1); 

    ⾦:SMA(FASTK,3,1),COLORLIGREEN,COLORRED,LINETHICK1; 

    阴阳:SMA(⾦,5,1),COLORLICYAN,COLORBLUE,LINETHICK; 

    VAR14:=TROUGHBARS(3,15,1)  

    VAR15:=IF(VAR14=1,50,0); 

    底部:=IF(VAR15=50,10,0); 

    介⼊:底部/20,LINETHICK2,COLORBLUE; 

    VAR16:=EMA(EMA(CLOSE,13),13); 

    控盘:=(VAR16-REF(VAR16,1))/REF(VAR16,1)*1000,COLORFFCCCC,POINTDOT; 

    ⽆庄控盘:控盘 0,COLORBLACKLINESTICK; 

    有庄控盘:控盘 REF(控盘,1)AND控盘 0,LINETHICK3; 

    VAR17:=100*WINNER(CLOSE*0.95); 

    主⼒出货:控盘0,COLORGREEN; 

    ⾼度控盘:VAR17 50ANDCOST(85)0,COLORLIMAGENTA; 

    将⾦指标当天出现“机构介⼊”的选出来 

    VAR14:=TROUGHBARS(3,15,1)  

    VAR15:=IF(VAR14=1,50,0); 

    底部:=IF(VAR15=50,10,0); 

    机构介⼊:底部ANDREF(底部,2)=0ANDC =O*0.95,LINETHICK2,COLORBLUE;


     

    现价:DYNAINFO(7),COLORRED; 

    B1:=MA(C,1); 

    B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1); 

    SMA2:=MA(B2,3); 

    停损下限:IF(LLV(MA(B2,8),3) ltB2,LLV(MA(B2,8),3),B2); 

    IF(B2 gtSMA2,B2,DRAWNULL),COLORRED,LINETHICK4; 

    IF(B2 ltSMA2,B2,DRAWNULL),COLORGREEN,LINETHICK4; 

    SNAKEA:HHV(MA(B2,1),13),COLORYELLOW; 

    VAR1A:=(2*CLOSE+HIGH+LOW)/4; 

    VAR2A:=MA(VAR1A,7); 

    VAR3A:=VAR2A-MA(VAR1A,7/2) lt0; 

    VAR4A:=VAR2A-MA(VAR1A,7/2) gt0; 

    VAR5A:=BARSLAST(VAR3A); 

    VAR6A:=0-BARSLAST(VAR4A); 

    VAR7A:=IF(VAR3A lt=0,VAR5A,VAR6A); 

    STICKLINE(SNAKEA gtB2ANDB2 gtSMA2,SNAKEA,B2,0,0),COLORBLUE; 

    STICKLINE(SNAKEA gtSMA2ANDB2 ltSMA2,SNAKEA,SMA2,0,0),COLORBLUE; 

    VAR11A:=(CLOSE*2+HIGH+LOW)/4; 

    VAR21A:=EMA(VAR11A,13)-EMA(VAR11A,34); 

    VAR31A:=EMA(VAR21A,5); 

    {STICKLINE((C gt=O),OPEN,LOW,0,0),COLOR0726CA; 

    STICKLINE((C gt=O),CLOSE,HIGH,0,0),COLOR0726CA; 

    STICKLINE((C ltO),CLOSE,LOW,0,0),COLORDE9100; 

    STICKLINE((C ltO),OPEN,HIGH,0,0),COLORDE9100; 

    STICKLINE((C ltO),CLOSE,OPEN,2.5,0),COLORFFCC00; 

    STICKLINE((C ltO),CLOSE,OPEN,1.5,0),COLORFFFF00; 

    STICKLINE((C gtO),CLOSE,OPEN,2,0),COLOR0754E9; 

    STICKLINE((C gtO),CLOSE,OPEN,1.5,0),COLOR076EF3; 

    STICKLINE((C gtO),CLOSE,OPEN,1,0),COLOR077BF3;} 

    VAR2:=((CLOSE gtREF(CLOSE,1))AND(CLOSE gtREF(CLOSE,2))); 

    VAR3:=((REF(VAR2,1)AND(CLOSE lt=REF(CLOSE,1)))AND(CLOSE gt=REF(CLOSE,2))); 

    VAR4:=((REF(VAR3,1)AND(CLOSE gt=REF(CLOSE,1)))AND(CLOSE lt=REF(CLOSE,2))); 

    VAR5:=((REF(VAR4,1)AND(CLOSE lt=REF(CLOSE,1)))AND(CLOSE gt=REF(CLOSE,2))); 

    VAR6:=((REF(VAR5,1)AND(CLOSE gt=REF(CLOSE,1)))AND(CLOSE lt=REF(CLOSE,2))); 

    VAR7:=((REF(VAR6,1)AND(CLOSE lt=REF(CLOSE,1)))AND(CLOSE gt=REF(CLOSE,2))); 

    VAR8:=((REF(VAR7,1)AND(CLOSE gt=REF(CLOSE,1)))AND(CLOSE lt=REF(CLOSE,2))); 

    VAR9:=((REF(VAR8,1)AND(CLOSE lt=REF(CLOSE,1)))AND(CLOSE gt=REF(CLOSE,2))); 

    VARA:=((REF(VAR9,1)AND(CLOSE gt=REF(CLOSE,1)))AND(CLOSE lt=REF(CLOSE,2))); 

    VARB:=((REF(VARA,1)AND(CLOSE lt=REF(CLOSE,1)))AND(CLOSE gt=REF(CLOSE,2))); 

    VARC:=((REF(VARB,1)AND(CLOSE gt=REF(CLOSE,1)))AND(CLOSE lt=REF(CLOSE,2))); 

    VARD:=((REF(VARC,1)AND(CLOSE lt=REF(CLOSE,1)))AND(CLOSE gt=REF(CLOSE,2))); 

    VARE:=((CLOSE ltREF(CLOSE,1))AND(CLOSE ltREF(CLOSE,2))); 

    VARF:=((REF(VARE,1)AND(CLOSE gt=REF(CLOSE,1)))AND(CLOSE lt=REF(CLOSE,2))); 

    VAR10:=((REF(VARF,1)AND(CLOSE lt=REF(CLOSE,1)))AND(CLOSE gt=REF(CLOSE,2))); 

    VAR11:=((REF(VAR10,1)AND(CLOSE gt=REF(CLOSE,1)))AND(CLOSE lt=REF(CLOSE,2))); 

    VAR12:=((REF(VAR11,1)AND(CLOSE lt=REF(CLOSE,1)))AND(CLOSE gt=REF(CLOSE,2))); 

    VAR13:=((REF(VAR12,1)AND(CLOSE gt=REF(CLOSE,1)))AND(CLOSE lt=REF(CLOSE,2))); 

    VAR14:=((REF(VAR13,1)AND(CLOSE lt=REF(CLOSE,1)))AND(CLOSE gt=REF(CLOSE,2))); 

    VAR15:=((REF(VAR14,1)AND(CLOSE gt=REF(CLOSE,1)))AND(CLOSE lt=REF(CLOSE,2))); 

    VAR16:=((REF(VAR15,1)AND(CLOSE lt=REF(CLOSE,1)))AND(CLOSE gt=REF(CLOSE,2))); 

    VAR17:=((REF(VAR16,1)AND(CLOSE gt=REF(CLOSE,1)))AND(CLOSE lt=REF(CLOSE,2))); 

    VAR18:=((REF(VAR17,1)AND(CLOSE lt=REF(CLOSE,1)))AND(CLOSE gt=REF(CLOSE,2)) 

    ); 

    VAR19:=((REF(VAR18,1)AND(CLOSE =REF(CLOSE,1)))AND(CLOSE =REF(CLOSE,2))); 

    VAR1B:=(REF((((((((((((VAREORVARF)ORVAR10)ORVAR11)ORVAR12)ORVAR13)ORVAR14)ORVAR15)ORVAR16)ORVAR17)ORVAR18)ORVAR19),1)ANDVAR2); 

    {STICKLINE(VAR1B,O,O+(C-O)/3,3,0),COLOR10D0FF;} 

    STICKLINE(VAR1B,O,O+(C-O)/3,2,0),COLOR10FFFF; 

    STICKLINE(VAR1B,O,O+(C-O)/3,1,0),COLOR00FFFF; 

    AA:=(REF((((((((((((VAR2ORVAR3)ORVAR4)ORVAR5)ORVAR6)ORVAR7)ORVAR8)ORVAR9)ORVARA)ORVARB)ORVARC)ORVARD),1)ANDVARE); 

    {STICKLINE(AA,O,O+(C-O)/3,3,0),COLOR00DD00;} 

    STICKLINE(AA,O,O+(C-O)/3,2,0),COLOR00EE00; 

    STICKLINE(AA,O,O+(C-O)/3,1,0),COLOR00FF00; 

    A13:=EMA(CLOSE,55); 

    A14:=MA(CLOSE,75); 

    A15:=EMA(A14,3); 

    A16:=EMA(A15,3); 

    A17:=(HIGH+LOW)/5; 

    A18:=(MA(A17,4))-(MA(A17,34)); 

    A19:=CROSS(A18,0); 

    A20:=CROSS(0,A18); 

    A21:=BARSLAST(A19); 

    A22:=BARSLAST(A20); 

    A23:=REF(A19,1); 

    A24:=REF(A20,1); 

    A25:=BARSLAST(A23); 

    A26:=BARSLAST(A24); 

    A27:=IF((A25 A26),(REF((HHV(HIGH,2)),A25)),(REF((LLV(LOW,2)),A26))); 

    A28:=(((REF(CLOSE,1)) =(ref(a27,1)))and(close A27))AND(A21 A22); 

    A29:=(((REF(CLOSE,1)) =(REF(A27,1)))AND(CLOSE A27))AND(A22 A21); 

    A30:=A28AND((COUNT(A28,A21))=1); 

    A31:=A29AND((COUNT(A29,A22))=1); 

    A32:=A30AND((REF(BARSLAST(A31),1)) (REF(BARSLAST(A30),1))); 

    A33:=A31AND((REF(BARSLAST(A31),1)) (REF(BARSLAST(A30),1))); 

    DRAWTEXT(A32,SMA2*0.99, ←═≒∝ ),COLORYELLOW; 

    AC:=AMOUNT/(VOL); 

    YY:=MA(AC,13); 

    LLL:=(C-YY)/YY*100; 

    MIDC:=MA(CLOSE,22); 

    UPPERC:=MIDC+2*STD(C,22); 

    LOWERC:=MIDC-2*STD(C,22); 

    BBA:=(C-LOWERC)/(UPPERC-LOWERC); 

    BBC:=FORCAST(BBA,3); 

    LIFENGCYC:=(REF(LLL,1) -15ANDREF(BBA,1) 0andlll REF(LLL,1)); 

    {//STICKLINE(LIFENGCYC,BBC,0.5,6,0);} 

    {//BBD:(UPPER+LOWER)/2*(C-UPPER);} 

    STICKLINE(LIFENGCYC 0,C,O,2,0),COLOR10ABFF; 

    {STICKLINE(LIFENGCYC 0,C,O,1.5,0),COLOR10D0FF; 

    STICKLINE(LIFENGCYC 0,C,O,1,0),COLOR10FFFF;} 

    DRAWTEXT(LIFENGCYC 0,LOW*0.99, ☆ ),COLORDD00DD; 

    顶:PEAK(CLOSE,10,1); 

    底:TROUGH(CLOSE,10,1),COLORCYAN; 

    DRAWICON(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*0.96,7); 

    DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.04,8); 

    SWL:=(EXPMA(CLOSE,5)*7+EXPMA(CLOSE,10)*3)/10,COLORGRAY; 

    SWS:DMA(EMA(CLOSE,12),MAX(1,100*(SUM(VOL,5)/(3*CAPITAL)))),COLORMAGENTA; 

    SS:IF(SWS =REF(SWS,1)ANDC =SWS,SWS,DRAWNULL),COLORGREEN;


    image.png




    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信趋势买卖主图指标公式(通达信趋势指标及买卖选股公式) 加入收藏