NexusFi: Find Your Edge


Home Menu

 





Dynamic Bar coding, help?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Silvester17 with 7 posts (17 thanks)
    2. looks_two hector24 with 6 posts (5 thanks)
    3. looks_3 trs3042 with 2 posts (2 thanks)
    4. looks_4 milford with 1 posts (0 thanks)
    1. trending_up 4,724 views
    2. thumb_up 24 thanks given
    3. group 4 followers
    1. forum 16 posts
    2. attach_file 4 attachments




 
Search this Thread

Dynamic Bar coding, help?

  #1 (permalink)
 hector24 
austin, texas
 
Experience: Intermediate
Platform: ninja trader
Trading: currency futures
Posts: 506 since Jan 2011
Thanks Given: 14
Thanks Received: 234

I am not familiar with coding but I was wondering if anyone can help. I am looking for an indicator that will paint a bar a different color than the other bars on the chart if and when the following happens. Volume is greater than last bar, Money flow is greater than last bar, Momentum is great than last bar, Price has broken the last 3 bars. It would also be nice if the bar could be painted a different color for down and different color for up. Hopefully other requirements could be incorporated into the indicator ie..macd, rsi, cci etc.. so that change could be implimented if desired. Also a choice of colors for bars.
Someones help would greatly appreciated. Attached example: http://screencast.com/t/MzCKIhlgEc

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Request for MACD with option to use different MAs for fa …
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
58 thanks
Battlestations: Show us your trading desks!
49 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 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

1) sounds like a lot of works to do. 2) by the time all of them indicators align the move is already over programming-wise.

Quoting 
Hopefully other requirements could be incorporated into the indicator ie..macd, rsi, cci etc.. so that change could be implimented if desired

this tells me you are not so sure if it work or not. Tip: next time make sure you sound like you know exactly what you need and what result we will get.

Reply With Quote
  #3 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527



hector24 View Post
I am not familiar with coding but I was wondering if anyone can help. I am looking for an indicator that will paint a bar a different color than the other bars on the chart if and when the following happens. Volume is greater than last bar, Money flow is greater than last bar, Momentum is great than last bar, Price has broken the last 3 bars. It would also be nice if the bar could be painted a different color for down and different color for up. Hopefully other requirements could be incorporated into the indicator ie..macd, rsi, cci etc.. so that change could be implimented if desired. Also a choice of colors for bars.
Someones help would greatly appreciated. Attached example: dynamic bars - hector24's library

I really don't know if this is going to be helpful.



Reply With Quote
The following 2 users say Thank You to Silvester17 for this post:
  #4 (permalink)
 hector24 
austin, texas
 
Experience: Intermediate
Platform: ninja trader
Trading: currency futures
Posts: 506 since Jan 2011
Thanks Given: 14
Thanks Received: 234


Silvester17 View Post
I really don't know if this is going to be helpful.



Yes sir Mr. Silvester. That is it. Is there anyway to get a template with the indicator you have for your chart.

Thanks
Hector

Started this thread Reply With Quote
  #5 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527


hector24 View Post
Yes sir Mr. Silvester. That is it. Is there anyway to get a template with the indicator you have for your chart.

Thanks
Hector

how do you know I'm a mr.?

first I need some more details.

conditions for an " up bar". current bar: volume > last bar, momentum > last bar, money flow > last bar.

conditions for a "down bar". current bar: volume > last bar, momentum < last bar, money flow < last bar.

now the price bars. not sure exactly what you mean with "broken the last 3 bars".

Reply With Quote
The following 2 users say Thank You to Silvester17 for this post:
  #6 (permalink)
 hector24 
austin, texas
 
Experience: Intermediate
Platform: ninja trader
Trading: currency futures
Posts: 506 since Jan 2011
Thanks Given: 14
Thanks Received: 234


Silvester17 View Post
how do you know I'm a mr.?

first I need some more details.

conditions for an " up bar". current bar: volume > last bar, momentum > last bar, money flow > last bar.

conditions for a "down bar". current bar: volume > last bar, momentum < last bar, money flow < last bar.

now the price bars. not sure exactly what you mean with "broken the last 3 bars".

Yes you are right my apologies, bad assumption. What I mean that the bar painted would either have to close higher or lower than the last 3 bars.

Thanks
Hector

Started this thread Reply With Quote
The following user says Thank You to hector24 for this post:
  #7 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527


hector24 View Post
Yes you are right my apologies, bad assumption. What I mean that the bar painted would either have to close higher or lower than the last 3 bars.

Thanks
Hector

no problem. was just a joke.

last question, do you want hollow up candles or all candles filled?

Reply With Quote
The following 3 users say Thank You to Silvester17 for this post:
  #8 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527

if I missed anything or you want some other changes, let me know.

with this version you can choose between hollow or filled candles. and you can select the periods for momentum and money flow.


Attached Files
Elite Membership required to download: DynamicBars.zip
Reply With Quote
The following 7 users say Thank You to Silvester17 for this post:
  #9 (permalink)
 hector24 
austin, texas
 
Experience: Intermediate
Platform: ninja trader
Trading: currency futures
Posts: 506 since Jan 2011
Thanks Given: 14
Thanks Received: 234


Silvester17 View Post
if I missed anything or you want some other changes, let me know.

with this version you can choose between hollow or filled candles. and you can select the periods for momentum and money flow.


Silvester GREAT! GREAT!. Just what I am looking for. Want to tell you Thanks A Lot.
This is what makes this room 2nd to none. Once again Thanks!

Thanks
Hector

Started this thread Reply With Quote
The following 3 users say Thank You to hector24 for this post:
  #10 (permalink)
 hector24 
austin, texas
 
Experience: Intermediate
Platform: ninja trader
Trading: currency futures
Posts: 506 since Jan 2011
Thanks Given: 14
Thanks Received: 234



Silvester17 View Post
if I missed anything or you want some other changes, let me know.

with this version you can choose between hollow or filled candles. and you can select the periods for momentum and money flow.


Silvester something strange is going on. Right now I have the Dynamic Bar indicator or my 3 minute chart. But when I go to put it on my 9 minute chart it does not come up. I have tried a new chart and loaded it but that did not work either. Do you know what may be going on.

Thanks
Hector

Started this thread Reply With Quote





Last Updated on April 20, 2012


© 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