参数说明,N:=54;P:=3;
均价:=(2*C+(H-L)/2+L+o)/4;
价差:=SUM(均价-REF(均价,1),2)/2;
实价0:=(均价+价差);
实价:=(实价0+均价)/2;
VAR54:=IF(实价>0,(((均价+实价)/2)-LLV(均价,N))/(HHV(实价,N)-LLV(均价,N))*100,(((均价+实价)/2)-LLV(实价,N))/(HHV(均价,N)-LLV(实价,N))*100);
K:=sMA(VAR54,9,2),COLORMAGENTA;
D:=sMA(K,5,2),COLORFF8800,LINETHICK1;
j:3*k-2*D,COLORWHITE,LINETHICK1;
JJ:=ma(J,2),COLORMAGENTA;
VAR36:=if(实价>0,(HHV(实价,n/p)-((均价+实价)/2))/(HHV(实价,N/p)-LLV(均价,N/p))*100,(HHV(均价,n/p)-((均价+实价)/2))/(HHV(均价,N/p)-LLV(实价,N/p))*100);
KW:=sMA(VAR36,9,2),COLORMAGENTA;
DW:=sMA(KW,5,2),COLORFF8800,LINETHICK1;
jW:3*kW-2*DW,COLORGREEN,LINETHICK1;
JJW:=ma(JW,2),COLORGREEN;
KK:=SMA(VAR54,7,1),LINETHICK1,COLORYELLOW;
DD:=SMA(KK,5,1);
趋势:IF(CROSS(KK,DD) AND CROSS(MA(实价,5),MA(实价,13) AND KK>50) ,DD*2,DD),COLORRED;
PARTLINE(趋势>REF(趋势,1),趋势),COLORRED,LINETHICK2;
PARTLINE(趋势<REF(趋势,1),趋势),COLOR00bb00,LINETHICK2;
DRAWTEXT(CROSS(趋势,KK) ,趋势,’止赢!!’),color0000ff,ALIGN0;
DRAWTEXT(CROSS(KK,趋势) ,KK,’买’),color00ffff,ALIGN0; 波段高低点:ref(KK,BARSLAST(cross(ref(KK,3),KK))+1),POINTDOT,colorD3A9FF,LINETHICK3; {www.88gs.com} 0,COLORAAAA00;20,COLORCYAN;50,COLORWHITE;80,COLORRED;
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/160096.html,转载请注明出处。