I haven't tried the code, but I don't like
SetIndexDrawBegin(0,i-1);
etc.
before i has been set (it is uninitialised)
I've just noticed that i is both a global and local variable (it's defined twice - once just above init() & again 2 lines into start()
This is a no-no in my view. The compile knows exactly what it's doing, but us lesser mortals get confused.
I've just noticed that i is both a global and local variable (it's defined twice - once just above init() & again 2 lines into start()
This is a no-no in my view. The compile knows exactly what it's doing, but us lesser mortals get confused.
Hello brewmanz
Thank you for your comments.
As a novice programmer I will take notice at theses issues you commented on.
B

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi, I’m trying to write an indicator for the fozzy strategy, which briefly, buys when the RSI crosses the MA and is below the mid BB, and sell when RSI crosses the MA and is above the mid BB.
The issue I am having is when I change timeframes/currency all the arrows disappear and only reappear when I compile the code.
Could someone please help.