通达信秦国安战法主图

秦国安战法主图(主图叠加)
MA5:=MA(C,5);
MA20:=MA(C,20);

A51:= REF(MA5,1)*0.98;
A52:= REF(MA5,2)*0.98;
B52:= BARSLAST(REF(C,2)>=REF(MA5,2) AND REF(C,1)<REF(MA5,1))+2;
B51:= BARSLAST(REF(C,2)>=REF(MA5,2) AND REF(C,1)<REF(MA5,1))+1;
DZ:=IF((REF(C,2)>=REF(MA5,2)) AND (REF(C,1)<REF(MA5,1)),IF(REF(MA5,2)<REF(MA5,1),A51,A52),IF(BARSSINCE(REF(C,2)>=REF(MA5,2) AND REF(C,1)<REF(MA5,1))>0,IF(REF(MA5, B52)< REF(MA5, B51),REF(MA5,B51)*0.98, REF(MA5,B52)*0.98), REF(MA5,1)));
A201:= REF(MA20,1)*0.98;
A202:= REF(MA20,2)*0.98;
B202:= BARSLAST(REF(C,2)>=REF(MA20,2) AND REF(C,1)<REF(MA20,1))+2;
B201:= BARSLAST(REF(C,2)>=REF(MA20,2) AND REF(C,1)<REF(MA20,1))+1;
ZZ:=IF((REF(C,2)>=REF(MA20,2)) AND (REF(C,1)<REF(MA20,1)),IF(REF(MA20,2)<REF(MA20,1),A201,A202),IF(BARSSINCE(REF(C,2)>=REF(MA20,2) AND REF(C,1)<REF(MA20,1))>0,IF(REF(MA20, B202)< REF(MA20, B201),REF(MA20,B201)*0.98, REF(MA20,B202)*0.98), REF(MA20,1)));
短支撑:DZ,COLORWHITE;
中支撑:ZZ,COLORMAGENTA;
白轨:MA(CLOSE,25)+MA(CLOSE,25)*20/100,COLORWHITE;
虚轨:MA(CLOSE,25)+MA(CLOSE,25)*13/100,POINTDOT,COLORGRAY;
黄轨:MA(CLOSE,25)+MA(CLOSE,25)*6/100,COLORYELLOW;
反压:MA(HIGH,5),COLORMAGENTA;
A:=LLV(REF(LOW,1),2)+(HHV(REF(HIGH,1),2)-LLV(REF(LOW,1),2))/2,COLORGREEN;
盈损线:A,COLORGREEN;
MA10:MA(C,10),POINTDOT,LINETHICK4,COLORRED;
中轨:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORLIBLUE,LINETHICK2;
牛熊轨:MA(CLOSE,25), POINTDOT,COLORBLUE;
下白轨:MA(CLOSE,25)-MA(CLOSE,25)*15/100,COLORWHITE;

ZDF:=(C-REF(C,1))/REF(C,1)*100;STICKLINE(ZDF>9.8,O,C,3,0),COLOR0000FF;
DRAWICON(REF(C,1)<REF(DZ,1) AND C>=DZ AND C>A,LOW,1);
DRAWICON(REF(C,1)<REF(A,1) AND C>=A,LOW,1);
 




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

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

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

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