Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

VolumenAsk and VolumenBid for custom bars without using of volumetric bars

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

    VolumenAsk and VolumenBid for custom bars without using of volumetric bars

    Hi,

    i want create a specific custom bar.

    An new bar sould be formed, if a Delta-Value is equal or greater than a parameter...e.g. 500..

    But in the function OnDataPoint(..) there is no Parameter like VolumenAsk or VolumenBid.

    it should be work with any tick-based bartype.

    Any Idea ?


    #2
    Hello DerMarienheider,

    Thanks for your post.

    Getting the ask volume and bid volume from a custom bar type is not supported.

    In strategies and indicators this can obtained (from OnMarketData), and in addons this can be obtained from a pair of BarsRequests, however BarsType scripts, which we do not support calling a BarsRequest within, would not have a supported abillity for this.​

    A similar inquiry was made in the forum thread below. Some undocumented and unsupported tips were provided.
    https://ninjatrader.com/support/foru...76#post1095176

    Let me know if I may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    41 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    28 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    45 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    37 views
    0 likes
    Last Post CarlTrading  
    Working...
    X