windows messages to ninjatrader strategy - futures io
futures io futures trading



windows messages to ninjatrader strategy


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one junkone with 2 posts (0 thanks)
    2. looks_two MrYou with 1 posts (1 thanks)
    3. looks_3 sam028 with 1 posts (0 thanks)
    4. looks_4 monpere with 1 posts (0 thanks)
    1. trending_up 1,841 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

 
Search this Thread
 

windows messages to ninjatrader strategy

(login for full post details)
  #1 (permalink)
toronto,ontario
 
 
Posts: 5 since Dec 2009
Thanks: 0 given, 0 received

I am looking for ways to communicate with the ninjatrader starategy and i came accross windows messages.

ryanfarley.com/blog/archive/2004/05/10/605.aspx. i cannot post the entire url as i am new to this forums

Communication between applications via Windows Messages

I am trying to see if i can try it in NT strategy. can anyone share clues on how to implement it. i can do the legwork and share the results.

Reply With Quote

Can you help answer these questions
from other members on futures io?
Short Interest Ratio indicator?
ThinkOrSwim
What blockvolume is visible? - order processing
NinjaTrader
Which kind of Blockvolume is visible? - order processing
Emini and Emicro Index
Reading A set of Trading Signals
EasyLanguage Programming
Webinar: Finding your own way in trading w/Adam Grimes
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Battlestations: Show us your trading desks!
111 thanks
Selling Options on Futures?
109 thanks
Rank your Futures vs Stocks trading priority
37 thanks
Want your NinjaTrader indicator created, free?
26 thanks
Bitcoin storage wallet recommendations
18 thanks
 
(login for full post details)
  #2 (permalink)
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,338 received


junkone View Post
I am looking for ways to communicate with the ninjatrader starategy and i came accross windows messages.

ryanfarley.com/blog/archive/2004/05/10/605.aspx. i cannot post the entire url as i am new to this forums

Communication between applications via Windows Messages

I am trying to see if i can try it in NT strategy. can anyone share clues on how to implement it. i can do the legwork and share the results.

Are you trying to pass messages from an NT Indicator to a Strategy, or from an external windows program to an NT Strategy?

Reply With Quote
 
(login for full post details)
  #3 (permalink)
toronto,ontario
 
 
Posts: 5 since Dec 2009
Thanks: 0 given, 0 received


external windows program to NT.
basically simple stuff like
1. close half position etc so the strategy can continue doing it and execute instructions from outside.

Reply With Quote
 
(login for full post details)
  #4 (permalink)
NC, USA
 
Experience: None
Platform: None Yet
Trading: Guitar
 
MrYou's Avatar
 
Posts: 403 since Jun 2011
Thanks: 618 given, 196 received

Just have "program A" create a file in the NinjaTrader 7\tmp directory. Then have "program B" look for the file in the tmp file. If you need to pass any info you can do so via the text file, but use the filename to specify which strategy should be watching the file.

In the past I've used the time frame and instrument name as part of the filename so this can be easily passed along via the NinjaTrader (using the instrument or timeframe variable set via strategy/indicator). I used this method in order to implement a simple method of communication from one strategy to another.

Reply With Quote
The following user says Thank You to MrYou for this post:
 
(login for full post details)
  #5 (permalink)
Site Moderator
 
 
sam028's Avatar
 
Posts: 3,665 since Jun 2009
Thanks: 3,787 given, 4,494 received


MrYou View Post
Just have "program A" create a file in the NinjaTrader 7\tmp directory. Then have "program B" look for the file in the tmp file. If you need to pass any info you can do so via the text file, but use the filename to specify which strategy should be watching the file.

In the past I've used the time frame and instrument name as part of the filename so this can be easily passed along via the NinjaTrader (using the instrument or timeframe variable set via strategy/indicator). I used this method in order to implement a simple method of communication from one strategy to another.

The simplest solutions are the best, unless having some very specific needs, using simple files is the way to go.

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > windows messages to ninjatrader strategy


Last Updated on July 31, 2012


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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