As most of you know, NT will not allow 2 resting orders. Why this is the case God only knows. I did receive a horribly difficult to understand work around from NT support. But, as always, am looking for the easy way out.
HERE'S WHAT I WANT TO DO: Place a resting BUY order a few ticks above the opening range and a resting SELL order a few ticks below. The only thing I can figure out is to rest one order and, if it goes the other way, manually fill the other. But I would like to somehow get it automated.
Does anyone have the answer to this delima? I thank you in advance!!!
You should be able to to place multiple resting orders anywhere using 'Unmanaged' orders because they bypass the NT internal order entry rules. But you will have to code the associated order management yourself.
The following user says Thank You to monpere for this post:
This is a feature built into the LOM project. One of the main reasons I developed it. Somewhere there was a discussion you might be able to do a similar thing with Managed but I think they had to be sent as OCO pairs or they would be rejected by NT or your Broker.
There is a Wiki as well. I have set a goal of this project to expose complex orders and order management features to less experience programmers. This system is far from debugged and of course it is still under development. I will bring your attention to the following function:
publicbool GoMarketBracket(int m_SharesTraded,int m_TickBuffer,int m_PositionNumber)
publicbool GoMarketBracket(int m_SharesTraded,double low,double high,int m_PositionNumber)
This will create an unmanaged OCO order which triggers a Market order to buy/sell depending upon the trigger. I will likely update this later so you can setup a Limit on the order rather than market.
If you use this system, be careful and test it extensively before risking real money.
There is a system seller named Markus Heikotter who hawks a "Seahawk" scalp method. I once saw one of his promotional videos and it is, basically, a resting long a tick above the current bar and resting short a tick below (oco). He placed these resting orders with a single click. I don't know if this was proprietary but he was running Trade Navigator. I just went to the TG site and their platinum edition ($2495) has a feature called "next bar open" which sounds, sort of, what we're looking for. Don't know if this is any help at all but may be wroth investigating.
Just took a cursory look at the docs, that seems like pretty complicated coding. How about having an interface that just duplicates the standard NT methods like EnterLong(), EnterShortStopLimit(), etc. That way it hides the complexities of the system, and presents an interface that is already familiar to the user, similar to how gomi has GomInitialize(), GomOnBarUpdate(), etc.
Last edited by monpere; March 18th, 2012 at 11:54 AM.
Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.
Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.
If you want to support our community, become an Elite Member.
The following user says Thank You to Big Mike for this post: