通达信枯禅专用主图源码主图贴图

2016-03-09 22:29:00来源:本站整理浏览:354

STICKLINE((标底+资金)>标底 AND (标底+资金)<=REF(标底+资金,1),标底,标底+资金,0.8,0),COLORLIBLUE;
STICKLINE((标底+资金)>标底 AND (标底+资金)>REF(标底+资金,1),标底,标底+资金,0.8,0),COLORYELLOW;
STICKLINE((标底+资金)<=标底 AND (标底+资金)<=REF(标底+资金,1),标底,标底+资金,0.8,0),COLORFF9900;
STICKLINE((标底+资金)<=标底 AND (标底+资金)>REF(标底+资金,1),标底,标底+资金,0.8,0),COLORCC66FF;
资金线:=标底+资金,DOTLINE,COLORWHITE,LINETHICK1;

LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1),COLORWHITE,LINETHICK2;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1),COLORYELLOW,LINETHICK2;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1),COLORMAGENTA,LINETHICK2;

RSI11:底线+RSI1*(标底-底线),COLORWHITE,LINETHICK2;
RSI22:底线+RSI2*(标底-底线),COLORYELLOW,LINETHICK2;
RSI33:底线+RSI3*(标底-底线),COLORMAGENTA,LINETHICK2;

IF(TJ11 OR TJ12,RSI11,DRAWNULL),POINTDOT,COLORWHITE,LINETHICK9;
IF(TJ11 OR TJ12,RSI11,DRAWNULL),POINTDOT,COLORRED,LINETHICK5;
DRAWICON(TJ13,RSI11,1);

IF(操作线<=REF(操作线,1) AND 操作线<=分水岭,操作线,DRAWNULL),POINTDOT,COLORWHITE,LINETHICK9;
IF(操作线<=REF(操作线,1) AND 操作线<=分水岭,操作线,DRAWNULL),POINTDOT,COLORRED,LINETHICK5;

{ ·········································}
DRAWRECTREL(0,100,260,400,RGB(18,8,8));
DRAWTEXT_FIX(1,0.01,0.01,0,HYBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR AND 买增 AND 卖减,0.17,0.12,1,'★'),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR AND Q上,0.17,0.2,1,'Q↑'),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR AND Q下,0.17,0.2,1,'Q↓'),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR AND 量增,0.17,0.28,1,'量↑'),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR AND 量减,0.17,0.28,1,'量↓'),COLORGREEN;

DRAWTEXT_FIX(ISLASTBAR AND 买增 AND 卖减 AND 买盘>卖盘,0.999,0.1,1,'★'),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR AND 买增 AND 卖减 AND 买盘>卖盘,0.999,0.2,1,'★'),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR AND 买增 AND 卖减 AND 买盘>卖盘,0.999,0.3,1,'★'),COLORYELLOW;

流通股本:=FINANCE(7)/100000000;
DRAWTEXT_FIX(ISLASTBAR,0.3,0.01,1,'流通股本:'),COLORWHITE;
DRAWNUMBER_FIX(ISLASTBAR,0.4,0.01,1,流通股本),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.55,0.01,1,'涨幅:'),COLORYELLOW;
DRAWNUMBER_FIX(ISLASTBAR,0.65,0.01,1,涨幅),COLORWHITE;
DRAWNUMBER_FIX(ISLASTBAR,0.75,0.01,1,昨涨幅),COLORWHITE;

DRAWNUMBER_FIX(ISLASTBAR,0.1,0.12,1,INTPART(线角)),COLORWHITE;
DRAWNUMBER_FIX(ISLASTBAR,0.1,0.2,1,INTPART(REF(Q,1))),COLORGREEN;
DRAWNUMBER_FIX(ISLASTBAR,0.23,0.2,1,INTPART(Q)),COLORYELLOW;
DRAWNUMBER_FIX(ISLASTBAR,0.1,0.28,1,INTPART(REF(成交量比差,1))),COLORWHITE;
DRAWNUMBER_FIX(ISLASTBAR,0.23,0.28,1,INTPART(成交量比差)),COLORYELLOW;
DRAWNUMBER_FIX(ISLASTBAR,0.05,0.12,1,INTPART(角1)),COLORYELLOW;
DRAWNUMBER_FIX(ISLASTBAR,0.05,0.2,1,INTPART(角2)),COLORYELLOW;
DRAWNUMBER_FIX(ISLASTBAR,0.05,0.28,1,INTPART(角3)),COLORYELLOW;
 

上一页  [1] [2] 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式