副图公式源码支持: 手机/电脑
M1:EMA(C,3),COLORRED;
M2:EMA(C,5),COLORRED;
M3:EMA(C,8),COLORRED;
M4:EMA(C,10),COLORRED;
M5:EMA(C,12),COLORRED;
M6:EMA(C,15),COLORRED;
M7:EMA(C,30),COLORMAGENTA;
M8:EMA(C,35),COLORMAGENTA;
M9:EMA(C,40),COLORMAGENTA;
M10:EMA(C,45),COLORMAGENTA;
M11:EMA(C,50),COLORMAGENTA;
M13:EMA(C,60),COLORMAGENTA;
M011:IF(M1>REF(M1,1),M1,DRAWNULL),COLORRED;
M012:IF(M1<REF(M1,1),M1,DRAWNULL),COLORBLUE;
M021:IF(M2>REF(M2,1),M2,DRAWNULL),COLORRED;
M022:IF(M2<REF(M2,1),M2,DRAWNULL),COLORBLUE;
M031:IF(M3>REF(M3,1),M3,DRAWNULL),COLORRED;
M032:IF(M3<REF(M3,1),M3,DRAWNULL),COLORBLUE;
M041:IF(M4>REF(M4,1),M4,DRAWNULL),COLORRED;
M042:IF(M4<REF(M4,1),M4,DRAWNULL),COLORBLUE;
M051:IF(M5>REF(M5,1),M5,DRAWNULL),COLORRED;
M052:IF(M5<REF(M5,1),M5,DRAWNULL),COLORBLUE;
M061:IF(M6>REF(M6,1),M6,DRAWNULL),COLORRED;
M062:IF(M6<REF(M6,1),M6,DRAWNULL),COLORBLUE;
M071:IF(M7>REF(M7,1),M7,DRAWNULL),COLORMAGENTA;
M072:IF(M7<REF(M7,1),M7,DRAWNULL),COLORGREEN;
M081:IF(M8>REF(M8,1),M8,DRAWNULL),COLORMAGENTA;
M082:IF(M8<REF(M8,1),M8,DRAWNULL),COLORGREEN;
M091:IF(M9>REF(M9,1),M9,DRAWNULL),COLORMAGENTA;
M092:IF(M9<REF(M9,1),M9,DRAWNULL),COLORGREEN;
M0101:IF(M10>REF(M10,1),M10,DRAWNULL),COLORMAGENTA;
M0102:IF(M10<REF(M10,1),M10,DRAWNULL),COLORGREEN;
M0111:IF(M11>REF(M11,1),M11,DRAWNULL),COLORMAGENTA;
M0112:IF(M11<REF(M11,1),M11,DRAWNULL),COLORGREEN;
M0131:IF(M13>REF(M13,1),M13,DRAWNULL),COLORMAGENTA;
M0132:IF(M13<REF(M13,1),M13,DRAWNULL),COLORGREEN;
均线:EMA(C,18),COLORWHITE,LINETHICK4;
红涨:IF(均线>REF(均线,1),均线,DRAWNULL),COLORYELLOW,LINETHICK4;
绿跌:IF(均线<REF(均线,1),均线,DRAWNULL),COLORBLUE,LINETHICK4;
DRAWICON(均线>=REF(均线,1) AND CROSS(C,均线),L*0.97,7);
DRAWICON(均线<REF(均线,1) AND CROSS(均线,C),H*1.03,8);
选股公式源码
{选股公式:B}
M1:=EMA(C,3),COLORRED;
M2:=EMA(C,5),COLORRED;
M3:=EMA(C,8),COLORRED;
M4:=EMA(C,10),COLORRED;
M5:=EMA(C,12),COLORRED;
M6:=EMA(C,15),COLORRED;
M7:=EMA(C,30),COLORMAGENTA;
M8:=EMA(C,35),COLORMAGENTA;
M9:=EMA(C,40),COLORMAGENTA;
均线:=EMA(C,18),COLORWHITE,LINETHICK4;
B:均线<REF(均线,1) AND CROSS(均线,C); |