Check Profit (Average) Visible TP
-
Hi Seniors,
how to get output (Return) value of block "Check Profit (Average)".... after getting the Return value i wona use that value in my way....
Actually this block is working fine, but problem is that's not showing TP on chart, i just wanted to have visible TP marked on chart,
-
@jazzybhai You can see that value by inseeting it into a variable and then using a 'Comment (ugly)' block like this:

-
@l-andorrà , can you give full example please? I couldn't imagine how to do it correctly.
-
@biztet It is in the picture he's posted.
-
@jstap Only that can make the TP line visible? Nothing else?
-
@biztet Sorry mate didn't look at picture properly, l-andorrà meant to show you this.

-
you all didnt got my point
-
Block "Check Profit (Average)" is working fine as that was designed to perform.... that block is calculating all trades profit on average and close all trades after meeting conditions....
definitely that is calculating average profit of all running trades and result of that calculation is must be a price level, which is not visible anywhere, nor we can see that price level where all the trades will be averaged and closed....
I just wanted to see in advance that on what price level, Block "Check Profit (Average)" is gonna close all trades....
in other words, Check Profit (Average) Block should place TP of all running trades (on price) where the resuilt of its calculation is prompting....
-

-
No One......?
-
@jazzybhai I do not know how to get a line drawn at the point where all running trades will be in average profit.
-
@jazzybhai Then you need a completely different structure. You need one like this:
https://fxdreema.com/shared/MWxzUlf9c
Here you will be able to see the open profit, the closed profit and the total profit separatedly. This EA also closes trades, so you can skip that part.
-
@l-andorrà Thankyou very much for help.... let me try that later night and get back to you....