通达信机构操盘线(公式主图源码 测试图

机构操盘线V2}

 

限时日:=1;

限时:=1;

AA9:=C;

AAA:=REF(C,2),COLORGREEN;

AAA2:=MA(C,5);

AAA3:=MA(C,26);

AAA1:=MA((3*H+C)/4,2),COLORLICYAN;

NOTEXT1:=FORCAST(EMA(AAA,1),7),COLORGREEN;

 

短趋势:FORCAST(EMA(AA9,16),7)*限时,COLOR00FF00,LINETHICK6;

中趋势:FORCAST(EMA(AA9,55),7)*限时,DOTLINE,COLORFFFF00;

 

NOTEXT5:IF(AAA2>短趋势 OR C>短趋势,短趋势,DRAWNULL)*限时,COLOR0000FF,LINETHICK6;

NOTEXT6:IF(短趋势>=中趋势,中趋势,DRAWNULL)*限时,DOTLINE,COLOR0000FF;

 

ZJC1:=AAA2>短趋势 OR C>短趋势;

ZJC2:=短趋势>=中趋势;

ZJC3:=ZJC1 AND ZJC2;

{出水芙蓉}

T1:=BARSLAST(L=LLV(L,13));

T2:=BARSLAST(CROSS(短趋势,中趋势));

 

X1:=C/REF(C,急涨周期)-1>=急涨幅度/100 ;

X2:=REF(C,底部周期+急涨周期+急跌周期)/REF(C,急涨周期+底部周期)-1<=急跌幅度/100 AND BARSCOUNT(C)>60;

黄金坑:X1 AND X2,NODRAW;

D:=FILTER(黄金坑,10);

STICKLINE(黄金坑 AND D,O,C,3,0),COLORMAGENTA;

 

 

 

STICKLINE(黄金坑 AND D,L,H,3,1)*限时,LINETHICK2,COLORFF00FF;

STICKLINE(黄金坑 AND D,O,C,3,1)*限时,LINETHICK2,COLORFF00FF;

DRAWTEXT(黄金坑 AND D,L,'黄金坑')*限时,COLORFF00FF;

 

 

{起爆}

MA89:=MA(CLOSE,13);

MA144:=MA(CLOSE,21);

MA233:=MA(CLOSE,34);

MA377:=MA(CLOSE,55);

上穿:=CROSS(C,MA377)+CROSS(C,MA89)+CROSS(C,MA144)+CROSS(C,MA233);

 

起爆:(C>O AND 上穿>2 AND C/REF(C,1)-1>0.049 AND C/REF(C,1)-1<0.097 AND C>MAX(MA89,MAX(MA144,MAX(MA233,MA377))))*限时 AND C>MAX(MA(C,144),MA(C,233)),NODRAW,COLOR4080FF;

STICKLINE(起爆,O,C,3,0)*限时,COLOR4080FF;

DRAWTEXT(起爆,H*1.01,'起爆')*限时,COLOR4080FF;

 

 

{飞龙在天}

飞龙在天:(HHV(H,100)/LLV(L,100)-1<=30/100 AND CROSS(C,REF(HHV(H,100),1)) AND C/REF(C,1)-1>=0.049 AND BARSCOUNT(C)>50)*限时,NODRAW,COLORBFCB2E;

STICKLINE(飞龙在天,O,C,3,0)*限时,COLORBFCB2E;

DRAWTEXT(飞龙在天,H*1.02,'飞龙在天1')*限时,COLORBFCB2E;

 

 

 

ZB:=(ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 && CLOSE/OPEN>1.03 && CLOSE>REF(CLOSE,2) AND C/REF(C,1)>1.0572)*限时;

DRAWTEXT(ZB AND ZJC3 ,L*0.99,'抓板')*限时,COLORAFFF00;

抓板:(ZB AND ZJC3)*限时,NODRAW,COLOR00FFFF;

 

STICKLINE(ZB AND ZJC3 ,REF(C,1)*1.05,C,3,0)*限时,COLORYELLOW;

STICKLINE(ZB AND ZJC3 , O , REF(C,1)*1.05 , 3 , 0 )*限时,COLORRED;

 

DRAWTEXT(CROSS(DATE,限时日) OR DATE=限时日,H*1.08,'本指标已过时效'),COLOR00FFFF;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图