NexusFi: Find Your Edge


Home Menu

 





Need risk management add for NT8


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Seanjohn814 with 6 posts (0 thanks)
    2. looks_two planetkill with 5 posts (0 thanks)
    3. looks_3 michael94 with 4 posts (0 thanks)
    4. looks_4 sam028 with 3 posts (2 thanks)
    1. trending_up 9,192 views
    2. thumb_up 3 thanks given
    3. group 9 followers
    1. forum 24 posts
    2. attach_file 1 attachments




 
Search this Thread

Need risk management add for NT8

  #21 (permalink)
 Seanjohn814 
Charlotte, NC USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: S&P Futures
Posts: 7 since Jan 2022
Thanks Given: 0
Thanks Received: 0


planetkill View Post
Glad I could help!

For some reason it is still only working on one sim account. I added another for testing and it is not working on that one but it is working on my other one. I hit F5 multiple times but it is only working on the one account. I tried removing it and adding it back while my 2nd sim account is active and it still only works on my 1st sim account.

Very perplexing. Is anyone aware of a way that I could hardcode my main live account into the code to get it to work properly?

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
ZombieSqueeze
Platforms and Indicators
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #22 (permalink)
 planetkill 
New York City + NY/United States
 
Posts: 356 since Sep 2018
Thanks Given: 108
Thanks Received: 311


Seanjohn814 View Post
For some reason it is still only working on one sim account. I added another for testing and it is not working on that one but it is working on my other one. I hit F5 multiple times but it is only working on the one account. I tried removing it and adding it back while my 2nd sim account is active and it still only works on my 1st sim account.

Very perplexing. Is anyone aware of a way that I could hardcode my main live account into the code to get it to work properly?

Perhaps reloading Ninjascript doesn't change the State either.

Could you try to Reload Historical Data in the right click menu instead?

The docs say "Reloading historical data refreshes the UI which will force the NinjaScript object to re-transition to real-time", so it sounds like that might call the OnStateChanged function.

Reply With Quote
  #23 (permalink)
 Seanjohn814 
Charlotte, NC USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: S&P Futures
Posts: 7 since Jan 2022
Thanks Given: 0
Thanks Received: 0



planetkill View Post
Perhaps reloading Ninjascript doesn't change the State either.

Could you try to Reload Historical Data in the right click menu instead?

The docs say "Reloading historical data refreshes the UI which will force the NinjaScript object to re-transition to real-time", so it sounds like that might call the OnStateChanged function.

Thank you - I will try this

Reply With Quote
  #24 (permalink)
 Liberty88 
Chicago, USA
 
Experience: Intermediate
Platform: Ninja. trying Sierra...
Broker: Ninja, Stage 5 for Sierra
Trading: Futures: ES, CL, GC
Posts: 41 since Nov 2021
Thanks Given: 11
Thanks Received: 46

Hello NT Users,

There are now (since March 2023) built-in Risk Management Settings for NinjaTrader.

I just learned of this today. Please see my thread which explains in detail:

Reply With Quote
  #25 (permalink)
joergky
Berlin, Germany
 
Posts: 9 since Jun 2023
Thanks Given: 8
Thanks Received: 5

I am also using Apex - PropTrader Accounts with my NinjaTrader.

I would very much need a Daily Loss Limit for my accounts, been looking all over the place for it. The Ninjatrader Risk Management does not work for me, as I do not have NinjaTrader Brokerage.

Is this .cs file stil valid - posted earlier in this threat?
Anybody got it to work properly or made some changes to adapt to the new versions of NT8?

Best

Reply With Quote




Last Updated on June 17, 2023


© 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