how can I change indicator color ?

 

how can I change the moving average line when it cross above 20 to red and when it cross below 0 it change to green, then it put a dot above or below that bar ?

also I can not use the custom color for the indicator.