Display variable values on MT4 data window
-
How do i display variable values of my ea on the data window in MT4?
-
You can use "Comment" block to display variable values on the chart

-
@josecortesllobat I was not able to get the comment block to work. I think it is not working. I tried both comment blocks and nothing for both.
-
Both are working well for me.
"Comment (ugly)" block placed after Sell or Buy block. It shows the values of some variables.
"Comment" block shows a variable being updated at the open of a new bar if there is any open trade. Like a barcounter.

-
@edmundtan Don't forget to connect the block with another block. You can connect it to "Pass" block if you don't have any other good block.