NexusFi: Find Your Edge


Home Menu

 





static margin on the right side of a chart


Discussion in NinjaTrader

Updated
    1. trending_up 264 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 
firecan's Avatar
 firecan 
sevilla
 
Experience: Intermediate
Platform: Ninja Trader
Trading: futures
Posts: 29 since Nov 2010
Thanks Given: 9
Thanks Received: 3

Hi all, I am trying to force a static margin on the right side of a chart to have an indicator plot both on the main chart and, separately, on the right margin of the chart based on a different time scale.

I wanted to ask if this is possible to achieve and if there are any indicators that you may be aware of that have this functionality, so that I can have as a reference to write my own? Thanks in advance

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to create dashboard like this one?
Platforms and Indicators
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
What You Know vs How much you know about it
Traders Hideout
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
ApexTraderFunding.com experience and review
141 thanks
1 Minute Man
64 thanks
HumbleTraders next chapter
35 thanks
GFIs1 1 DAX trade per day journal
24 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
23 thanks
  #2 (permalink)
 sg72 
Orange County, CA, USA
 
Experience: Intermediate
Platform: NinjaTrader, Fidelity ATP
Trading: ES/NQ/RTY, Equity ETFs, Options
Posts: 60 since Sep 2018
Thanks Given: 44
Thanks Received: 48


firecan View Post
Hi all, I am trying to force a static margin on the right side of a chart to have an indicator plot both on the main chart and, separately, on the right margin of the chart based on a different time scale.

I wanted to ask if this is possible to achieve and if there are any indicators that you may be aware of that have this functionality, so that I can have as a reference to write my own? Thanks in advance

I don't quite understand what you mean by "based on a different time scale", but what you're asking regarding drawing on the right margin can be done, although you'll need to do some custom rendering using OnRender & SharpDX. The standard plot functionality (invoked using AddPlot) will give you the standard plots that line up with price bars. Then you can use custom rendering on the right side margin. Should be pretty straight forward to do short horizontal line stub(s) on the right margin. You can look at the code for NT's builtin Pivots indicator as an example. If you want to do something fancier like actual plots with changing levels, that would require some extra work, but definitely doable.

Reply With Quote




Last Updated on June 9, 2024


© 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