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 pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    147 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    5 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    4 views
    0 likes
    Last Post tkaboris  
    Started by GussJ, 03-04-2020, 03:11 PM
    16 responses
    3,282 views
    0 likes
    Last Post Leafcutter  
    Working...
    X