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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    67 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    36 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    60 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X