NexusFi: Find Your Edge


Home Menu

 





NT8 Strategy ATR STOP and TARGET


Discussion in NinjaTrader

Updated
    1. trending_up 1,672 views
    2. thumb_up 2 thanks given
    3. group 4 followers
    1. forum 1 posts
    2. attach_file 1 attachments




 
Search this Thread

NT8 Strategy ATR STOP and TARGET

  #1 (permalink)
 felgab 
Montreal, Quebec
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Futures
Posts: 15 since Jul 2011
Thanks Given: 9
Thanks Received: 5

Hi, I would like to see if someone could help me to put me on the track to get a dynamic TARGET and a STOPLOSS in a strategy with NinjaTrader 8. To get an exemple. I can build a strategy with VARIABLES and ENTRY with STRATEGY BUILTDER, but concerning a Dynamic TARGET and the STOPLOSS, it is another story. I am not looking for a trailing stop, but something like if High(0) > (Entry + (ATR(14) * 3.5)).
I know that we need to unlock script and use the code in the OnBarUpdate region but I do not know how.
Let me know if someone can help me. Thanks,

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
REcommedations for programming help
Sierra Chart
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
41 thanks
Just another trading journal: PA, Wyckoff & Trends
30 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
21 thanks
  #2 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,175
Thanks Received: 6,020

Download this indicator (Formula indicator):


Enter this formula as condition for a long in Strategy builder :


The formula is:
@"VALUE(EMA(50),0)+VALUE(ATR(14),0) *3.5"

Reply With Quote
Thanked by:




Last Updated on November 12, 2021


© 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
no new posts