If blocks 6 and 7 are pending orders, then i would say yes that is ok.
But if they were Market orders (just buy or sell block) and if both (once per day) times are 21:00, then let the (once pre day/close trades) block numbers be first
If blocks 6 and 7 are pending orders, then i would say yes that is ok.
But if they were Market orders (just buy or sell block) and if both (once per day) times are 21:00, then let the (once pre day/close trades) block numbers be first
Yes that is supposed to work.
If the future or on other strategies, you may also need to be aware of the block numbers, as the EA will run the blocks in order of their numbers and it may screw things up, however, I don't see a need to change the order here.
@barenyb Hello,
I'm not sure I get the target variable part, but if you want to open a trade 3 mins before the close of a candle, maybe this will work?? you will need to test it out. Or in some cases you may need to place the strategy before the once per bas block.

@andrew-b Hello,
I don't believe there's a straight forward way to do this if you have a custom sequesnce that is not an addition or a multiplier of the previous size unless someone else here on the forum can lead us to a simple answer. However, to do this, you will probably need to place a variable in the lot size of the trade, and after that do the following in the screenshot for the amount of number of trades you want:

That's how I would approach this. Good Luck 
@bagheria Hello,
You will need to add the EMA manually or create a template and then let the EA open the template for you.
Just be aware of one thing; If you save a template, the template will also save the EA and the settings used in the EA
@jim67 Hello,
Search for the error in metaeditor when you open the EA in it. that might lead you to what it is
@andrew-b
Hello.
Is there a specific sequence you go by like let's say you multiply each lot of the current trade by 2 for the next trade ?
@aries2203
It would be great if you go through the instructions first. I have a screenshot for you here of a simple example where the EA will stop trading if the equity relative to the start of the day reaches 125% or 75%.
Now in your case you wanted I assume a target or loss of 25% instead on 75% or 125% which actually means the same, so just place more formulas to convert it for you.

@aries2203 Hello,
In your case you will need to create a variable once per day with the account balance/equity and turn ON the trading blocks (you will know why in the end). After that, you run some formula blocks to continuously calculate the percentage change between the balance/equity throughout the day, to the variable that you created in the beginning of the day.
Then place some blocks that will close all trades and turn off the trading blocks.
@saeed-2 Hello,
Ok first of all try adding a (once per object) block under (for each object) block
If that didn't work, look at the screen shot and try 1 of there 2 things,


@andrew-b hello,
keep it as it is with either buys or sells and it will work fine for your needs.
@pheaktra-capo Hello,
If you see the details here, it says the you can either use the numbers or if not, you will have to write it in an exact specific way for the MACD.

@yazar-ilyas I'm not sure I understand you exactly here but if you want the Equity to be $35 dollars more than the balance before closing all the trades try this:

@daibeer Hello,
The AO changes color if it was rising or falling so the way to do it is by the difference between candle ID 1 and Candle ID 2 where one is greater than the other. In the following screenshot, I have made it so that you are looking for the reg or green on the closed candle with candle ID 1. If you wanted the current candle, then just change the 1 to 0 and 2 to 1.

@oliverhinrichs Hello,
Try placing "int" instead of "double" in the variables. That may work since integers will not have decimal places. Yes and also make sure to place "int" only on the values that will not require decimal places.
Hello,
With martingale, as soo as you open the second trade, it means that you are in loss, so how far back to you want when you mean in the past?