Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

If indicator Name = "";

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    If indicator Name = "";

    I always hide indicator name on chart in NT7 - this helps to economize area, increasing visibility and helps to keep trading ideas secure.

    If set Name = "" in NT8 this way:

    Code:
    	protected override void OnStateChange()
    		{
    			if (State == State.SetDefaults)
    			{
    				Name = "";
    			}
    		}
    Indicator name disappear from Indicator window (Please, look in attachment).


    I am sure, users must have possibility to hide indicator name on chart.

    P.S. This method work in NT&, but don't work in NT8 - Indicator name + chart parameters + indicator parameters stay visible on chart.

    Code:
    public override string ToString() 	{ 	return "";  	}
    Attached Files
    Last edited by fx.practic; 08-21-2016, 07:05 AM.
    fx.practic
    NinjaTrader Ecosystem Vendor - fx.practic

    #2
    This work at the moment:

    Code:
    protected override void OnStateChange()
    		{
    			if (State == State.SetDefaults)
    			{
    				Name = "MyBestIndicator";
    			}
    
    			if (State == State.DataLoaded)
    			{
    				Name = "";
    			}
    		}
    fx.practic
    NinjaTrader Ecosystem Vendor - fx.practic

    Comment


      #3
      Hello fx.practic,

      That is definitely the correct approach if you would like an indicator's name to show up on the properties screen and not the chart. Please let us know if we can be of assistance, and we will be happy to help.
      Jessica P.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by andrewtrades, Today, 04:57 PM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by chbruno, Today, 04:10 PM
      0 responses
      3 views
      0 likes
      Last Post chbruno
      by chbruno
       
      Started by josh18955, 03-25-2023, 11:16 AM
      6 responses
      436 views
      0 likes
      Last Post Delerium  
      Started by FAQtrader, Today, 03:35 PM
      0 responses
      6 views
      0 likes
      Last Post FAQtrader  
      Started by rocketman7, Today, 09:41 AM
      5 responses
      19 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X