atrader25 / Publications
Forum
Any Ideas on Why My Indicator Gives a Constant Value?
The idea of the indicator is to make a best fit line over a variable called backwards amount of ticks. Then, the best fit line is projected forward a variable called forward number of ticks. The value that is projected forward ticks ahead is then assigned as the current value of the indicator. My
Having Trouble Programming Custom Indicator; Keep Getting Value of 0
Hi, I keep getting a value of 0 for my custom indicator. Even if I set the value of the indicator buffer to 2 in a loop, I still get 0. So, something is going wrong. What's interesting is that I can copy my code (formulas, variables, etc) into another indicator that works but never call on my code