You need to describe the algorithm procedure for the Counter-Order Strategy (something like a Martingale Strategy, but not quite). - page 8
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Remark.
I absolutely agree. I think good EAs are the ones that solve problems as they arise)))
This EA is made up of a set of functions and scripts based on video tutorials from TradeLikeAPro site))))
I would not have thought of it myself - there are too many different parameter functions and programming rules. I'm trying to translate MQL5 code in general, I'm m afraid I have some abstract examples and I am not following the official tutorials.
Last minor update:
Fixed non-critical bug in Emergensy Closure function
Added option to check the deposit, leverage and Lots values for compliance with trading requirements
Implemented auto-selection of lots for an emergency order opening during drawdowns
Slight revision of the user manual in this regard.
Despite everything, the Expert Advisor has shown a lower return of 60 to 210 p.a. according to tests on the history of quotes from March to June 2017.
Be careful when using the advisor in real trading - read the user manual.
There may be changes in the code as part of optimization or on various small things, in this case there will be additional information.
If you find an error, please let me know.
10/07/2017 Fixed an error in the advisor's profit fixing message.
EA files on Yandex Disk.
https://yadi.sk/d/MyYzRSja3JQVWK
24.01.2018Fixed non-critical error in sending an email.
Please update EA for those who downloaded it.
If anyone is testing it on a demo account, please advise if any other errors will pop up.
24.01.2018Fixed non-critical error in sending an email.
Please update EA for those who downloaded it.
If anyone is testing on a demo account, please post, maybe some other errors will pop up.
Now the price goes to the upper border of the channel by 50 points. The total value is 50-30 = +20 points. Or the first one +50, the second one +50, the third one -80 and the total +20 points.
The forum is full of ideas about the level of support - this is the bottom of the channel, and the level of resistance - this is the top of the channel. There are a lot of indicators of these levels.
As for me the tester for some reason only opens one order and that's it.
Is it solved? Or is the problem still there? No problems were observed during tests in MT4. I have no information about the demo-tests, so please share if you have any results from the demo-test or from real trading.
I advise to optimise the EA for the time being - reduce it by using parameterised functions. To eliminate the sending of messages on each occasion, to make it 2 times a day. For example, at 11 a.m. and at 5 p.m. The shorter the text of the Expert Advisor is, the easier it is to redo.
I have added and removed some trifles there. For example, I deleted a lot of code about entering depending on MaPeriod.
Pips works poorly on $100 with 0.01 lot - i.e. i set 10 pips (i.e. i specify 1 in settings) TakeProfit and in theory advisor should increase it 10 times like on 5 digits, but advisor closes with 1 pip. I don't know, maybe my MT is not supported anymore (it's glitchy) or this code should be pulled from OnInit to Ontick. But when I look at results, I see that TakeProfit is calculated correctly, i.e., multiplication is going, but first trades were closed with Take without multiplication... And the second problem is that I'm losing 10 pips in 0.01 lot because the commission is charged 0.05, or 0.01 earned, 0.05 paid and the resulting loss is $0.04, so I have to put not less than 50 pips to stop the expert at zero. Is it so? Pips Trading is OK if I use higher lot size. However, I can hardly use 100$ deposit even with 1:500 leverage - the Expert Advisor falters because of drawdowns. That is all I have observed so far.
Let there be messages, especially this one: "The Expert Advisor has taken profit andclosed positions" )))) - It is a mini holiday for every trader. And to warn about the opening of an emergency lot - then let him run to the PC, monitor the thriller and make a decision. The only thing they have no messages about is opening of an order - to inform about it I think is sacred. I updated the code yesterday, but in principle everything is the same, I checked the numbers are the same everywhere. I'm just trying to understand user logic, it's more convenient with messages as it seems...
If I'm a beginner, but real traders really don't need those messages, may be I'm just a beginner and not really need them?
We have to make the final version, sign off on the job and forget about this EA. I'm bored and start digging in the Expert Advisor's code, and every time I "improve" it. That's why the final version should be defined, put a quality mark and the whole thing will go up in smoke.
Added advisor update.
1. Added autolot for risk takers, including pips trading :)
2. Slight optimization of the program code due to what has happened.
3. edited the user manual.
4. New tests from April till April for the last year (it was hard)
5. Previous version of the Expert Advisor is saved as OLD VERSION
6. Added easyTrader - easy Expert Advisor for 1 order trading on MetaTrader 4 (based on BJH)
You can always find source / modified EA files on Yandex Disk at
https://yadi.sk/d/MyYzRSja3JQVWK
This Expert Advisorhas no real trading experience in theForexmarket!
Please remember that the market is unpredictable and your settings obtained by testing on the quotes history can not promise a future profit.
We thank users of the MQL5 Communitywebsite for their active participation in solving various aspects of algorithmic trading. Although this EA has a primitive strategy for trading in the Forex market, it can still be useful due to the functionality gained over time and the open source code.
Thank you for your attention! We wish you successful trading with ALGO_BLACKJACK&HOOKERS!