NinjaScript Workaround - NinjaTrader Programming | futures io social day trading
futures io futures trading

NinjaScript Workaround
Updated: Views / Replies:427 / 1
Created: by JGSmith Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Thread Tools Search this Thread

NinjaScript Workaround

  #1 (permalink)
Elite Member
Duisburg, Germany
Futures Experience: Intermediate
Platform: TWS, NinjaTrader, MT4
Broker/Data: FXCM, Interactive Brokers, Oanda
Favorite Futures: Forex
Posts: 129 since Aug 2013
Thanks: 55 given, 44 received

NinjaScript Workaround

I am trying to come up with a NinjaScript work around and think that I may have an idea and want to know if anyone can confirm if this would work or not.

The goal is that NinjaScript would only be used to 1.) place entry, stop, and limit orders & 2.) remove pending entry orders after a particular time.

If the entry orders are triggered, then the trade could stay active for several days - thus the stop & limit orders would be pending for several days as well.

I do not want NinjaScript to update the pending stop & limit orders on the following days as it would when new trades are placed.

According to the help files (NinjaTrader Version 7), NinjaScript will take an active role in the pending orders again when the program is restarted.

Therefore, here is my thought for a workaround.

Also, according to the help files: A previously generated order is considered to match an active strategy order when the order action, order type, quantity, limit price, and stop price are exactly identical.

With this in mind, could I close NinjaTrader and then manually change the stop & limit orders by 0.5 pips. At this point, the order on the TWS server would not be exactly the same as what is in the NinjaScript strategy and therefore, would NinjaScript ignore those orders and leave them be? Would NinjaScript try to delete those orders?

Thanks for your help!!

Reply With Quote
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


futures io > > > > > NinjaScript Workaround

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

July Journal Challenge - $500 in Amazon Gift Cards!


AXESS Trader: Powerful Cloud Based Trading Platform w/GFF Brokers

Jul 17

TBA: FuturesTrader71 w/Morad Askar

Elite only

Similar Threads
Thread Thread Starter Forum Replies Last Post
Workaround for no continuous contract data? BenosBanderos IB Trader Workstation 8 December 1st, 2015 08:21 AM
Easy Language Workaround minntabo TradeStation 3 November 24th, 2013 02:21 PM
EasyLanguage to NinjaScript - example tomas262 NinjaTrader Programming 2 July 10th, 2013 11:12 AM
Workaround code for more accurate backtesting quantismo Elite Automated NinjaTrader Trading 11 October 1st, 2012 11:58 PM
Ninjascript How TO spinnybobo NinjaTrader Programming 2 October 29th, 2009 10:34 AM

All times are GMT -4. The time now is 07:26 PM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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.
no new posts
Page generated 2018-07-17 in 0.09 seconds with 14 queries on phoenix