Dear programmers, I would like to ask you a question:
Is it possible (and if so how) to make the advisor itself looks through the history of recent transactions and if, for example, 2 (changeable parameter), the last transaction was unprofitable (ie, he did not commit, but is looking what would be if it has committed them), it opens a deal.
Kudos for your perseverance! Watching you try to learn the language, I am filled with a sense of respect. I will make an example of you to all those who are careless!
Dear programmers, I would like to ask you a question:
Is it possible (and if so how) to make the advisor itself looks through the history of recent transactions and if, for example, 2 (changeable parameter), the last transaction was unprofitable (ie, he did not commit, but is looking what would be if it has committed them), it opens a deal.
Thank you in advance for your feedback.
Boris.
Your question allows for a double interpretation. Please rephrase it. You might think that the Expert Advisor should find the last two losing trades in the history and make a decision, or you might think that the Expert Advisor should simulate these two past losing trades and make a decision. It is not clear what exactly you mean.
Your question allows for a double interpretation. Please rephrase it. You might think that the Expert Advisor should find the last two losing trades in the history and make a decision, or you might think that the Expert Advisor should simulate these two past losing trades and make a decision. It is not clear what exactly you mean.
Option 2. He should emulate the last 2 losing trades (in a row) and only then start to work(open a position), if he loses, he continues to work (open a position) until there is a profitable trade. If he wins, he again waits for two losing trades, and only then starts to trade.
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.
I wonder what are the most traded pairs, or indices from the whole list, apart from the standard 6 pairs. ?
And what to trade at night? Where is the volatility?
What does no one know?
Dear programmers, I would like to ask you a question:
Is it possible (and if so how) to make the advisor itself looks through the history of recent transactions and if, for example, 2 (changeable parameter), the last transaction was unprofitable (ie, he did not commit, but is looking what would be if it has committed them), it opens a deal.
Thank you in advance for your feedback.
Boris.
Kudos for your perseverance! Watching you try to learn the language, I am filled with a sense of respect. I will make an example of you to all those who are careless!
I will. No kidding. In all seriousness.
Dear programmers, I would like to ask you a question:
Is it possible (and if so how) to make the advisor itself looks through the history of recent transactions and if, for example, 2 (changeable parameter), the last transaction was unprofitable (ie, he did not commit, but is looking what would be if it has committed them), it opens a deal.
Thank you in advance for your feedback.
Boris.
Your question allows for a double interpretation. Please rephrase it. You might think that the Expert Advisor should find the last two losing trades in the history and make a decision, or you might think that the Expert Advisor should simulate these two past losing trades and make a decision. It is not clear what exactly you mean.
Your question allows for a double interpretation. Please rephrase it. You might think that the Expert Advisor should find the last two losing trades in the history and make a decision, or you might think that the Expert Advisor should simulate these two past losing trades and make a decision. It is not clear what exactly you mean.
Option 2. He should emulate the last 2 losing trades (in a row) and only then start to work(open a position), if he loses, he continues to work (open a position) until there is a profitable trade. If he wins, he again waits for two losing trades, and only then starts to trade.
Hi all.
I have a question: I ripped out another EA's trawl function and added it to my own...
I drew my EA to my own, but now it hangs in the Strategy Tester.
2010.07.21 20:16:43 2010.07.01 00:30 AlexTrade EURUSD,M30: modify #1 buy 2.00 EURUSD at 1.2234 sl: 1.2226 tp: 0.0000 ok
Hi all.
I have a question: I ripped out another EA's trawl function and added it to my own...
I drew my EA to my own, but now it hangs in the Strategy Tester.
2010.07.21 20:16:43 2010.07.01 00:30 AlexTrade EURUSD,M30: modify #1 buy 2.00 EURUSD at 1.2234 sl: 1.2226 tp: 0.0000 ok
for (i=it-1;i<=0;i--) ??? isn't it supposed to be like this
so too... doesn't change anything... hangs in the same place.
Sync by honeybunny
Sorry. It works. Thanks!
Hi. Please answer the question: does the spread count in the strategy tester (when testing EAs)?