通达信转势向上买入 附图源码

[复制链接]
查看261 | 回复0 | 2021-8-19 14:53:09 | 显示全部楼层 |阅读模式

以下是通达信转势向上买入 附图源码(无源码的请下载附件导入)

EMA5:=MA(C,5),COLORRED,LINETHICK2;
 EMA10:=MA(C,10),COLOR00FFFF,LINETHICK1;
 DRAWBAND(EMA5,RGB(240,170,170),EMA10,RGB(170,240,230));
 EMA55:MA(C,55),COLORFFFFFF,LINETHICK1;
 VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*20;
 VARB:=SMA(VARA,3,1);
 BB1:=SMA(VARB,3,1),COLOR00FF00,LINETHICK2;
 AA:= BB1>=REF(BB1,1);
 BB:=BB1<REF(BB1,1);
买入:DRAWICON(CROSS(AA,BB),L-0.1,1);
卖出:DRAWICON(CROSS(BB,AA),H+0.1,2);
 STICKLINE(AA,C,O,4,0),COLOR000099;
 STICKLINE(AA,H,L,0.5,0),COLOR000099;
 STICKLINE(BB,C,O,4,0),COLORFF0099;
 STICKLINE(BB,H,L,0.5,0),COLOR660099;
 STICKLINE(AA,CLOSE,OPEN,4.0,0),COLOR9900CC;
 STICKLINE(AA,CLOSE,OPEN,2.9,0),COLORFF00CC;
 STICKLINE(AA,CLOSE,OPEN,1.9,0),COLORFF00FF;
 STICKLINE(AA,CLOSE,OPEN,1.0,0),COLORFF33FF;
 STICKLINE(AA,CLOSE,OPEN,0.5,0),COLORFF66FF;
 STICKLINE(AA,CLOSE,OPEN,0.2,0),COLORFF99FF;
 STICKLINE(BB,CLOSE,OPEN,4,0),COLOR006633;
 STICKLINE(BB,CLOSE,OPEN,2.9,0),COLOR339933;
 STICKLINE(BB,CLOSE,OPEN,1.9,0),COLOR669933;
 STICKLINE(BB,CLOSE,OPEN,1.5,0),COLOR33CC33;
 STICKLINE(BB,CLOSE,OPEN,1.0,0),COLOR66CC33;
 STICKLINE(BB,CLOSE,OPEN,0.2,0),COLORCCFF33;
 STICKLINE(买入,O,(C-O)/2+O,4,0),COLOR335555;
 STICKLINE(买入,O,(C-O)/2+O,2.6,0),COLOR338888;
 STICKLINE(买入,O,(C-O)/2+O,1.5,0),COLOR33AAAA;
 STICKLINE(买入,O,(C-O)/2+O,1,0),COLOR33CCCC;
 STICKLINE(买入,O,(C-O)/2+O,0,0),COLOR33EEEE;
 STICKLINE(卖出,O,(C-O)/2+O,4,0),COLOR550055;
 STICKLINE(卖出,O,(C-O)/2+O,2.6,0),COLOR880088;
 STICKLINE(卖出,O,(C-O)/2+O,1.5,0),COLORAA00AA;
 STICKLINE(卖出,O,(C-O)/2+O,1,0),COLORCC00CC;
 STICKLINE(卖出,O,(C-O)/2+O,0.5,0),COLOREE00EE;

823533683.jpg

823533683.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则