Jump to content
Medved Trader Forums
Camillo

Write Something in the graph with the advanced mode

Recommended Posts

Is it possible to write something in the graph with the advanced mode ?
For example the value of some variables of the paintbar for debugging.
See my attached image :

 

WHS.gif

Share this post


Link to post
Share on other sites

Debugging paintbars is something we're looking at.

Thank you for that

Another question :

If I write this code :

HMA3 would be represented by a line on the graph such as HMA (22) and HMA (50)

 

HMA3.gif

Edited by Camillo

Share this post


Link to post
Share on other sites

sorry, this was missed I think. Yes you can do that. you can add 2 lines:

    SetColor("HMA3", SysColor.MainIndicator1);
    SetYValue(HMA3);

SetYValue will only work if the color is set prior to it being called.

Share this post


Link to post
Share on other sites

+1 for writing on the chart. I have volume values I wanted to print onto chart, based from values from the Weis Wave Vol (almost trying to recreate his zigzag volume indicator).

Btw, I'm happy I ended up getting a subscription. The scanner features alone are a godsend for trading crypto.

Share this post


Link to post
Share on other sites

Can't write freely on the chart using the Paintbar. However, assuming you are using Advanced mode, you can SetShape and change the values based on your computations. For example, I just made this sample Paintbar show a different value above each candle:

public void MainCalculation()
{
    SetColor(SysColor.MainIndicator1);
    this.SetShape((PBShape)(200 + shapeIndex++));
    if (shapeIndex > 35)
        shapeIndex = 0;
    
    return;
}
int shapeIndex = 0;

image.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...