Jump to content
Medved Trader Forums

Write Something in the graph with the advanced mode


Recommended Posts

  • 2 months later...

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.

Link to comment
Share on other sites

  • 2 months later...

+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.

Link to comment
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

Link to comment
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...