If this video helped you, a thumbs up (👍) is always appreciated. To get more trading tutorials, subscribe and hit the bell (🔔). Get more MT4 tutorials here: ua-cam.com/play/PLOn0-_K-aYvQceg0lCXwbzqnnED_u1KHN.html
@trading heroes .. I would really appreciate if you could create a video on how to trade for beginners like me who has never traded before... I like at least a one hour video or more.... And I would be really glad if anyone who sees this can refer me to maybe a video tutorial set on trading on meta trader... I would really love to learn and practice 🥺🥺❤️❤️
i watch about 20 videos about how to set up ea an mt4 for 2 weeks now and ur video is the only one that went to ground zero, u said to go to mt4 platform and click on file. thank u very much. i had watch many video on how to get started and could never find the file mt4 that thay said to find, did every thing thay said, got no were until i found ur video. god bless u. please keep making videos showing us ground zero for us beginners. now i can move on.
noiceee - gonna come back to this one. Left it sitting for a few months whilst focussing on my actual trading!! But refinement and mastery in all areas of course ;);) :) ))) )
as someone already mentioned you forgot the most important step. Downloading the M1 data. BTW I also have the double in a day ea. I've done it 3 times, it's almost impossible to do it with that EA. I do have the top up calculator and that's a much better one to double 20 bucks 40 bucks even 100 and beyond.
Great lesson Trading Heroes: Thanks: Question: when I load the strategy tester on my MT4 there is not tick box for Visual mode.... do i have something turned off.... can anyone help with this..
This is the first video I've seen on the subject showing the same type of results mine is giving. I'm not sure I understand the multiple results it's giving. I just ran one for 3 previous months that gave me 170 results varying wildly from $50 to $1000 profit. I would have thought that an algo ran on the settings I gave it would have one set of results and I could see maybe a list of trades. I had MT4 with a different broker a while back that DID work like that. Got out of FOREX for a while and recently picked it back up with a different broker.
Quick question, what is the library’s section of the MT4? Do you have a bitcoin tip jar? If you do, please post it on this question, if you do happen to answer. I would love to tip you for your information.
The libraries contain reusable functions that the program utilizes for basic operations. There are libraries for drawing charts, math calculations and more. If you feel like tipping, it's always greatly appreciated: bc1q604t7rl6w8ddzz6mq2c3xerw5fvacesakuk9jk
@@TradingHeroes Thank you for the immediate answer. I have Coinbase do you have an email address I could send it to. Tried doing a copy through screenshot and paste, it saying it’s an invalid Bitcoin Address, however I’ve tried doing this before and it doesn’t work🥲🥲. I’m stuck with Apple products so I can’t copy and paste like I could on a laptop. Sorry for the inconvenience.
The "Use date" feature doesn't seem to have any effect at all. Different EAs behave randomly. One only tests during one week in July 2022 (it's September 2022 now), and that's it. The time frame also didn't make a difference, it's always somewhere in July. Another EA starts from a few months ago, seems to make more sense, although the date feature still has no effect at all.
You probably haven't downloaded enough historical data. Set the Max Bars in History to a huge number in Tools > Options > Charts. Then go to Tools > History Center and download data for the 1-minute chart.
You're welcome. A couple of ways you could do it... 1. Code the EA to not take trades during US. 2. Let the EA do its thing, then export the trades to a spreadsheet or DB and filter out the trades with timestamps that are not in the Asian/London session. The second choice is much easier because the timezone conversion can get mixed up in programming the EA.
Hi I have an EA that is currently running in a remote server, I would like to back test it with different inputs and different amount, would this affect the function/performance of the EA, am not tech savvy, bought the EA from someone and would not like to mess it up as I have a limited version of the EA.
On your strategy tester it doesn't show up model option. It only gives me which expert advisor and which pair and what hour on my mt4 .how can add that
Why does the date of test depends on the period frame? the bigger frame can run earlier date !!! is the a solution? I want to test M15 for 10 years ago
@@TradingHeroes Makes sense! I had emailed the broker and they replied with the exact same answer. Thank you for all the videos that you make! I started following you here recently. We have a small team and we have been working on several different algorithms for eight years and just wrapped it up 2 about three years ago. I’m sure in one shape form or another will be paying for some of your services here in the very near near future. Cheers and thanks again for replying!
Nice video. Thanks ! In the strategy tester I tested the same EA twice in a row and got way different results. 80 dollar profit and 120 dollar profit. Any idea what might cause this ? ( I wrote the EA )
You're welcome! The results will usually be slightly different because of the spread, data and how the computer reacts to the EA. It's important to remember that backtesting is not an exact science, but you're looking for situations where the probability is in your favor. So even if you have a favorable backtest, run the stats through a Monte Carlo simulation and on out of set data to verify that you have an edge. That will also give you a range of results that you can expect.
Im trying to do this but, is showing blank results why? i have downloaded the data and when i click start looks like is working but if i click graph is blank and results too.
I tested my first EA today but it doesn’t show the report, graph, or chart on mine, and it only works on one pair. Have you ever had this issue? Great video, thanks for sharing.🇨🇦
I seen in end of my backtest trades in minus shown ''close at stop'' I assume its not s/l trades cuz then there will be shown S/l mark. I dont know what this means
Maybe im missing a file or something, but i have files from a bot that and just dragging that file ex4 file over works. Then i can get the name to show on the top right of the chart(disappears shortly after). I click start(ran test for the current week which i know the bot ran in) but at the end there are all zeroes in the results. It never shows a single trade. How to i get it to trade in my backtest ??
@@TradingHeroes but for example i have an EA that has a perfect result on strategy tester if there is 5ms server and 0 spread so is there any difference? i mean in this case the result will be very little difference?
@@TradingHeroes bro thank you... cause you i learn more about ea forex now i can make my own ea robot and yesterday i share tutorial for running robot in android device😘😘😘😘thank you master
How to backtest the MACD sample or Moving Average that comes with the MT4? When I click on start it is not doing anything. I can just see no connection at the bottom.
@trading heroes .. I would really appreciate if you could create a video on how to trade for beginners like me who has never traded before... I like at least a one hour video or more.... And I would be really glad if anyone who sees this can refer me to maybe a video tutorial set on trading on meta trader... I would really love to learn and practice 🥺🥺❤️❤️
I tried doing a backtest with a simple and fast running EA but when you do it with a rather complicated ea you made yourself it takes a very long time, why?
Pls can i hv trading conditions that i want to be programmed as an EA...Pls i will neva a professional to do that for me...i will importantly need ur help pls
I do not know if you could help me but I'vs just installed MT4 to backtest EA's and nothing really happens. I've tried free ones just to download, tried Demos to backtest nothing really happened and the EA's creators do not respond.
I changed to MT5 but now the problem is that an EAI'm trying is only losing since the trades are all taken in contrary of what it should be. Example: up trend with sells on place of buys and buys in place of sells. How do I fix this? Many thanks!!
@@TradingHeroes 🍋😅no trades as in no funds in my account?? And more data as in "libraries" files and "includes"?? I have funds and have files I installed in there but everytime I click "Start" there's a squeaky sound and nothing really happens.
No trades as in the EA didn't execute any trades because there wasn't enough historical data or the EA didn't find any trades that met the execution criteria.
I wrote my first EA and it tested out quite well. For some reason I don't get the same results on live as with demo. If I hit start on demo account I get one set of results and then switch to my live account and run the tester again with the exact same settings I get drastically different results. Same thing happens with other EA's I've tested. Anyone else have this issue?
First thing to look at is the spread. Are you accounting for a bigger spread in the EA? If you test with a low fixed spread, then move to a variable spread, that will give you poor results in demo.
@@TradingHeroes I have it set to "current". Without changing any settings I get different results...not only that I installed mt4 on a different computer and when I run any EA on the same account with all of the same settings, I still get different results, not as drastic as the demo and live but still not the same. Are you able to replicate the same issue on your end or it's just me? :)
@@61tree_VR_Gliding That's normal. Go through each trade individually in both backtest and demo and you'll usually be able to see the issue. This is not an exact science. There are several factors that can cause trades to trigger unexpectedly, so you have to analyze each trade and build a system that's robust enough to overcome these variable conditions.
If this video helped you, a thumbs up (👍) is always appreciated. To get more trading tutorials, subscribe and hit the bell (🔔). Get more MT4 tutorials here: ua-cam.com/play/PLOn0-_K-aYvQceg0lCXwbzqnnED_u1KHN.html
@trading heroes
.. I would really appreciate if you could create a video on how to trade for beginners like me who has never traded before... I like at least a one hour video or more.... And I would be really glad if anyone who sees this can refer me to maybe a video tutorial set on trading on meta trader... I would really love to learn and practice 🥺🥺❤️❤️
I would really Appreciate
i watch about 20 videos about how to set up ea an mt4 for 2 weeks now and ur video is the only one that went to ground zero, u said to go to mt4 platform and click on file. thank u very much. i had watch many video on how to get started and could never find the file mt4 that thay said to find, did every thing thay said, got no were until i found ur video. god bless u. please keep making videos showing us ground zero for us beginners. now i can move on.
Glad it helped
you forgot to mention that you have to download the data from the historical center in order to get the best result.
Yes, good point. Thanks!
Can you help me where i can download the max data available??
@@ChilledNights In MT4, goto 'Tools>History Center' A box will open up, with available data. Look there, to D/L the data you need.
How exactly do we do this?
noiceee - gonna come back to this one. Left it sitting for a few months whilst focussing on my actual trading!! But refinement and mastery in all areas of course ;);) :) ))) )
as someone already mentioned you forgot the most important step. Downloading the M1 data. BTW I also have the double in a day ea. I've done it 3 times, it's almost impossible to do it with that EA. I do have the top up calculator and that's a much better one to double 20 bucks 40 bucks even 100 and beyond.
How do you do that
Great guide!! I needed to look at the optimization settings
Great lesson Trading Heroes: Thanks: Question: when I load the strategy tester on my MT4 there is not tick box for Visual mode.... do i have something turned off.... can anyone help with this..
Extend the bottom panel by dragging the edge. They hide some elements if the window is too small.
Amazing! Thank you! This is powerful
You're welcome!
This is the first video I've seen on the subject showing the same type of results mine is giving. I'm not sure I understand the multiple results it's giving. I just ran one for 3 previous months that gave me 170 results varying wildly from $50 to $1000 profit.
I would have thought that an algo ran on the settings I gave it would have one set of results and I could see maybe a list of trades.
I had MT4 with a different broker a while back that DID work like that. Got out of FOREX for a while and recently picked it back up with a different broker.
Quick question, what is the library’s section of the MT4?
Do you have a bitcoin tip jar? If you do, please post it on this question, if you do happen to answer. I would love to tip you for your information.
The libraries contain reusable functions that the program utilizes for basic operations. There are libraries for drawing charts, math calculations and more.
If you feel like tipping, it's always greatly appreciated:
bc1q604t7rl6w8ddzz6mq2c3xerw5fvacesakuk9jk
@@TradingHeroes Thank you for the immediate answer. I have Coinbase do you have an email address I could send it to. Tried doing a copy through screenshot and paste, it saying it’s an invalid Bitcoin Address, however I’ve tried doing this before and it doesn’t work🥲🥲. I’m stuck with Apple products so I can’t copy and paste like I could on a laptop. Sorry for the inconvenience.
All good, thanks for trying. A like on the video helps me a lot too.
Hey thanks for the video, when I load my EA to the chart it loads fine but it says waiting for tick. Any idea how to fix this? Thank you.
Sounds like there's an error in the program or the quotes aren't being update. Maybe you're offline, or it's the weekend.
The "Use date" feature doesn't seem to have any effect at all. Different EAs behave randomly. One only tests during one week in July 2022 (it's September 2022 now), and that's it. The time frame also didn't make a difference, it's always somewhere in July. Another EA starts from a few months ago, seems to make more sense, although the date feature still has no effect at all.
You probably haven't downloaded enough historical data. Set the Max Bars in History to a huge number in Tools > Options > Charts. Then go to Tools > History Center and download data for the 1-minute chart.
Thanks for this video. Is there anyway to test the strategy only during Asian and London sessions? I want to completely avoid US. thanks
You're welcome. A couple of ways you could do it...
1. Code the EA to not take trades during US.
2. Let the EA do its thing, then export the trades to a spreadsheet or DB and filter out the trades with timestamps that are not in the Asian/London session.
The second choice is much easier because the timezone conversion can get mixed up in programming the EA.
@@TradingHeroes Thank you sir! You're a star!
Hi I have an EA that is currently running in a remote server, I would like to back test it with different inputs and different amount, would this affect the function/performance of the EA, am not tech savvy, bought the EA from someone and would not like to mess it up as I have a limited version of the EA.
Hi, the backtesting function is separate from the live trading function, so you won't mess anything up. Test as much as possible!
does it take into account the spread and the commission you are paying on your current broker?
It usually does, but you should demo trade it for a few months just to double check.
@@TradingHeroes thank you sir will do
On your strategy tester it doesn't show up model option. It only gives me which expert advisor and which pair and what hour on my mt4 .how can add that
Make that section bigger by expanding it.
@@TradingHeroes how do that or if you can point me to the right direction
Thanks for helping me out
Hi can I ask why my testing can only go 2-3 days back?
Download more data.
Is it possible to test multiple symbols at the same time?
Not in MT, look at something like NakedMarkets: ua-cam.com/video/IYE2qXvQC1U/v-deo.html
Why does the date of test depends on the period frame?
the bigger frame can run earlier date !!!
is the a solution? I want to test M15 for 10 years ago
i have a problem , i can only load data up to 3 months max same goes with backtesting, couldn't do 6 to 12 months how to do that?
Time for a tough question. Working with an EA that needs leverage 1:1000 how do you change the leverage on the strategy tester? 😬
It uses the leverage of the account. You can only change it if the demo broker allows you to change it.
@@TradingHeroes Makes sense! I had emailed the broker and they replied with the exact same answer.
Thank you for all the videos that you make! I started following you here recently.
We have a small team and we have been working on several different algorithms for eight years and just wrapped it up 2 about three years ago. I’m sure in one shape form or another will be paying for some of your services here in the very near near future.
Cheers and thanks again for replying!
Bonsoir, j'aimerais savoir quelle sont les conditions ou critères pour valider un robot de trading apres l'avoir backtester?
Hi, I don't speak French.
mine wont test when i add a time frame- when i choose no date it works... whats wrong?
Maybe there are no trades during the selected time period?
sir how can we backtest multiple ea at once? im trying to open ea by opening new desktop tab but it doesnt work lol, any idea? thanks! ^^
You can only test one at a time.
Thanks for Video. I know you did a video on manually backtesting but do you have a way, independent of MT4, to test and optimize EA's. Thanks
Nice video. Thanks ! In the strategy tester I tested the same EA twice in a row and got way different results. 80 dollar profit and 120 dollar profit. Any idea what might cause this ? ( I wrote the EA )
You're welcome! The results will usually be slightly different because of the spread, data and how the computer reacts to the EA. It's important to remember that backtesting is not an exact science, but you're looking for situations where the probability is in your favor. So even if you have a favorable backtest, run the stats through a Monte Carlo simulation and on out of set data to verify that you have an edge. That will also give you a range of results that you can expect.
@@TradingHeroes Thanks so much for your help. I'm testing my first EA. Is Monte Carlo simulation a software ?
It's a process of running multiple simulations given a return and win rate. There are multiple software solutions that can do it.
@@TradingHeroes that sounds so cool. I'll look into that. Cheers
Im trying to do this but, is showing blank results why? i have downloaded the data and when i click start looks like is working but if i click graph is blank and results too.
1. The results might not show until it's finished.
2. Maybe not trades were executed.
3. You may need to change your settings.
I tested my first EA today but it doesn’t show the report, graph, or chart on mine, and it only works on one pair. Have you ever had this issue? Great video, thanks for sharing.🇨🇦
It might not show anything if there were not trades. You can only test one pair at a time.
I seen in end of my backtest trades in minus shown ''close at stop'' I assume its not s/l trades cuz then there will be shown S/l mark. I dont know what this means
Thanks!
Happy to help.
GOOD WORK
Glad it helped.
Maybe im missing a file or something, but i have files from a bot that and just dragging that file ex4 file over works. Then i can get the name to show on the top right of the chart(disappears shortly after). I click start(ran test for the current week which i know the bot ran in) but at the end there are all zeroes in the results. It never shows a single trade. How to i get it to trade in my backtest ??
Contact the creator of the EA.
Why my EA makes close at stop?:/ and the graph goes always down at the end..
Sounds like you ran out of money.
whenever i click the start button to start the EA it never works theres just a squeak sound and nothing happens
Help please!!
Probably because there are no trades. Check your settings on the EA and in the tester.
Sir how to backtest ea..which have 2 file one buy and one sell please reply
Test one at a time.
is there any difference between the result of strategy tester and real account?
There usually is some difference. That's why it's important to test in a demo account, before going live.
@@TradingHeroes but for example i have an EA that has a perfect result on strategy tester if there is 5ms server and 0 spread so is there any difference?
i mean in this case the result will be very little difference?
@@azhyslemany8559 Does your broker have zero spread?
@@TradingHeroes yes
Do you prefer Forex Tester to the MT4 strategy tester?
Two different tools. FT is for manual backtesting, MT4 ST is for automated backtesting.
I wish there was backtest mode for mobile ,it really should be as standard as indicators
It would be nice, but it's hard to do from a technical standpoint.
You can backtest in android use that option... just watch my youtube channel
@@TradingHeroes bro thank you... cause you i learn more about ea forex now i can make my own ea robot and yesterday i share tutorial for running robot in android device😘😘😘😘thank you master
how can you see the orders that are still open when the ea has reached a date you have chosen?
You can use visual mode or look at the Results tab.
heyyy I need help backtesting because it is not working
How to backtest the MACD sample or Moving Average that comes with the MT4? When I click on start it is not doing anything. I can just see no connection at the bottom.
You have to be logged in with a valid account. Just create a free demo account.
Hi, can you help to show how to test EA which requires other indicators to complement its execution?
Hi, thank you for the suggestion, but I don't understand what you mean. All indicators required for testing should be in the EA.
I don't have the "visual mode" section available at all.
Expand the Tester section, it's hiding.
Hey bro.. I have an amazing EA would you be able to help do some back tests?
What are your results so far?
@trading heroes
.. I would really appreciate if you could create a video on how to trade for beginners like me who has never traded before... I like at least a one hour video or more.... And I would be really glad if anyone who sees this can refer me to maybe a video tutorial set on trading on meta trader... I would really love to learn and practice 🥺🥺❤️❤️
yessssssss me too
I tried doing a backtest with a simple and fast running EA
but when you do it with a rather complicated ea you made yourself it takes a very long time, why?
More things to calculate.
Hi, How do you add the RESULT bottom?
So if you have one of the variables ticked and not checked 'optimize' what will happen?
It won't do the optimization on the variable.
if i click on Report to see backtesting result, why Report showing nothing. what to click to see the no.
You probably had no trades.
Btw which spreadsheet do u used in recording your backtesting results
I created it myself.
I mean the spreadsheet software
Pls can i hv trading conditions that i want to be programmed as an EA...Pls i will neva a professional to do that for me...i will importantly need ur help pls
Here's our guide on how to find a programmer: www.tradingheroes.com/find-forex-trading-programmer/
i dont know why my Strategy Tester doesn't show me the time frames to select
Maybe you need to expand the section. It could be hiding.
I do not know if you could help me but I'vs just installed MT4 to backtest EA's and nothing really happens. I've tried free ones just to download, tried Demos to backtest nothing really happened and the EA's creators do not respond.
See if the settings are actually allowing trades to execute. Also be sure to download additional data.
I changed to MT5 but now the problem is that an EAI'm trying is only losing since the trades are all taken in contrary of what it should be. Example: up trend with sells on place of buys and buys in place of sells. How do I fix this? Many thanks!!
how to backtest with Previous Year example if current year is 2021 i want to backtest Year 2020 From January-December
Select the dates
🍋It keeps loading then after doing a squeaky sound. From there nothing happens.
Either you have no trades or you need to download more data.
@@TradingHeroes 🍋😅no trades as in no funds in my account?? And more data as in "libraries" files and "includes"?? I have funds and have files I installed in there but everytime I click "Start" there's a squeaky sound and nothing really happens.
No trades as in the EA didn't execute any trades because there wasn't enough historical data or the EA didn't find any trades that met the execution criteria.
@@TradingHeroes 🍋alright, thank u
Do I need download data from history center before I do backtesting?
First check how much data has already been downloaded and if that's enough for what you want to test.
You don't need to restart MT4, you can just refresh it.
why when i pressed start button nothing happened except the sound of squeezing rubber duck 😆
There were no trades, check your settings.
@@TradingHeroes there’s no data to be backtest for the selected period, did you download it?
Yes: ua-cam.com/video/BDIOYyGHRws/v-deo.html
Can you test a MT4 EA that uses multiple currencies?
Yes, but you have to test each pair individually.
i fail to test 2020 whole year of strategic tester
You have a very good face
I wrote my first EA and it tested out quite well. For some reason I don't get the same results on live as with demo. If I hit start on demo account I get one set of results and then switch to my live account and run the tester again with the exact same settings I get drastically different results. Same thing happens with other EA's I've tested. Anyone else have this issue?
First thing to look at is the spread. Are you accounting for a bigger spread in the EA? If you test with a low fixed spread, then move to a variable spread, that will give you poor results in demo.
@@TradingHeroes I have it set to "current". Without changing any settings I get different results...not only that I installed mt4 on a different computer and when I run any EA on the same account with all of the same settings, I still get different results, not as drastic as the demo and live but still not the same. Are you able to replicate the same issue on your end or it's just me? :)
@@61tree_VR_Gliding That's normal. Go through each trade individually in both backtest and demo and you'll usually be able to see the issue. This is not an exact science. There are several factors that can cause trades to trigger unexpectedly, so you have to analyze each trade and build a system that's robust enough to overcome these variable conditions.
@@TradingHeroes will do, thanks.
Quality of data/ticks of demo account is usualy very bad compared to live account, so always do your backtest on live account