NexusFi: Find Your Edge


Home Menu

 





Ultimate Tick Bars


Discussion in Trading Reviews and Vendors

Updated
      Top Posters
    1. looks_one WolfieWolf with 11 posts (22 thanks)
    2. looks_two topsteprs with 4 posts (2 thanks)
    3. looks_3 mk77ch with 2 posts (3 thanks)
    4. looks_4 datahogg with 2 posts (1 thanks)
      Best Posters
    1. looks_one GaryD with 4 thanks per post
    2. looks_two TheWizard with 4 thanks per post
    3. looks_3 WolfieWolf with 2 thanks per post
    4. looks_4 SarahKrantz with 2 thanks per post
    1. trending_up 27,109 views
    2. thumb_up 51 thanks given
    3. group 23 followers
    1. forum 39 posts
    2. attach_file 5 attachments




 
Search this Thread

Ultimate Tick Bars

  #31 (permalink)
 
TheGascogne's Avatar
 TheGascogne 
Bordeaux
 
Experience: Intermediate
Platform: NinjaTrader
Trading: NG
Posts: 3 since Jul 2013
Thanks Given: 1
Thanks Received: 1


WolfieWolf View Post
So here are the results after a small coding exercise. The standard Heiken Ashi formula is in play for rising / falling "average" bars however I have coded the PLA into the mix as follows:

If HA goes negative, but PLA is still positive we get light green bars, instead of red.
If HA goes positive but PLA is still negative we get salmon bars, instead of green.

The result shows weakness in a trend and then a clear reversal signal confirmed by the PLA instead of a stoplight red green for every minor pullback etc.

Obviously the subjectivity comes into play based on an opinion of where the trend is going. Light green bars at a presumed Top can signal a reversal to the down side, whereas light green bars in the middle of a trend simply signify some responsive selling, profit taking, resistance, etc.

Thanks @Fat Tails for the Heiken Ashi V4... It's taken me a long time to figure out how to modify your bars but I think I now understand what you're doing in there. Very cool Plot Override. I had to add two new plots to make this happen. One for the OnBarUpdate section to store the PLA values and a second one to be consumed inside the Plot Override populated from the first plot with the (idx) value inside the loop. Rising / Falling keywords didn't work for me inside the Plot Override loop so I just used > previous bar < previous bar for my conditions and it seems to work

Wolfie

Hello Wolfie
I have the indicators and was wondering if you have a template for the chart settings [bar colour changes] that you wouldn't mind sharing? I'm not much of a coder unfortunately
Kindest Regards
Al.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
REcommedations for programming help
Sierra Chart
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
33 thanks
Tao te Trade: way of the WLD
24 thanks
My NQ Trading Journal
14 thanks
HumbleTraders next chapter
11 thanks
GFIs1 1 DAX trade per day journal
11 thanks
  #32 (permalink)
 
learning0101's Avatar
 learning0101 
Houston, Texas
 
Experience: Intermediate
Platform: NinjaTrader,TOS,Etrade,St
Broker: NT:( tos,etrade,CS
Trading: stocks,options,futures,forex
Frequency: Never
Duration: Never
Posts: 287 since Aug 2011
Thanks Given: 3,613
Thanks Received: 222


TheGascogne View Post
Hello Wolfie
I have the indicators and was wondering if you have a template for the chart settings [bar colour changes] that you wouldn't mind sharing? I'm not much of a coder unfortunately
Kindest Regards
Al.

Hello @TheGascogne as you may see you were given a "notification" (upper left hand portion of page-by your username) because I used the "@" sign preceding your username.(no spaces) This will give others the same notification, that you are referencing(such as @WolfieWolf) otherwise could be some time before that member if ever comes across a reference related to them.
Sorry for intruding just thought you might like to know.

Reply With Quote
Thanked by:
  #33 (permalink)
 
WolfieWolf's Avatar
 WolfieWolf 
Charlottetown, Prince Edward Island
 
Experience: Advanced
Platform: Ninja
Broker: Optimus - Rithmic
Trading: GC
Posts: 232 since Jul 2010
Thanks Given: 100
Thanks Received: 272



TheGascogne View Post
Hello Wolfie
I have the indicators and was wondering if you have a template for the chart settings [bar colour changes] that you wouldn't mind sharing? I'm not much of a coder unfortunately
Kindest Regards
Al.

Thanks @learning0101, You're right, I wasn't aware of this question until you referenced my username. @TheGascogne, I would be happy to share my code... I'm not currently using it so give me a couple of days to dig it up.

Reply With Quote
  #34 (permalink)
 
TheGascogne's Avatar
 TheGascogne 
Bordeaux
 
Experience: Intermediate
Platform: NinjaTrader
Trading: NG
Posts: 3 since Jul 2013
Thanks Given: 1
Thanks Received: 1


WolfieWolf View Post
Thanks @learning0101, You're right, I wasn't aware of this question until you referenced my username. @TheGascogne, I would be happy to share my code... I'm not currently using it so give me a couple of days to dig it up.

Many thanks @WolfieWolf, much appreciated. Thanks again @learning0101 for correcting my post, it's also much appreciated

Reply With Quote
Thanked by:
  #35 (permalink)
 
WolfieWolf's Avatar
 WolfieWolf 
Charlottetown, Prince Edward Island
 
Experience: Advanced
Platform: Ninja
Broker: Optimus - Rithmic
Trading: GC
Posts: 232 since Jul 2010
Thanks Given: 100
Thanks Received: 272


TheGascogne View Post
Many thanks @WolfieWolf, much appreciated. Thanks again @learning0101 for correcting my post, it's also much appreciated

Right, so this is the first time I've ever shared code with the general public. I never have and never will claim to be a developer although I have learned a few things and it seems that I spend more time these days writing code than anything else. I made the changes to the HeikenAshi code a long time ago and I am aware of a number of things I could have done better, but in the interest of getting this out the door I am electing to not fix it up right now. It works as expected but there are a few things, internally, that I could have done that would be better coding practice.

This is a modified version of FatTails HeikenAshiV4 which is available from the futures.io (formerly BMT) download section. You will need to have the fat tails version installed in order for this to work as I'm only providing the .cs file here, not the moving averages etc. The main change here is that the bars will paint based on HA values but they will also take into consideration the state of a PLADynamicalGold as either rising or falling. As an important note this is coded to use PLADynamicalGold.. if you have Silver or Bronze or whatever else Roger offers you will have to change every reference to this inside the indicator code. If the HA is down but the PLA is up you'll get Salmon coloured bars, if the HA is up but the PLA is down you'll get light green coloured bars... The intention here was to attempt to identify a pullback from a reversal. I don't use this indicator anymore as I have discovered more sophisticated ways of doing this. If the HA and PLA agree you get the usual colours. All the colours are configurable as parameters from the indicator properties as are the properties for the PLA itself for Anti-Reverse, AntiReversePeriod, PLA Length, Speed and Overshoot.

One last thing to mention. Playing around with this indicator at some point I swapped out the smoothing type ZLEMA for the PLA itself. So if you do use smoothing (which I can't imagine why anyone would because it's desperately lagging) ZLEMA will actually produce smoothed HA candles based on the configured values for the PLA properties.

I don't actually have a lot of time at the moment as I'm working on another interesting Ninja development project so if you want code changes feel free to ask and I will get around to it when I can, but just to set expectations, it won't be quickly. Having said that I have benefited greatly from the community here and I share Mike's vision of paying it forward Karma so I am eager to do so.

To use this copy it to your /custom/indicators folder, load it up in your editor... or any indicator for that matter as ninja compiles everything, and hit compile. If you don't get any errors you should find it in your indicator list as WolfieHeikenAshiPLA.

Let me know what you think.

Kind Regards

Wolfie

Attached Files
Elite Membership required to download: WolfieHeikenAshiPLA.cs
Reply With Quote
  #36 (permalink)
 Trader Jeff 
Chicago, IL United States
 
Experience: Advanced
Platform: Ninja Trader, Trader Work Station, Think or Swim
Broker: Ninja Trader, Interactive Brokers, TD Ameritrade
Trading: ES
Posts: 27 since Nov 2014
Thanks Given: 7
Thanks Received: 10


WolfieWolf View Post
Right, so this is the first time I've ever shared code with the general public. I never have and never will claim to be a developer although I have learned a few things and it seems that I spend more time these days writing code than anything else. I made the changes to the HeikenAshi code a long time ago and I am aware of a number of things I could have done better, but in the interest of getting this out the door I am electing to not fix it up right now. It works as expected but there are a few things, internally, that I could have done that would be better coding practice.

This is a modified version of FatTails HeikenAshiV4 which is available from the futures.io (formerly BMT) download section. You will need to have the fat tails version installed in order for this to work as I'm only providing the .cs file here, not the moving averages etc. The main change here is that the bars will paint based on HA values but they will also take into consideration the state of a PLADynamicalGold as either rising or falling. As an important note this is coded to use PLADynamicalGold.. if you have Silver or Bronze or whatever else Roger offers you will have to change every reference to this inside the indicator code. If the HA is down but the PLA is up you'll get Salmon coloured bars, if the HA is up but the PLA is down you'll get light green coloured bars... The intention here was to attempt to identify a pullback from a reversal. I don't use this indicator anymore as I have discovered more sophisticated ways of doing this. If the HA and PLA agree you get the usual colours. All the colours are configurable as parameters from the indicator properties as are the properties for the PLA itself for Anti-Reverse, AntiReversePeriod, PLA Length, Speed and Overshoot.

One last thing to mention. Playing around with this indicator at some point I swapped out the smoothing type ZLEMA for the PLA itself. So if you do use smoothing (which I can't imagine why anyone would because it's desperately lagging) ZLEMA will actually produce smoothed HA candles based on the configured values for the PLA properties.

I don't actually have a lot of time at the moment as I'm working on another interesting Ninja development project so if you want code changes feel free to ask and I will get around to it when I can, but just to set expectations, it won't be quickly. Having said that I have benefited greatly from the community here and I share Mike's vision of paying it forward Karma so I am eager to do so.

To use this copy it to your /custom/indicators folder, load it up in your editor... or any indicator for that matter as ninja compiles everything, and hit compile. If you don't get any errors you should find it in your indicator list as WolfieHeikenAshiPLA.

Let me know what you think.

Kind Regards

Wolfie

Thanks for the great information.Do you have the link for theFatTails HeikenAshiV4? I can't seem to locate it.
Are you still pleased using the UTB?

Thanks,
Jeff

Reply With Quote
  #37 (permalink)
 
TheWizard's Avatar
 TheWizard 
Houston, TX
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Optimus Futures, AMP, CQG
Trading: 6E
Posts: 1,731 since Jun 2009
Thanks Given: 517
Thanks Received: 4,224


Trader Jeff View Post
Thanks for the great information.Do you have the link for theFatTails HeikenAshiV4? I can't seem to locate it.
Are you still pleased using the UTB?

Thanks,
Jeff

It's here:

After all, it's what you learn AFTER you know it all, that counts!
Reply With Quote
Thanked by:
  #38 (permalink)
 Suraj 
Boston, MA/USA
 
Experience: Intermediate
Platform: Ninja Trader
Trading: ES, MES
Posts: 16 since Aug 2012
Thanks Given: 60
Thanks Received: 3


WolfieWolf View Post
Right, so this is the first time I've ever shared code with the general public. I never have and never will claim to be a developer although I have learned a few things and it seems that I spend more time these days writing code than anything else. I made the changes to the HeikenAshi code a long time ago and I am aware of a number of things I could have done better, but in the interest of getting this out the door I am electing to not fix it up right now. It works as expected but there are a few things, internally, that I could have done that would be better coding practice.

This is a modified version of FatTails HeikenAshiV4 .........

One last thing to mention. Playing around with this indicator at some point I swapped out the smoothing type ZLEMA for the PLA itself. So if you do use smoothing (which I can't imagine why anyone would because it's desperately lagging) ZLEMA will actually produce smoothed HA candles based on the configured values for the PLA properties.

I don't actually have a lot of time at the moment as I'm working on another interesting Ninja development project so if you want code changes feel free to ask and I will get around to it when I can, but just to set expectations, it won't be quickly. Having said that I have benefited greatly from the community here and I share Mike's vision of paying it forward Karma so I am eager to do so.

To use this copy it to your /custom/indicators folder, load it up in your editor... or any indicator for that matter as ninja compiles everything, and hit compile. If you don't get any errors you should find it in your indicator list as WolfieHeikenAshiPLA.

Let me know what you think.

Kind Regards

Wolfie

Hi WolfieWolf,

thanks for the indicator. I tried to compile it and it gives two references as missing - is there an updated version of the indicator? (I am a novice as for fixing the indicators) so looking for the easy solution first.

Also what is the PLA indicator?

Thanks again

Reply With Quote
  #39 (permalink)
 
mk77ch's Avatar
 mk77ch 
Switzerland
 
Experience: Advanced
Platform: NinjaTrader
Broker: Dorman
Trading: Currency Futures, ES
Posts: 132 since Oct 2010
Thanks Given: 27
Thanks Received: 350

UTB's are based on volume delta.
A new bar is created when the volume delta is greater or equal than the bars period.

The main problem with this concept is that the only available method to calculate the delta in the context of a ninjatrader bar type is to use the up-tick vs down-tick, which isn't very accurate.

The overall calculation should be pretty easy to code and i really don't get the reason for a price tag of $500.

cheers,
mike

I never lose. I either win or learn.
Nelson Mandela

The Potion
Konje
Reply With Quote
Thanked by:
  #40 (permalink)
 
mk77ch's Avatar
 mk77ch 
Switzerland
 
Experience: Advanced
Platform: NinjaTrader
Broker: Dorman
Trading: Currency Futures, ES
Posts: 132 since Oct 2010
Thanks Given: 27
Thanks Received: 350


If i am right, this bar type should come close to the UTB's:


would be interesting if somebody who owns the UTBs could compare them.

cheers

I never lose. I either win or learn.
Nelson Mandela

The Potion
Konje
Reply With Quote




Last Updated on January 1, 2018


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts