I have two moving averages, I'm using the code below to color between the two moving averages.
setBarBgColor(Color.lime,0,vMA1.getValue(MAStudy.M A),vMA2.getValue(MAStudy.MA));
My Problem in the same EFS I'm also using drewLine command to connect the moving average but drawLineRelative is placed underneath the setBarBgColor.
drawLineRelative(0, vMA1.getValue(MAStudy.MA), 0, vMA1.getValue(MAStudy.MA), PS_SOLID, 2, Color.black, 0 );
Is there any way I can make the drawLineRelative on top of the setBarBgColor?
or is there another command I can use to fill between the two moving averages and that will let the drawLineRelative be on top?
Thank you
Ketoma
setBarBgColor(Color.lime,0,vMA1.getValue(MAStudy.M A),vMA2.getValue(MAStudy.MA));
My Problem in the same EFS I'm also using drewLine command to connect the moving average but drawLineRelative is placed underneath the setBarBgColor.
drawLineRelative(0, vMA1.getValue(MAStudy.MA), 0, vMA1.getValue(MAStudy.MA), PS_SOLID, 2, Color.black, 0 );
Is there any way I can make the drawLineRelative on top of the setBarBgColor?
or is there another command I can use to fill between the two moving averages and that will let the drawLineRelative be on top?
Thank you
Ketoma
Comment