I'm trying to learn to code in c# and have what I think should be a very simple project. I need a moving average indicator for PFSOFT Protrader 3. It should plot a 30 period weighted moving average (WMA), which change between 3 colors based on the slop of a 20 and a 30 period WMA. If both WMA move in the same direction it should be colored green and if not it should be red. Do they move in opposite direction it should color it gray. I have attached what I have made so far and a picture of it are paint in a wrong way.