Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Drawing rectangle at bottom of sceen after each bar
I'm trying to have a rectangle to draw under each bar at the bottom of price panel. Is there a way in NT7 to do this? I know how to get DrawRectangle() to draw a rectangle at a certain number of ticks above or below a bar, but I want the rectangle to appear at the very bottom of the current price panel under each bar. The colour of the rectangle would vary based on various conditions.
Thanks for any assistance.
RBerry
Can you help answer these questions from other members on NexusFi?
The examples they mention (among the indicators provided with NT) show how to get the bounds. You can also refer to C# help material for how to do graphics - once you're overriding the method you've moved from Ninjascript help to C#. It might seem daunting, but once you get into it you'll find it straightforward at first, and worth the effort if you are interested in custom indicators.
Does it really need to be a rectangle? Using DrawFixedText - I think one of the overrides let you set the font family and using windings 1,2 or 3 you can do things.... but overwritting the plot is not that hard either... there are numerous examples in the support forum...