I would like my EA to open a maximum of 10 orders per day. How to do it???
-
I have a question for forum members and experts. How do I make my EA only open 10 orders per day, for example, to reduce the risk of losing my deposit. Hope someone help me with this option how to do?
-
@piotras10000 for every trade taken, you could add +1 to a counter. Check value of counter variable, if above or equal to 10, then turn off then order buy and sell blocks. Then make sure at 0001 everyday you reset the counter to 0.
-
@tipsywisdom Okey just which block to connect it to so that everything works fine ?
-
@piotras10000 As @TipsyWisdom said, every time you buy/sell add 1 to a variable (use a formula block), reset this variable 1 per daily bar, check the number in a condition block before buy/sell.
-
@jstap You could show it in the picture how to do it ?
-
@piotras10000 Like this https://fxdreema.com/shared/IFdPWnTjd add your project to this, or add this to your project.
-
@jstap Thanks working:)
-
@piotras10000 Your welcome
-
Also take a look at this "Bucket of Closed Trades" block. It has Time filters so you can set the time as 00:00 or even 24 hours in the past. Then, in Condition you can navigate to "Bucket... " and check the count. The problem is only that the block works only with closed trades. Maybe I have to make one such block that can work with all.
-
@fxdreema This is a bot that opens non-stop deals that does not work with me indicators It opens 150 deals in about a day at the beginning of a candle It does {buy} in the first 0.01 when you win a {buy} trade it makes another transaction buy 0.01 and then does {sell} 0.01 if it loses a trade in Sell repeats {sell} 0.02 0.03 0.04 0.06 0.10 0.16 0.26 endlessly until he wins a trade and compensates for previous losses he sells incrementally until he wins a {sell} trade and then does {buy} again 0.01 if you lose a trade {buy} does {buy } again 0.02 0.03 0.04 0.06 0.10 0.16 0.26 and so he increases in the process {buy} until he earns the deal {buy} and then opens a deal {sell} again 0.01 and so on...........this are the only requirements I need sir what did you mean with pics?