副图公式源码支持: 手机/电脑
CG:MA(C,21),COLOR00FF00,LINETHICK1;
FL:HHV(CG,3),COLORCYAN,LINETHICK1;
FS:CG-(FL-CG),COLORRED,LINETHICK1;
止赢逃:MA(REF(HHV(C,21),1),21),COLOR00FFFF,LINETHICK0;
全仓进:MA(REF(LLV(C,30),1),21),COLORRED,LINETHICK0;
明买卖:EMA(CLOSE,3.5),LINETHICK2,COLORWHITE;
STICKLINE(C< 全仓进 AND C<=O,C,O,6,0),COLOR00FFFF;
STICKLINE(C>止赢逃 AND C>O,C,O,6,0),COLORRED;
STICKLINE(C<全仓进 AND C<=O,C,O,6,0),COLOR00FFFF;
STICKLINE(C< 全仓进 AND C<=O,H,L,2,0),COLOR00FFFF;
STICKLINE(C< 全仓进 AND C>O,C,H,1,0),COLOR00FFFF;
STICKLINE(C< 全仓进 AND C>O,O,L,3,0),COLORRED;
STICKLINE(C< 全仓进 AND C<=O,C,L,3,0),COLORFF00FF;
STICKLINE(C<全仓进 AND C>O,C,O,6,2),COLORRED,LINETHICK3;
STICKLINE(C>止赢逃 AND C<=O,C,O,6,2),COLOR00FF00,LINETHICK2;
STICKLINE(MA(C,60)>=REF(MA(C,60),12),MA(C,60),MA(C,60),6,4),COLORFF00FF,LINETHICK2;
STICKLINE(MA(C,60)<REF(MA(C,62),12),MA(C,60),MA(C,60),6,4),COLOR00FF00,LINETHICK2;
DRAWTEXT(CROSS(明买卖,止赢逃),明买卖-0.1,'拉升'),COLORRED;
DRAWTEXT(CROSS(止赢逃,明买卖),止赢逃+0.2,'减仓'),COLOR00FFFF;
DRAWTEXT(CROSS(明买卖,全仓进),明买卖-0.1,'杀入'),COLORFFFF00;
选股公式源码
{选股公式一:杀入}
全仓进:=MA(REF(LLV(C,30),1),21),COLORRED,LINETHICK0;
明买卖:=EMA(CLOSE,3.5),LINETHICK2,COLORWHITE;
杀入:CROSS(明买卖,全仓进);
{选股公式二:拉升}
止赢逃:=MA(REF(HHV(C,21),1),21),COLOR00FFFF,LINETHICK0;
明买卖:=EMA(CLOSE,3.5),LINETHICK2,COLORWHITE;
拉升:CROSS(明买卖,止赢逃); |