NexusFi: Find Your Edge


Home Menu

 





Coding problems


Discussion in NinjaTrader

Updated
    1. trending_up 1,756 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
Malqpor
Spain, Saragossa
 
Posts: 6 since Jun 2015
Thanks Given: 0
Thanks Received: 0

Hello,

I have two big issues with ninjatrader.

First of all, I can't add futures. I'm tryng to add e-mini SP600 and the screen keeps being empty. Any of you have the configuration of this future?

Second, if I do something like...
operation=EnterLong(1,operationName);
if(operationSL==null) operationSL=ExitLongStop(SL, operationName);
if(operationSL==null) Log("ERRIR",Cbi.LogLevel.Information);

...it will print the error mensage. ExitLongStop, ExitLongLimit, ExitShortStop and ExitShortLimit keep being ignored in my strategy. With SetStopLoss and SetProfitTarget everything works, but I wanna keep control of the rejection process.

I'm getting pretty desesperate with this, I have been talking with ninja support for days, but I don't get my problem fixed.

Thank you SO much for your help.
Greetings!


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
The Ceasefire Curve: 2pct Peace by Next Week, 60pct by S …
Prediction Markets & Event Contracts
Asia Equities Crash Overnight -- Nikkei -5.2%, KOSPI -6. …
Traders Hideout
Irans Answer Due Today: Peace Surges to 33.5%, Invasion …
Prediction Markets & Event Contracts
CFTC Launches Innovation Task Force for AI Trading Syste …
Traders Hideout
Iran Talks Final Stages -- Two VLCCs Exit Hormuz, Record …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
  #2 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,971 since Jun 2009
Thanks Given: 534
Thanks Received: 3,711


Malqpor View Post
Hello,

I have two big issues with ninjatrader.

First of all, I can't add futures. I'm tryng to add e-mini SP600 and the screen keeps being empty. Any of you have the configuration of this future?

Second, if I do something like...
operation=EnterLong(1,operationName);
if(operationSL==null) operationSL=ExitLongStop(SL, operationName);
if(operationSL==null) Log("ERRIR",Cbi.LogLevel.Information);

...it will print the error mensage. ExitLongStop, ExitLongLimit, ExitShortStop and ExitShortLimit keep being ignored in my strategy. With SetStopLoss and SetProfitTarget everything works, but I wanna keep control of the rejection process.

I'm getting pretty desesperate with this, I have been talking with ninja support for days, but I don't get my problem fixed.

Thank you SO much for your help.
Greetings!

What symbol are you using for the S&P 600? I've never heard of an S&P 600 e-mini.

Also, are you connected to a live datafeed so you can download data for that instrument?


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
Malqpor
Spain, Saragossa
 
Posts: 6 since Jun 2015
Thanks Given: 0
Thanks Received: 0



shodson View Post
What symbol are you using for the S&P 600? I've never heard of an S&P 600 e-mini.

Also, are you connected to a live datafeed so you can download data for that instrument?

PC*1 | Profile for E-Mini S&P Smallcap


Reply With Quote
  #4 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,971 since Jun 2009
Thanks Given: 534
Thanks Received: 3,711



Also, are you connected to a live datafeed so you can download data for that instrument?

Did you check the "Log" tab in Control Center to see if you have any error messages?


Follow me on X Visit my NexusFi Trade Journal Reply With Quote




Last Updated on August 27, 2015


© 2026 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 - Downloads - Top
no new posts