NexusFi: Find Your Edge


Home Menu

 





How do you allow drawings out of chart visible area?


Discussion in NinjaTrader

Updated
    1. trending_up 2,710 views
    2. thumb_up 3 thanks given
    3. group 1 followers
    1. forum 7 posts
    2. attach_file 2 attachments




 
Search this Thread

How do you allow drawings out of chart visible area?

  #1 (permalink)
 Default User 
Glendale, AZ
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp/CQG
Trading: ES
Posts: 27 since May 2010
Thanks Given: 27
Thanks Received: 55

Does any know of any code that allows things you've drawn to go off the chart? For example, a murrey math indicator draws a bunch of lines on a chart but some of them are above and below the visible chart area. It doesn't try to keep everything it plots in the visible area. How do I make that happen? Thanks in advance.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Cheap historycal L1 data for stocks
Stocks and ETFs
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
  #3 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927


did you try it with the auto-scale option in the indicators parameter section yet ?

max-td
Reply With Quote
Thanked by:
  #4 (permalink)
 Default User 
Glendale, AZ
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp/CQG
Trading: ES
Posts: 27 since May 2010
Thanks Given: 27
Thanks Received: 55


max-td View Post
did you try it with the auto-scale option in the indicators parameter section yet ?

I have tried it with the auto-scale option in the indicators visual section and the chart's visual section in the properties window. I'm not sure if thats what you are referring to or not. If you mean did I code it to appear in the parameter section then no. I don't know the code for that.

Started this thread Reply With Quote
  #5 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

you wrote :
For example, a murrey math indicator draws a bunch of lines on a chart but some of them are above and below the visible chart area.


now, if i add this indicator it shows all its in the chart-area that is visible at the moment.
for shure it shows not lines above below the current Highs / lows of the visable chart-window.

if i change the paramter autoscale to true now, it shows me all these lines, no matter how far they are away.
it shows me all lines the indicatur is suposed to print.
of course this compresses the chartpicture a bit

if that is not what you mean, please post some pictures + the indicators you talk about.
that would help to understand.

max-td
Reply With Quote
  #6 (permalink)
 Default User 
Glendale, AZ
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp/CQG
Trading: ES
Posts: 27 since May 2010
Thanks Given: 27
Thanks Received: 55

Yes I have tried that. The problem is I have autoscale set to false on the chart to allow me to see each tick on the chart. This means my indicators autoscale is set to true by default and once price travels far enough it all gets mashed together. If I reverse the autoscale settings (chart to true and indicator to false) the chart is more condensed and each print is drawn on top of the last one. I guess a better example of what I mean would be the GomVolumeLadder. No matter what the autoscale settings are each level on the ladders is readable and never mashed together. I have included a picture to illustrate what happens when autoscale is false on the chart, true on the indicator, and price has traveled far enough to mash it up. Example 2 shows the autoscale settings reversed. If it helps, I am using DrawText() to draw on the chart. Thanks Max.

Attached Thumbnails
Click image for larger version

Name:	Example.jpg
Views:	158
Size:	105.7 KB
ID:	42101   Click image for larger version

Name:	Example2.jpg
Views:	167
Size:	104.9 KB
ID:	42102  
Started this thread Reply With Quote
  #7 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

sorry, somehow i dont get your issue, thats too high for me - lol.
also i dont have these indis here now.

so please folks, if someone can jump in and help Default User to find out whats the problem in his charts / thinking that would be great !


max-td
Reply With Quote
Thanked by:
  #8 (permalink)
 Default User 
Glendale, AZ
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp/CQG
Trading: ES
Posts: 27 since May 2010
Thanks Given: 27
Thanks Received: 55

I think the problem is when I widen the charts y axis the space between the boxes get wider where on the GomVolumeLadder the rectangles themselves get wider. My brain hurts just thinking about how to accomplish this and I have used a work around I think I can live with. Thanks to all for your help

Started this thread Reply With Quote
Thanked by:




Last Updated on June 27, 2011


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts