寻庄骑马与红色埋伏启动合二为一副图公式 源码 说明
二个指标放在同一图中,使二个指标相互照应,结合观察分析,或许对我们判断趋势有更好的帮助
源码
均价:=(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;