Histogram indicator problem
saklas: Hi, I want to make a series of indicators that will be presented as a histogram with three buffers (for long, short and range). I started with a simple one but it looks like I stuck. It is a simple MA. If close [i] is less than the value MA [i] then Sell [i] = 1. What is wrong in the code? Thank you.
What is it suppose to be doing that its not? Histograms.
It was suppose to draw a bar blue if the close is above MA(25) and red if the close is below MA(25). however the problem is solved. thx
Hi, I want to make a series of indicators that will be presented as a histogram with three buffers (for long, short and range). I started with a simple one but it looks like I stuck. It is a simple MA. If close [i] is less than the value MA [i] then Sell [i] = 1. What is wrong in the code? Thank you.
the code: