Zero Error Zero Warning EA failing to give results on the Strategy Tester! Help!
- When you post code please use the CODE button (Alt-S)!
(For large amounts of code, attach it.)
Please edit
your (original) post.
General rules and best pratices of the Forum. - General - MQL5 programming forum
Messages Editor bool Opn_B=true, // Criterion for opening Buy Opn_S=true; // Criterion for opening Sell : if ((MA_gr > ...){ Opn_B=true; } if ((MA_gr < ...){ Opn_S=true; }
When are these two variables ever false?
whroeder1:
- When you post code please use the CODE button (Alt-S)! (For large amounts of code, attach it.) Please edit your (original) post.
General rules and best pratices of the Forum. - General - MQL5 programming forum
Messages Editor - When are these two variables ever false?
1. Sorry about that, I didn't know, I've updated it...
2. I wasn't sure how to run around with that logic to get the desired effect; in the initial declaration, can I make them false? Lemme try that... I appreciate the time taken to go through the lines...
The code below is a simple (simple) moving average cross coupled with a pinbar, and yet im failing to get results on the strategy tester! Please help...