Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Volume Buy Sell Momentum Indicator Question

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

    Volume Buy Sell Momentum Indicator Question

    12/7/2023
    Long time reader of the forums, but this is my first contribution. I found this indicator on the B4 forum months ago and loved it. By far one of my favorite. Unfortunetly there was an XML coding error that prevented it from saving in workspaces. At the time I tried to contact the contributor, but […]


    04/27/2024


    This indicator was shared in the Ecosystem and again later in the forum

    When added to a chart there are 3 inputs Parameters, there are for ROC MA, Delta MA, and Avg Delta MA

    But on use in a strategy only the ROC MA parameter appears, the code looks correct and I cannot figure out why the other parameters are not show in the strategy

    Thanks for any help
    DTS

    #2
    Hello DTSSTS,

    Are you asking about using the indicator in the strategy builder? In general none of the indicators parameters will automatically appear in your strategies settings, you would have to make a user input for any settings you wanted to pass to the indicator.

    Comment


      #3
      Yes I did that part as well. The actually indicator did not allow input for the Delta MA and Avg Delta MA

      [NinjaScriptProperty] << was missing from the script below. This fixed the issue.

      The Code now is


      [NinjaScriptProperty]
      [Range(1, int.MaxValue)]
      [Display(Name="Delta MA Length", Order=2, GroupName="Parameters")]
      public int Delta_MA
      { get; set; }

      [NinjaScriptProperty]
      [Range(1, int.MaxValue)]
      [Display(Name="Avg Delta MA Length", Order=3, GroupName="Parameters")]
      public int Avg_Delta_MA
      { get; set; }

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      51 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      142 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      160 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      96 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      275 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X