Help How to draw a line segment - NinjaTrader Programming | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming

Help How to draw a line segment
Started:February 14th, 2013 (09:05 AM) by sburtt Views / Replies:329 / 1
Last Reply:February 14th, 2013 (09:05 AM) Attachments:1

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Help How to draw a line segment

Old February 14th, 2013, 09:05 AM   #1 (permalink)
Elite Member
London, UK
Futures Experience: Advanced
Platform: NinjaTrader
Favorite Futures: EUR/USD
Posts: 58 since Jul 2012
Thanks: 3 given, 4 received

Help How to draw a line segment

Hi Guy, I need some help coding!

What I am trying to accomplish is an indicator that plots a line segment that lasts 5 bars just as the attached file.
Specifically in the attached the segment start on the low of the bar, after 4 consecutive lows, but this in not the point, the catalist could be anything, also a simple moving average crossover. What I need help for is creating this inidicator. I would really appreciate if somebody could publish full code for me, I tried following NT website instruction on DrawLine() but I am sure I am missing out in the variables(), initiatialize() and/or protect override void() sections.

Thanks, John

Attached Thumbnails
Help How to draw a line segment-drawline.jpg  
Reply With Quote

Old February 14th, 2013, 09:05 AM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > Help How to draw a line segment

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get all draw objects dimkdimk NinjaTrader Programming 18 February 14th, 2015 11:46 AM
Little help with Draw Region jram77 NinjaTrader Programming 14 September 25th, 2013 11:21 PM
Draw a line patbateman NinjaTrader 6 December 27th, 2012 01:22 PM
Emboldened by Election, Democrats Draw New Line Quick Summary News and Current Events 0 November 17th, 2012 05:30 PM
Draw object Properties kenz987 NinjaTrader Programming 1 November 10th, 2010 09:48 AM

All times are GMT -4. The time now is 07:33 PM.

Copyright © 2016 by 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.
no new posts

Page generated 2016-10-26 in 0.05 seconds with 20 queries on phoenix via your IP