通达信龙虎指标公式
可惜需要自定义数列才可以显示,就当时学习学习公式的编写方法吧:
DRAWTEXT_FIX(1,1,0,1,"██████████"),COLORRED;
DRAWTEXT_FIX(1,1,0,1,"QQ:178329 "),COLORGREEN;
AA:=DATE>1151230,NODRAW;
TESTSKIP(AA);
QQ:178329,NODRAW,COLORGREEN;
0,DOTLINE,COLORGRAY;
A107:=SIGNALS_USER(107,0),NODRAW;
STICKLINE(A107>0,0,A107,0.95/2,0),COLORRED;
STICKLINE(A107<0,0,A107,0.95/2,0),COLORGREEN;
DRAWTEXT(A107>0 OR A107<0,A107*0.8,VARCAT("←银河绍兴 ",VAR2STR(A107,0))),COLORWHITE;
银河绍兴:SUM(A107,1),COLORWHITE,NODRAW;
A108:=SIGNALS_USER(108,0),NODRAW;
STICKLINE(A108>0,0,A108,0.95/2,0),COLORRED;
STICKLINE(A108<0,0,A108,0.95/2,0),COLORGREEN;
DRAWTEXT(A108>0 OR A108<0,A108*0.5,VARCAT("←华泰成都蜀金 ",VAR2STR(A108,0))),COLOR0DEDF3;
华泰成都蜀金:SUM(A108,1),COLOR0DEDF3,NODRAW;
A109:=SIGNALS_USER(109,0),NODRAW;
STICKLINE(A109>0,0,A109,0.95/2,0),COLORRED;
STICKLINE(A109<0,0,A109,0.95/2,0),COLORGREEN;
DRAWTEXT(A109>0 OR A109<0,A109*0.5,VARCAT("←申万陆家嘴环 ",VAR2STR(A109,0))),COLOR0DF378;
申万陆家嘴环:SUM(A109,1),COLOR0DF378,NODRAW;
A110:=SIGNALS_USER(110,0),NODRAW;
STICKLINE(A110>0,0,A110,0.95/2,0),COLORRED;
STICKLINE(A110<0,0,A110,0.95/2,0),COLORGREEN;
DRAWTEXT(A110>0 OR A110<0,A110*0.7,VARCAT("←国泰上海福山 ",VAR2STR(A110,0))),COLORE4F30D;
国泰上海福山:SUM(A110,1),COLORE4F30D,NODRAW;
A111:=SIGNALS_USER(111,0),NODRAW;
STICKLINE(A111>0,0,A111,0.95/2,0),COLORRED;
STICKLINE(A111<0,0,A111,0.95/2,0),COLORGREEN;
DRAWTEXT(A111>0,A111*0.9,VARCAT("←中信上海溧阳 ",VAR2STR(A111,0))),COLORF36F0D;
中信上海溧阳:SUM(A111,1),COLORF36F0D,NODRAW;
A112:=SIGNALS_USER(112,0),NODRAW;
STICKLINE(A112>0,0,A112,0.95/2,0),COLORRED;
STICKLINE(A112<0,0,A112,0.95/2,0),COLORGREEN;
DRAWTEXT(A112>0 OR A112<0,A112*0.9,VARCAT("←国泰上海江苏 ",VAR2STR(A112,0))),COLORF30DD2;
国泰上海江苏:SUM(A112,1),COLORF30DD2,NODRAW;
A113:=SIGNALS_USER(113,0),NODRAW;
STICKLINE(A113>0,0,A113,0.95/2,0),COLORRED;
STICKLINE(A113<0,0,A113,0.95/2,0),COLORGREEN;
DRAWTEXT(A113>0 OR A113<0,A113*0.7,VARCAT("←荣超商务中心 ",VAR2STR(A113,0))),COLOR470DF3;
荣超商务中心:SUM(A113,1),COLOR470DF3,NODRAW;
A114:=SIGNALS_USER(114,0),NODRAW;
STICKLINE(A114>0,0,A114,0.95/2,0),COLORRED;
STICKLINE(A114<0,0,A114,0.95/2,0),COLORGREEN;
DRAWTEXT(A114>0 OR A114<0,A114*0.8,VARCAT("←国信深圳泰九 ",VAR2STR(A114,0))),COLORWHITE;
国信深圳泰九:SUM(A114,1),COLORWHITE,NODRAW;
A115:=SIGNALS_USER(115,0),NODRAW;
STICKLINE(A115>0,0,A115,0.95/2,0),COLORRED;
STICKLINE(A115<0,0,A115,0.95/2,0),COLORGREEN;
DRAWTEXT(A115>0,A115*0.6,VARCAT("←中信证券总部 ",VAR2STR(A115,0))),COLOR0DEDF3;
中信证券总部:SUM(A115,1),COLOR0DEDF3,NODRAW;
A116:=SIGNALS_USER(116,0),NODRAW;
STICKLINE(A116>0,0,A116,0.95/2,0),COLORRED;
STICKLINE(A116<0,0,A116,0.95/2,0),COLORGREEN;
DRAWTEXT(A116>0 OR A116<0,A116*0.8,VARCAT("←海通黄浦福州 ",VAR2STR(A116,0))),COLOR0DF378;
海通黄浦福州:SUM(A116,1),COLOR0DF378,NODRAW;
- 上一篇公式:通达信叠翠山(源码主图贴图)山上山下一目了然
- 下一篇公式:通达信大路老师简单指标源码通用