Hi:
I am making some modifications to the file strmacrvs.efs which is a 2 MA crossover strategy study. I would like to display the fast MA line (10) in green and the slow MA line (20) in red to better see the trend direction and crossover point.
I note that to set the price bar color you use the following command:
setPriceBarColor(color.red)
However, I cannot find a similar command that will set the color of the moving average study line (although it must be possible, because the Edit Studies command will allow you to change the line colors).
Is there another parameter for the base MA study:
(MAStudy 20,0,"Close",MAStudy.SIMPLE)
or some other parameter that will change this MA line color?
Thanks,
Mark
I am making some modifications to the file strmacrvs.efs which is a 2 MA crossover strategy study. I would like to display the fast MA line (10) in green and the slow MA line (20) in red to better see the trend direction and crossover point.
I note that to set the price bar color you use the following command:
setPriceBarColor(color.red)
However, I cannot find a similar command that will set the color of the moving average study line (although it must be possible, because the Edit Studies command will allow you to change the line colors).
Is there another parameter for the base MA study:
(MAStudy 20,0,"Close",MAStudy.SIMPLE)
or some other parameter that will change this MA line color?
Thanks,
Mark
Comment