您的位置:股票站 > 查股公式 > 通达信平台突破回马枪主图指标[查股公式]
股票行情消息数据:

通达信平台突破回马枪主图指标[查股公式]

2022/11/1 20:27:21

通达信平台突破回马枪主图指标

{突破回马枪}


M13:EMA(CLOSE,13),COLORFFFF00;
M55:EMA(CLOSE,55),COLORFF9900;
M120:EMA(CLOSE,120),COLORFF3300;

AAAA:=FILTER(CLOSE>REF(HHV(HIGH,100),1)
AND REF(C,1)<REF(HHV(HIGH,100),1),5)
AND EXIST(EVERY(C>EMA(C,120),30),100)AND C/EMA(C,100)<1.5;
{突破K线}
MAXD:=MAX(C,O);
MIND:=MIN(C,O);
FEND:=MAXD-MIND;
STICKLINE(AAAA,H,MAXD,0,0),COLOR0000CC;
STICKLINE(AAAA,L,MIND,0,0),COLOR00FFFF;
STICKLINE(AAAA,MAXD,MAXD-FEND*0.2,2.5,0),COLOR0000CC;
STICKLINE(AAAA,MAXD-FEND*0.2,MAXD-FEND*0.4,2.5,0),COLOR0066FF;
STICKLINE(AAAA,MAXD-FEND*0.4,MAXD-FEND*0.6,2.5,0),COLOR0099FF;
STICKLINE(AAAA,MAXD-FEND*0.6,MAXD-FEND*0.8,2.5,0),COLOR00CCFF;
STICKLINE(AAAA,MAXD-FEND*0.8,MIND,2.5,0),COLOR00FFFF;
CHAGULA:SMA(MAX(CLOSE-C,0),7,1)/SMA(ABS(CLOSE-C),7,1)*100,NODRAW;
{//基础数据}{天天查股网WWW.ttchagu.com}
N天前突破:=IFF(BARSLAST(AAAA)<=13,BARSLAST(AAAA),DRAWNULL);
N天前均价:=REF((3*C+L+H)/5,N天前突破);
STICKLINE(N天前突破,N天前均价,N天前均价,20,0),COLORYELLOW;
突破成本:IFF(BARSLAST(AAAA)<=13,N天前均价,DRAWNULL),NODRAW,COLORYELLOW;
STICKLINE(N天前突破,N天前均价*0.95,N天前均价*0.95,20,0),COLORGREEN;
伏击止损:IFF(BARSLAST(AAAA)<=13,N天前均价*0.95,DRAWNULL),NODRAW,COLORGREEN;
正常调整日:=IFF(BARSLAST(AAAA)<=13,COUNT((LOW<伏击止损)==0,BARSLAST(AAAA)),0)==BARSLAST(AAAA);
突破日:IFF(AAAA,1,0),NODRAW,COLORRED;
伏击日:正常调整日 AND (LOW<突破成本) AND (突破日==0),NODRAW,COLORYELLOW;
止损日:IFF(BETWEEN(BARSLAST(AAAA),1,14),1,DRAWNULL) AND (LOW<伏击止损) AND
COUNT(LOW<伏击止损,BARSLAST(AAAA))==1 AND COUNT(伏击日,BARSLAST(AAAA))>=1,NODRAW,COLORGREEN;

{//伏击位置提示}
STICKLINE(伏击日,LOW,MIN(HIGH,突破成本),0,0),COLORYELLOW;
STICKLINE(伏击日 AND MIN(OPEN,CLOSE)<突破成本,MIN(OPEN,CLOSE),MIN(MAX(OPEN,CLOSE),突破成本),2.5,0),COLORYELLOW;
DRAWICON(伏击日,LOW,1);

{//止损位置提示}
DRAWTEXT(止损日,LOW,'止损'),COLORGREEN;

 
相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红数据 股票评级报告
广告客服:315126368   843010021
股票站免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29