NexusFi: Find Your Edge


Home Menu

 





Hide / Unhide Indicator


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Mindset with 14 posts (10 thanks)
    2. looks_two Richard with 5 posts (2 thanks)
    3. looks_3 Big Mike with 4 posts (1 thanks)
    4. looks_4 TraderJesse with 3 posts (1 thanks)
      Best Posters
    1. looks_one rt-trader with 5 thanks per post
    2. looks_two roonius with 3 thanks per post
    3. looks_3 Mindset with 0.7 thanks per post
    4. looks_4 Richard with 0.4 thanks per post
    1. trending_up 17,789 views
    2. thumb_up 23 thanks given
    3. group 12 followers
    1. forum 36 posts
    2. attach_file 18 attachments




 
Search this Thread

Hide / Unhide Indicator

  #1 (permalink)
 
Mindset's Avatar
 Mindset 
Singapore
 
Experience: Intermediate
Platform: NT
Broker: ib
Trading: MES
Posts: 365 since Sep 2009
Thanks Given: 90
Thanks Received: 291

There must be a way to simply turn on / off an indicator ?
cunparis raised the issue here but even NT 7 doesn't seem to have resolved this simple issue.

If someone can show me how, by using a bool, I can effectively run / not run the indicator - the rest I can do and share eg key codes to switch the indicator 'on' and 'off'

I have tried
(if(CurrentBar = 0 || ShowIndicator)
return;

but once I thought about it that obviously won't work.

Any ideas anyone.

Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
ZombieSqueeze
Platforms and Indicators
Increase in trading performance by 75%
The Elite Circle
Exit Strategy
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
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
  #3 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,212
Thanks Received: 101,599


No way to do it. Which is another example of pure insanity. They add all this stuff to NT7 but yet don't add the most basic of things that anyone who uses the platform 8 hours a day would really like to see...

Anyway, went off there a bit, sorry

Change all plots to transparent or remove it from chart. Only options. I should point out in MultiCharts there is a single button you can click -- viola, on/off.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,212
Thanks Received: 101,599


Mindset View Post
If someone can show me how, by using a bool, I can effectively run / not run the indicator - the rest I can do and share eg key codes to switch the indicator 'on' and 'off'

If you want to reprogram your indicators to do what should be done by NT itself, then the easiest way would be to use a boolean like you said.

In the #onbarupdate section, just do if (!ShowIndicator) return;

make sure ShowIndicator is defined and is a Parameter.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 
perryg's Avatar
 perryg 
Rechovot
 
Experience: Advanced
Platform: NinjaTrader
Broker: CQG
Trading: Index,Currency and Energy futures
Posts: 1,644 since Jan 2010
Thanks Given: 508
Thanks Received: 6,288

Mike,

I totally agree with you. Have you pointed this failure our to Ninja. I beleive that you are Beta testing. It is something very basic, and can be internally programmed in an instant. It is a Toggle.

Reply With Quote
  #6 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,212
Thanks Received: 101,599


perryg View Post
Mike,

I totally agree with you. Have you pointed this failure our to Ninja. I beleive that you are Beta testing. It is something very basic, and can be internally programmed in an instant. It is a Toggle.

Sorry, but I've had all the "We'll add it to our list of suggestions for consideration" replies I need for this lifetime.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #7 (permalink)
 
TraderJesse's Avatar
 TraderJesse 
Denver
 
Experience: None
Platform: NinjaTrader
Posts: 85 since Aug 2009
Thanks Given: 51
Thanks Received: 95

Minset

This might be an example of what you wanting to do. I have done this to several indicators, they where all the type where they are overlayed on panel one. Ema's, Pivots, etc. You still have to open the indicator properties but you don't remove from the list for that chart.

I haven't tried one that is in it's own panel like volume, rsi, macd, etc.

Attached Thumbnails
Click image for larger version

Name:	2010-03-11_065100.png
Views:	382
Size:	407.3 KB
ID:	9544   Click image for larger version

Name:	2010-03-11_064719.png
Views:	341
Size:	6.6 KB
ID:	9545   Click image for larger version

Name:	2010-03-11_064813.png
Views:	318
Size:	5.4 KB
ID:	9546   Click image for larger version

Name:	2010-03-11_064905.png
Views:	315
Size:	10.3 KB
ID:	9547  
Reply With Quote
  #8 (permalink)
 
Mindset's Avatar
 Mindset 
Singapore
 
Experience: Intermediate
Platform: NT
Broker: ib
Trading: MES
Posts: 365 since Sep 2009
Thanks Given: 90
Thanks Received: 291

Yes it's certainly a tricky one.
Thanks for all the advice - I will play around and see if I can resolve the whole issue. If I do I will post it here.

Started this thread Reply With Quote
  #9 (permalink)
 
TraderJesse's Avatar
 TraderJesse 
Denver
 
Experience: None
Platform: NinjaTrader
Posts: 85 since Aug 2009
Thanks Given: 51
Thanks Received: 95

Mindset

Check out the jiEconNewsAddln indicator. It has a good example of what would be a neat way to hide/unhide an indicator. You can set his indicator to Autohide and on the Ninja Toolbar bar it adds the ability to unhide it. I don't have the skill to understand how he did it. But I am sure there are plenty here that can.

Links



[email protected]: jtEconNews Add-In for [AUTOLINK]NinjaTrader[/AUTOLINK] 6.5

Attached Thumbnails
Click image for larger version

Name:	2010-03-11_092349.jpg
Views:	332
Size:	154.7 KB
ID:	9559   Click image for larger version

Name:	2010-03-11_092448.jpg
Views:	312
Size:	123.4 KB
ID:	9560  
Reply With Quote
  #10 (permalink)
 
Mindset's Avatar
 Mindset 
Singapore
 
Experience: Intermediate
Platform: NT
Broker: ib
Trading: MES
Posts: 365 since Sep 2009
Thanks Given: 90
Thanks Received: 291


Wow that is some coding - I can't even find the source code let alone try and understand it!
Thanks for letting me know about this though.

Started this thread Reply With Quote




Last Updated on July 20, 2022


© 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