Forum

Arrow colour

Hi, I am a complete noob, and trying to learn how to code an indicator. At the moment I am simply trying to draw an arrow when a moving average cross occurs. It is working, except that I would like the colour of the arrow to correspond with the direction of the cross. I have tried the simplest