NT7 Better Arrows and Other Symbols - NinjaTrader Programming | futures io social day trading
futures io futures trading

NT7 Better Arrows and Other Symbols
Updated: Views / Replies:3,144 / 2
Created: by hunter548 Attachments:3

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Thread Tools Search this Thread

NT7 Better Arrows and Other Symbols

  #1 (permalink)
Elite Member
western ny
Futures Experience: Intermediate
Platform: ninjatrader
Broker/Data: Amp Futures/CQG
Favorite Futures: 6E, ES
hunter548's Avatar
Posts: 104 since Nov 2009
Thanks: 197 given, 90 received

NT7 Better Arrows and Other Symbols

I like darker backgrounds with white text. When using the DrawArrowUp() or DrawArrowDown() functions, I found out that NT7 automatically colors all symbol outlines to match the text color, hence white in this case. The same thing applies to other symbols like dots and triangles using similar DrawDots() and DrawTrianglesUp/Down() functions.

After spending some time researching the issue, I figured out the syntax needed to add solid color symbols to any NT7 indicator using DrawText(). Lacking a specific example to plagarize, I ultimately put the pieces together to create the solid arrows I wanted.

I thought I'd share exactly what code I wrote and where it goes within a program to make it easier to plagarize (and also so I could find it to use later myself). I started with TMFT's DualCCI_Beta_V2 and changed the dots displayed to arrows.

The updated indicator I renamed DualCCI_Beta_V3. If you open it for edit, you'll see where I commented what I changed or added. I'm not a programmer, so you may find mistakes I made, but I dabble a lot and it does what I wanted with the arrows.

The following hits the highlights of what I changed and/or added:

#region Variables

private bool drawArrowOnPricePanel = true;
private Color arrowUpColor = Color.DodgerBlue;
private Color arrowDnColor = Color.Red;

private System.Drawing.Font textFont;

protected override void OnBarUpdate()

textFont = new Font("Wingdings 3", 20);

DrawText("UpSymbol" + CurrentBar, true, "#", 0, Low[0]-pSeparation*TickSize, 0, arrowUpColor, textFont, StringAlignment.Center, Color.Empty, Color.Empty, 10);

DrawText("DownSymbol" + CurrentBar, true, "$", 0, High[0]+pSeparation*TickSize, 0, arrowDnColor, textFont, StringAlignment.Center, Color.Empty, Color.Empty, 10);

---- The # and $ characters define the Arial to Wingdings 3 conversion for the up and down arrow symbols I chose. I attached an excel spreadsheet to show other character possibilities and make it easier to convert to different symbol by substituting a different character.----

#region Properties
Lines 398 - 442
Changed dot references to Arrow references so you can choose to display arrows or not and change their color.

The following link gives gives a Ninjatrader link to how to use the DrawText() function.

Hma rising and falling arrows - Page 3 - NinjaTrader Support Forum

This link gives an indicator that shows the end result of using DrawText() with lots of arrow options and text boxes.


The following pic shows how the arrows look:

Attached Thumbnails
NT7 Better Arrows and Other Symbols-snap1.png  
Attached Files
Register to download File Type: cs DualCCI_beta_v3.cs (22.2 KB, 53 views)
Register to download File Type: xls WINDINGS3 CONVERSION.xls (26.5 KB, 68 views)
Reply With Quote
The following 6 users say Thank You to hunter548 for this post:
  #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.

  #3 (permalink)
Elite Member
Denver, CO
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: ES
NinjaTrader's Avatar
Posts: 1,312 since May 2010
Thanks: 159 given, 1,960 received

If I recall, instantiating new fonts is expensive and should be avoided thus, you should remove "textFont" from OnBarUpdate() and assign it in OnStartUp() only once.

Reply With Quote
The following 2 users say Thank You to NinjaTrader for this post:


futures io > > > > > NT7 Better Arrows and Other Symbols

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

July Journal Challenge - $500 in Amazon Gift Cards!


AXESS Trader: Powerful Cloud Based Trading Platform w/GFF Brokers

Jul 17

TBA: FuturesTrader71 w/Morad Askar

Elite only

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare two Symbols Allansun NinjaTrader 4 November 13th, 2014 11:43 AM
Asian market Symbols for NT7 skyfly NinjaTrader 6 July 25th, 2011 10:05 PM
symbols and margin johni MultiCharts 1 July 9th, 2011 03:45 PM
Index Symbols TonyB Open E Cry 4 July 6th, 2011 12:17 PM
Trading Multi Symbols gmlee EasyLanguage Programming 1 February 1st, 2011 11:21 PM

All times are GMT -4. The time now is 04:29 AM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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 2018-07-17 in 0.10 seconds with 15 queries on phoenix