ELD code into Ninja help? - futures io
futures io futures trading



ELD code into Ninja help?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one hector24 with 4 posts (0 thanks)
    2. looks_two Big Mike with 2 posts (0 thanks)
    3. looks_3 Jigsaw Trading with 1 posts (0 thanks)
    4. looks_4 Fat Tails with 1 posts (0 thanks)
    1. trending_up 3,155 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 7 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

 
Search this Thread
 

ELD code into Ninja help?

(login for full post details)
  #1 (permalink)
austin, texas
 
Experience: Intermediate
Platform: ninja trader
Trading: currency futures
 
Posts: 506 since Jan 2011
Thanks: 14 given, 234 received

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

Started this thread Reply With Quote

Journal Challenge February 2021 results:
Competing for $1500 in prizes from Topstep
looks_oneSBtrader82 's Trading Journalby SBtrader82
(173 thanks from 31 posts)
looks_twoJust BEING a Trader: Letting Go!!by iqgod
(120 thanks from 33 posts)
looks_3Wisdom is Emptinessby Mtype
(68 thanks from 25 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(35 thanks from 17 posts)
looks_5Journal for peanuts1956by peanuts1956
(23 thanks from 13 posts)
 
 
(login for full post details)
  #2 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,764 since Jun 2009
Thanks: 32,302 given, 97,535 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

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #3 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,764 since Jun 2009
Thanks: 32,302 given, 97,535 received



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

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #4 (permalink)
austin, texas
 
Experience: Intermediate
Platform: ninja trader
Trading: currency futures
 
Posts: 506 since Jan 2011
Thanks: 14 given, 234 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

Started this thread Reply With Quote
 
(login for full post details)
  #5 (permalink)
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,855 since Mar 2010
Thanks: 4,238 given, 26,728 received


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
 
(login for full post details)
  #6 (permalink)
austin, texas
 
Experience: Intermediate
Platform: ninja trader
Trading: currency futures
 
Posts: 506 since Jan 2011
Thanks: 14 given, 234 received

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

Thanks
Hector

Started this thread Reply With Quote
 
(login for full post details)
  #7 (permalink)
Site Sponsor

Web: Jigsaw Trading
AMA: Ask Me Anything
Webinars: Jigsaw Trading Webinars
Elite offer: Click here
 
 
Jigsaw Trading's Avatar
 
Posts: 2,977 since Nov 2010
Thanks: 823 given, 10,312 received

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

Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #8 (permalink)
austin, texas
 
Experience: Intermediate
Platform: ninja trader
Trading: currency futures
 
Posts: 506 since Jan 2011
Thanks: 14 given, 234 received

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

Thanks
Hector

Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > ELD code into Ninja help?


Last Updated on July 12, 2011


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Call Option Buying: The New Pain Trade? w/Carley Garner

Elite only
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

New Challenge (TBD)

April
     



Copyright © 2021 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