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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-22-2008, 10:16 PM   #1
jason83
Junior Member
 
Join Date: Jan 2008
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
Default Strategy problem...

Hi,

Here is a simplified explanation of a problem I have:

if (Indicator) > (Indicator) [1 bar ago]
Go long

I have profit targets and stop loss targets as well.

My problem is, once I meet my profit target or stop loss and the above conditions are still true it will re enter another long position. I don't want this. I'm wondering if it's possible to not re enter a position until the next signal is a short signal? So it alternates long/short signals and will never go long then long or short then short.
jason83 is offline  
Reply With Quote
 

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
Multi-instrument Strategy - Order Entry problem yot1120 Strategy Development 15 03-23-2008 06:40 PM
Problem with ATM strategy nyctrader ATM Strategies (Discretionary Trading) 3 12-11-2007 10:10 AM
Strategy in real time problem nybangali Strategy Development 9 08-22-2007 12:54 AM
strategy/auto trade problem: stops/etc. initiate upon starting of strategy scriabinop23 Automated Trading 14 05-30-2007 12:29 PM


All times are GMT -6. The time now is 04:26 PM.