NexusFi: Find Your Edge


Home Menu

 





NT7 - TrendLine Alert


Discussion in NinjaTrader

Updated
    1. trending_up 6,235 views
    2. thumb_up 9 thanks given
    3. group 3 followers
    1. forum 2 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
 TraderSU 
New York
 
Experience: Intermediate
Platform: NinjaTrader, Custom Platform
Broker: IB
Trading: ES, YM, Currency Futures
Posts: 79 since May 2010
Thanks Given: 46
Thanks Received: 75

I could not find anything for alerting indicator based on TL(s).

Found one commercial version here but it is insanely priced.

Any suggestions?

Thanks,


Follow me on X Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My Rant with AMP Futures
Trading Reviews and Vendors
Building a free browser DOM/SMC simulator - need some ad …
Platforms and Indicators
Bitcoin’s 2022 low, 2025 high and 2026 low so far arou …
Cryptocurrency
What we know about Binances $6.3bn hack - BBC News
Cryptocurrency
[WTS] ATAS Lifetime ULTRA license – EU buyers only – …
Platforms and Indicators
 
  #2 (permalink)
 
learning0101's Avatar
 learning0101 
Houston, Texas
 
Experience: Intermediate
Platform: NinjaTrader,TOS
Broker: NT, schwab
Trading: stocks,options,futures,forex
Frequency: Every few days
Duration: Never
Posts: 291 since Aug 2011
Thanks Given: 3,643
Thanks Received: 224

Hi TraderSU,
Maybe you can make this work for you, found in NT support forum.


Attached Files
Elite Membership required to download: LineAlert.zip
Reply With Quote
  #3 (permalink)
 TraderSU 
New York
 
Experience: Intermediate
Platform: NinjaTrader, Custom Platform
Broker: IB
Trading: ES, YM, Currency Futures
Posts: 79 since May 2010
Thanks Given: 46
Thanks Received: 75


Here you go. Enjoy...

It generates the alert when a Solid ExtendedLine or Solid HorizontalLine is touched. It re-arms itself when price goes away from TL (controlled by ReArmTick - default 20).

Currently the alerts are initialized when indicator is added. Any newly drawn TL or changes to TL are not effective until indicator is remove and re-add. Please suggest if you know how to improve it and make near real-time.

Please excuse me if your suggestion is around iterating over DrawObjects on every tick. I don't want to do that for performance reasons...

Thanks,


Attached Files
Elite Membership required to download: MyTrendlineAlert.cs
Follow me on X Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on January 24, 2012


© 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