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

How to plot Delta, Min Delta and Max Delta ?

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

    How to plot Delta, Min Delta and Max Delta ?

    Hi,
    I would like to ask you for a little help with programming the following indicator. I hope it is not too complicated to code.

    I need:
    Indicator for NT8 that plots 3 lines (Yellow, Red and Green) at the bottom of a chart.

    Calculation of the lines:
    For the calculation you need 3 variables that are: Delta, Min Delta and Max Delta.
    Yellow: Delta
    • Red: (Delta + Min Delta)
    • Green: (Delta + Min Delta + Max Delta)
    • Horizontal line #1: 500 (ideally allowing you to modify the value from the properties)
    • Horizontal line #2: -500 (ideally allowing you to modify the value from the properties)

    Example simulated in Excel.
    Click image for larger version

Name:	Indicator-Delta-Lines.png
Views:	1425
Size:	114.2 KB
ID:	1131700



    I would appreciate being able to integrate the calculation mode for each Tick and also for on bar close. This way I can test it and see which mode is the most convenient.

    Thankful in advance

    #2
    Hello Guille_cl, thanks for writing in.

    We offer the OrderFlow Volumetric bars that will provide bid/ask delta information. It is available to be used in a NinjaScript object. You must have a lifetime license for NinjaTrader 8 to use the OrderFlow suite. There is a full example of accessing data from the bars type here:
    https://ninjatrader.com/support/help...tric_bars2.htm

    In the example, this would be used when the primary series (the bars on the chart) are the Volumetric bars. If you want a secondary volumetric bar series use AddVolumetric.

    Please let me know if I can provide any further information.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by funk10101, Today, 12:02 AM
    0 responses
    3 views
    0 likes
    Last Post funk10101  
    Started by gravdigaz6, Yesterday, 11:40 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by MarianApalaghiei, Yesterday, 10:49 PM
    3 responses
    10 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by XXtrader, Yesterday, 11:30 PM
    0 responses
    4 views
    0 likes
    Last Post XXtrader  
    Started by love2code2trade, 04-17-2024, 01:45 PM
    4 responses
    28 views
    0 likes
    Last Post love2code2trade  
    Working...
    X