Reversal Bar Type - NinjaTrader | futures io social day trading
futures io futures trading


Reversal Bar Type
Updated: Views / Replies:11,101 / 18
Created: by monolisa Attachments:3

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

Reversal Bar Type

  #1 (permalink)
Elite Member
nnn
 
Futures Experience: None
Platform: NT
 
Posts: 11 since Jul 2009
Thanks: 1 given, 1 received

Reversal Bar Type

Hi,

First post in futures.io (formerly BMT) forum. It has to start somewhere

I am looking for a reversal bar type ninjascript but couldn't find it here. Your help is appreciated.

Also, I wish to modify the script so the reversal algorithm won't start until the price levels of the bar equal to or exceed certain tick value. How can I do it?

Thanks!

Kind Regards,
Lis

Reply With Quote
The following user says Thank You to monolisa for this post:
 
  #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,651 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary



monolisa View Post
Hi,

First post in futures.io (formerly BMT) forum. It has to start somewhere

I am looking for a reversal bar type ninjascript but couldn't find it here. Your help is appreciated.

Also, I wish to modify the script so the reversal algorithm won't start until the price levels of the bar equal to or exceed certain tick value. How can I do it?

Thanks!

Kind Regards,
Lis

Hi Lis,

Welcome to Big Mike's forum!


Depends on the definitions. For example you can define

Reversal Bar Up

Open and close ís located in the upper third of the range, should be larger than the average true range of the last 14 bars.

Reversal Bar Down

Open and close is located in the lower third of the range, range should be larger than the average true range of the last 14 bars.

Then code your indicator. Code suggested (not tested):

 
Code
 
protected override void OnBarUpdate()
{
if
(CurrentBar < 14)
return;
 
//Reversal Bar Up
if (Open[0]  > 0.334*Low[0]+ 0.666*High[0] && Close[0] > 0.334*Low[1]+ 0.666*High[0] && Range()[0]>ATR(14)[1])
BarColor = Color.Yellow;
 
//Reversal down
else if (Open[0] < 0.666*Low[0]+ 0.334*High[0] && Close[0] < 0.666*Low[0]+ 0.334*High[0] && Range()[0]>ATR(14)[1]
BarColor = Color.Orange;
}
Plots reversal bars yellow or orange.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #4 (permalink)
Elite Member
nnn
 
Futures Experience: None
Platform: NT
 
Posts: 11 since Jul 2009
Thanks: 1 given, 1 received

Hi Fat Tails,

Thanks for the codes. Actually what I am looking for is a bar type that create a new bar when price reverses a specific tick amount from the extreme (high/low). It's similar to Point and Figure bar type without the Xs and Os and showing candlestick bar instead.

Would anyone please help me?

Thanks.

Kind Regards,
Lis

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,651 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


monolisa View Post
Hi Fat Tails,

Thanks for the codes. Actually what I am looking for is a bar type that create a new bar when price reverses a specific tick amount from the extreme (high/low). It's similar to Point and Figure bar type without the Xs and Os and showing candlestick bar instead.

Would anyone please help me?

Thanks.

Kind Regards,
Lis

Did you try range or Kagi bars?

Reply With Quote
 
  #6 (permalink)
Elite Member
nnn
 
Futures Experience: None
Platform: NT
 
Posts: 11 since Jul 2009
Thanks: 1 given, 1 received

Yes, I tried both. I think the bar type I am looking for is like a combination of Range and Kagi - Range has to be at least y price levels before Kagi algorithm comes into play.

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,651 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


monolisa View Post
Yes, I tried both. I think the bar type I am looking for is like a combination of Range and Kagi - Range has to be at least y price levels before Kagi algorithm comes into play.

Could you give a more detailed definition?

Reply With Quote
 
  #8 (permalink)
Market Wizard
Columbus, OH
 
Futures Experience: None
Platform: NT 8, TOS
Favorite Futures: ES
 
Silvester17's Avatar
 
Posts: 3,332 since Aug 2009
Thanks: 4,579 given, 10,313 received

reversal bar

hi lis,

I think you're looking for this:

Quick and Dirty Ninja PnF Bars, version 2|Move the Markets

the creator is richard from move the markets.

Attached Thumbnails
Reversal Bar Type-es-09-10-8_27_2010-pnf-5-ticks-.jpg  
Reply With Quote
 
  #9 (permalink)
Elite Member
nnn
 
Futures Experience: None
Platform: NT
 
Posts: 11 since Jul 2009
Thanks: 1 given, 1 received

Hi Silvester17,

Thanks. It's close to what I need but still lacking the requirement that the reversal algo do not start till the bar is x tick high.

I just wonder where I should put such requirement in the codes.

BTW, if you import the bar type into NT7, does it go to the indicator folder or type folder?

Thanks.

Kind Regards,
Lis

Reply With Quote
 
  #10 (permalink)
Market Wizard
Columbus, OH
 
Futures Experience: None
Platform: NT 8, TOS
Favorite Futures: ES
 
Silvester17's Avatar
 
Posts: 3,332 since Aug 2009
Thanks: 4,579 given, 10,313 received



monolisa View Post
Hi Silvester17,

Thanks. It's close to what I need but still lacking the requirement that the reversal algo do not start till the bar is x tick high.

I just wonder where I should put such requirement in the codes.

BTW, if you import the bar type into NT7, does it go to the indicator folder or type folder?

Thanks.

Kind Regards,
Lis

lis,

not sure, but believe it's only working for nt 6.5.

when imported, you'll find the PnF bars under interval settings (where the range, tick, min bars are located). again this is for nt 6.5, not nt 7.

Reply With Quote

Reply



futures io > > > > Reversal Bar Type

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bar Counter For Line Break Bar Type Eagle01 NinjaTrader Programming 8 April 2nd, 2012 12:29 AM
3 Bar Pullback vs 123 Reversal emini_Holy_Grail Traders Hideout 8 January 9th, 2011 02:17 PM
Range Bar Reversal Patterns Jaguar52 The Elite Circle 9 January 5th, 2011 02:36 PM
Three bar reversal problems keepdchange NinjaTrader Programming 5 June 11th, 2010 01:25 PM
Three bar reversal Eric j NinjaTrader 4 December 16th, 2009 02:05 AM


All times are GMT -4. The time now is 05:34 AM.

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-13 in 0.12 seconds with 20 queries on phoenix via your IP 54.92.194.75