Discussion of article "MQL5 Cookbook: Multi-Currency Expert Advisor - Simple, Neat and Quick Approach" - page 3
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
It will not be correct to do so. If the position and the bar price opens with a gap, StopLoss will not be set correctly.
The article is neat and easy to follow, and providing the settings in the .set files. I did have an issue with the symbol execution modes, specifically the condition checking whether it was instant or market, and only after that letting orders be opened, which I had to remove, but everything worked fine .
I do have a question. I have seen many different advanced approaches, such as this one, which are built from the ground neglecting the Expert, ExpertSignal, ExpertTrade…. structure provided, even though they spend a lot of code (and time, I suppose) replicating some of its features. Could anybody justify this to me, please?
Hi everyone!
I'm trying to test this EA but just got the following message in Strategy Tester: "Error opening the position: 4753 - 1 The position not found". I don't understand why. This happens when the "trade.PositionOpen" function is executed in the line 159 of file "TradeFunctions.mqh". Someone can give me a help please?
Could you tell me where the position reversal takes place as described by the author? Here is his code with description
look at the OpenPosition(symbol_number,lot,order_type,position_open_price,sl,tp,comment) function ;
It's just a lock! There is no reversal... the same with lot increment! Can you explain, maybe I'm wrong?Could you tell me where the position reversal takes place as described by the author? Here is his code with description
look at the OpenPosition(symbol_number,lot,order_type,position_open_price,sl,tp,comment) function;
It's just a lock! There is no reversal... the same with lot increment! Can you explain, maybe I'm wrong?There are two types of trading accounts: netting and hedge.
There are two types of trading accounts: netting and hedge.
Got it! Thank you!