您现在的位置:程序化交易>> 股票公式>> 通达信>> 通达信公式>>正文内容

五分钟周期趋势矩形[通达信公式]

相关标签:通达信趋势线指标公式 、 通达信主趋势公式指标 、 通达信wr趋势指标公式 、 通达信指标公式 、 通达信macd三周期指标 、 通达信多周期macd指标 、 通达信三周期kdj指标 、 通达信公式 、 通达信选股公式 、 通达信画线主图公式 、

 

上午写了一个通达信一分钟周期每20分钟最高价 最低价画矩形 下午试着再写一个五分钟30分钟最高价 最低价画矩形 全天48根K线 每八根高低点框起来 共6个矩形 考虑研判趋势时间长一点可能好些。所以 将前一天的6个矩形一并画出 共计2天12个矩形图 上午公式有同学提出太花了 所以 下午这个去掉了标注最高价 画面更清新 看看有没有同学能够在一分钟(20分钟画线)和五分钟(30分钟画线)找到共振点。祝大家投资愉快

A:=BARSLAST(DATE!=REF(DATE,1))+1;
T:=IF(PERIOD=1 AND CURRBARSCOUNT<=96,BARSLAST(CURRBARSCOUNT=CONST(A+REF(A,A+1)+1)),DRAWNULL);
H1:=FINDHIGH(H,T=8,8,1);
H2:=FINDHIGH(H,T=16,8,1);
H3:=FINDHIGH(H,T=24,8,1);
H4:=FINDHIGH(H,T=32,8,1);
H5:=FINDHIGH(H,T=40,8,1);
H6:=FINDHIGH(H,T=48,8,1);
H7:=FINDHIGH(H,T=56,8,1);
H8:=FINDHIGH(H,T=64,8,1);
H9:=FINDHIGH(H,T=72,8,1);
H10:=FINDHIGH(H,T=80,8,1);
H11:=FINDHIGH(H,T=88,8,1);
H12:=FINDHIGH(H,0,8,1);
L1:=FINDLOW(L,T=8,8,1);
L2:=FINDLOW(L,T=16,8,1);
L3:=FINDLOW(L,T=24,8,1);
L4:=FINDLOW(L,T=32,8,1);
L5:=FINDLOW(L,T=40,8,1);
L6:=FINDLOW(L,T=48,8,1);
L7:=FINDLOW(L,T=56,8,1);
L8:=FINDLOW(L,T=64,8,1);
L9:=FINDLOW(L,T=72,8,1);
L10:=FINDLOW(L,T=80,8,1);
L11:=FINDLOW(L,T=88,8,1);
L12:=FINDLOW(L,0,8,1);
STICKLINE(BETWEEN(T,1,6),CONST(REF(H1,BARSLAST(T=8))),CONST(REF(H1,BARSLAST(T=8))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,1,6),CONST(REF(L1,BARSLAST(T=8))),CONST(REF(L1,BARSLAST(T=8))),6,0),COLORYELLOW;
STICKLINE(T=0 OR T=7,CONST(REF(H1,BARSLAST(T=8))),CONST(REF(L1,BARSLAST(T=8))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,9,14),CONST(REF(H2,BARSLAST(T=16))),CONST(REF(H2,BARSLAST(T=16))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,9,14),CONST(REF(L2,BARSLAST(T=16))),CONST(REF(L2,BARSLAST(T=16))),6,0),COLORYELLOW;
STICKLINE(T=8 OR T=15,CONST(REF(H2,BARSLAST(T=16))),CONST(REF(L2,BARSLAST(T=16))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,17,22),CONST(REF(H3,BARSLAST(T=24))),CONST(REF(H3,BARSLAST(T=24))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,17,22),CONST(REF(L3,BARSLAST(T=24))),CONST(REF(L3,BARSLAST(T=24))),6,0),COLORYELLOW;
STICKLINE(T=16 OR T=23,CONST(REF(H3,BARSLAST(T=24))),CONST(REF(L3,BARSLAST(T=24))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,25,30),CONST(REF(H4,BARSLAST(T=32))),CONST(REF(H4,BARSLAST(T=32))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,25,30),CONST(REF(L4,BARSLAST(T=32))),CONST(REF(L4,BARSLAST(T=32))),6,0),COLORYELLOW;
STICKLINE(T=24 OR T=31,CONST(REF(H4,BARSLAST(T=32))),CONST(REF(L4,BARSLAST(T=32))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,33,38),CONST(REF(H5,BARSLAST(T=40))),CONST(REF(H5,BARSLAST(T=40))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,33,38),CONST(REF(L5,BARSLAST(T=40))),CONST(REF(L5,BARSLAST(T=40))),6,0),COLORYELLOW;
STICKLINE(T=32 OR T=39,CONST(REF(H5,BARSLAST(T=40))),CONST(REF(L5,BARSLAST(T=40))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,41,46),CONST(REF(H6,BARSLAST(T=48))),CONST(REF(H6,BARSLAST(T=48))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,41,46),CONST(REF(L6,BARSLAST(T=48))),CONST(REF(L6,BARSLAST(T=48))),6,0),COLORYELLOW;
STICKLINE(T=40 OR T=47,CONST(REF(H6,BARSLAST(T=48))),CONST(REF(L6,BARSLAST(T=48))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,49,54),CONST(REF(H7,BARSLAST(T=56))),CONST(REF(H7,BARSLAST(T=56))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,49,54),CONST(REF(L7,BARSLAST(T=56))),CONST(REF(L7,BARSLAST(T=56))),6,0),COLORYELLOW;
STICKLINE(T=48 OR T=55,CONST(REF(H7,BARSLAST(T=56))),CONST(REF(L7,BARSLAST(T=56))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,57,62),CONST(REF(H8,BARSLAST(T=64))),CONST(REF(H8,BARSLAST(T=64))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,57,62),CONST(REF(L8,BARSLAST(T=64))),CONST(REF(L8,BARSLAST(T=64))),6,0),COLORYELLOW;
STICKLINE(T=56 OR T=63,CONST(REF(H8,BARSLAST(T=64))),CONST(REF(L8,BARSLAST(T=64))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,65,70),CONST(REF(H9,BARSLAST(T=72))),CONST(REF(H9,BARSLAST(T=72))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,65,70),CONST(REF(L9,BARSLAST(T=72))),CONST(REF(L9,BARSLAST(T=72))),6,0),COLORYELLOW;
STICKLINE(T=64 OR T=71,CONST(REF(H9,BARSLAST(T=72))),CONST(REF(L9,BARSLAST(T=72))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,73,78),CONST(REF(H10,BARSLAST(T=80))),CONST(REF(H10,BARSLAST(T=80))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,73,78),CONST(REF(L10,BARSLAST(T=80))),CONST(REF(L10,BARSLAST(T=80))),6,0),COLORYELLOW;
STICKLINE(T=72 OR T=79,CONST(REF(H10,BARSLAST(T=80))),CONST(REF(L10,BARSLAST(T=80))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,81,86),CONST(REF(H11,BARSLAST(T=88))),CONST(REF(H11,BARSLAST(T=88))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,81,86),CONST(REF(L11,BARSLAST(T=88))),CONST(REF(L11,BARSLAST(T=88))),6,0),COLORYELLOW;
STICKLINE(T=80 OR T=87,CONST(REF(H11,BARSLAST(T=88))),CONST(REF(L11,BARSLAST(T=88))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,89,94),CONST(REF(H12,BARSLAST(T=95))),CONST(REF(H12,BARSLAST(T=95))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,89,94),CONST(REF(L12,BARSLAST(T=95))),CONST(REF(L12,BARSLAST(T=95))),6,0),COLORYELLOW;
STICKLINE(T=88 OR T=95,CONST(REF(H12,BARSLAST(T=95))),CONST(REF(L12,BARSLAST(T=95))),0,0),COLORYELLOW;DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;


DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;


DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;


 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 511411198  有需要帮忙请点击这里留言!!!进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容