![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Mar 2012
Location: DFW, TX
Posts: 40
Thanks: 3
Thanked 7 times in 4 posts
|
I have a strategy that enters the market via Limit Order at a moving average.
As the strategy is set to calculate on each tick, it appears the strategy is constantly canceling an order then reentering it - even though the limit price has not changed Is this normal? Is there a way to stop this from happening? if (Signal[1] > 0 && Close[0] >= KeltnerEMAChannelTrend(4, 1.5, 21).Midline[0] ) if(Position.MarketPosition == MarketPosition.Flat) // allows only 1 trade per direction EnterLongLimit(1,KeltnerEMAChannelTrend(4, 1.5, 21).Midline[0], "ZLRe1"); |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strategy with ATM and cancelling non-filled order at bar close | Baseheadz | Strategy Development | 4 | 08-11-2011 01:37 PM |
| Order not cancelling | kaywai | Strategy Development | 2 | 05-08-2011 03:03 AM |
| Strategy - Limit Order Not Cancelling | JayJoshi | Strategy Development | 7 | 03-17-2011 05:41 AM |
| Order Cancelling | occam | General Programming | 5 | 12-08-2010 08:30 AM |
| Error canceling and replacing a stop limit order | ppperkins | Strategy Development | 1 | 01-22-2010 02:43 PM |