Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can I create a custom dataseries in the wizard? Question for Patrick:

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

    Can I create a custom dataseries in the wizard? Question for Patrick:

    Hi all...

    Patrick, I was reading a post made by you back on 04-14-2014, at 11:24 PM, where you're discussing Moving Average displacement.

    You mention creating a dataseries and you include the following code example:

    Code:
            #region Variables
            private DataSeries displacedMA;
            #endregion
    
            protected override void Initialize()
            {
                displacedMA = new DataSeries(this);
            }
            
            protected override void OnBarUpdate()
            {
                displacedMA.Set(SMA(6)[4]);
                if(CrossAbove(SMA(3), displacedMA, 1))
                {
                    // Do something.
                }
            }
    Is this sort of thing possible in the Strategy Wizard? I'd like to try a couple of things without losing the ability to edit the strategy in the wizard. Wishful thinking?

    -V

    #2
    Hello Aurum,

    Thank you for your post.

    Unfortunately, it is not possible to create a Data Series in the Strategy Wizard.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    57 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    143 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    161 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    97 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    276 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X