Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Chaged this but won't change

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

    Chaged this but won't change

    private Color supportColor = Color.Magenta;
    private Color resistanceColor = Color.Blue;
    private Color currDotColor;
    private double currDotValue;
    private string dotText = "2l";
    //private Font pfont = new Font("Arial", 15, FontStyle.Bold, GraphicsUnit.Point);
    private Font pfont = new Font("Wingdings", 6, FontStyle.Bold, GraphicsUnit.Point);
    private int yPixels = 1;
    private bool drawingSupport = true;

    // private BoolSeries Trend;
    // private int DaysInTrend;
    // private DataSeries ITrend;
    // private DataSeries Trendline;
    #endregion

    #region Variables
    // Wizard generated variables
    private double alpha = 0.07; // Default setting for Alpha
    private bool drawSupportResistance = true;
    private SineWaveMethodEnum method = SineWaveMethodEnum.CyberneticsAnalysis;
    private SmoothMethodEnum smoothMethod = SmoothMethodEnum.WMA;
    private int priceSmoothPeriod = 6;
    private int jurikJMAPhase = 0;

    I changed two items in the script for the SineWave code (marked in bold) and saved it, and then restatred Ninja. It worked the first time where it made the dots bigger (windings and locked in the smoothing I wanted (it wont change permanently in the actual indicator) but I since added other new indicators, which I have since removed

    The problem is that I can't get the dots size and the smoothing time to lock in even after restarting Ninja now, wheras it worked before. What's going on? How can get the indicator back to the way I wanted it?

    #2
    Hello,

    Thanks for the note.

    In the attached code I do not see anything wrong here that would do this. I suspect another area of the code. Please send in your full code to support at ninjatrader dot com ATTN: brett and reference this forum post for me to look into this.\



    I look forward to assisting you further.
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    576 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    334 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    553 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X