NexusFi: Find Your Edge


Home Menu

 





NT7 - TrendLine Alert


Discussion in NinjaTrader

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




 
Search this Thread

NT7 - TrendLine Alert

  #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 Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
MC PL editor upgrade
MultiCharts
Strategy stop orders partially filled
EasyLanguage Programming
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
24 thanks
What is Markets Chat (markets.chat) real-time trading ro …
19 thanks
ApexTraderFunding.com experience and review
17 thanks
GFIs1 1 DAX trade per day journal
13 thanks
EG Indicators
11 thanks
  #2 (permalink)
 
learning0101's Avatar
 learning0101 
Houston, Texas
 
Experience: Intermediate
Platform: NinjaTrader,TOS,Etrade,St
Broker: NT:( tos,etrade,CS
Trading: stocks,options,futures,forex
Frequency: Never
Duration: Never
Posts: 287 since Aug 2011
Thanks Given: 3,614
Thanks Received: 222

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 Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on January 24, 2012


© 2024 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 - Privacy Policy - Downloads - Top
no new posts