Show initial deposit on the chart
-
Show initial deposit on the chart like I'm deposit 100 dollars so show on chart
Not current balance only initial deposit
-
According to ChatGPT this should do it, I haven't tested though: https://fxdreema.com/shared/CKLA9iHCb
-
output & communication >> comment >> label >> trade statistic
-
@jstap not warking

-
That would have only worked for MT5, not tested but this should do it: https://fxdreema.com/shared/crazi6ffc
-
@jstap does this work for MT5, it gives zero result for deposit
-
This seems to work - it gives the total deposits into the account up until now.
-
Hello, how should I do this? This code doesn't work for me.
I want to store the total of deposits into the account in a variable.
-
@s00071609 Hello, how do we use this variable that holds the total deposit and perform comparison or calculations on it with blocks?
-
@s00071609 Hello
Why does this result return zero? Can you please help? -
@mohsen-2
it already saves the total deposits in variable totalDeposits
You need to check the expert tab, it should show the value for total deposits
It works -
@s00071609 I want to limit the robot to one deposit.
For example:
I want to limit the robot to work only on a balance of $1000.And I want to check on each tick that if the user makes a new deposit or withdrawal while using the robot
the robot will be terminatedIf possible, please give me a sample project to use
Thanks -
https://fxdreema.com/shared/imHGJxIze
This project works properly when it is in the On Init section.
I want this to be checked on every tick
But when it is in the On Tick section, it adds the deposit for every tick, it is added like this.
I want this to be checked on every tick
But when it is in the On Tick section, it adds the deposit for every tick, it is added like this.
I want the user to not be able to make any deposits or withdrawals, if he does, it will be terminated
-
@mohsen-2
https://fxdreema.com/shared/8vrPSkKycWhen you load the EA, it calculates the total depsits on init. Then on every tick it checks if new depsosit is made and then terminates the EA
-
@s00071609
this should work for both deposit and withdrawal. If the variable deposit saved during init is not equal to on tick deposit value, it terminates
https://fxdreema.com/shared/H3I8zcqO -
-
@mohsen-2
check this one
https://fxdreema.com/shared/H3I8zcqO -
@s00071609
Thanks
CorrectWill it only be terminated if a sum is withdrawn from the account?
I want the robot to be terminated if a sum is withdrawn.
-
@s00071609
How should this code be written for withdrawal?Because both deposit and withdrawal are important
Now the deposit is done
Does the same code work for withdrawal? -
https://fxdreema.com/shared/3G9oBCClc
this should terminate if withdrawal is detected as well
