NexusFi: Find Your Edge


Home Menu

 





NT7 - TrendLine Alert


Discussion in NinjaTrader

Updated
    1. trending_up 5,950 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?
Hungary Called for Magyar at 97pct, Ending 16-Year Orban …
Prediction Markets & Event Contracts
Powell in 48 Hours: Word Markets Give 78% on Inflation, …
Prediction Markets & Event Contracts
Prediction Markets Expiry Day: Trump Eyes War Exit, $230 …
Prediction Markets & Event Contracts
Weekend Update: First Qatari LNG Transit Attempted -- IR …
Traders Hideout
Bookmap Global Plus Lifetime + Lifetime Addons For Sale
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #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