Developing Basics of a Strategy - Order Management Commands - NinjaTrader Programming | futures io social day trading
futures io futures trading


Developing Basics of a Strategy - Order Management Commands
Updated: Views / Replies:1,512 / 0
Created: by zeller4 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 90,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

Reply
 
Thread Tools Search this Thread
 

Developing Basics of a Strategy - Order Management Commands

  #1 (permalink)
Elite Member
Florida
 
Futures Experience: Intermediate
Platform: NT7
Favorite Futures: CL, NQ, NG
 
Posts: 456 since Jun 2009
Thanks: 1,359 given, 383 received

Developing Basics of a Strategy - Order Management Commands


Elliott Wave View Post
Everything I have ever done I learned from simple indicator 'tweaks'.

I think sharing your knowledge in this area could be very helpful. My biggest tip is just to study existing indicators and if there is a tweak you want to make to an indicator, find one that already has the desired functionality and 'hack it in'.

While often frustrating, 'hacking stuff together' can be quite rewarding and when you hit a snag, the fact that NT uses C# means there are plenty of educational resources available.

The way I see it, if I can create useful indicators (if not the most I have close to the most indicators shared in the NT file sharing section) with almost no programming skill/knowledge, anybody can do it! The easier it is for novice programmers to get over the initial hurdle of believing they can create something useful, the more the larger NT community benefits.


Hi Elliott Wave,
I've often looked at your shared indicators on NT forum and appreciate your contributions.

Now I've been working with the various sample strategies. As you know, they demonstrate various functions separately (ie intrabar entries/exits, daily stop / profit goals, exit on session closes, moving or trailing stops, etc.). I'm wondering if you have some strategy templates that encompass several of these features that you've shared or are willing to share. I'm not even looking for specific rules that would make a strategy 'proprietary' but rather how a basic_ma_crossover could be enhanced to show and work within several functions. See the template I've started:
 
Code

////////////////////////////////////////////////////////////
// /// FUNCTIONS /////////////////
privatevoid PrintState()
{
Print("//////////////////////////////////");
Print("_A_1_Strategy_Template_v00");
Print("TradeState: " +tradeState);
Print("TradePhase: " +tradePhase);
Print("TradeNumber: " +tradeNumber);
Print("Position.AvgPrice" +Position.AvgPrice);
return;
} 

privatevoid LongTrendTrade()//This function will put you in a long trade if you were flat
{
}
privatevoid ShortTrendTrade()//This function will put you in a short trade if you were flat
{

}
privatevoid LongScalpTrade()//This function will put you in a long trade with tighter targets / stops
{
}
privatevoid ShortScalpTrade()//This function will put you in a short trade with tighter targets / stops
{
}
privatevoid LongTrail()//This function will allow a trailing stop to be placed after achieving a certail profit level
{
}
privatevoid ShortTrail()//This function will allow a trailing stop to be placed after achieving a certail profit level
{
}
privatevoid LongTightenStop()//This function will move the protective stop based on some retracing signal
{
}
privatevoid ShortTightenStop()//This function will move the protective stop based on some retracing signal
{
}
privatevoid ExitPosition()//This will exit the position (normally as an emergency stop)
{
ExitLong();
ExitShort();
}
Appreciate any advice or direction you could give.
Thanks,
Kirk (zeller4)


Last edited by zeller4; July 18th, 2009 at 09:00 AM.
Reply With Quote

Reply



futures io > > > > > Developing Basics of a Strategy - Order Management Commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Combined auto-entry and manual-exit strategy as a money management device nanobiotech Psychology and Money Management 10 January 31st, 2015 08:51 AM
Trade management strategy wanted visounds NinjaTrader Programming 6 July 27th, 2011 09:01 AM
Order Management togier Traders Hideout 4 April 10th, 2011 01:25 PM
OCO Entry Order from Strategy decs0057 NinjaTrader Programming 1 March 24th, 2010 03:48 PM
Order Management Strategy Rohok NinjaTrader Programming 4 January 26th, 2010 01:16 AM


All times are GMT -4. The time now is 06:24 PM.

Copyright © 2017 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
Page generated 2017-12-18 in 0.08 seconds with 20 queries on phoenix via your IP 54.221.93.187