NexusFi: Find Your Edge


Home Menu

 





Bollinger Band Price Markers Only


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one stockgoblin with 4 posts (0 thanks)
    2. looks_two vegasfoster with 2 posts (0 thanks)
    3. looks_3 panjm with 1 posts (1 thanks)
    4. looks_4 ninjadiluce with 1 posts (0 thanks)
    1. trending_up 2,230 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 8 posts
    2. attach_file 4 attachments




 
Search this Thread

Bollinger Band Price Markers Only

  #1 (permalink)
stockgoblin
Canaduh
 
Posts: 22 since Aug 2011
Thanks Given: 3
Thanks Received: 3

Hi,

I'm using BollingerEma2FpTrendByThatManFromTexas and it rocks!! I'm sure it's on here.

I'd like to hack it so that I see the Price Markers Only. The problem is that when you turn the colors to transparent the price markers go transparent as well and nothing shows up. I had a look at the code but it's more advanced than I am.

Anybody know of a way to just see the price markers and not the bands??

What part of the code actually does the plots?? Something about a BASE??

Thanks for any info!

Attached Files
Elite Membership required to download: BollingerEma2FpTrendByThatManFromTexas.cs
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
Cheap historycal L1 data for stocks
Stocks and ETFs
ZombieSqueeze
Platforms and Indicators
 
  #2 (permalink)
 vegasfoster 
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
Posts: 1,145 since Feb 2010
Thanks Given: 304
Thanks Received: 844

I don't have nt loaded anymore, but edit the indicator and delete or comment out the plot you don't want to see anymore. Comment out by putting /// before the line.


Reply With Quote
  #3 (permalink)
stockgoblin
Canaduh
 
Posts: 22 since Aug 2011
Thanks Given: 3
Thanks Received: 3


alright, I commented out all the plots you indicated, compiled and added the indicator to a couple charts and the bands are still there. Impossible, you say? No sorry, tried it a few times. Weird?

Reply With Quote
  #4 (permalink)
 vegasfoster 
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
Posts: 1,145 since Feb 2010
Thanks Given: 304
Thanks Received: 844

Hmm, well he has a separate section where it looks likes he is doing some fancy color filling. Are the bands you are seeing lines or just color fill? Maybe post a chart showing what you want to keep and what you want to lose.

Reply With Quote
  #5 (permalink)
stockgoblin
Canaduh
 
Posts: 22 since Aug 2011
Thanks Given: 3
Thanks Received: 3


vegasfoster View Post
Hmm, well he has a separate section where it looks likes he is doing some fancy color filling. Are the bands you are seeing lines or just color fill? Maybe post a chart showing what you want to keep and what you want to lose.

Color fills and lines - I want nothing on the chart except the price markers that give the bands values and appear in the right hand Y-Axis. If I could find how to choose their color seperately then I could just change the bands to Transparent but they default to the same color as the bands.

Reply With Quote
  #6 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,633 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,426


stockgoblin View Post
Color fills and lines - I want nothing on the chart except the price markers that give the bands values and appear in the right hand Y-Axis. If I could find how to choose their color seperately then I could just change the bands to Transparent but they default to the same color as the bands.

Simplest cheat I can think of is to use a chart background color (e.g. WhiteSmoke attached), set the Bollinger bands to the same color and use Z-Order (click select, Shift-mouse wheel) to move price above the faint Bolly lines.



Not ideal but it works, if I have a better light bulb moment over Easter I'll post it.

Travel Well
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #7 (permalink)
stockgoblin
Canaduh
 
Posts: 22 since Aug 2011
Thanks Given: 3
Thanks Received: 3

Yea, that's it. Here I am messing around with the code when I can just match the lines to the background color. Duh! Thanks

Reply With Quote
  #8 (permalink)
 
panjm's Avatar
 panjm 
Singapore
 
Experience: Beginner
Platform: MT4
Trading: Forex
Posts: 143 since May 2012
Thanks Given: 262
Thanks Received: 468

I added an if statement to "public override void Plot".

You can toggle the plot with the showPlot parameter that I added.

But I am not confident that this is the way to do it, so please try it.

Attached Thumbnails
Click image for larger version

Name:	try.png
Views:	217
Size:	16.2 KB
ID:	106967  
Attached Files
Elite Membership required to download: BollingerEma2FpTrendByThatManFromTexas2.zip
Reply With Quote
Thanked by:
  #9 (permalink)
 
ninjadiluce's Avatar
 ninjadiluce 
italia
 
Experience: Master
Platform: NinjaTrader
Trading: Futures
Posts: 93 since Feb 2013
Thanks Given: 75
Thanks Received: 14

.....................................................................

i have done by myself

Reply With Quote




Last Updated on March 22, 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