NexusFi: Find Your Edge


Home Menu

 





Coding problems


Discussion in NinjaTrader

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




 
Search this Thread

Coding problems

  #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?
How to apply profiles
Traders Hideout
MC PL editor upgrade
MultiCharts
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
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?
23 thanks
GFIs1 1 DAX trade per day journal
17 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,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709


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 Twitter 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,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709



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 Twitter Visit my NexusFi Trade Journal Reply With Quote




Last Updated on August 27, 2015


© 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