只做线上票 {主图 源码 贴图}介绍
只做线上票 {主图 源码 贴图}
最近论坛在流行一个简易主图指标,以一条9.98日的移动平均线为操盘线,
线上有K线,线下无K线。线下K线颜色设置了黑色,与软件底色相同,因此不显示K线。
突发灵感,9.98近似等于10,与大智慧短线布林中轨参数10非常接近,于是制作了这个
只做线上票的布林主图,部分源码来自理想论坛。
{只做线上票}{短线布林主图}
MA9.98:=MA(CLOSE,9.98);
UPPER:MA9.98+3*STD(CLOSE,9.98),CIRCLEDOT,COLORFF9900;
LOWER:MA9.98-3*STD(CLOSE,9.98),CIRCLEDOT,COLORYELLOW;
BL1:UPPER,COLORFF9900;
BL2:LOWER,COLORYELLOW;
STICKLINE(CLOSE>=OPEN AND CLOSE>=MA9.98,OPEN,CLOSE,2,0),COLOR000077;
STICKLINE(CLOSE>=OPEN AND CLOSE>=MA9.98,H,L,0,0),COLOR000077;
STICKLINE(OPEN>CLOSE AND CLOSE>=MA9.98,OPEN,CLOSE,2,0),COLOR777700;
STICKLINE(OPEN>CLOSE AND CLOSE>=MA9.98,H,L,0,0),COLOR777700;
STICKLINE(CROSS(CLOSE,MA9.98),CLOSE,OPEN,0.5,0),COLOR0080FF;
STICKLINE(CLOSE<MA9.98,CLOSE,OPEN,4,0),COLOR000000;
STICKLINE(CLOSE<MA9.98,H,L,1,0),COLOR000000;
AA:MA9.98,COLORFFAA00;
BB:=AA>REF(AA,1),LINETHICK0;
MA9.98,COLORFFFFFF,DOTLINE;
IF(BB,MA9.98,DRAWNULL),COLORRED,DOTLINE;
gd17609