顶点逃顶绝底主图
DRAWGBK(C>0, RGB(0,10,10),RGB(88,0,0),0,'11',0);
DRAWNUMBER(ISLASTBAR ,C,C),COLORMAGENTA;
N8:=STRCAT(CON2STR(YEAR,0),' 年');
Y8:=STRCAT(CON2STR(MONTH,0),' 月');
R8:=STRCAT(CON2STR(DAY,0),' 日');
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORLIRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,1),COLORLIRED;
MA5:MA(CLOSE,5),COLORFFFFFF;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORMAGENTA;
MA30:MA(CLOSE,30),COLORGREEN;
MA(C,20),COLORWHITE,LINETHICK2;
IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK2;
JC:=(REF(C,3)+REF(C,5)+REF(C,7)+REF(C,8)+REF(C,13)+REF(C,21))/6;
参考价:=SMA(JC,5,1),COLORCYAN;
价:=IF(C>=参考价,参考价,参考价*0.98 ), CIRCLEDOT,COLOR0000FF;
STICKLINE(买线<;卖线,LOW,HIGH,0.0,1),COLORCY AN;
STICKLINE(买线<;卖线,CLOSE,OPEN,3,1),COLORCY AN;
SJ8:=STRCAT(STRCAT(N8,Y8), R8);
DRAWTEXT(CROSS(83,RSI),H*1.04,' 逃顶')COLORYELLOW;
今日保护价:(REF(C,2)+REF(C,1)+O)/3 ,COLORCC3299,NODRAW;
顶点:IF(CURRBARSCOUNT<=44, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=44)),1)),DRAWNULL),COLORRED,DOTLINE;
低点:IF(CURRBARSCOUNT<=44, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=44)),1)),DRAWNULL),COLORMAGENTA,DOTLINE; STICKLINE(CCI>=200 AND H>=顶点,O,C,3,0),COLORBLUE;
STICKLINE(CCI<=100 AND L<=低点,O,C,3,0),COLORYELLOW;
DRAWTEXT_FIX(C>0,0.5,0,0,SJ8),COLOR00FFFF;
DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORRED;
DRAWTEXT(ISLASTBAR,低点,'低点'),COLORMAGENTA;
操盘线副图
V AR1:=LLV(LOW,100);
3d走视图V AR2:=HHV(HIGH,250);
操盘线: EMA((CLOSE-V AR1)/(V AR2-V AR1)*4,4);
绝底:0.3,LINETHICK2,COLORGREEN;
绝顶:3.5,LINETHICK2,COLORRED;
分界:2,COLORWHITE;
DRAWTEXT(CROSS(操盘线,绝底),0.00,'买入'), COLORYELLOW, ;
DRAWTEXT(CROSS(操盘线,绝顶),3.8,'卖出'), COLORYELLOW, ;
集合竞价预警公式
ZF:=DYNAINFO(14)*100;{涨幅}
LB:=DYNAINFO(17);{量比}
ZS:=DYNAINFO(24);{涨速}
HS:=DYNAINFO(37)*100;{换手}
ZJ:=AMOUNT/10000;{资金}
TM:=V-MA(V,10);{量填满}
J:=FINANCE(7);{金额}
K:=REF(C,1);{收盘价}
ZF>=4 AND ZF<=6 AND LB>=30 AND ZJ>=500 AND HS>1 AND J<=20000000000 AND K<=30 AND TM>0;
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论