NexusFi: Find Your Edge


Home Menu

 





how to attach stop order to trend line made to look like Indicator


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Suraj with 4 posts (0 thanks)
    2. looks_two trendisyourfriend with 2 posts (1 thanks)
    3. looks_3 selion89 with 2 posts (1 thanks)
    4. looks_4 Rad4633 with 1 posts (2 thanks)
      Best Posters
    1. looks_one Darvish with 2 thanks per post
    2. looks_two Rad4633 with 2 thanks per post
    3. looks_3 trendisyourfriend with 0.5 thanks per post
    4. looks_4 selion89 with 0.5 thanks per post
    1. trending_up 1,881 views
    2. thumb_up 6 thanks given
    3. group 5 followers
    1. forum 9 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 Suraj 
Boston, MA/USA
 
Experience: Intermediate
Platform: Ninja Trader
Trading: ES, MES
Posts: 21 since Aug 2012
Thanks Given: 65
Thanks Received: 3

In NT8 once I have a position entered using ATM I can link the stop to an indicator,
but I cannot attach it to say a trend channel.
How to generate an indicator which follows say the bottom (or top) of a trend channel such
that I can link the stop order to it? TIA


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
GDP Day: The First Economic Reckoning -- Pahlavi at 6.55 …
Prediction Markets & Event Contracts
Warsh Confirmed 54-45 on PPI Day -- 97% Say He Holds in …
Prediction Markets & Event Contracts
Hormuz Normalization Collapses to 19.5% -- Iran Regime F …
Prediction Markets & Event Contracts
Pakistan Mediator in Tehran as Hormuz Normalization Coll …
Prediction Markets & Event Contracts
The Feds Stagflation Trap -- Negative Payrolls, $91 Oil, …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
23 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
  #2 (permalink)
selion89
New York City
 
Posts: 18 since Apr 2025
Thanks Given: 0
Thanks Received: 7

Ah yes, the classic “I drew the line, now why won’t NinjaTrader trade it?” dilemma. We've all been there.


Reply With Quote
  #3 (permalink)
 Suraj 
Boston, MA/USA
 
Experience: Intermediate
Platform: Ninja Trader
Trading: ES, MES
Posts: 21 since Aug 2012
Thanks Given: 65
Thanks Received: 3



selion89 View Post
Ah yes, the classic “I drew the line, now why won’t NinjaTrader trade it?” dilemma. We've all been there.

So how to do it - has it been discussed any where on this site or any other pointers?
TIA


Started this thread Reply With Quote
  #4 (permalink)
selion89
New York City
 
Posts: 18 since Apr 2025
Thanks Given: 0
Thanks Received: 7

You’ll need to code it as an indicator first.


Reply With Quote
Thanked by:
  #5 (permalink)
 Suraj 
Boston, MA/USA
 
Experience: Intermediate
Platform: Ninja Trader
Trading: ES, MES
Posts: 21 since Aug 2012
Thanks Given: 65
Thanks Received: 3

Hi Selion89,

thanks,

next question how to pick the starting point of the trend line in indicators - any example code for mouse handling,

also how start trend line plot at current bar, and how to limit the plot to "n" bars, so as to be like other indicators which plot on all bars.

(If one can do the above it should be clear how to generate parallel trend line of channel and plot.)

TIA

suraj


Started this thread Reply With Quote
  #6 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Legendary Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,580 since Oct 2009
Thanks Given: 4,266
Thanks Received: 6,199


Suraj View Post
In NT8 once I have a position entered using ATM I can link the stop to an indicator,
but I cannot attach it to say a trend channel.
How to generate an indicator which follows say the bottom (or top) of a trend channel such
that I can link the stop order to it? TIA


I did one indic. that could do this for NT:


I don't know if it still works with the current version of NT but when i did it it worked as described.


Reply With Quote
Thanked by:
  #7 (permalink)
 
Rad4633's Avatar
 Rad4633 
Greensboro NC
Market Wizard
 
Experience: Advanced
Platform: TOS/ NT Dorman
Trading: ES TF CL
Posts: 1,361 since Sep 2011
Thanks Given: 2,681
Thanks Received: 899


trendisyourfriend View Post
I did one indic. that could do this for NT:


I don't know if it still works with the current version of NT but when i did it it worked as described.

Remember VVHG floating trade panel? Do you remember who converted it to NT8? it had trailing stops you could select from the panel like a MA, etc....Ive been trying to search threads to find it but havent been able to locate it


Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #8 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Legendary Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,580 since Oct 2009
Thanks Given: 4,266
Thanks Received: 6,199


Rad4633 View Post
Remember VVHG floating trade panel? Do you remember who converted it to NT8? it had trailing stops you could select from the panel like a MA, etc....Ive been trying to search threads to find it but havent been able to locate it

I do remember it but would be unable to tell who converted it. Sorry !


Reply With Quote
  #9 (permalink)
 
Darvish's Avatar
 Darvish 
New York
 
Experience: Beginner
Platform: NinjaTrader
Broker: NinjaTrader
Trading: Futures
Frequency: Every few days
Duration: Years
Posts: 176 since Mar 2023
Thanks Given: 168
Thanks Received: 141

Isnt this is a default Ninja Trader option. Right click on the Stop order, and you’ll see the option to attach it to an indicator.


Chaos at one level of magnification is harmony at a higher level of magnification.
Reply With Quote
Thanked by:
  #10 (permalink)
 Suraj 
Boston, MA/USA
 
Experience: Intermediate
Platform: Ninja Trader
Trading: ES, MES
Posts: 21 since Aug 2012
Thanks Given: 65
Thanks Received: 3



Darvish View Post
Isnt this is a default Ninja Trader option. Right click on the Stop order, and you’ll see the option to attach it to an indicator.

True, that is what Selion89 was pointing out to me. My trend lines were drawn using the NT8 trend line drawing tool and so I needed to use an "indicator" which would draw the trend lines....


Started this thread Reply With Quote




Last Updated on July 13, 2025


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