您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:简简单单两条线源码——借用“中88888”的模板理念

简简单单两条线源码——借用“中88888”的模板理念


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2015-12-01 21:41:00
公式简介:

中88888的两条线确实很不错,为便于大家学习,特奉献源码,大家下载指标直接导入进去就行了。


DRAWGBK(C>0,RGB(88,50,140),RGB(10,50,10),0,'1',0);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

MA120:MA(CLOSE,120)COLOR54FCFC,DOTLINE;
MA250:MA(CLOSE,250)COLORMAGENTA,DOTLINE;

DRAWTEXT_FIX(1,0.1,0,0, '【浅蓝注意】'),COLORLIBLUE;
DRAWTEXT_FIX(1,0.2,0,0, '【红色上升】'),COLOR0000A8;
DRAWTEXT_FIX(1,0.3,0,0, '【绿色调整】'),COLOR00A800;
DRAWTEXT_FIX(1,0.4,0,0, '【蓝色下跌】'),COLORA80000;
DRAWTEXT_FIX(1,0.5,0,0, '【黄色震荡】'),COLOR54FCFC;

STICKLINE(C=O,H,L,0,0),COLORCYAN;
STICKLINE(C=O,C,O,3,0),COLORCYAN;
STICKLINE(C>O,H,C,0,0 ),COLORCYAN;
STICKLINE(C>O,L,O,0,0 ),COLORCYAN;
STICKLINE(C>O,O,C,3,1 ),COLORCYAN;
STICKLINE(OPEN>CLOSE,H,L,0,0 ),COLORCYAN;
STICKLINE(OPEN>CLOSE,O,C,3,0 ),COLORCYAN;

STICKLINE(C<MA120 AND OPEN>=CLOSE,H,L,0,0 ),COLORCYAN;
STICKLINE(C<MA120 AND OPEN>=CLOSE,O,C,3,0),COLORCYAN;
STICKLINE(C<MA120 AND OPEN<CLOSE,H,C,0,0 ),COLORCYAN;
STICKLINE(C<MA120 AND OPEN<CLOSE,O,L,0,0),COLORCYAN;
STICKLINE(C<MA120 AND OPEN<CLOSE,O,C,3,1 ),COLORCYAN;

STICKLINE(C>MA120 AND C>O,H,C,0,0 ),COLOR0000A8;
STICKLINE(C>MA120 AND C>O,L,O,0,0 ),COLOR0000A8;
STICKLINE(C>MA120 AND C>O,O,C,3,1),COLOR0000A8;
STICKLINE(C>MA120 AND C<=O,H,L,0,0 ),COLOR0000A8;
STICKLINE(C>MA120 AND C<=O,O,C,3,0),COLOR0000A8;

STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,H,C,0,0),COLOR0000A8;
STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,O,L,0,0),COLOR0000A8;
STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,O,C,3,1),COLOR0000A8;
STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C<=O,H,L,0,0),COLOR0000A8;
STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C<=O,O,C,3,0),COLOR0000A8;

STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,H,C,0,0),COLORCYAN;
STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,O,L,0,0),COLORCYAN;
STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,O,C,3,1),COLORCYAN;
STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C<=O,H,L,0,0),COLORCYAN;
STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C<=O,O,C,3,0),COLORCYAN;

STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,H,C,0,0),COLORCYAN;
STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,O,L,0,0),COLORCYAN;
STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,O,C,3,1),COLORCYAN;
STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C<=O,H,L,0,0),COLORCYAN;
STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C<=O,O,C,3,0),COLORCYAN;

STICKLINE(MA120>MA250 AND C>MA120 AND C>O,H,C,0,0),COLOR0000A8;
STICKLINE(MA120>MA250 AND C>MA120 AND C>O,O,L,0,0),COLOR0000A8;
STICKLINE(MA120>MA250 AND C>MA120 AND C>O,O,C,3,1),COLOR0000A8;
STICKLINE(MA120>MA250 AND C>MA120 AND C<=O,H,L,0,0),COLOR0000A8;
STICKLINE(MA120>MA250 AND C>MA120 AND C<=O,O,C,3,0),COLOR0000A8;

STICKLINE(MA120>MA250 AND C<MA120 AND C>O,H,C,0,0),COLOR00A800;
STICKLINE(MA120>MA250 AND C<MA120 AND C>O,O,L,0,0),COLOR00A800;
STICKLINE(MA120>MA250 AND C<MA120 AND C>O,O,C,3,1),COLOR00A800;
STICKLINE(MA120>MA250 AND C<MA120 AND C<=O,H,L,0,0),COLOR00A800;
STICKLINE(MA120>MA250 AND C<MA120 AND C<=O,O,C,3,0),COLOR00A800;

STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) AND C>O,H,C,0,0),COLORCYAN;
STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) AND C>O,O,L,0,0),COLORCYAN;
STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) AND C>O,O,C,3,1),COLORCYAN;
STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) AND C<=O,H,L,0,0),COLORCYAN;
STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) AND C<=O,O,C,3,0),COLORCYAN;

STICKLINE(C<MA250 AND C>O,H,C,0,0),COLORA80000;
STICKLINE(C<MA250 AND C>O,O,L,0,0),COLORA80000;
STICKLINE(C<MA250 AND C>O,O,C,3,1),COLORA80000;
STICKLINE(C<MA250 AND C<=O,H,L,0,0),COLORA80000;
STICKLINE(C<MA250 AND C<=O,O,C,3,0),COLORA80000;

STICKLINE(C>MA120 AND MA120<MA250 AND C>O,H,C,0,0),COLOR54FCFC;
STICKLINE(C>MA120 AND MA120<MA250 AND C>O,O,L,0,0),COLOR54FCFC;
STICKLINE(C>MA120 AND MA120<MA250 AND C>O,O,C,3,1),COLOR54FCFC;
STICKLINE(C>MA120 AND MA120<MA250 AND C<=O,H,L,0,0),COLOR54FCFC;
STICKLINE(C>MA120 AND MA120<MA250 AND C<=O,O,C,3,0),COLOR54FCFC;




[url=http://www.goodgupiao.com/gupiaogongshi/39244.html][B]简简单单两条线源码——借用“中88888”的模板理念[/B][/url]