通达信小白看盘指标公式 【源码 主图 副图 】通达信公式
公式源码:
{五分钟看盘主图}
T1:=IF(PERIOD=1,BARSLAST(TIME2=095000),DRAWNULL);
T2:=IF(PERIOD=1,BARSLAST(TIME2=094500),DRAWNULL);
T3:=IF(PERIOD=1,BARSLAST(TIME2=100000),DRAWNULL);
C2:=REF(C,T2);
C3:=REF(C,T3);
ZF:=(C3-C2)/C2*100;
XF:=REFX(ZF,2);
HH:=HHV(H,3);
LL:=LLV(L,3);
XH:=REFX(HH,2);
XL:=REFX(LL,2);
XC:=REFX(C,2);
DRAWLINE(T1=0 AND O<XC,XH,T3=0 AND C>REF(O,T1),HH,0),DOTLINE,COLORMAGENTA;
DRAWLINE(T1=0 AND O>XC,XH,T3=0 AND C<REF(O,T1),HH,0),DOTLINE,COLORGREEN;
DRAWLINE(T1=0 AND O=XC,XH,T3=0 AND C=REF(O,T1),HH,0),DOTLINE,COLORWHITE;
DRAWLINE(T1=0 AND O<XC,XL,T3=0 AND C>REF(O,T1),LL,0),DOTLINE,COLORMAGENTA;
DRAWLINE(T1=0 AND O>XC,XL,T3=0 AND C<REF(O,T1),LL,0),DOTLINE,COLORGREEN;
DRAWLINE(T1=0 AND O=XC,XL,T3=0 AND C=REF(O,T1),LL,0),DOTLINE,COLORWHITE;
STICKLINE(T1=0 AND O<XC,XH,XL,0,-1),COLORMAGENTA;
STICKLINE(T3=0 AND C>REF(O,T1),HH,LL,0,-1),COLORMAGENTA;
STICKLINE(T1=0 AND O>XC,XH,XL,0,-1),COLORGREEN;
STICKLINE(T3=0 AND C<REF(O,T1),HH,LL,0,-1),COLORGREEN;
STICKLINE(T1=0 AND O=XC,XH,XL,0,-1),COLORWHITE;
STICKLINE(T3=0 AND C=REF(O,T1),HH,LL,0,-1),COLORWHITE;
DRAWTEXT(T1=0,XH*1.005,VARCAT(VARCAT('三K涨跌幅:',VAR2STR(XF,2)),'%')),COLORWHITE;
DRAWTEXT_FIX(1,0.069,0.896,0,'1、研判条件:运用5分钟K线图。'),COLORYELLOW;
DRAWTEXT_FIX(1,0.069,0.931,0,'2、准确特性:预测大势高达90%,预测个股达80%左右。'),COLORLIBLUE;
DRAWTEXT_FIX(1,0.069,0.976,0,'3、基本原理:开盘半小时多空双方的较量,基本决定和影响全天多空双方的价位观点,从而决定一天的走势。'),COLORLIGREEN;
压:DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),COLORYELLOW,DOTLINE;
DRAWTEXT(1 AND ISLASTBAR, LLV(压,1),' 压'),COLORCYAN;
A2:=REF(L,5)=LLV(L,2*5+1);
B2:=FILTER(A2,5);
C22:=BACKSET(B2,5+1);
D2:=FILTER(C22,5);
E2:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);
F2:=E2>REF(E2,1);
支:DRAWLINE(D2,L,F2,L,1),COLORLIBLUE,DOTLINE;
DRAWTEXT(1 AND ISLASTBAR, LLV(支,1),' 支'),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=2,REF(L,1)*0.968,H#MONTH,0,-1),COLORMAGENTA;
*******************************************************************************************************
{五分钟看盘副图}
DRAWTEXT_FIX(1,0.001,0.001,0,'研判方法:前15分钟3根蜡烛 (每5分钟一根) 对全天的影响占70%,其后15分钟1根蜡烛 (9:45---10:00) 对全天的影响占30%。前后相加共4根蜡烛,可预测全天行情趋势。'),COLORYELLOW;
DRAWTEXT_FIX(1,0.0,0.09,0,' 1.若4根蜡烛,全部拉阳线。全天走势极强。中午休盘前后20分钟,可能是全天的相对低点,收盘价可能是全天的最高价。'),COLORRED;
DRAWTEXT_FIX(1,0.0,0.17,0,' 2.若4根蜡烛,三阳一阴,全天将是相对强势。将震荡上行,全日的低点可能在10点45和下午2点15分出现,收盘价可能是全天的相对高点。'),COLORLIRED;
DRAWTEXT_FIX(1,0.0,0.25,0,' 3.若4根蜡烛,二阳二阴。全天将是平稳势或小幅震荡平衡势。容易出现的高点上午在11点、下午在2点45分左右。收盘价与开盘相差不大。'),COLORLIGRAY;
DRAWTEXT_FIX(1,0.0,0.33,0,' 4.若4根蜡烛,三阴一阳。全天将是相对弱势。全日相对高点上午10点15分左右、下午1点45分左右。收盘价可能是全天的相对低点。'),COLORLICYAN;
DRAWTEXT_FIX(1,0.0,0.41,0,' 5.若4根蜡烛,全部拉阴线。全天走势极弱。上午10点20分和中午休盘后稍有高点外,将一路下跌。收盘价将是全天的最低点。'),COLORGREEN;
DRAWTEXT_FIX(1,0.0,0.49,0,'上述方法遇特大消息异常暴涨、暴跌和开盘前30分钟庄家异常放量骗钱,有一定的失真。其他正常情况,可靠性极强。用开盘半小时分时走势确定当日大盘运行趋势。'),COLORYELLOW;
DRAWTEXT_FIX(1,0.0,0.58,0,'一.大盘上升趋势:一般情况下,对于上涨趋势的大盘开盘后半小时之内都会一浪高过一浪的攀高,攀高到10点10分,如果继续攀高,这种情况下说明当天大盘震荡走高,股指大涨;如果10点后大盘掉头向下 ,可预期尾市大盘有短线回吐压力,但'),COLORLIGRAY;
DRAWTEXT_FIX(1,0.0,0.66,0,' 全天的上涨趋势是肯定的。以上两种情况是最典型的大盘 上涨信号。'),COLORLIGRAY;
DRAWTEXT_FIX(1,0.0,0.76,0,'二.大盘下降趋势:开盘后30分钟内大盘分时走势逐级盘下,一浪比一浪低,盘中反弹高度不能高出下降趋势 线,反弹发乏力,直至10点45分后仍然没有一波有利的反弹,或有强力反弹但最终不能高出开盘后 30分钟K线实体部分,可以判定当日大'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.0,0.84,0,' 盘为跌势,股指下调。有时候大盘高开后有回补当天跳空缺口的要求,这时可以观察5分钟K线,如果其后连续 三根5分钟K线能够高于开盘K线的实体部分,就可以肯定大盘的走势是稳定的,股指当日是上涨 趋势。相反,如果开盘后的连续 3 根'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.0,0.92,0,' 5分钟K线低于开盘时K线的实体部分,可断定当日大盘的下 降趋势。'),COLORLIGREEN;
承接范围:通达信.tn6 .tne .tni .tnc 、大智慧.fnc、飞狐.alg、同花顺.hxf、操盘手.daf、博易大师.pio、倚天期货.wfn2、文华赢顺.fml、文华WH6、文华WH8.xfml.trd.xtrd.zip、金字塔.fla、交易开拓者.tbf .fbk、财富通 .fml、UP安全投资卫士.fnc、金汇、富远等先做后付!
特别提示:
选股预警指标编写 ,不同主流行情软件间指标转换。 请联系微信:396950280