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
You need to comment out the lines.
//Commented string Незакоментированная строкаTo comment out a line, you need to put "//".
You need to comment out the lines.
You need to put a "//" to comment out a line.
Yes, this was exactly what I did as in the code you sent me earlier and this is the part I leave here below, however none of those who worked at EA close positions in the fractal opposite sign! Is there any other way so I can change it!
Yes, this was exactly what I did as in the code you sent me earlier, and this is the part I leave here below, however none of those who worked at EA close positions in a fractal opposite sign! Is there any other way so I can change it!
In that case I am not quite sure what exactly you want. Sorry.
In that case, I'm not quite sure what you want. Sorry.
I'll try to show an example:
If EA opened a buy because it detected previous_lower[B]<last_lower[A], and in this example the input parameters are "take profit: 500 pips" and "stop loss: 200 pips", technically we expect EA to reach these profit or stop loss levels to close the trade.
But in this version of your EA, when an inverted signal appears, ie. Using the example above, if previous_upper[B]>last_upper[A] appears, EA will terminate the buy transaction that is active without reaching the profit or stop loss.
This is exactly what I need to change, I have tried to change some things in the code, but I can't figure out what part of the code would change this problem to terminate the transactions when the inverted signal appears when the transaction is still open!
If you have a solution you would like to know?
I will try to show an example:
If EA opened a buy because it detected previous_lower[B]<last_lower[A], and in this example the input parameters are "take profit: 500 pips" and "stop loss: 200 pips", technically we expect EA to reach these profit or stop loss levels to close the trade.
But in this version of your EA, when an inverted signal appears, ie. Using the example above, if previous_upper[B]>last_upper[A] appears, EA will terminate the buy transaction that is active without reaching the profit or stop loss.
This is exactly what I need to change, I have tried to change some things in the code, but I can't figure out which part of the code will change this problem to terminate the transactions when the inverted signal appears when the transaction is still open!
If you have a solution you would like to know?
If I understand correctly you need this:
How it works: if there is more than one position (doesn't matter which one: BUY or SELL) then we skip all signals and don't open new positions.
If I understand correctly, you need this:
How it works: if there is more than one position (it doesn't matter which one: BUY or SELL), we skip all signals and don't open new positions.
Exactly!
Thanks for your help!
That's right!
Thanks for your help!
You're welcome!
Mr Vladimir,
Could you please release this indicator as HTF?
Mr Vladimir,
Could you please release this indicator as HTF?