Of course you can use the onchartevent to trigger the print function.
Thank you.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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?