金牛金典均线
2016-7-30 20:36:24点击:
{DRAWBAND(MA(CLOSE,5),RGB(225,225,225),MA(CLOSE,10),RGB(0,51,153));}
DRAWBAND(MA(CLOSE,5),RGB(155,50,50),MA(CLOSE,10),RGB(51,153,51));
DRAWKLINE(H,O,L,C);
MA5:MA(CLOSE,5),COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,24),COLORMAGENTA;
MA60:MA(CLOSE,60),COLOR336699;
IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORMAGENTA,LINETHICK1;
IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK1;
IF(MA5>REF(MA5,1),MA5,DRAWNULL),COLORRED,LINETHICK2;
IF(MA5<REF(MA5,1),MA5,DRAWNULL),COLORGREEN,LINETHICK2;
IF(MA5=REF(MA5,1),MA5,DRAWNULL),COLORWHITE,LINETHICK2;
IF(MA10>REF(MA10,1),MA10,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(MA10<REF(MA10,1),MA10,DRAWNULL),COLORGREEN,LINETHICK2;
{K线画色}
{STICKLINE(C>=MA10,LOW,HIGH,0,1),COLORRED;
STICKLINE(C>=MA10,CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE(C<MA10,LOW,HIGH,0,1),COLORGREEN;
STICKLINE(C<MA10,CLOSE,OPEN,3.2,2),COLORGREEN;
STICKLINE(CROSS(MA10,C),OPEN,CLOSE,3.2,0),COLORGREEN;
STICKLINE(CROSS(C,MA10),OPEN,CLOSE,3.2,0),COLORRED;
STICKLINE((CLOSE>OPEN) AND (C<MA10),CLOSE,OPEN,3.2,2)COLORGREEN;
STICKLINE((CLOSE>OPEN) AND (C>=MA10),CLOSE,OPEN,3.2,2)COLORRED;
STICKLINE((CLOSE<OPEN) AND (C<MA10),CLOSE,OPEN,3.2,0)COLORGREEN;
STICKLINE((CLOSE<OPEN) AND (C>=MA10),CLOSE,OPEN,3.2,0)COLORRED;};
DRAWBAND(MA(CLOSE,5),RGB(155,50,50),MA(CLOSE,10),RGB(51,153,51));
DRAWKLINE(H,O,L,C);
MA5:MA(CLOSE,5),COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,24),COLORMAGENTA;
MA60:MA(CLOSE,60),COLOR336699;
IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORMAGENTA,LINETHICK1;
IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK1;
IF(MA5>REF(MA5,1),MA5,DRAWNULL),COLORRED,LINETHICK2;
IF(MA5<REF(MA5,1),MA5,DRAWNULL),COLORGREEN,LINETHICK2;
IF(MA5=REF(MA5,1),MA5,DRAWNULL),COLORWHITE,LINETHICK2;
IF(MA10>REF(MA10,1),MA10,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(MA10<REF(MA10,1),MA10,DRAWNULL),COLORGREEN,LINETHICK2;
{K线画色}
{STICKLINE(C>=MA10,LOW,HIGH,0,1),COLORRED;
STICKLINE(C>=MA10,CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE(C<MA10,LOW,HIGH,0,1),COLORGREEN;
STICKLINE(C<MA10,CLOSE,OPEN,3.2,2),COLORGREEN;
STICKLINE(CROSS(MA10,C),OPEN,CLOSE,3.2,0),COLORGREEN;
STICKLINE(CROSS(C,MA10),OPEN,CLOSE,3.2,0),COLORRED;
STICKLINE((CLOSE>OPEN) AND (C<MA10),CLOSE,OPEN,3.2,2)COLORGREEN;
STICKLINE((CLOSE>OPEN) AND (C>=MA10),CLOSE,OPEN,3.2,2)COLORRED;
STICKLINE((CLOSE<OPEN) AND (C<MA10),CLOSE,OPEN,3.2,0)COLORGREEN;
STICKLINE((CLOSE<OPEN) AND (C>=MA10),CLOSE,OPEN,3.2,0)COLORRED;};
- 上一篇:金牛乾坤图 2016/7/30
- 下一篇:【通达信公式】《小妖合集》(源码、贴图、主图、副图、选股、通 2016/7/30