Goodday,
I'm edditing the "5 day breakout" indy which I found on FF
I want it to look a user adjustable amount on n days back. I'm planning to use the code in an EA.
The problem is I keep getting this 2 errors:
What can be done about that.
I assume the "cannot resize array" is because the new size has the same size as the old one.
The other int-error don't know.
If you guys have some ideas.....
O, and if someone can eddit the file so the ndayhigh/ndaylow line start at the first of n days back instead of across the whole screen it would be nice.
EDIT: I did some searching and found this http://www.forexfactory.com/showthread.php?t=165411 and http://book.mql4.com/variables/arrays so I'll try to figure it out myself.
I'm edditing the "5 day breakout" indy which I found on FF
I want it to look a user adjustable amount on n days back. I'm planning to use the code in an EA.
The problem is I keep getting this 2 errors:
QuoteDisliked2011.11.10 17:03:39 n Day BreakOut EURUSD,Daily: series array cannot be initialized
2011.11.10 17:03:39 n Day BreakOut EURUSD,Daily: cannot resize the array
I assume the "cannot resize array" is because the new size has the same size as the old one.
The other int-error don't know.
If you guys have some ideas.....
O, and if someone can eddit the file so the ndayhigh/ndaylow line start at the first of n days back instead of across the whole screen it would be nice.
EDIT: I did some searching and found this http://www.forexfactory.com/showthread.php?t=165411 and http://book.mql4.com/variables/arrays so I'll try to figure it out myself.
Attached File(s)
n Day BreakOut.mq4
3 KB
|
347 downloads