Put Total Profit Of Account On Chart
-

Hello How we Can Put This Number (Red Arrows) On The Chart As (Numeric)?
-
I haven't tested but this should do it, you can select the start and end dates: https://fxdreema.com/shared/quigskKse
-
You didn't understand what I meant,
i mean how to put this number on chart
-
As I showed put in the start & end date, and in the comment/variable you should have this number, use a date from before the start to after now and you should have the whole history value.
-
@amiinkiaei it didn't worked
can you test it with buckets i don't know to how to use them -
Bucket is a loop but this should do it, I cant test because my MT5 isn't used to place trades, what value are you getting in the comment?
-
@amiinkiaei

look at the chart bottom right
-
I think you are confusing left and right, but what I did should return this number.
-
@amiinkiaei can you fix it?
-
My bad forgot to change symbol and group, have removed the conditions and tested on MT4.
MT4: https://fxdreema.com/shared/Sa3NECDte
MT5: https://fxdreema.com/shared/p7NMQ1cud

-
@amiinkiaei

It does not work properly -
That is showing you the total history, is your picture showing a period of time?
-
@amiinkiaei in my picture it's all history and total is -7500 but EA shows -530
-
Interesting using bucket seems to of got the correct result.
MT4: https://fxdreema.com/shared/N76VO0uIb
MT5: https://fxdreema.com/shared/vWIMcN3mc -
@amiinkiaei didn't worked again
-
Works for me in MT4:

-
@amiinkiaei but mt5 didn't worked and i want mt5 version for my EA
-
I can't test, it should work, all I can say is go to main page and ask admin if they know why
-
@amiinkiaei You can ask your friends please
-
I know no one you can ask @l-andorrà but you will get the same answer as from me, others might see this but I think they will say the same thing