From METASTOCK to Ninja Trader - NinjaTrader Programming | futures io social day trading
futures io futures trading


From METASTOCK to Ninja Trader
Updated: Views / Replies:5,941 / 20
Created: by dimitri Attachments:10

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
 10  
 
Thread Tools Search this Thread
 

From METASTOCK to Ninja Trader

  #1 (permalink)
Elite Member
Athens - Greece
 
Futures Experience: Intermediate
Platform: Metastock
 
Posts: 75 since Jul 2010
Thanks: 202 given, 32 received

From METASTOCK to Ninja Trader

Indi from METASTOCK to Ninja 7.. Hi, to everyone.

I need Help (I Have No Experience) in "translating" following indicator to Ninja Trader, any body who can Help Programming it i would be very grateful. Thanks in advance.
Dimitri

The Indicator from METASTOCK:


(((CLOSE+OPEN+LOW+HIGH)/4) < Ref(CLOSE, -1) AND ((CLOSE+OPEN+LOW)/3) < Ref(CLOSE, 1)) OR
(HIGH+OPEN)/2 = Ref(CLOSE, -1) AND
((HIGH+LOW)/2) < Ref(CLOSE, -2) AND ((HIGH+LOW+CLOSE)/3) < Ref(CLOSE, 1)

***Note: Ref(CLOSE, -1) means Close price of one Bar Ago .... For any clarification do not hesitate to info me.
Waiting for a kind reply.

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)
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,353 given, 83,234 received


Hi,

You need to post a screen shot, the code you posted is not enough to know what you are wanting to do.

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
The following user says Thank You to Big Mike for this post:
 
  #4 (permalink)
Elite Member
Athens - Greece
 
Futures Experience: Intermediate
Platform: Metastock
 
Posts: 75 since Jul 2010
Thanks: 202 given, 32 received

Attached please find a PDF screenshot.
Thanks
Dimitri

Attached Thumbnails
From METASTOCK to Ninja Trader-dax_1m_dim_maxprof_6.pdf  
Reply With Quote
The following user says Thank You to dimitri for this post:
 
  #5 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,573 given, 3,982 received


dimitri View Post
Indi from METASTOCK to Ninja 7.. Hi, to everyone.

I need Help (I Have No Experience) in "translating" following indicator to Ninja Trader, any body who can Help Programming it i would be very grateful. Thanks in advance.
Dimitri

The Indicator from METASTOCK:


(((CLOSE+OPEN+LOW+HIGH)/4) < Ref(CLOSE, -1) AND ((CLOSE+OPEN+LOW)/3) < Ref(CLOSE, 1)) OR
(HIGH+OPEN)/2 = Ref(CLOSE, -1) AND
((HIGH+LOW)/2) < Ref(CLOSE, -2) AND ((HIGH+LOW+CLOSE)/3) < Ref(CLOSE, 1)

***Note: Ref(CLOSE, -1) means Close price of one Bar Ago .... For any clarification do not hesitate to info me.
Waiting for a kind reply.

Not tested at all, too many or not enough "(" or ")", but this is something like:

(((Close[0]+Open[0]+Low[0]+High[0])/4) < Close[1] && ((Close[0]+Open[0]+Low[0])/3) < Close[1])) || (((High[0]+Open[0])/2) == Close[1]) &&
((High[0]+Open[0])/2) < Close[2] && ((Close[0]+Open[0]+Low[0])/3) < Close[1]))))

Success requires no deodorant! (Sun Tzu)
Reply With Quote
The following user says Thank You to sam028 for this post:
 
  #6 (permalink)
Elite Member
Athens - Greece
 
Futures Experience: Intermediate
Platform: Metastock
 
Posts: 75 since Jul 2010
Thanks: 202 given, 32 received

Dear sam028,
Thank you very much for your kind reply.
I have adjusted the (((, as far as my poor knowledge and big effort allow me. But still compiling problem appears.
Is that possible to have a correction ?????
I include the "code" and a screenshot in pdf format.
Thanks in advance for any Help.
Dimitri
............................
protected override void OnBarUpdate()
{
// Use this method for calculating your indicator values. Assign a value to each
// plot below by replacing 'Close[0]' with your own formula.
Plot0.Set(((((Close[0]+Open[0]+Low[0]+High[0])/4) < Close[1] && ((Close[0]+Open[0]+Low[0])/3) < Close[1])) ||
((((High[0]+Open[0])/2) == Close[1]) &&
((High[0]+Open[0])/2) < Close[2] && ((Close[0]+Open[0]+Low[0])/3) < Close[1]));
}
........................................

Attached Thumbnails
From METASTOCK to Ninja Trader-20101113_prox_bm.pdf  
Reply With Quote
 
  #7 (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,353 given, 83,234 received

Tip
Please do not use PDF for a screen shot, it is very "expensive" in terms of resources. Better to use JPG or PNG, you can find a free screen shot program called Jing here:



TechSmith | Jing, instant screenshots and screencasts, home

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
The following user says Thank You to Big Mike for this post:
 
  #8 (permalink)
Elite Member
Athens - Greece
 
Futures Experience: Intermediate
Platform: Metastock
 
Posts: 75 since Jul 2010
Thanks: 202 given, 32 received

Big Mike thank you for your suggestion.
In life life we have to learn - elaborate - decide - act ...!!!
Dimitri
Dear sam028,
Thank you very much for your kind reply.
I have adjusted the (((, as far as my poor knowledge and big effort allow me. But still compiling problem appears.
Is that possible to have a correction ?????
I include the "code" and a screenshot in pdf format.
Thanks in advance for any Help.
Dimitri
............................
protected override void OnBarUpdate()
{
// Use this method for calculating your indicator values. Assign a value to each
// plot below by replacing 'Close[0]' with your own formula.
Plot0.Set(((((Close[0]+Open[0]+Low[0]+High[0])/4) < Close[1] && ((Close[0]+Open[0]+Low[0])/3) < Close[1])) ||
((((High[0]+Open[0])/2) == Close[1]) &&
((High[0]+Open[0])/2) < Close[2] && ((Close[0]+Open[0]+Low[0])/3) < Close[1]));
}
........................................

Attached Thumbnails
From METASTOCK to Ninja Trader-2010-11-13_1328.png  
Reply With Quote
 
  #9 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,573 given, 3,982 received

@dimitri, what you call an Indicator, the few MetaStock lines you show us, is not plotting something, it returns a value, which is true or false.
So the same thing with NT do the same: returning true or false.
And you can't plot true or false values, you can only plot numerical values.

Success requires no deodorant! (Sun Tzu)
Reply With Quote
 
  #10 (permalink)
Elite Member
Athens - Greece
 
Futures Experience: Intermediate
Platform: Metastock
 
Posts: 75 since Jul 2010
Thanks: 202 given, 32 received


Dear Sam028,
Thank you for your kind reply, IS true the lines sent are producing TRUE or FALSE that means 1 or 0, so we can call oscillator better than indicator. Any way you can see into the previously attached chart, that is plotting 1 or 0. In Metastock language no need to specify any thing else, and is producing these signals.
In case that above could be corrected for Ninja Trader it is welcome and very much appreciated.
Thanks again.
Dimitri

Reply With Quote

Reply



futures io > > > > > From METASTOCK to Ninja Trader

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 Trader and Australia Treggs NinjaTrader 17 January 30th, 2015 10:29 PM
Ninja Trader Workspace(s) jonesr9 NinjaTrader 25 January 8th, 2015 02:15 PM
Ninja Trader Freezing spinnybobo NinjaTrader 5 November 3rd, 2011 01:56 PM
Ninja Trader 7 - Warning webart NinjaTrader 5 July 19th, 2010 10:20 AM
how to use ninja trader 6.5 abdul NinjaTrader 1 May 24th, 2010 04:18 PM


All times are GMT -4. The time now is 04:18 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-15 in 0.15 seconds with 20 queries on phoenix via your IP 54.90.92.204