- Custom indicator does not work in strategy tester
- Mr.Nims, Renko Ashi Scalping System.
- My strategy tester is not working
Hello,
If you do not show your MQL5 code, no one will be able to help you.
Besides requiring to post your code as Vladimir commented above, also tell us what build of MetaTrader 5 you are using.
Cruz Solace #: It's on MT4,Here is the code
#property copyright "Created with EABuilder.com" #property link "https://www.eabuilder.com" #property version "1.00" #property description ""
Please remember that all MT4 / MQL4 related issues should be posted in the MQL4 and MetaTrader 4 section (located at the end of the forum). A moderator will move this thread for you in due time.
When placing code, please use the "</>" (Alt+S) icon and don't just paste it as normal text.
Your Indicator was build with the EABuilder generator which produces very bad code. Don't use it. Either have someone code it for you or learn to code yourself.
We can't help you here, because the generator produces bad code and even if we were to provide guidance, you would not know how to make the necessary changes.
Please remember that all MT4 / MQL4 related issues should be posted in the MQL4 and MetaTrader 4 section (located at the end of the forum). A moderator will move this thread for you in due time.
When placing code, please use the "</>" (Alt+S) icon and don't just paste it as normal text.
Your EA was build with the EABuilder generator which produces very bad code. Don't use it. Either have someone code it for you or learn to code yourself.
We can't help you! Because the generator produces bad code and even if we were to provide guidance you would not know how to make the necessary changes.
There have been no official MT4 updates recently, so your MT4 build should still be 1353 since December 2021.
Only you can answer what happened to your PC on the 15th April.
That being said, since we know that EABuilder produces bad code, we are not going to waste time analysing and debugging the code for you.
However, I did compile your code and attached it to a chart and it seems to be displaying on a live chart (but I have no idea if it is correct or not).
There have been no official MT4 updates recently, so your MT4 build should still be 1353 since December 2021.
Only you can answer what happened to your PC on the 15th April.
That being said, since we know that EABuilder produces bad code, we are not going to waste time analysing and debugging the code for you.
However, I did compile your code and attached it to a chart and it seems to be displaying on a live chart (but I have no idea if it is correct or not).
-
EA builder, EA Builder Pro, EATree, Etasoft forex generator, Forex Strategy Builder, ForexEAdvisor STRATEGY BUILDER, ForexRobotAcademy.com, FX EA Builder, fxDreema, Forex Generator, FxPro, Molanis, Octa-FX Meta Editor, Online Forex Expert Advisor Generator, Strategy Builder FX, Strategy Quant, Visual Trader Studio, MQL5 Wizard, etc., are all the same. You will get something quick, but then you will spend a much longer time trying to get it right, than if you learned the language up front, and then just wrote it.
-
Since you haven't learned MQL4/5, therefor there is no common language for us to communicate.
If we tell you what you need, you can't code it.
If we give you the code, you don't know how to integrate it into yours.
We are willing to HELP you when you post your attempt (using Code button) and state the nature of your problem, but we are not going to debug your hundreds of lines of code. You are essentially going to be on your own. -
EA builder makes bad code counting up while closing multiple orders.
EA builder makes bad code Bars is unreliable (Max bars in chart), volume is unreliable (miss ticks.) Always use time.
EA builder makes bad code, not adjusting for 4/5 digit brokers, TP/SL and slippage.
EA builder makes bad code, not adjusting for ECN brokers. pre-Build 500)
EA builder makes bad code, not checking return codes. -
EATree uses objects on chart to save values — not persistent storage (files or GV+Flush.) No recovery (crash/power failure.)
-
FX EA Builder makes bad code, not checking return codes.
FX EA Builder makes bad code, loosing open tickets on terminal restart. No recovery (crash/power failure.)
FX EA Builder makes bad code, not adjusting stops for the spread.
FX EA Builder makes bad code, using OrdersTotal directly. -
FOREXEADVISOR STRATEGY BUILDER makes bad code, non-updateing global variables.
FOREXEADVISOR STRATEGY BUILDER makes bad code, compilation errors.
FOREXEADVISOR STRATEGY BUILDER makes bad code, not checking return codes.
Learn to code it, or pay someone (Freelance) someone to code it.
Hiring to write script - General - MQL5 programming forum #1 (2019)
-
-
Please edit your (#4) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum (2019)
Messages Editor
Did you check the build of your MT4? Is it still 1353?
If not then you were probably updated with a beta version when connected to MetaQuotes demo accounts on April 15th. If that is the case, then don't connect to MetaQuotes demo accounts and only connect to broker demo accounts.
However, if it is due to a beta build, then most probably when an official update to 1353 comes out, then your indicator will not work any-more and it will need to be fixed.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use