NexusFi: Find Your Edge


Home Menu

 





NT7 - TrendLine Alert


Discussion in NinjaTrader

Updated
    1. trending_up 6,116 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?
Datafeed for Atas
Platforms and Indicators
Iran Lebanon Problem Kills Switzerland Talks, Brent at $ …
Prediction Markets & Event Contracts
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
Ninjatrader users - good CONNECTIONs post and article fr …
NinjaTrader
Czechia Live at 52.5% as England Rides 4-2 Wave to Co-Fa …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Afternoon-close session
1 thanks
Franks Trading Journey
1 thanks
Denied 20K payouts: Alpha Futures
1 thanks
FootPrintV2 Chart for NT8
1 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