![]() |
|
|||||||
| ATM Strategies (Discretionary Trading) Support for Advanced Trade Management, AutoTrail, AutoBreakeven, Stop Strategy and Simulated Stops etc... |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Aug 2009
Posts: 22
Thanks: 0
Thanked 0 times in 0 posts
|
Can you please help me with this?
The problem is while Exiting the short positions using ExitShort(), the orders are places very high above the market ~ 10 ticks above. I cant locate the problem. I am using Gain connection for Testing this. screenshot attached.
Last edited by bernypaul; 09-08-2009 at 12:30 AM.
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,555
Thanks: 261
Thanked 1,013 times in 994 posts
|
Berny, this is expected as you have to pay the current bid / ask spread when using MarketOrders. The chart you see is based on the bid price only, NinjaTrader 7 will offer more options in this regard - http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Aug 2009
Posts: 22
Thanks: 0
Thanked 0 times in 0 posts
|
Then, how can I determine the least price for which I can buy my instrument? If I can't, I am pushed to buy the instrument at a very high price which will occur in huge loss.
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,555
Thanks: 261
Thanked 1,013 times in 994 posts
|
Berny, the ask is the price for which you can buy the instrument right now (Market Order), if you don't want to pay up to get in, join the bid with a limit order then.
http://www.ninjatrader-support.com/H...LongLimit.html
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Disabling Strategies and Exiting Positions | SystemTrading | Automated Trading | 2 | 11-09-2009 12:56 AM |
| Exiting ATM Strategy Positions | m3power222 | Strategy Development | 2 | 07-23-2009 07:50 AM |
| ExitLong and ExitShort not exiting Positions | laserwolf | Automated Trading | 1 | 01-09-2009 07:28 AM |
| exiting NT and keeping positions/orders | andrewbee | Miscellaneous Support | 1 | 12-10-2008 02:36 PM |
| Problem in Exiting Position | vivienne | Automated Trading | 14 | 04-29-2007 11:32 PM |