Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Trick to Draw to right-hand side of charts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Trick to Draw to right-hand side of charts

    (maybe you already know and use this)
    Attached are 2 sample pics depicting how right-hand Draws help me visualize upcoming discretionary trades. DrawRay is used to project to the right as we know. Then use DrawText to project a character (here a vertical hash is used) with Y axis value of interest "vMyValue" and X axis value of "0" . . . but include enough spaces to position the character to the right of the current bar (go wild with dots or dashes or any character).
    Action in the first pic shows a tick bar 95% complete and i seek software help to visualize how things will appear in the next bar. The second pic, a moment later, confirms the visualization.
    Code used:
    DrawText("projectRight", false, " |", 0, vMyValue, Color.Black, textFont3, StringAlignment.Near, Color.Empty, Color.Empty, 10);

    It helps me - thought i'd share. All the best !
    Click image for larger version

Name:	SampleRightProject.jpg
Views:	1
Size:	165.9 KB
ID:	893844

    Click image for larger version

Name:	SampleRightProject2.jpg
Views:	1
Size:	165.7 KB
ID:	893845
    Last edited by vanras; 03-15-2010, 10:40 PM.

    #2
    vanras, thanks for sharing your approach here!
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    3 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    238 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    384 views
    1 like
    Last Post Gavini
    by Gavini
     
    Started by oviejo, Today, 12:28 AM
    0 responses
    4 views
    0 likes
    Last Post oviejo
    by oviejo
     
    Started by pechtri, 06-22-2023, 02:31 AM
    10 responses
    125 views
    0 likes
    Last Post Leeroy_Jenkins  
    Working...
    X