Inside Bar convert from MT4 - NinjaTrader Programming | futures io social day trading
futures io futures trading


Inside Bar convert from MT4
Updated: Views / Replies:5,316 / 12
Created: by zt379 Attachments:4

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

Inside Bar convert from MT4

  #1 (permalink)
Elite Member
UK London
 
Futures Experience: None
Platform: NT and XTrader
Favorite Futures: Piano
 
Posts: 1,284 since Sep 2009
Thanks: 1,332 given, 1,476 received

Inside Bar convert from MT4

Can anyone convert MT4 to NinjaTrader 6.5?

This thread on Forex Factory Site post # 169 has 3 indicators.
The Amazing Magic of 3MW of now - Page 12 @ Forex Factory

SHI Channel
Brian Inside Bar
Square

It would be interesting to have these converted to Ninja (6.5) if anyone can help?
Many thx

Edit:
If it helps, this is my understanding of the above 3 indicators.
Brian Inside Bar:
a horizontal line (blue) is plotted at the high and low of the previous bar.
a horizontal line (red) is plotted for the current bar open price, if the current bar opens lower than previous bars open.
a horizontal line (yellow) is plotted for the current bar open price, if the current bar opens higher than previous bars open.

Square:
Two horizontal lines (yellow) plotting the highest high and lowest low of the preceding 3 bars, not including the current bar.

SHI Channel.
I do not know how this is configured and don't have the MT4 platform to see it plotting.

HTH..thx

Attached Thumbnails
Inside Bar convert from MT4-brian-indise-bar-square.jpg  

Last edited by zt379; August 15th, 2010 at 01:53 PM.
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
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,603 since Mar 2010
Thanks: 4,222 given, 25,390 received
Forum Reputation: Legendary



zt379 View Post
Can anyone convert MT4 to NinjaTrader 6.5?

This thread on Forex Factory Site post # 169 has 3 indicators.
The Amazing Magic of 3MW of now - Page 12 @ Forex Factory

SHI Channel
Brian Inside Bar
Square

It would be interesting to have these converted to Ninja (6.5) if anyone can help?
Many thx

Edit:
If it helps, this is my understanding of the above 3 indicators.
Brian Inside Bar:
a horizontal line (blue) is plotted at the high and low of the previous bar.
a horizontal line (red) is plotted for the current bar open price, if the current bar opens lower than previous bars open.
a horizontal line (yellow) is plotted for the current bar open price, if the current bar opens higher than previous bars open.

Square:
Two horizontal lines (yellow) plotting the highest high and lowest low of the preceding 3 bars, not including the current bar.

SHI Channel.
I do not know how this is configured and don't have the MT4 platform to see it plotting.

HTH..thx

SHI Channel

Had a look at the indicator. I am interested in the SHI Channel indicator and may try to code it. I have a modified version in mind that fits my personal trading style.

Square

This is an easy task. It is nothing else than a Donchian Channel with the period 3. I would actually suggest to use a rectangle, colour it (user selectable) and put it behind the price bars.

I think there is a better way of drawing trading ranges, which is in sync with the market, have already coded another indicator.

Brian Inside Bar

Honestly, I think that this is nonsense. I do use inside bars, but an inside bar becomes an inside bar, when the bar has closed, showing that the volatility during the period covered by the last bar was lower than the volatility covered by the previous bar. I use inside and narrow range bars, following the preachings of Toby Crabel.

Let me know, whether you are still interested.


Last edited by Fat Tails; August 21st, 2010 at 07:35 AM.
Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #4 (permalink)
Elite Member
UK London
 
Futures Experience: None
Platform: NT and XTrader
Favorite Futures: Piano
 
Posts: 1,284 since Sep 2009
Thanks: 1,332 given, 1,476 received


Fat Tails View Post
SHI Channel

Had a look at the indicator. I am interested in the SHI Channel indicator and may try to code it. I have a modified version in mind that fits my personal trading style.

Yes it looked interesting.
Hope your able to convert it.
thx

Quoting 
Square

This is an easy task. It is nothing else than a Donchian Channel with the period 3. I would actually suggest to use a rectangle, colour it (user selectable) and put it behind the price bars.

I think there is a better way of drawing trading ranges, which is in sync with the market, have already coded another indicator.

Thx for the Donchian suggestion.
I tried it with your settings (although I don't know what you mean by "rectangle" ?) but it does not plot in the same way as the Square Indicator for MT4.


Quoting 
Brian Inside Bar

Honestly, I think that this is nonsense. I do use inside bars, but an inside bar becomes an inside bar, when the bar has closed, showing that the volatility during the period covered by the last bar was lower than the volatility covered by the previous bar. I use inside and narrow range bars, following the preachings of Toby Crabel.

Thx for your comments.

Yes I am aware of what an inside bar is. Thx.
I believe the indicator is more to do with the current bars open in relation to the previous bars open,
with the addition of the horizontal lines at the high and low of the previous bar.


Quoting 

Let me know, whether you are still interested.

Thx very much for the reply Fat Tails.

As you say, we all have preferences in what and how to use things.
With all 3 indicators, to see them visually plotting on a chart is the only real way I can assess their value.
Always interesting to see if things help.

I hope your able to convert them to NT 6.5.
Many thx

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,603 since Mar 2010
Thanks: 4,222 given, 25,390 received
Forum Reputation: Legendary

Donchian Rectangle

Plots high and low of the last n bars. You can set n=3 to obtain your indicator. This is a version for NT7, but you can just edit a new indicator with NT 6.5. and then copy the code.

Attached Thumbnails
Inside Bar convert from MT4-donchianrectangle.jpg  
Attached Files
Register to download File Type: zip DonchianRectangle.zip (5.7 KB, 49 views)
Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #6 (permalink)
Elite Member
UK London
 
Futures Experience: None
Platform: NT and XTrader
Favorite Futures: Piano
 
Posts: 1,284 since Sep 2009
Thanks: 1,332 given, 1,476 received


Fat Tails View Post
Plots high and low of the last n bars. You can set n=3 to obtain your indicator. This is a version for NT7, but you can just edit a new indicator with NT 6.5. and then copy the code.

Many thx Fat Tails.
Just to show you how useless I am with this coding, I have no idea how to do what you describe
to convert this from NT7 to NT6.5?

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


zt379 View Post
Many thx Fat Tails.
Just to show you how useless I am with this coding, I have no idea how to do what you describe
to convert this from NT7 to NT6.5?

I am currently not on my main machine, so no NT 6.5. here, and not going to install it.

What you could do: Install an editor for C# on your machine. For example Sharp Develop. Then unzip the code and open it with the editor.

In parallel you can start NinjaTrader 6.5. and edit any system indicator via Tools -> Edit NinjaScript. Then save the indicator under a new name, for example "Donchian Rectangle".

Then delete all code for the indicator, starting with namespace NinjaTrader.Indicator and replace it with the code you have edited with SharpDevelop. Save and compile via F5.

Reply With Quote
 
  #8 (permalink)
Elite Member
UK London
 
Futures Experience: None
Platform: NT and XTrader
Favorite Futures: Piano
 
Posts: 1,284 since Sep 2009
Thanks: 1,332 given, 1,476 received


Fat Tails View Post
I am currently not on my main machine, so no NT 6.5. here, and not going to install it.

What you could do: Install an editor for C# on your machine. For example Sharp Develop. Then unzip the code and open it with the editor.

In parallel you can start NinjaTrader 6.5. and edit any system indicator via Tools -> Edit NinjaScript. Then save the indicator under a new name, for example "Donchian Rectangle".

Then delete all code for the indicator, starting with namespace NinjaTrader.Indicator and replace it with the code you have edited with SharpDevelop. Save and compile via F5.

Thx for your suggestions to create the Donchian Rectangle from NT7 to NT6.5, but I've not been able to figure this out.

Hoping for your assistance to create the MT4 "Square" indicator for NT6.5.
To re-cap, this is having a horizontal line drawn at the highest high and lowest low
of the last 3 bars (or user defined) not including the current bar.

Also any progress converting the MT4 SHI Channel indicator for NT6.5

Many thx

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

Donchian Rectangle for NT 6.5

This should do for NT 6.5. The channel indicator will take some time. I am still playing with opening ranges and rolling pivots.

Attached Files
Register to download File Type: zip DonchianRectangleForNT65.zip (5.1 KB, 10 views)
Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #10 (permalink)
Elite Member
Los Angeles, CA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Rithmic
Favorite Futures: GC
 
plethora's Avatar
 
Posts: 639 since Dec 2010
Thanks: 1,174 given, 422 received


Excuse me but could you advise whether the current version of the DonchianRectangle is compatible with N7? I'm trying to import the 6.5 version to no avail but the problem could definitely be ME.

In any event many, many thanks for your work and contribution to my trading methodology that is slowly evolving.

Reply With Quote

Reply



futures io > > > > > Inside Bar convert from MT4

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Battlestations: Show us your trading desks and win $750 in prizes

August
 

Ask Me Anything (AMA) w/Rod Casilli @ Collective2

Aug 23
 

Prototyping Python Strategies (part 3, Live Trading) w/Ran Aroussi [1PM ET]

Elite only
 

Develop Strategies and Perfect Execution w/Brannigan Barrett @ Axia Futures

Elite only

Introduction to Phillip Capital futures brokerage services

Aug TBD

How Monte Carlo Analysis Can Help Your Trading w/Kevin Davey

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inside bar indicator code help? hector24 NinjaTrader 4 November 12th, 2012 04:45 PM
Chart Bar with volume indicator inside Bar? hector24 NinjaTrader 11 October 9th, 2011 10:41 AM
Whats the difference between Bar Magnifier & look inside bar testing? crbucks MultiCharts 1 May 4th, 2011 12:22 AM
Inside Bar Indicator Mickey Caine EasyLanguage Programming 3 March 22nd, 2011 03:21 AM
Convert MT4- Indicator-Help : Easy Trend Visualizer Rickb The Elite Circle 4 May 31st, 2010 07:18 AM


All times are GMT -4. The time now is 06:39 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-08-22 in 0.16 seconds with 20 queries on phoenix via your IP 23.20.64.16