![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Aug 2012
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
|
In condition builder of the strategy setup, how do I specify 1 indicator to be bigger by a specific value than the other at crossabove?
Example: EMA to crossabove SMA, and at this state to enter long only when EMA value gets bigger than SMA value by 1.75 Thank you |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
|
Hello,
Thanks for the note. http://www.ninjatrader.com/support/h...on_builder.htm To do this you would use an offset and review the instruction How to offset an item value section. On the SMA you would use an offset tick mode and put in 7 ticks if this is the ES for example. -Brett
Brett
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Aug 2012
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
|
Thank you for your reply, but I still cannot get it to work. I tried everything that I can think of with the offset option and it does not give me what I'm looking for. The instructions are very vague and don't offer more detailed explanations.
At the crossabove, if EMA value is 2770.90 and SMA value is 2770.70, that is a difference of 0.2. In order to prevent any premature entries, I need to tell Ninja not to enter me until this difference is 1.7 or more. How do I accomplish this? |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
|
Hello,
No problem I went through and set it up I see hwhere you are running into issue. CrossAbove and CrossBelow you cannot use with an offset in the strategy wizard. You would need to do this with the >= condition to allow the offset. Please see this screenshot.
Brett
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using a bigger chart for calculation | richbois | Strategy Development | 9 | 02-09-2012 01:02 PM |
| Indicator that alerts me when candle is 5 pts or bigger | wallsteetking | Indicator Development | 1 | 02-11-2011 02:54 AM |
| NT v7.0.1000.1 Global horizontal lines become vertical line on bigger timeframe | hcgaloi | Charting | 14 | 12-09-2010 06:59 AM |
| Draw Bigger Dot | xewoox | General Programming | 1 | 01-27-2009 01:02 PM |
| Daily and bigger intervals not working | skynetman | Charting | 4 | 03-28-2008 12:49 PM |