Basic NinjaScript Help - NinjaTrader Programming | futures io social day trading
futures io futures trading

Basic NinjaScript Help
Updated: Views / Replies:570 / 2
Created: by Joseph689 Attachments:0

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

Basic NinjaScript Help

  #1 (permalink)
Elite Member
San Jose, Ca
Futures Experience: Beginner
Platform: MetaTrader 4
Broker/Data: Interactive Brokers
Favorite Futures: Forex
Joseph689's Avatar
Posts: 121 since Sep 2012
Thanks: 113 given, 36 received

Basic NinjaScript Help

Hello everyone,

I have some ideas for a basic time period type of indicator, but I really want to learn to do it on my own, and learn at the same time.

I know that c# and NinjaScript are the same, but yet there are differences in getting NT to draw on the chart exactly what you want.

I really would appreciate if someone would share with me a piece of code that would do the following; draw a box that would go from the high to the low, spanning a specific time period. The time period, box color/opacity, should all be adjustable.

This would get me started, and I would learn from the code and it would give me a starting point.

Thank you in advance.


Reply With Quote
  #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
Salt Lake City, UT
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Dormans/Zen-fire
Favorite Futures: 6E ES YM
Posts: 233 since Mar 2010
Thanks: 46 given, 324 received

Have you looked at their help documentation - use the help button in the menu and look for sample or example indicator code. There is an entire section on this.

I highly suggest their basic indicator tutorial to help get you started.

Then you should start looking at the available API, for example Drawxxxx where xxxx is items like Text, Arrow, Diamond, etc... Area/Region allows you to draw a box on the screen.

Many times the API call you want to use has example code in their definition. But you can also google for the call and many times find examples. Also use this forum and the NT Support Forum.

Another thing, if you see an indicator that is doing what you want to do, see if you can get the .cs file (source file). Review the file looking of the API call of interest and get a feel for how it was done there.

Reply With Quote
The following user says Thank You to tulanch for this post:


futures io > > > > > Basic NinjaScript Help

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
Very basic scalper set up Xzap Traders Hideout 25 November 18th, 2013 08:39 AM
Help with very basic ThinkScript Strategy snipsta ThinkOrSwim Programming 6 August 6th, 2013 09:52 PM
Webinar: Basic NinjaScript coding, May 25th @ 4:30PM Eastern, 22:30 Berlin/Paris sam028 The Elite Circle 33 August 11th, 2011 10:37 AM
Basic market characteristics aediaz1 The Elite Circle 4 August 10th, 2011 10:18 AM
basic R question sam028 Matlab, R project and Python 2 March 20th, 2010 06:32 PM

All times are GMT -4. The time now is 10:27 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,
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-16 in 0.09 seconds with 14 queries on phoenix