逢低买进逢高卖出主图指标公式
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,60);
GJ:BARSLAST(C=HHV(C,20)),COLORCYAN,NODRAW;
DJ:BARSLAST(C=LLV(C,20)),COLORLIRED,NODRAW;
备钱:FILTERX(C=LLV(C,20),3),COLORGREEN,NODRAW;
小心:FILTERX(C=HHV(C,20),3),COLORMAGENTA,NODRAW;
买点:REF(DJ=0,1)AND C>REF(C,1),COLORYELLOW,NODRAW;
卖点:REF(GJ=0,1)AND C<REF(C,1),COLORLICYAN,NODRAW;
STICKLINE(GJ>0,REF(C,GJ),REF(C,GJ),5,-1),COLORCYAN;
STICKLINE(DJ>0,REF(C,DJ),REF(C,DJ),5,-1),COLORLIRED;
STICKLINE(买点=1,C,O,2.5,0),COLORYELLOW;
STICKLINE(卖点=1,C,O,2.5,0),COLORBLUE;
STICKLINE(备钱=1,C,O,2.5,0),COLORLIGREEN;
STICKLINE(小心=1,C,O,2.5,0),COLORMAGENTA;
=======================
买点选股公式
GJ:=BARSLAST(C=HHV(C,20));
DJ:=BARSLAST(C=LLV(C,20));
买点:REF(DJ=0,1)AND C>REF(C,1);
73222111.jpg
|