Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
You have already been answered. Why are you repeating the question?
Forum on Trading, Automated Trading Systems and Strategy Tests
Questions from beginners MQL5 MT5 MetaTrader 5
Sergey Tabolin, 2019.09.10 10:04
You have already been answered. Why are you repeating your question?
Hello Sergei!
Who answered?
Respectfully, Vladimir.
I looked through all the posts after my question a few more times, but I didn't see an answer anywhere.
Respectfully, Vladimir.
It seems that this signal module (<Expert\Signal\SignalITF.mqh>) cannot be used on its own, as it always produces results.
What to do: generate an EA based on another trading signal module (e.g. iMA or iMACD) and see how the pending orders behave.
Forum on Trading, Automated Trading Systems and Strategy Tests
FAQ from Beginners MQL5 MT5 MetaTrader 5
Vladimir Karputov, 2019.09.10 11:44
It seems that this module of signals (<Expert\Signal\SignalITF.mqh>) cannot be applied independently, as it always gives results.
What to do: Generate an EA based on another module of trading signals (eg, iMA or iMACD) and see how the pending orders behave.
Thank you, Vladimir for the tip!
Sincerely, Vladimir.
Forum on Trading, Automated Trading Systems and Strategy Tests
FAQ from Beginners MQL5 MT5 MetaTrader 5
Vladimir Karputov, 2019.09.10 11:44
It seems that this module of signals (<Expert\Signal\SignalITF.mqh>) cannot be applied independently, as it always gives results.
What to do: Generate an EA based on another module of trading signals (eg, iMA or iMACD) and see how the pending orders behave.
Yes, Vladimir, you were right, the Expiration of pending orders (in bars) function has started to work with the addition of iMA. Thanks again!
Regards, Vladimir.
Hello, I want to calculate the lot size depending on the desired profit in money, with takeprofit in pips = TP, the required profit in money = S
If I divide S by TP, it is not correct.
What is the correct way?
Hello, I want to calculate the lot size depending on the desired profit in money, with takeprofit in pips = TP, the required profit in money = S
If I divide S by TP, it is not correct.
What is correct?
For the loss size, here is the function
All you need to do is replace SL with TP
For loss size, here is the function
Simply replace SL with TP