文华趋势顶底指标公式

趋势顶底 文华用

 

FILLRGN(1,20,80,COLORLIGHTGREY);
 FILLRGN(1,90,100,COLORLIGHTRED);
 FILLRGN(1,79,90,COLORLIGHTGREEN);
 FILLRGN(1,10,20,COLORLIGHTBLUE);
 FILLRGN(1, 0,10,COLORCYAN);

A:=MA(-100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),19),COLORRED;
 B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
 D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);

CHANG:A+100,COLORRED;
 DUAN:B+100,COLORBLUE;
 ZHONG:D+100,COLORYELLOW;
 JIANDING:(REF(ZHONG,1)>85 AND  REF(DUAN,1)>85 AND REF(CHANG,1)>65) AND CROSS(CHANG,DUAN) ;
 DINGBUQUYU:(ZHONG<REF(ZHONG,1) AND REF(ZHONG,1)>80) AND (REF(DUAN,1)>95 OR REF(DUAN,2)>95 ) AND CHANG>60 AND DUAN<83.5 AND DUAN<ZHONG AND DUAN<CHANG+4;
 DINGBU:=FILTER(DINGBUQUYU,4);
 DIBUQUYU:(CHANG<12 AND ZHONG<8 AND (DUAN<7.2 OR REF(DUAN,1)<5) AND (ZHONG>REF(ZHONG,1) OR DUAN>REF(DUAN,1))) OR (CHANG<8 AND ZHONG<7 AND DUAN<15 AND DUAN>REF(DUAN,1)) OR (CHANG<10 AND ZHONG<7 AND DUAN<1) ;
 STICKLINE( JIANDING||DINGBU,99,103,COLORRED,1 );
 STICKLINE( DIBUQUYU,-4,0,COLORGREEN,0 );
 DIWEIJINCHA:CHANG<15 AND REF(CHANG,1)<15 AND ZHONG<18 AND DUAN>REF(DUAN,1) AND CROSS(DUAN,CHANG) AND DUAN>ZHONG AND (REF(DUAN,1)<5 OR REF(DUAN,2)<5 )  AND (ZHONG>=CHANG OR REF( DUAN,1)<1 );
 STICKLINE( DIWEIJINCHA,0,5,COLORRED,0 );

 



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

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

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

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