分时突破指标

[复制链接]
查看54 | 回复0 | 2022-6-28 01:28:23 | 显示全部楼层 |阅读模式
NN:=2400;
HD:=HHV(V,NN);
LD:=LLV(V,NN);
最高:=CONST(HD),NODRAW;
最低:=CONST(LD),NODRAW;
HLMAX:=最高;
HLMIN:=最低;
HLMN1:=(HLMAX+HLMIN)/2;
HLMN2:=HLMAX-HLMIN;
HLMN3:=(100-0)/2*1.3;
HLMN4:=(100-0)/1*1.3;
中间价轴:=(50-HLMN3)*HLMN2/HLMN4+HLMN1;
轴差:=最高-最低;

拉升量:=IF(C>REF(C,1),VOL,0);
打压量:=IF(C<REF(C,1),VOL,0);
昨拉升最高值:=CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),NODRAW;
昨打压最高值:=CONST(FINDHIGH(打压量,FROMOPEN,240,1)),NODRAW;
今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0)),NODRAW;
今打压最高值:=CONST(REF(HHV(打压量,FROMOPEN),0)),NODRAW;
攻击力度A:今拉升最高值/昨拉升最高值,NODRAW;
量能均线:=SUM(V,FROMOPEN)/FROMOPEN;

量:=VOL,VOLSTICK;
五日量:=MA(量,5),COLORWHITE;

TT:=BARSCOUNT(C);{取得有效收盘价}
均价黄:=SUM(C*V,TT)/SUM(V,TT);{分时均线的取值}
量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);
价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);
价上岗量破5:=C>均价黄 AND V>MA(V,5);
量起爆:=V>=REF(V,1)*1;
价创新高:=C>=HHV(C,0);
量创新高:=V>=HHV(V,0);
对昨日涨幅:=(C/DYNAINFO(3)-1)*100<=2.50;{涨幅控制2个点以内}
每日一点:=量两步 AND 价两步 AND 价上岗量破5 AND 量起爆 AND 价创新高  AND 量创新高 AND 对昨日涨幅;

{计算收益、已爆分钟}
VV:=BARSSINCE(每日一点)+1;
首次起爆价:=REF(C,VV-1),NODRAW;
起爆收益:=(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;
{DRAWNUMBER(VV>=1,V*0.8,今天收益);}

流通盘:=CAPITAL*100/100000000,NODRAW;
起爆时间:=REF(TIME/10000,VV),NODRAW;
已爆分钟:=VV-1,NODRAW;
{画出底线和红球}
首次起爆量:=REF(VOL,VV-1),NODRAW;
{DRAWICON(已爆分钟>=2,首次起爆量,13);{出现红球,至少已经确认2分钟了}};


STICKLINE(每日一点,最低+轴差*0.8,0,1,0),COLORMAGENTA;
DRAWICON(每日一点,V,1),COLORRED;
DRAWTEXT(每日一点,最低+轴差*0.8,'∠起爆'),NODRAW;

TA:=BARSLAST(TIME=100000);
TC:=REF(HHV(C,0),TA+1);
TV:=REF(HHV(V,0),TA+1);
ZF:=TC/DYNAINFO(3)<1.05;
XG1:=CROSS(C,TC) AND V>TV AND ZF,COLORWHITE;

TA1:=BARSLAST(TIME=110000);
CC1:=REF(HHV(C,0),TA1+1);
VV1:=REF(HHV(V,0),TA1+1);
ZF1:=CC1/DYNAINFO(3)<1.05;
XG2:=CROSS(C,CC1)  AND V>VV1 AND ZF1,COLORYELLOW;
突破:=XG1 OR XG2,COLORRED;
VT:=BARSSINCE(突破)+1;
首次突破价:=REF(C,VT-1),NODRAW;
突破收益:=(DYNAINFO(7)-首次突破价)/首次突破价*100,NODRAW;
STICKLINE(突破,V,0,1,0),COLORRED;
DRAWICON(突破=1,V,17);
DRAWTEXT(突破=1,最低+轴差*0.65,'☆突破'),COLORRED;

DRAWICON(FILTER(CROSS(拉升量,昨拉升最高值),30),V,1),NODRAW;
{ DRAWTEXT(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.50,'★攻击'),COLORYELLOW};
DRAWICON(FILTER(CROSS(拉升量,今打压最高值),30),V,1);
DRAWTEXT(FILTER(CROSS(拉升量,今打压最高值),30),最低+轴差*0.35,'★攻击'),COLORMAGENTA;

20154202052765902.png

20154202052765902.png

201542020523854240.rar

4.41 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

201542020523854240.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则