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 f.saeidi, Today, 12:14 PM
      8 responses
      17 views
      0 likes
      Last Post f.saeidi  
      Started by Mikey_, 03-23-2024, 05:59 PM
      3 responses
      49 views
      0 likes
      Last Post Sam2515
      by Sam2515
       
      Started by Russ Moreland, Today, 12:54 PM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Erick  
      Started by philmg, Today, 12:55 PM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by TradeForge, 04-19-2024, 02:09 AM
      2 responses
      32 views
      0 likes
      Last Post TradeForge  
      Working...
      X