So I wrote a quick EA to backtest the 4 Week Rule, however it doesn't make a single trade and I can't quite figure out why.
Yes I realize it's not optimized (refreshing every tick instead of on a new bar) and other things can be nitpicked but I threw this together in about an hour and I don't think these nitpicky things could be causing the issue, it must be just some sort of obvious thing a proofreader can pick out rather quickly so here it is.
EDIT: Deleting the code spam
Yes I realize it's not optimized (refreshing every tick instead of on a new bar) and other things can be nitpicked but I threw this together in about an hour and I don't think these nitpicky things could be causing the issue, it must be just some sort of obvious thing a proofreader can pick out rather quickly so here it is.
EDIT: Deleting the code spam