60向上我做主
五:MA(C,5),COLOR00FFFF,LINETHICK3;
涨:IF(MA(CLOSE,5)>REF(MA(CLOSE,5),1),MA(CLOSE,5),DRAWNULL),COLORRED,LINETHICK3;
平:IF(MA(CLOSE,5)=REF(MA(CLOSE,5),1),MA(CLOSE,5),DRAWNULL),COLOR00FFFF,LINETHICK3;
跌:IF(MA(CLOSE,5)<REF(MA(CLOSE,5),1),MA(CLOSE,5),DRAWNULL),COLORGREEN,LINETHICK3;
MA6:MA(CLOSE,6),COLOR0000FF,LINETHICK1;
MA7:MA(CLOSE,7),COLOR0000FF,LINETHICK1;
MA8:MA(CLOSE,8),COLOR0000FF,LINETHICK1;
MA9:MA(CLOSE,9),COLOR0000FF,LINETHICK1;
MA10:MA(CLOSE,10),COLOR0000FF,LINETHICK1;
MA60:MA(CLOSE,60),COLOR0000FF,LINETHICK3;
降MA6:IF(MA6<REF(MA6,1),MA6,DRAWNULL),COLORGREEN,LINETHICK1;
降MA7:IF(MA7<REF(MA7,1),MA7,DRAWNULL),COLORGREEN,LINETHICK1;
降MA8:IF(MA8<REF(MA8,1),MA8,DRAWNULL),COLORGREEN,LINETHICK1;
降MA9:IF(MA9<REF(MA9,1),MA9,DRAWNULL),COLORGREEN,LINETHICK1;
降MA10:IF(MA10<REF(MA10,1),MA10,DRAWNULL),COLORGREEN,LINETHICK1;
降MA60:IF(MA60<REF(MA60,1),MA60,DRAWNULL),COLORGREEN,LINETHICK3;
BUY:=CROSS(C,五);
SEL:=CROSS(五,C);
DRAWICON(BUY,LOW*0.99,'B'),COLORF00FF0;
DRAWICON(SEL,HIGH*1.01,'S'),COLORWHITE;
STICKLINE((BUY>=SEL),LOW,HIGH,0.4,0),COLOR0000FF;
STICKLINE((BUY>=SEL),CLOSE,OPEN,3,1),COLOR000077;
STICKLINE((BUY>=SEL),CLOSE,OPEN,2.6,1),COLOR000099;
STICKLINE((BUY>=SEL),CLOSE,OPEN,2,1),COLOR0000BB;
STICKLINE((BUY>=SEL),CLOSE,OPEN,1.3,1),COLOR0000DD;
STICKLINE((BUY>=SEL),CLOSE,OPEN,0.4,1),COLOR0000FF;
STICKLINE((BUY<SEL),LOW,HIGH,0.4,0),COLORFFFF00;
STICKLINE((BUY<SEL),CLOSE,OPEN,3,1),COLOR777700;
STICKLINE((BUY<SEL),CLOSE,OPEN,2.6,1),COLOR999900;
STICKLINE((BUY<SEL),CLOSE,OPEN,2,1),COLORBBBB00;
STICKLINE((BUY<SEL),CLOSE,OPEN,1.3,1),COLORDDDD00;
STICKLINE((BUY<SEL),CLOSE,OPEN,0.4,1),COLORFFFF00;
来函数检测结果如下:
该公式没有未来函数
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
输出五:C的5日简单移动平均,COLOR00FFFF, 线宽为3
输出
涨:IF(收盘价的5日简单移动平均>REF(收盘价的5日简单移动平均,1),收盘价的5日简单移动平均,DRAWNULL),画红色, 线宽为3
输出
平:IF(收盘价的5日简单移动平均=REF(收盘价的5日简单移动平均,1),收盘价的5日简单移动平均,DRAWNULL),COLOR00FFFF, 线宽为3
输出
跌:IF(收盘价的5日简单移动平均[ 输出]
MA6:收盘价的6日简单移动平均,COLOR0000FF,LINETHICK1
输出
MA7:收盘价的7日简单移动平均,COLOR0000FF,LINETHICK1
输出
MA8:收盘价的8日简单移动平均,COLOR0000FF,LINETHICK1
输出
MA9:收盘价的9日简单移动平均,COLOR0000FF,LINETHICK1
输出
MA10:收盘价的10日简单移动平均,COLOR0000FF,LINETHICK1
输出
MA60:收盘价的60日简单移动平均,COLOR0000FF, 线宽为3
输出
降MA6:IF(MA6<1日前的MA6,MA6,DRAWNULL),画绿色,LINETHICK1
输出
降MA7:IF(MA7<1日前的MA7,MA7,DRAWNULL),画绿色,LINETHICK1
输出
降MA8:IF(MA8<1日前的MA8,MA8,DRAWNULL),画绿色,LINETHICK1
输出
降MA9:IF(MA9<1日前的MA9,MA9,DRAWNULL),画绿色,LINETHICK1
输出
降MA10:IF(MA10<1日前的MA10,MA10,DRAWNULL),画绿色,LINETHICK1
输出
降MA60:IF(MA60<1日前的MA60,MA60,DRAWNULL),画绿色, 线宽为3
BUY赋值:C上穿五
SEL赋值:五上穿C
当满足条件BUY时,在最低价*0.99和'B'之间画图标
当满足条件SEL时,在最高价*1.01和'S'之间画图标
STICKLINE((BUY>=SEL),最低价,最高价,0.4,0),COLOR0000FF
STICKLINE((BUY>=SEL),收盘价,开盘价,3,1),COLOR000077
STICKLINE((BUY>=SEL),收盘价,开盘价,2.6,1),COLOR000099
STICKLINE((BUY>=SEL),收盘价,开盘价,2,1),COLOR0000BB
STICKLINE((BUY>=SEL),收盘价,开盘价,1.3,1),COLOR0000DD
STICKLINE((BUY>=SEL),收盘价,开盘价,0.4,1),COLOR0000FF
STICKLINE((BUY
STICKLINE((BUY
STICKLINE((BUY
STICKLINE((BUY
STICKLINE((BUY
STICKLINE((BUY