上收:=C;
上高:=H;
上箱顶:MA(REF(HHV(上收,21),1),4),COLORFF00FF,LINETHICK2;
趋势生命线:MA(CLOSE,55),LINETHICK0,COLORFF0000;
MA15:=EMA(CLOSE,21);
STICKLINE((MA15 > REF(MA15,1)),MA15,MA15,3.5,5),LINETHICK2,COLORRED;
STICKLINE(C< 下箱底 AND C<=O,C,O,3.5,0),COLOR00FFFF;
STICKLINE(C< 下箱底 AND C<=O,C,O,1.5,0),COLOR00FFFF;
STICKLINE(C< 下箱底 AND C>O,C,H,0,0),COLOR00FFFF;
短线精灵:=(上开+上高+上低)/3;
黄金遍地:遍地黄金,COLOR808088,LINETHICK0;
买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);
STICKLINE(C>=买进价 AND C>=O,C,O,3.5,0),COLORRED;
STICKLINE(C>=买进价 AND C>=O,C,O,0.2,0),COLOR00FFFF;
STICKLINE(C>买进价 AND C<=O,H,L,0,0),COLOR00FF00;
VAR2:=SMA(VAR1,3,1);
VAR4:=SMA(VAR3,3,1);
DRAWTEXT(FILTER((CROSS(VAR4,VAR3) AND VAR4>75),34) ,上箱顶*1.02,'卖岀'),COLORF0F000;