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

Diffrent intervals on one chart (BOX effect)

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

    Diffrent intervals on one chart (BOX effect)

    Hi,
    Is there any posibility to put daily chart on smaller time frame to get a result as in section B:
    a) eurusd 30min + eurusd 1440m BOX (normal configuraction)


    b) desired effect:



    I would like to see the shadows of the candles on the selected interval, to see where the price was but failed to keep. The width of the candles, which are imposed is proportional to the number of candles on a smaller interval.

    For example, the MetaTrader 4 has indicator Custom Candle:


    In Ninja Trader the BOX effect is only: HIGH + LOW.
    Is it possible to achieve BOX: HIGH + LOW + OPEN + CLOSE/actual price ?

    Regards,
    inmax.
    Attached Files

    #2
    Hello InMax,

    That's a nice effect. Unfortunately there's no way to configure NinjaTrader to display box candles like this. I will forward as feature request for consideration in a future release. It may be possible with custom programming but we can't assist with the specific implementation.

    You might try something like:
    • DrawRegion() between the session Open and Close to shade.
    • Count the number of bars since session and draw a vertical line at midpoint of these bars, from session low to high.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thanks. I found this indicator: Richard's VirtualBars.
      this is what I have in mind ooohhh... I see what you mean now. Well, you could track an offset that you'd apply to all the subsequent bars, and modify the offset each session... and then adjust the plot mechanism so that it scales the visible range to plot on-screen at all times... but at that point the virtual bars and the real ones could be at very different prices (especially if your chart has several days of data on it, with several gaps to adjust away). I'd be willing to help anyone that wanted …
      Attached Files

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by wzgy0920, 04-20-2024, 06:09 PM
      2 responses
      26 views
      0 likes
      Last Post wzgy0920  
      Started by wzgy0920, 02-22-2024, 01:11 AM
      5 responses
      32 views
      0 likes
      Last Post wzgy0920  
      Started by wzgy0920, Yesterday, 09:53 PM
      2 responses
      49 views
      0 likes
      Last Post wzgy0920  
      Started by Kensonprib, 04-28-2021, 10:11 AM
      5 responses
      192 views
      0 likes
      Last Post Hasadafa  
      Started by GussJ, 03-04-2020, 03:11 PM
      11 responses
      3,235 views
      0 likes
      Last Post xiinteractive  
      Working...
      X