[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 58
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
And hello again !!!!!!!!!!!!!
Let me repeat myself......................................... On this page, just above, asked a question about two pieces of code.......YOUR Opinion SPECIES..........................
Don't forget the sufferers...............................
Oops, that's a different page now((((((((((((((((((((((
So pg. 57
Objects are created with ObjectCreate(), good luck.
>> Thank you.
if (OrderProfit() < 0) {
...
}
Yes, it's understandable, I didn't say it that way. I wanted to add Martingale to one of my strategies, an ordinary one, which multiplies each lot by two if I lose. When I do it manually, I get profit, which is quite stable as entries are quite accurate, I want to check how it will work on automatic and if I am not mistaken, to run it through the history. I do not understand how to choose the right orders that have already been executed and closed, if I had two, it would be more understandable, but if I have more I cannot figure out what to do here, maybe somebody will give me a hint or a link to a piece of code.
I'm not sure how I meant it, but it's not quite right. I wanted to add Martingale to one of my strategies, an ordinary one, that multiplies every next lot by two if I lose. When I do it manually, I get profit, which is quite stable because entries are quite accurate, I want to check how it will work on automatic and I am not mistaken. I do not understand how to choose the right orders that have already been executed and closed, if I have two, it seems to be clear, but if I have more, I don't know what to do here, maybe somebody will tell me or give me a link to a piece of code
If I wanted to try to trade by martingale, it would be much easier, not to re-invent the wheel, but to take one of the ready-made Expert Advisor and see how it is implemented.
Universum 3.0, for example
I'm not sure how I meant it, but it's not quite right. I wanted to add Martingale to one of my strategies, an ordinary one, that multiplies each lot by two if I lose. When I do it manually, I get profit, which is quite stable, because entries are quite accurate. I do not understand how to choose the right orders that have already been executed and closed. I should have two more orders, but I have no idea what to do with them, maybe somebody will give me a hint or provide me with a link to such a piece of code
'Any newbie's question, not to clutter up the forum. Professionals don't pass by. Can't go anywhere without you.'
Hello
Just off the top of my head. I didn't really get into the terms, but there doesn't seem to be any intersection in the second option.
One more thing -- the OrderSend function returns an int type ticket, so it's correct to check for success like this:
In your case, you need to check for incorrectness:
______
Yeah, I don't know about others, but I find the word "specialists" a bit mocking. Maybe that's why you haven't heard back for so long. ;)
I apologize in advance if I'm asking a question I've asked a hundred times before, I've honestly searched the forum but haven't found what I'm looking for...
In the terminal settings, in the publishing tab, there is an option to save a trade report on an ftp-server. Is there any way to save a detailed report?