NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 02-05-2008, 01:11 PM   #1
gygraham
Member
 
Join Date: Dec 2007
Posts: 35
Thanks: 0
Thanked 0 times in 0 posts
Default Using the Strategizer how do I write the entry EMA & exit using another EMA

I have used the model in the video as to setting up the crossover ema's. In the video the top portion of the strategizer sets the "IF" scenario. The bottom is the "DO". I want to enter using a 5/6 ema pair and once entered exit using a 5/13. Hopefully this will expedite my entries and carry me for longer trades. I don't see how to do that.

I see the "DO" at the bottom of the Strategizer only enters what the "IF" requests, However, I do not see where there is a request to exit using the reversal of the ema's. Enter 5/6 long, exit 5/6 reversal or 5/13 reversal. How do I make the request to exit on reversal?
gygraham is offline  
Reply With Quote
Old 02-05-2008, 01:48 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

- Use "Set2"
- Create a new condition
- Left side select EMA 5 period
- Middle select "CrossBelow"
- Right select EMA 13 period
- Under actions select "ExitLong"

as an example...
NinjaTrader_Ray is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Order entry/exit lines monpere Charting 1 12-23-2007 10:28 AM
Using multiple entry/exit signals simultaneously Learning1 Strategy Development 6 09-18-2007 02:27 PM
Strategy: Using multiple entry/exit signals simultaneously NinjaTrader_Josh Reference Samples 0 09-06-2007 12:56 PM
Where's the horizontal pending, entry and exit lines? Antraman Charting 4 01-12-2007 02:26 AM
order entry/exit Vin Miscellaneous Support 1 06-29-2005 12:10 AM


All times are GMT -6. The time now is 10:27 AM.