Expert Commentary formatting  [SOLVED]

Questions about MultiCharts and user contributed studies.
tozwp
Posts: 145
Joined: 15 Apr 2011
Has thanked: 16 times
Been thanked: 8 times

Expert Commentary formatting

Postby tozwp » 28 Mar 2014

I've been using this for debugging: If AtCommentaryBar then commentary(various variables);

The output up until today has been wrapping around and filling the Expert Commentary box. Today when I use it, it outputs one long line of commentary instead of wrapping it and filling. How do I control the formatting? Thanks

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 559 times

Re: Expert Commentary formatting

Postby Andrew MultiCharts » 31 Mar 2014

Hello tozwp,

Here you can see an example:

Image

sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Re: Expert Commentary formatting

Postby sptrader » 31 Mar 2014

I tried the code below but it says- "function unknown" (commentaryc1) . and won't verify- what am I missing ? (using the current version of MC64)..

Code: Select all

Plot1(c);

#BEGINCMTRY
commentaryc1("hello World");
commentaryc1("second string");
commentaryc1("close = ",C:5:5);
#end

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: Expert Commentary formatting  [SOLVED]

Postby JoshM » 31 Mar 2014

I tried the code below but it says- "function unknown" (commentaryc1) . and won't verify- what am I missing ? (using the current version of MC64)..
As I read it in the screenshot, it seems to be CommentarycL (the L from "Lima").

sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Re: Expert Commentary formatting

Postby sptrader » 31 Mar 2014

I tried the code below but it says- "function unknown" (commentaryc1) . and won't verify- what am I missing ? (using the current version of MC64)..
As I read it in the screenshot, it seems to be CommentarycL (the L from "Lima").
********************************************************************
Thanks JoshM, that was the problem-
Corrected code:

Code: Select all

Plot1(c);

#BEGINCMTRY
commentarycL("hello World");
commentarycL("second string");
commentarycL("close = ",C);
#end



Return to “MultiCharts”