First EA not working in strategy tester. Troubleshooting help
- Use the debugger or print out your variables, including prices and find out why.
- There is no need to open an order and then set the stops. Simplify your code -
do it in one step. TP/SL on OrderSend has been fine for years.
Build 500 2013.05.09 № 9
Need help me mql4 guru add take profit to this EA - Take Profit - MQL4 programming forum -
Why did you post your MT4 question in the
Root /
MT5 EA section
instead of the MQL4 section,
(bottom of the Root page?)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Next time post in the correct place. The moderators will likely move this thread there soon.
Hi, I have spend months learning MQL4 and have just finished writing my first EA, or so I hoped. Unfortunatly when I go to test it in the strategy tester, nothing happens, it takes no trades, shows no results, and doesn't run through the chart. I was hoping someone here could help me locate my issue as I am unable to find the problem. Thanks!
I have based the trigger function on an indicator that I made that correctly shows the signals as intended so I do not think that is the error though I could be wrong.