NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Strategy Analyzer

Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer.

Reply
 
Thread Tools Display Modes
Old 04-24-2010, 09:38 AM   #1
pmginvest
Junior Member
 
Join Date: Apr 2010
Posts: 1
Thanks: 0
Thanked 0 times in 0 posts
Default Getting started with a SIMPLE strategy

Hello and thanks in advance for helping a rookie.

I would like to test a strategy for use on a single stock that would:

A. Enter a long position upon a move of 1.75% above the low since the last action.

B. Exit that position if the stock falls 2.5% off of the high.

Then the cycle starts over again.

To illustrate:

Strategy starts April 1st with the stock at $100. It moves up to $101.75 which would trigger the entry of a long position. The stock continues over the next 10 days to rise to $115 (without correcting more than 2.5% at any time off of the high) and then finally moves down to $112.12 (a 2.5% correction). This would trigger the exit from the position.

As soon as the stock moves back up 1.75% from any new low that was created, the cycle starts again.

Can I do this?

Thanks again for your help.

Pete
Last edited by pmginvest; 04-24-2010 at 01:59 PM. Reason: Error
pmginvest is offline  
Reply With Quote
Old 04-24-2010, 05:47 PM   #2
NinjaTrader_Ben
NinjaTrader Customer Service
 
NinjaTrader_Ben's Avatar
 
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello,

You would need to program this with custom NinjaScript programming:
http://www.ninjatrader-support.com/H...verview17.html
NinjaTrader_Ben 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
simple strategy help Eddy-2d Strategy Development 1 01-22-2010 10:10 AM
help with simple strategy stephenszpak Strategy Development 18 12-07-2009 07:57 AM
strategy started but nothing on the chart Am851 Charting 1 09-17-2009 12:19 PM
Simple question about a simple strategy. shakira Strategy Development 1 02-14-2009 10:56 AM
Where to do initlization every time the strategy is started (not the Initialize())? Follow Shadan Strategy Development 1 01-23-2009 08:33 AM


All times are GMT -6. The time now is 05:25 PM.