Display all expert properties on chart

 

Is there a way to do this? I see that they're being truncated as the list is getting long ....

 
lingwuchung:

Is there a way to do this? I see that they're being truncated as the list is getting long ....

If you put a "\n" within the string it gives a new line

Comment("Lots of stuff here\nBut this is on a new line\nAnd so is this");

As another example

Comment("Bid=" + Bid + "\nAsk=" + Ask);

Although you might want to also use DoubleToStr to get better formatting.

 
dabbler:

If you put a "\n" within the string it gives a new line

As another example

Although you might want to also use DoubleToStr to get better formatting.


Thanks dabbler. I understand I can do that if I add "Comment" myself, but that I have to remember to add new parameters into that. My question is if there is a generic way to dump ALL parameters to the screen automatically. The line I highlight in the attached diagram seems to be doing that except:

1. It has length limitation.

2. It can only include int/double only. All string parameters are not included.

 
lingwuchung:


My question is if there is a generic way to dump ALL parameters to the screen automatically.

If there is I don't know it. Of course when you run an EA it does dump that information out to the journal and such information does also get put into strategy tester reports.

Why don't you post the source code producing that result and we can find out what is doing it!

Reason: