二个指标放在同一图中,使二个指标相互照应,结合观察分析,或许对我们判断趋势有更好的帮助

源码

均价:=(C+H+L+O)/4;
 R:=(2*L+均价)/3;R1:=(2*H+均价)/3;;kx:=(r+R1)/2;
 上马:=(3*SMA((kx-LLV(R,BARPOS/(245/2)))/(HHV(R1,BARPOS/(245/2))-LLV(R,BARPOS/(245/2)))*100,(245/25),2)-2*SMA((kx-LLV(R,BARPOS/(245/2)))/(HHV(R1,BARPOS/(245/2))-LLV(R,BARPOS/(245/2)))*100,(245/25),2));
 马线:WMA(上马,3),LINETHICK2,COLORMAGENTA;
 PARTLINE(上马<马线,马线),COLORAAAA00,LINETHICK2;
 AK:=((kx-LLV(R,BARPOS/(245/2)))/(HHV(R1,BARPOS/(245/2))-LLV(R,BARPOS/(245/2))))*100;
 骑马线:(3*wMA(AK,2)+2*wMA(wMA(AK,2),2))/5,COLORFFC0FF;
 PARTLINE(骑马线>AK,骑马线),COLORGREEN;
 控盘线:wMA(wMA(WINNER(kx),3),25)*25,COLORGRAY,LINETHICK2;
 PARTLINE(控盘线>wMA(控盘线,3),控盘线),COLORYELLOW,LINETHICK2;
 红色埋伏启动:(eMA(IF(r<=LLV(r,34),(SMA(ABS(r-REF(r,1)),34,1))/(SMA(MAX(r-REF(r,1),0),34,1)),0),3))*(10),COLORRED,LINETHICK2;
 0,COLORGRAY;20,COLORGREEN;50,COLORWHITE;80,COLORRED;


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。