Help with %of Account
-
i need your help!
i had a stratagy and this is tested on TradingView and gain 42% on account a week and now my problems
my EA need 1000€ to start or what you want its for the example.
every trade has a SL of 1% from the account but it uses all time the current account size.
so i lost a trade than it is 900€ and than it take 1% from this but i need again 1% from 1000€.
i hope you can help me. -
I don't really understand what happens at the last part where you say something about 900 and 1000 EUR. But anyway, take a look at the MM options that exist in the Buy/Sell blocks:
https://fxdreema.com/documentation/builder/money-managementYou can also write your own formula at the same place where now you would see the value of 0.1 lots. This formula can use functions like AccountEquity(), AccountBalance() or others, but the end value should be in lots. The end value can also be any number, for example 0.11234, the EA will take care of this and it will take the nearest lot size possible.
-
my start money is 1000€ and my risk is 1%
that means that my sl is all time 1% of my capital is lost
my tp is 200% from my sl that means that if i win the trade 2% of the capital is win
and my problem is if i lose my first trade i get a lost of 10€ and than the programm take the 990€ and my sl is 1% from the 990€ not from the 1000€ -
Ok, just test the different money management options in an EA that looks like the first example here https://fxdreema.com/examples
It's also possible to use Condition to check the equity vs balance and then use "Close positions" to close.
Or, instead of Condition, use "Check profit (unrealized)".
Or, take a look at these Bucket blocks, they can calculate the total profit/loss from multiple positions.