I would like to color my 50SMA based on its slope. I found some sample indicators and am starting to get a sense of how the code works but i have not been able to successfully edit my SMA.
I tried the sample script i found on this forum but it draws a lower and higher SMA and not the actual line.
I would really appreciate if someone could provide me with a simple script that would draw a basic SMA and color the line based on the slope.
I have limited programming knowledge but i am working on improving. Thanks a lot for helping me in the meantime
Comment