Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 647

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
I cannot write a function like this.
- If a SELL order is at a loss of -1000 pips. then we open the same SELL order at 1000 points from the first one. If another -1000p, we open another SELL order, etc.
I cannot write a function like this.
- If a SELL order is at a loss of -1000 pips. then we open the same SELL order at 1000 points from the first one. If another -1000p, we open another SELL order, etc.
What is the problem here? You select the necessary OrderSelect-order , for example, on the ticket, compare the profit on it with the OrderProfit-order, and then send a request to open one more OrderSend.
I cannot write a function like this.
- If a SELL order is at a loss of -1000 pips. then we open the same SELL order at 1000 points from the first one. If another -1000p, we open another SELL order, etc.
According to this condition, the second order must be opened at the current price which is approximately 1000 points away from the opening price of the first order, so there is nothing difficult - a simple order to open a new position.
Gentlemen, can anyone tell me where to find a better quality archive of quotes.
We download Tickstory and use it to download ticks from Dukascopia, then we can export them to MT4, but it is only temporary, the terminal will overwrite them with its own files. That is, it is only for the tester, so the simulation quality is 99.9%.
You download Tickstory and use it to download ticks from Dukascopy, then you can export them to MT4, but this is only temporary, the terminal will overwrite them with its own files. That is, it is only for the tester, so that the simulation quality is 99.9%.
Yes, the topic, thank you very much!)
Can't figure out what's wrong with WindowTimeOnDropped(). No values when resetting to chart( all the time =0). Wrote a little code to check it.
The problem is that if you change the timeframe when EA is running, the EA will reinitialise and reopen the trades. In turn, trades that have been opened before remain "unattended".
How to struggle? I have to redraw the chart by some miracle, but it needs a previously initialized EA.
Colleagues, advise how to ignore event onChartEvent(...) in EA?
The problem is that if you change the timeframe when EA is running, the EA will reinitialise and reopen the trades. In turn, trades that have been opened before remain "unattended".
How to struggle? I have to redraw the chart by some miracle, but it needs a previously initialized EA.
To prescribe exact unambiguous opening conditions!