
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
Hi @ghobar
How would you want to treat the 2nd position?
Let it continue run? Or close with 10pips profit?
TeeZai:
Try:
Sorry for the delay
The second sale is closed based on another strategy
The problem in the first position is that if each position was in the first position of its kind, ie (buy or sell) it would close if it was in 10 pips of profit.
It confuses me a lot
Unfortunately, the guide you gave closes any position that is above 10 pips in profit in the same way
Global thanks.int FirsOrderClose=0;
If you get this piece of code at the beginning of the program, you will get the result you want
Thank you very much for your masterful guidance
I acted on your instructions but did not receive an answer.
Try:
Thank you very much for your masterful guidance
I acted on your instructions but did not receive an answer
Filter your Order Select loops by Magic Number and Symbol.
Hi My system is based on Martingale and has 2 close strategies
First »The first position is closed based on a profit margin of 10 pips (TP)
I do not have a problem with this because the profit is closed with 10 pips
But the next positions open without profit limit and when the signal indicator leaves, all positions close.
The problem arises when the first position closes with 10 pips (TP) of profit and the second position takes the first place, but the profit limit is
Here the second strategy must have 2 positions up to close I want every position to be closed in the first position at any time, if there is a profit of 10 pips.
An example of my close code
Hello to all professors
Is it possible for me to provide more guidance in this case ???
Hello to all professors
Is it possible for me to provide more guidance in this case ???
I tried different methods to solve this issue But I could not get the desired result.
We could not solve this problem
But another solution seemed to me to give the profit margin of the first position to the next positions
With this solution, it can be said that the problem will be solved.
Thanks to those who contributed to this post
return();