Interesting concept for a strategy. Writing my own version, I borrowed heavily from your entry logic, and added to your SL/TP formula by adding a multiplier to each. Seems to do well when TP is multiplied by 1.5 and SL by 3.5. Starting deposit of $10,000. Lot size is 0.1. SL/TP parameters derived from an optimization period 1/1/2020 to 1/1/2021. Back test/forward test from 1/1/2020 to 1/1/2022 on the hourly EURUSD chart: Net Profit = $1901.90 PF = 1.35 DD = 5.49% ($644.50) Expectancy = $6.24 Total trades: 305 Win rate: 73.77% (Long: 74.19%, Short: 73.33%)
@@OrchardForex the expert does not even appear in my list of available experts despite a perfect compilation, I do not know if it is a problem with the update
I am presuming this is applicable to MT5 and not MT4. Trying to figure out how to make a Trailing Stop Heiken Ashi EA with some rules so this video is pretty useful.
Some time back we did work for a corporate client to create an expert. In backtesting it had a good looking result so I took a video and use it as the trailer.
Hi Arthur ... length did not help, still compilation error in the EA.mql5 (resource file '\Experts\BNB Algo\Experts\BNB Algo.mq5::Experts\iStochRSI.mq5' not found BaseExpert.mqh). May be you can through some light.
Dear Arthur! It would be nice if you could make a video on how to extend the framework with external indicators for example Keltner channel and Supertrend. Thank you
I will be adding more but the HA is an external indicator, although supplied with Metatrader. Any other external indicator would use the same structure.
Very nice illustration/delivery. Is there a way to use fxcm indicators in mql5? Ie obos and abb either with or without all the methods, zerolagma, hma it itrend, t3 etc?
Ah MQL5. The Windows 8 (and now maybe Windows 11) of the Metatrader world. So successful that after 12 years it still has less installations than MT4. If you have used the framework correctly there are no statements in defines.mqh that are included for MQL5 so if you are having a problem it is originating elsewhere.
My goal is to find an expert who works in demo, and thus teach you how to write an expert. I don't understand why after writing this expert, it is impossible to test it on a test strategy and on a demo account please help me teacher
I recommend if you have to program on MQL5 find a better broker that offers a better product, but as I say repeatedly in the videos, this code works for both.
I have replied to you many times. All of this code has been tested and works in demo. You have not provided any information other than it doesn't work. Well then my answer is I don't know.
I don't know if the problem is at the level of the Define.mqh file which always presents an error on mql5 I had to modify the form but not the background for it to be compiled
Sir, Can you make a vedio on swing support and resistance indicator with no conformation candle signal . You can check indicator on tradingview ( swing support and resistance by patternsmart) it gives signal with confirmatio candle but i want signal with no confirmation candle . please , check it !
@@bookssums If you have this problem then 1) you haven't watched all of the video and 2) you don't understand how to set input values. It sounds like you have simply downloaded the code as a quick way to get an ea. You are not ready for automated trading.
@@OrchardForex thanks I will watch the video again, in fact I will watch all your videos because I really want to understand everything that’s going on here, I’m quite new to all this please bare with me. Thanks once more
@@bookssums The volume is delinberately set to zero in the expert to prevent just downloading and running it, but you can set the volume in the inputs. Sl is set based on the size of the previous candle and TP is just 1:1 ratio with SL. It is all in the video.
This code is a complete expert. Just compile and load onto a chart or for testing use strategy tester. To give more detail about setting up and running experts would be more detail than I can cover in comments.
Hello coach #include "Heiken Ashi Stochastic.mqh" #property copyright APP_COPYRIGHT#property link APP_LINK#property version APP_VERSION#property description APP_DESCRIPTION
Hi Arthur! My Indicator class compiles properly ('iHAshi.mq5' as resource "::Indicators\MyIndicators\General\iHAshi.mq5') however in EA there is an error (unknown resource type 'C:\Users\anilh\AppData\Roaming\MetaQuotes\Terminal\73B7A2420D6397DFF9014A20F1201F97\MQL5\Indicators\MyIndicators\General\iHAshi.mq5'). Any clue what could be wrong? Seems (resource name is too long 'Experts\BNB Algo\Experts\BNB Algo.mq5::Indicators\MyIndicators\Oscillator\iStochRSI.mq5' BaseExpert.mqh) is causing the problem. I will look further and rever back to you.
@@OrchardForex Hi Arthur I am running out of words for how to say Thanks to you. Yes your suggestion helped and I am able to compile now EA as well. This is going long way in my EA development, as 80% of my indicators are iCustom indicators. Thanks a lot man.
Interesting concept for a strategy. Writing my own version, I borrowed heavily from your entry logic, and added to your SL/TP formula by adding a multiplier to each. Seems to do well when TP is multiplied by 1.5 and SL by 3.5. Starting deposit of $10,000. Lot size is 0.1. SL/TP parameters derived from an optimization period 1/1/2020 to 1/1/2021.
Back test/forward test from 1/1/2020 to 1/1/2022 on the hourly EURUSD chart:
Net Profit = $1901.90
PF = 1.35
DD = 5.49% ($644.50)
Expectancy = $6.24
Total trades: 305
Win rate: 73.77% (Long: 74.19%, Short: 73.33%)
Thank you very much prof for your answers, I started writing this program again and I compiled it without error. The problem is that I can't test it
And why can't you test it? Did you click the start button?
@@OrchardForex the expert does not even appear in my list of available experts despite a perfect compilation, I do not know if it is a problem with the update
@@freetv572 You have to compile the mq5 file, not the mqh
Very professional. Also the chapters are very helpful. Thanks for your work!
Glad you like them!
I am presuming this is applicable to MT5 and not MT4. Trying to figure out how to make a Trailing Stop Heiken Ashi EA with some rules so this video is pretty useful.
This is for both MT4 and MT5. It's mentioned several times in the video.
@@OrchardForex hello professor, the" defines.mqh " framework is not suitable for the Mql5 language, and it penalizes all the work, how to remedy this?
@@freetv572 You seem to be posting the same question again. Exactly what do you mean by not suitable.
thank you, sir - very informative video - subbed. Quick question, what is that strategy that appears at the end of every video? lol
Some time back we did work for a corporate client to create an expert. In backtesting it had a good looking result so I took a video and use it as the trailer.
pretty dam cool mate subbed liked
Thank you
Hi Arthur ... length did not help, still compilation error in the EA.mql5 (resource file '\Experts\BNB Algo\Experts\BNB Algo.mq5::Experts\iStochRSI.mq5' not found BaseExpert.mqh). May be you can through some light.
You should be including the ex5 not mq5, and that doesn't look like a valid path.
Hi Arthur, a quick question, if I set two instances of CExpert with different symbols, will it work for both symbols ?
Yes, depends on what you are doing, but it is usually easier to just keep everything to the symbol on the current chart.
Thanks, Arthur, I was thinking of having a multi-currency EA
Dear Arthur! It would be nice if you could make a video on how to extend the framework with external indicators for example Keltner channel and Supertrend. Thank you
I will be adding more but the HA is an external indicator, although supplied with Metatrader. Any other external indicator would use the same structure.
Thanks 👍👍👍👍
Very nice illustration/delivery.
Is there a way to use fxcm indicators in mql5? Ie obos and abb either with or without all the methods, zerolagma, hma it itrend, t3 etc?
I have not tried. It will depend how open the indicators are.
hello professor, the defines.mqh framework is not suitable for the Mql5 language, and it penalizes all the work, how to remedy this?
Ah MQL5. The Windows 8 (and now maybe Windows 11) of the Metatrader world. So successful that after 12 years it still has less installations than MT4. If you have used the framework correctly there are no statements in defines.mqh that are included for MQL5 so if you are having a problem it is originating elsewhere.
@@OrchardForex I can't test the program or use the expert demo account
what could be the cause of this problem please
My goal is to find an expert who works in demo, and thus teach you how to write an expert. I don't understand why after writing this expert, it is impossible to test it on a test strategy and on a demo account please help me teacher
If you have downloaded this from github with no modifications it will run on a demo, strategy tester, mt4 and mt5.
would like to know if we should leave the extensions of the Mql4 language that you introduced beforehand even if we have to program on mt5
I recommend if you have to program on MQL5 find a better broker that offers a better product, but as I say repeatedly in the videos, this code works for both.
@@OrchardForex i using Mt5
can't test the program or use the expert demo account
what could be the cause of this problem please
I have replied to you many times. All of this code has been tested and works in demo. You have not provided any information other than it doesn't work. Well then my answer is I don't know.
I don't know if the problem is at the level of the Define.mqh file which always presents an error on mql5 I had to modify the form but not the background for it to be compiled
Sir, Can you make a vedio on swing support and resistance indicator with no conformation candle signal .
You can check indicator on tradingview ( swing support and resistance by patternsmart) it gives signal with confirmatio candle but i want signal with no confirmation candle .
please , check it !
It have an error in the compilation of the fille Heiken Ashi stochastique .mq5
If you don't give any information or even the error message I cannot help.
nice, I'm sure this is probably a noob question but how do I set lots, tp and sl?
I can't give a simple answer, it depends on your strategy and how much you want to risk.
@@OrchardForex my experience is that the expert is not placing any orders and I can’t find anywhere to adjust lots, tp and sl
@@bookssums If you have this problem then 1) you haven't watched all of the video and 2) you don't understand how to set input values. It sounds like you have simply downloaded the code as a quick way to get an ea. You are not ready for automated trading.
@@OrchardForex thanks I will watch the video again, in fact I will watch all your videos because I really want to understand everything that’s going on here, I’m quite new to all this please bare with me. Thanks once more
@@bookssums The volume is delinberately set to zero in the expert to prevent just downloading and running it, but you can set the volume in the inputs. Sl is set based on the size of the previous candle and TP is just 1:1 ratio with SL. It is all in the video.
Framework_3.03 not exists in github
Sorry, my mistake. I forgot to push. It's there now.
Hey how to get source code of private indicator?
This is an expert and the source is on GitHub
I don't know how use this code to run an expert in metatrade and test it :S
This code is a complete expert. Just compile and load onto a chart or for testing use strategy tester. To give more detail about setting up and running experts would be more detail than I can cover in comments.
@@OrchardForex Thanks for answer
I just want try to strategy to get a function with return about, Buy/sell/nothing
To implement in my robot
Hello coach
#include "Heiken Ashi Stochastic.mqh" #property copyright APP_COPYRIGHT#property link APP_LINK#property version APP_VERSION#property description APP_DESCRIPTION
Was there a question?
Hi Arthur! My Indicator class compiles properly ('iHAshi.mq5' as resource "::Indicators\MyIndicators\General\iHAshi.mq5') however in EA there is an error (unknown resource type 'C:\Users\anilh\AppData\Roaming\MetaQuotes\Terminal\73B7A2420D6397DFF9014A20F1201F97\MQL5\Indicators\MyIndicators\General\iHAshi.mq5'). Any clue what could be wrong?
Seems (resource name is too long 'Experts\BNB Algo\Experts\BNB Algo.mq5::Indicators\MyIndicators\Oscillator\iStochRSI.mq5' BaseExpert.mqh) is causing the problem. I will look further and rever back to you.
Unknown resource type because you have to use the ex5 file as the resource
@@OrchardForex Hi Arthur I am running out of words for how to say Thanks to you. Yes your suggestion helped and I am able to compile now EA as well. This is going long way in my EA development, as 80% of my indicators are iCustom indicators. Thanks a lot man.