Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Net Change based off a price of choice

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

    Net Change based off a price of choice

    Hello,

    Basically, as the tittle suggest, I want to modify the net change indicator so it displays, in ticks, the net change or delta between a selected price and the current price.

    The way I want this to work is so every time I press a hot key, the price reference taken for the net change is the current market price.

    I.E. in ES: market trading at 3750, I press a hot key and this price is now the reference point from which the net change will count, so if it now trades 3752 then net change shows +8 ticks.



    The complicated part would be to "reset" the net change reference point each time I press a hot key I guess. This also needs to happen on all the instruments inclulded within market analyzer.

    Can you guys instruct me on how I can modify the indicator to accomplish this?

    #2
    Hello Lukebaires,

    Capturing keypresses would start to fall outside of what is supported by NinjaTrader support, but there is an example of this I can link in an indicator.


    I would see an issue with this in the MarketAnalyzer but I would not have any further suggestions. I'm not certain about capturing keypresses in the market analyzer.

    The NetChangeDisplay indicator included with NinjaTrader can provide some example logic. You can save a price to a class level double variable.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    35 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    12 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    18 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    20 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X