NexusFi: Find Your Edge


Home Menu

 





NT7 - TrendLine Alert


Discussion in NinjaTrader

Updated
    1. trending_up 6,036 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?
Iran Lebanon Problem Kills Switzerland Talks, Brent at $ …
Prediction Markets & Event Contracts
Would a node-based workflow for automated trading be useful?
Traders Hideout
Irans Dual Probability: Guns Quiet at 99.95% While Forma …
Prediction Markets & Event Contracts
Iran Update May 8: Still Reviewing MOU, Demands Reparati …
Traders Hideout
Al Arabiya: US-Iran Draft Deal Within Hours Contains Hor …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
10 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
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