副图公式源码支持 手机/电脑
MA3:=MA(CLOSE,3),COLORYELLOW;
EMA3:=EMA(CLOSE,3),COLORCYAN;
EMA13:=EMA(CLOSE,13),COLORMAGENTA,LINETHICK2;
EMA34:=EMA(CLOSE,34),COLORCYAN;
EMA55:=EMA(CLOSE,55),COLORRED,LINETHICK2;
EMA89:=EMA(CLOSE,89),COLORGREEN;
CHP144:C/EMA55*10,COLORRED,LINETHICK2;
CHP114:C/EMA34*10,COLORYELLOW;
CHP104:C/EMA13*10,COLORMAGENTA,LINETHICK2;
CHP054:C/EMA3*10,COLORCYAN;
GCHP144:CHP144-REF(CHP144,1),NODRAW;
GCHP054:CHP054-REF(CHP054,1),NODRAW;
DRAWICON(CHP144>CHP114 AND CHP114>CHP104 AND CHP104>CHP054 AND (CROSS(CHP104,CHP054) OR CROSS(CHP114,CHP104) OR CROSS(CHP144,CHP114)),CHP054*0.98,9);
DRAWICON(CHP144>11.44 AND CHP114>11.14 AND CHP104>11.04 AND CHP054>10.54 AND C/REF(C,1)>1.0382,CHP104*0.98,1);
DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26)),COLORRED;
DEA :=EMA(DIFF,9),COLORCYAN;
MACD:=2*(DIFF-DEA),COLORSTICK;
ZERO:=0,COLORYELLOW;
GM:=20*(MACD-REF(MACD,1)),COLORYELLOW;
GGM:=(GM-REF(GM,1)),COLORMAGENTA;
GGGM:=GGM-REF(GGM,1),COLORCYAN;
DRAWICON(GGM<0 AND GGGM<0 AND DIFF>0 AND REF(C,1)/REF(C,2)>1.098,CHP104*1.03,2);
DRAWICON(GGM<0 AND GGGM<0 AND DIFF>0 AND (REF(C,1)/REF(C,2)>1.098),CHP104*1.01,2);
选股公式源码
{选股公式一:钱袋图标}
MA3:=MA(CLOSE,3),COLORYELLOW;
EMA3:=EMA(CLOSE,3),COLORCYAN;
EMA13:=EMA(CLOSE,13),COLORMAGENTA,LINETHICK2;
EMA34:=EMA(CLOSE,34),COLORCYAN;
EMA55:=EMA(CLOSE,55),COLORRED,LINETHICK2;
EMA89:=EMA(CLOSE,89),COLORGREEN;
CHP144:=C/EMA55*10,COLORRED,LINETHICK2;
CHP114:=C/EMA34*10,COLORYELLOW;
CHP104:=C/EMA13*10,COLORMAGENTA,LINETHICK2;
CHP054:=C/EMA3*10,COLORCYAN;
钱袋图标:CHP144>CHP114 AND CHP114>CHP104 AND CHP104>CHP054 AND (CROSS(CHP104,CHP054) OR CROSS(CHP114,CHP104) OR CROSS(CHP144,CHP114));
{选股公式二:红箭头图标}
MA3:=MA(CLOSE,3),COLORYELLOW;
EMA3:=EMA(CLOSE,3),COLORCYAN;
EMA13:=EMA(CLOSE,13),COLORMAGENTA,LINETHICK2;
EMA34:=EMA(CLOSE,34),COLORCYAN;
EMA55:=EMA(CLOSE,55),COLORRED,LINETHICK2;
EMA89:=EMA(CLOSE,89),COLORGREEN;
CHP144:=C/EMA55*10,COLORRED,LINETHICK2;
CHP114:=C/EMA34*10,COLORYELLOW;
CHP104:=C/EMA13*10,COLORMAGENTA,LINETHICK2;
CHP054:=C/EMA3*10,COLORCYAN;
红箭头图标:CHP144>11.44 AND CHP114>11.14 AND CHP104>11.04 AND CHP054>10.54 AND C/REF(C,1)>1.0382; |