NexusFi: Find Your Edge


Home Menu

 



Categories Help    






NinjaTrader 6.5 Strategies
Strategies in this section are compatible with NinjaTrader 6.5


Entries
Avoid Same Bar Whipsaws v1.1 3 *
Exported using NT Version 6.5.1000.14

################################

v 1.1 - modified December 15, 2009

Summary of changes
  1. Changed defaults for targets and stops, after queries indicated that most users were using the default 1 tick while evaluating v1.0, which naturally resulted in 1 bar whipsaws.
  2. Added remarks to better explain the code.
  3. Added notes to initial description, to explain what the strategy does.
################################

Released with no copyright.

It is free to use for any purpose.

This is demonstration of how to set up a strategy that will not whipsaw trades on the same bar as entry. I seemed to have that problem with a lot of the strategies that I wrote that were designed to reverse in the market if conditions reversed, which is why I wrote this, as an example template.

The strategy keeps you always in the market until either:
  1. The profit target is hit; or
  2. The stop loss is hit; or
  3. Market conditions reverse.
Either of the first 2 exit conditions takes you flat; the 3rd condition causes an immediate reversal from long to short, or short to long, as the case may be.

To stay always in regardless, use excessively large stops and targets.

By using this code, you accept all responsibility for any results that may occur. This is not a recommendation to use the code to trade any equity in a live market.

Any investments, trades and/or speculations using this code are made solely at your own risk, financial or otherwise. Results will be dependent on market conditions, timing and your trading style.

If you disagree with these conditions, please do NOT use the code.

########################################################################
!!!!! Translation: You are responsible for your own investment decisions. Not anyone else. YOU !!!!!
########################################################################


To Import
1. Download the attached file to your desktop
2. From the Control Center window select the menu File > Utilities > Import NinjaScript
3. Select the downloaded file


COMPATIBILITY:
NinjaTrader 6.5: YES
NinjaTrader 7.0: NOT TESTED [feedback]


Category NinjaTrader 6.5 Strategies 
 
Suggest other entries I might like
Details: Avoid Same Bar Whipsaws v1.1
Category: NinjaTrader 6.5 Strategies 


December 14th, 2009
Size: 4.15 KB
Downloaded: 508 times
 


 
Category
 




© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top