ELD code into Ninja help? - NinjaTrader Programming | futures io social day trading
futures io futures trading


ELD code into Ninja help?
Updated: Views / Replies:1,940 / 7
Created: by hector24 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 90,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

Reply
 
Thread Tools Search this Thread
 

ELD code into Ninja help?

  #1 (permalink)
Elite Member
austin, texas
 
Futures Experience: Intermediate
Platform: ninja trader
Favorite Futures: currency futures
 
Posts: 508 since Jan 2011
Thanks: 14 given, 231 received

ELD code into Ninja help?

If I wanted to take a ELD code say from a Trade Station indicator and convert it to a Ninja code how do I do that. If it can be done at all.

Thanks
Hector

Reply With Quote
 
  #2 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,355 given, 83,237 received

 
Thread Moved


Moved to NinjaTrader Programming



When creating a new thread, note which subforum you are in. Here is a short list of suggestions:

- Topic: Anything to do with an Elite indicator -> Subforum: The Elite Circle
- Topic: Looking for an existing indicator, or how-to use an indicator -> Subforum: (the platform)
- Topic: Programmer needing help with non-Elite indicator -> Subforum: (the platform) - Programming
- Topic: Want an indicator created/modified -> Reply to "Want indicator created free" in Elite Circle
- Topic: Vendors (trading rooms, commercial indicators) -> Subforum: Vendors/Product Reviews
- Topic: Discussion of Forex or Currency trading -> Subforum: Forex and Currency Trading
- Topic: Journals of your trading -> Subforum: Trading Journals or Elite Trading Journals
- Topic: General trading related discussions -> Subforum: Traders Hideout
- Topic: Discussion of a trading method -> Subforum: Traders Hideout
- Topic: Automated Trading -> Subforum: Elite Automated Trading

Last, any Elite Member may create more or less any of these topics in The Elite Circle at your own discretion (your support is appreciated).

This is just a short general list and doesn't cover everything. If you are unsure where to create your new thread, just create it in Traders Hideout and a moderator will move it if necessary.

-- Big Mike Trading



Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #3 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,355 given, 83,237 received

Answer
This post has been selected as an answer to the original posters question Answer



hector24 View Post
If I wanted to take a ELD code say from a Trade Station indicator and convert it to a Ninja code how do I do that. If it can be done at all.

Thanks
Hector

You would write the code from scratch in Ninja using the EL code as a template.

If by your post you mean there is some kind of import method, or conversion tool, there is not.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #4 (permalink)
Elite Member
austin, texas
 
Futures Experience: Intermediate
Platform: ninja trader
Favorite Futures: currency futures
 
Posts: 508 since Jan 2011
Thanks: 14 given, 231 received

Thanks Big Mike, is there a particular start and ending coding that I need to put in for Ninja. I have no experience at all in coding and was interested in a couple of indicators but are Trade Station coding.

Thanks
Hector

Reply With Quote
 
  #5 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary

Answer
This post has been selected as an answer to the original posters question Answer


hector24 View Post
Thanks Big Mike, is there a particular start and ending coding that I need to put in for Ninja. I have no experience at all in coding and was interested in a couple of indicators but are Trade Station coding.

Thanks
Hector

The easiest way to do it is to edit an existing NinjaTrader indicator, save it under a new name and then modify it. NinjaTrader coding is not easy as Easy Language coding. There are a few things necessary to understand:

Variables section

Declaration of all variables needed.

Initialize section

This section is compiled when NinjaTrader is started, so this part of the indicator is alsoexecuted, when the indicator is not used on a chart. This is used to initialize plots and dataseries objects. There are some further methods that can be used here:

CalculateOnBarClose -> If true, the indicator will only be calculated after the frist tick of the next bar has been registered. If you set it to false, the indicator will be calculated with each incoming tick. Only set indicators to CalculateOnBarClose = false, if you need the real-time update with every tick, because it is CPU intensive.

Overlay -> If true, the indicator will be displayed on the main panel of the chart, if false it will be displayed on another panel.

OnStartUp()

On StartUp is called only once before OnBarUpdate() is executed. Typically you would use it to affect values to variables or check for specific conditions, if this check needs to be done only once,

OnBarUpdate()

This part of the code is executed with each incoming bar. Please be aware that

-> historical bars are made up from a single tick
-> real-time bars may have many ticks

If you use recursive algorithms, make sure that you use them only once per bar. The index for the current bar is stored in the Variable CurrentBar.

Properties

Required fields to allow for input and output of data.

To code NinjaScript indicators, you should at least work through one book for Visual C#.

Reply With Quote
 
  #6 (permalink)
Elite Member
austin, texas
 
Futures Experience: Intermediate
Platform: ninja trader
Favorite Futures: currency futures
 
Posts: 508 since Jan 2011
Thanks: 14 given, 231 received

Thanks Big Mike and Fat Tails, what a great room. This room is 2nd to none.

Thanks
Hector

Reply With Quote
 
  #7 (permalink)
Market Wizard
Bangkok
 
Futures Experience: Intermediate
Platform: MultiCharts.NET, S5, Ninj
Broker/Data: AMP, S5, IB
Favorite Futures: ES
 
DionysusToast's Avatar
 
Posts: 2,673 since Nov 2010
Thanks: 777 given, 8,742 received
Forum Reputation: Legendary

Hector

Your question is a bit like "how long is a piece of string"

Converting ELD to Ninja ain't hard but if the code you are converting is one of Ehlers machinations, then it'll take a while.

Can you post the code to be converted here? If so - I can take a look & give you some specific pointers.

Cheers

Pete

Reply With Quote
 
  #8 (permalink)
Elite Member
austin, texas
 
Futures Experience: Intermediate
Platform: ninja trader
Favorite Futures: currency futures
 
Posts: 508 since Jan 2011
Thanks: 14 given, 231 received

Thanks Pete, I will get the code and post it for you to look at.

Thanks
Hector

Reply With Quote

Reply



futures io > > > > > ELD code into Ninja help?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ninja script - learning code + programming alias NinjaTrader Programming 20 May 11th, 2011 06:01 AM
Programming a tradstation eld bythegods NinjaTrader Programming 1 October 20th, 2010 04:19 PM
New Version Ninja Trader 7 / code breaking change Mauro_60 The Elite Circle 6 September 15th, 2010 09:13 AM
color bars formula code in ninja or tradestation ford7k Traders Hideout 2 September 11th, 2010 11:34 AM
Ninja Strategy using locked indicator code spinnybobo NinjaTrader Programming 4 May 26th, 2010 04:54 AM


All times are GMT -4. The time now is 09:43 PM.

Copyright © 2017 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 2017-12-17 in 0.14 seconds with 35 queries on phoenix via your IP 54.226.34.209