@ambrogio
it finally works fine, just as I thought it would. I thank you. There was just a need for one variable.
Posts made by joe_fx
-
RE: How to limit the number of trades?posted in Questions & Answers
-
RE: How to limit the number of trades?posted in Questions & Answers
@ambrogio
i have already tried this solution. it does not work. -
RE: How to limit the number of trades?posted in Questions & Answers
@ambrogio
Thanks Ambrogio. just what I was looking for. But, he only opens two total trades. when the Stochastic returns to the buy or sell phase it must open a new order, but it does not happen. Is there another block? -
RE: How to limit the number of trades?posted in Questions & Answers
@l-andorrà
My problem is that I only want to get one buy when I stocastich> level 50. Instead, this opens more than one buy order. -
RE: How to limit the number of trades?posted in Questions & Answers
@jstap said in How to limit the number of trades?:
I do not know, it would work if I did it, the no trade block limits trades to 1 I do it nearly every day, check the settings inside all blocks.
I checked but I don't understand where I'm wrong.

-
RE: How to limit the number of trades?posted in Questions & Answers
@l-andorrà
https://fxdreema.com/shared/WNi4f66jb
This is the project. As long as the stochastic is greater than 50 (buy), only the first rsi must open. If a second rsi appears, a third, and so on, you don't have to take them into consideration. I do not know how to do. -
RE: How to limit the number of trades?posted in Questions & Answers
@jstap
It doesn't work even if use buys or sell. Why? -
RE: How to limit the number of trades?posted in Questions & Answers
@jstap
I changed all parameters and added check trades count, but it still generates more than one trade. How should I set it up?
i want it to open only one trade until Sto(50)> level (50).
https://fxdreema.com/shared/n8fdSwF6c -
RE: How to limit the number of trades?posted in Questions & Answers
@jstap
Expert is this. You have to consider only the sell phase, which is identical to the buy one, but with value sto <level (50) and Rsi crossbelow level 75. If I have to add more, please let me understand. Maybe I have to create a variable and put it after the buy? I'm confused. -
RE: How to limit the number of trades?posted in Questions & Answers
@jstap
I have changed the parameters, but I don't understand how to set the check trades count. I just want it to open only the first rsi, the others don't have to be taken into consideration.
https://fxdreema.com/shared/GeKZnVYnc -
RE: How to limit the number of trades?posted in Questions & Answers
@l-andorrà
Hi l'andorrà. And part of it, but this is the logic. I have to add the sell phase. -
RE: How to limit the number of trades?posted in Questions & Answers
@jstap
Hi jstap. Check trades added. But it does not work. Where am I wrong?
https://fxdreema.com/shared/bJ81KMRke -
How to limit the number of trades?posted in Questions & Answers
I want only the first rsi to be opened. I do not know how to do.
https://fxdreema.com/shared/9DTWmDPTbThanks
-
RE: how to open multiple orders in my EA?posted in Questions & Answers
@jstap Thank you for your interest. I solved it by making multiple attempts and starting to understand what the individual blocks proposed by the platform do. Once you understand the logic, everything becomes simpler. Thanks.
-
RE: how to open multiple orders in my EA?posted in Questions & Answers
I still haven't been able to figure out how to fix my problem. Please, is there anyone who can fix it?
-
RE: how to open multiple orders in my EA?posted in Questions & Answers
@jstap I made some changes and now EA works, but I have an initial problem. The first order is always opened twice, it also happens in the SELL phase. I tried to solve with a variable, like you did, but it doesn't work. Where am I wrong?
https://fxdreema.com/shared/mLySbtime -
RE: how to open multiple orders in my EA?posted in Questions & Answers
@l-andorrà said in how to open multiple orders in my EA?:
You need to be more specific when defining the meaning of 'returns to level...', because that can happen several times per minute ir RSi is hitting that level. It can move up and down many times within that same candle.
I mean at the close of the candle. If RSI crossover above level 25, for example, open buy, with TP: 100 and SL: 100. If it does not reach the TP or SL and RSI crossover above level 25 again, open another order with TP: 100 and SL: 100, keeping the previous one open, and so on. I hope I was helpful.
-
RE: how to open multiple orders in my EA?posted in Questions & Answers
@jstap Hello. thank you for the help but i don't understand how to solve the problem starting from your ea. So, I decided to start from the beginning. EA opens a first buy order and I put a stop at level 40, to understand if closing the order could open a subsequent buy order. Indeed, the second order is opened but continuously. How can this situation be resolved? can you make me understand why the first order does not open the buy order continuously, while the following one does?
In your opinion, does it take a for loop?
