NexusFi: Find Your Edge


Home Menu

 





Custom coloured bars.


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one KennyK with 5 posts (0 thanks)
    2. looks_two Fat Tails with 3 posts (3 thanks)
    3. looks_3 cory with 1 posts (1 thanks)
    4. looks_4 Silvester17 with 1 posts (0 thanks)
    1. trending_up 2,351 views
    2. thumb_up 4 thanks given
    3. group 3 followers
    1. forum 8 posts
    2. attach_file 1 attachments




 
Search this Thread

Custom coloured bars.

  #1 (permalink)
 
KennyK's Avatar
 KennyK 
Sunshine Coast Queensland Australia
 
Experience: Intermediate
Platform: Ninja Trader, DT7.
Broker: Ninjatrader
Trading: AUD Futures
Posts: 95 since Apr 2013
Thanks Given: 29
Thanks Received: 24

Hi,
Wondering if anyone knows of a way to achieve the following:

When the OLHC bar type is selected in Ninja I want to be able to color the bars differently to the default.
Default is one color option for bars with a higher close and another color for bars with a lower close.

What I would like to do is have one color option for bars with a higher high and higher low, and a different color option for bars with a lower low and lower high.
A different color option for doji's, a different color for inside bars, a different color for outside bars, a different color for key reversal bars, etc.

Any help appreciated.
Thanks,
Ken.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
Trade idea based off three indicators.
Traders Hideout
Quant vue
Trading Reviews and Vendors
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
What is Markets Chat (markets.chat) real-time trading ro …
70 thanks
Spoo-nalysis ES e-mini futures S&P 500
55 thanks
Bigger Wins or Fewer Losses?
24 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
The Program
20 thanks
  #2 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


KennyK View Post
Hi,
Wondering if anyone knows of a way to achieve the following:

When the OLHC bar type is selected in Ninja I want to be able to color the bars differently to the default.
Default is one color option for bars with a higher close and another color for bars with a lower close.

What I would like to do is have one color option for bars with a higher high and higher low, and a different color option for bars with a lower low and lower high.
A different color option for doji's, a different color for inside bars, a different color for outside bars, a different color for key reversal bars, etc.

Any help appreciated.
Thanks,
Ken.

check this out, look for anarange analysis after you install it

Reply With Quote
Thanked by:
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


I have once coded an indicator that analyzes price action and identifies various cases

TU = translation up
TD = translation down
CCC = lateral consolidation (a row of inside bars following a wide range bar)
IB = regular inside bar
OB = outside bar
STU = stitch up (second bar has same low, but higher high)
STD = stitch down (second bar has same high, but lower low)
FTP = flat top pennant (inside bar, second bar has same high, but higher low)
FBP = flat bottom pennant (inside bar, second bar has same low, but lower high)
H = harmonic bar (second bar has same high and low)

There are unlimited possibilities achieving what you wish to do, but you need to make an exact definition of the bar types and then think how to use them.




Here is one of the sources for the mehtodology:

http://www.traderslaboratory.com/forums/topic/4069-the-price-volume-relationship/

Reply With Quote
Thanked by:
  #4 (permalink)
 
KennyK's Avatar
 KennyK 
Sunshine Coast Queensland Australia
 
Experience: Intermediate
Platform: Ninja Trader, DT7.
Broker: Ninjatrader
Trading: AUD Futures
Posts: 95 since Apr 2013
Thanks Given: 29
Thanks Received: 24


cory View Post
check this out, look for anarange analysis after you install it

Thanks Cory,
I have installed and checked it out. It is close to what I want.
The main difference is I want an additional option to define up and down bars.
ana range analysis defines up bars as bars with a higher close, and conversely down bars are bars with a lower close. I need an option to change that to up bars = bars with higher high and lower low, down bars lower high and low, both irrespective of the close.

Cheers,
Ken.

Started this thread Reply With Quote
  #5 (permalink)
 
KennyK's Avatar
 KennyK 
Sunshine Coast Queensland Australia
 
Experience: Intermediate
Platform: Ninja Trader, DT7.
Broker: Ninjatrader
Trading: AUD Futures
Posts: 95 since Apr 2013
Thanks Given: 29
Thanks Received: 24


Fat Tails View Post
I have once coded an indicator that analyzes price action and identifies various cases

TU = translation up
TD = translation down
CCC = lateral consolidation (a row of inside bars following a wide range bar)
IB = regular inside bar
OB = outside bar
STU = stitch up (second bar has same low, but higher high)
STD = stitch down (second bar has same high, but lower low)
FTP = flat top pennant (inside bar, second bar has same high, but higher low)
FBP = flat bottom pennant (inside bar, second bar has same low, but lower high)
H = harmonic bar (second bar has same high and low)

There are unlimited possibilities achieving what you wish to do, but you need to make an exact definition of the bar types and then think how to use them.




Here is one of the sources for the mehtodology:

The Price / Volume Relationship - Traders Laboratory - 6320

I can probably use this one if it is available thanks Fat tails.
The main thing missing would be custom colour for doji's.
But I could still use it, I expect.
Cheers,
Ken.

Started this thread Reply With Quote
  #6 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


KennyK View Post
I can probably use this one if it is available thanks Fat tails.
The main thing missing would be custom colour for doji's.
But I could still use it, I expect.
Cheers,
Ken.

I think that you should define exactly what you need, that is bar types and associated colors.

How do you intend that to use that information for your trading method?

Reply With Quote
  #7 (permalink)
 
KennyK's Avatar
 KennyK 
Sunshine Coast Queensland Australia
 
Experience: Intermediate
Platform: Ninja Trader, DT7.
Broker: Ninjatrader
Trading: AUD Futures
Posts: 95 since Apr 2013
Thanks Given: 29
Thanks Received: 24

Bar types in order of ranking.
(only compared to immediate previous bar)

Outside bar = higher high and lower low
Doji star = open and close at exactly the same price, (intra day), or up to 1 tick difference on (daily or greater).
Key reversal bar, up = open and close above the mid point.
Key reversal bar, down = open and close below the mid point.
Inside bar = lower high and higher low.
Up Bar = equal or higher low, higher high.
Down Bar = equal or lower high, lower low.

All with the ability to have a custom color assigned to them.

This what would suit me exactly for my trading method.
I would be able to spot set ups from across the room with just a glance.

Cheers,
Ken.

Started this thread Reply With Quote
  #8 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


KennyK View Post
Bar types in order of ranking.
(only compared to immediate previous bar)

Outside bar = higher high and lower low
Doji star = open and close at exactly the same price, (intra day), or up to 1 tick difference on (daily or greater).
Key reversal bar, up = open and close above the mid point.
Key reversal bar, down = open and close below the mid point.
Up Bar = equal or higher low, higher high.
Down Bar = equal or lower high, lower low.

All with the ability to have a custom color assigned to them.

This what would suit me exactly for my trading method.
I would be able to spot set ups from across the room with just a glance.

Cheers,
Ken.

@KennyK: With that definition you will probably get too many signals. For key reversal up & down, for translational up and down bars it is important to have a look at the range. If those bars are narrow range bars, they are not very significant. I would therefore add a condition that their range is above average (average range or average true range).

Reply With Quote
Thanked by:
  #9 (permalink)
 
KennyK's Avatar
 KennyK 
Sunshine Coast Queensland Australia
 
Experience: Intermediate
Platform: Ninja Trader, DT7.
Broker: Ninjatrader
Trading: AUD Futures
Posts: 95 since Apr 2013
Thanks Given: 29
Thanks Received: 24


Fat Tails View Post
@KennyK: With that definition you will probably get too many signals. For key reversal up & down, for translational up and down bars it is important to have a look at the range. If those bars are narrow range bars, they are not very significant. I would therefore add a condition that their range is above average (average range or average true range).

Yes, good point with the key reversals. But the up and down bars would be ok as defined.
I have given it some further thought and would say that it would likely be advantageous to have it so the key reversals, outside and inside bars were perhaps rated as such or as significant or not by the application of an ATR condition as a variable parameter in the properties.

I should say that my trading approach is very much based on Ganns work. I watch swing charts as well as bar charts.
Once I have an A~B range measured, I then stalk an entry on the B~C range. Looking for time and price to balance.
I will have a Gann fan set off point B at the speed of A~B, intersecting with a fan off point A.
Looking for a bar to alert me to a possible set up. Typically a Doji, key reversal or outside reversal.
If I see the bar turning off one of the angles, then I'm interested. I'll do a quick calc for time and price, if within tolerance, will then wait for a swing signal and bar pattern to confirm.

So having said that ideally, (for this example a bear market with a B~C rally), I would prefer to see green up bars from point B all the way to point C, except the last bar being a different color signalling a possible reversal.
What I see at present are a mix of green and red for everything, (NT default). Even in an an up trend as defined by Gann. Higher highs and higher lows regardless of close = up trend, I would like them all green. Unless they are one of the signal bars.

I hope that helps you understand my requirements.

Cheers,
Ken.

Started this thread Reply With Quote




Last Updated on February 24, 2014


© 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