Profit Target nad Maxloss per day
-
Hello at all. I hope you can help me !
For my EA i create i need follow thing.
Profit Target per Day in % = X
MaxLoss per Day in % =Xif once of then comes true the EA should start the next Day !
SRY for my bad English

THX
-
@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.
-
Hello! Thank you very much for the answer. I'm learning more and more, but I don't quite understand that yet. Do you possibly have to look like the blocks? Thank you
-
@aries2203 Have you read the ionstructions pages dedicated to create variables? You should begin there before moving on:
https://fxdreema.com/instructions/builder/constants-and-variables
-
@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.
