买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,21)*20+C,42);

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);

DRAWTEXT(BU,LOW,’B买入’),COLORRED,LINETHICK3;

DRAWTEXT(BU,LOW,’ ̄’),COLOR208FFF,LINETHICK3;

DRAWTEXT(SEL,HIGH,’ ̄’),COLORFFFF00,LINETHICK3;

DRAWTEXT(SEL,HIGH,’S卖出’),COLORGREEN,LINETHICK3;

STICKLINE(买线>=卖线,LOW,HIGH,0.1,0.1),COLORRED;

STICKLINE(买线>=卖线,CLOSE,OPEN,8,0.1),COLORRED;

STICKLINE(买线<卖线,CLOSE,OPEN,8/3,0),COLOR00FF00;

STICKLINE(买线<卖线,LOW,HIGH,0.1,0.1),COLOR00FF00;

STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,6/3,0),COLORFFFF00;

主力操盘线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,COLORFFFFFF;

界: MA(CLOSE,27),LINETHICK1,COLOR00FFFF;

买: 界-2*STD(CLOSE,27),LINETHICK1,COLORF0FF00;

下限: 界-2.9*STD(CLOSE,27),LINETHICK0,COLOR00FF00;

DRAWTEXT(CROSS(主力操盘线,界),界,’上突破’),COLORBLUE;

DRAWTEXT(CROSS(主力操盘线,界),界,’ ̄ ̄’),COLOR00FFFF;

DRAWTEXT(CROSS(界,主力操盘线),界,’下突破’),COLORBLUE;

DRAWTEXT(CROSS(界,主力操盘线),界,’ ̄ ̄’),COLOR00FFFF;

上限: 界+3*STD(CLOSE,27),LINETHICK1,COLOR00FFFF;

卖: 界+2*STD(CLOSE,27),LINETHICK1,COLORFF00FF;

DRAWTEXT(CROSS(H,上限),H,’获利’),COLORGREEN;

DRAWTEXT(CROSS(H,上限),H,’ ̄ ̄’),COLOR00FFFF;

DRAWTEXT(CROSS(上限,H),H,’利润’),COLORGREEN;

DRAWTEXT(CROSS(上限,H),H,’ ̄ ̄’),COLOR00FFFF;

STICKLINE(C/REF(C,1)>1.0925 AND C=H,CLOSE,OPEN,10/3,0),COLORMAGENTA;

C3:=REF(C,1);

跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);

STICKLINE(跌停,OPEN,CLOSE,10/3,0),COLORBLUE;

{成交量大于10日均量线和20日均量线}

K线变红色:=((VOL>=MA(VOL,10) ) AND (VOL>=MA(VOL,5) ) AND C>O )  ;

STICKLINE(K线变红色,OPEN,CLOSE,4/3,0),COLORYELLOW;

M5:=EMA(C,5),COLORYELLOW;

M10:=EMA(C,10);

M20:=EMA(C,20);

 

短期多头排列:=C>M5 AND M5>M10 AND M10>M20  AND C>REF(C,1) AND M5>REF(M5,1)

AND M10>REF(M10,1) AND M20>REF(M20,1) AND C/O>1.03 AND (H-C)/C<0.02;

五日角度大于:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14159>60;

K线变色条件1:=五日角度大于 AND 短期多头排列 ;

STICKLINE(K线变色条件1,OPEN,CLOSE,4/3,0),COLORYELLOW;

STICKLINE(C<MA(C,13),OPEN,CLOSE,8/3,0),COLORLIGREEN;


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。