Constant array out of range ERROR // I cannot for the life of me fix it
-
Hi all, I would post my project in here but im not too sure how (not very clear)
Iv currently made an EA (been at it for 40 hours so far) and i cannot for the life of me get past a critical error within the algo due to ''Array out of range''
The codes, neat and easy to read. Not overly complex either so im so confused as to why FXDREEMA is having a meltdown over it.
Anyone could help that would be great!
Also, Iv had this algo working (just not quite like how i want it to be) and it still proves profitable no matter how i change it so if anyone can help you may actually get a working profitable algo.
I really didnt want to post this as iv been using/working on this system for around 5yrs and has passed me multiple prop firm challenges when used manually. But if giving away my tiny secret with the return of having it automated then im willing to take that dive.
Please, any help would be so appreciated. Im at my wits end and losing my mind lol.
Also can someone tell me how to post my project here so people can see it for themselves?? thanks in advance.
-
Screen shotted for people to see. If theres a better way then please tell me. thanks.
-
@hello123starb This is the way to do it:

-
@l-andorrà Thanks. I managed to get it sorted last night. It seemed to be ignoring the two modify stop blocks but once replaced with a trailing stop block the system acted as it should