Can I view the value of all variables?

 

I'm looking for a way, that at any point I can press "stop" and then see what the current value of all my variables are.

Or, for debugging purposes, is there a way that I can create a line in the journal that prints the value of all variables (or anything I want really)?

For example, I'm basing on of my calculations for stop loss on the Moving Average.  I want to print to the journal what the moving average was during each trade so I can make sure my calculations are correct.  Is there a way to do this?

 
Of course you can use the onchartevent to trigger the print function.
 
Marco vd Heijden:
Of course you can use the onchartevent to trigger the print function.
Thank you.