Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Where to start if I want to create a strategy on a trading set-up?

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

    Hi Ryan

    Great to learn that my syntax is in good order. Thank you. I am going to re-write my Boolseries indicator/strategy (a simpler version) and see if I am able to make them functional before adapting them to the advanced one I want. You will hear from me.

    Continue enjoying your day.

    Comment


      Good afternoon

      My simple BoolSeries indicators worked. No luck when adapting it to a MTF one (both strategy and indicator version). Not sure why my EZZBoolSeries indicator will trigger the following error message:

      World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


      Note: I compiled EZZBoolSeries indicator successfully.

      I must have missed something! Appreciate your tips. Thank you.

      Comment


        I'm not sure why you have that compile error. If you can post the indicator file EZZBoolSeries, we can take a look at how it may be referenced in a strategy.
        Ryan M.NinjaTrader Customer Service

        Comment


          Hi Ryan

          Thanks for your kind offer reviewing my BoolSeries indicator. I am going to trim down the script further and see if I may resolve the "Type" error issue. Or else may I email the BoolSeries indicator to your attention via support(dot)ninjatrader(dot)com? I am unable to share it in a public forum

          Thanks in advance. Have a great day/relaxing weekend.

          Comment


            belecona, sounds good please let us know how it goes - if you're not making progress we can give your indicator a run here as well of course.

            Comment


              I'm back to modify an existing MA indicator and simply want to draw a line when price breaks above/below the Slow MA. Compiled the revised indicator successfully though it has not plotting any lines lol.

              My code based on an indicator with DrawLine:
              //Draw Lines
              if (drawlines)
              DrawLine("line"+CurrentBar, false, 4, SMA(7)[0]+(1*TickSize),0,SMA(7)[0]+(1*TickSize),Color.Lime.DashStyle.Solid,2);

              Error message on the Log tab:
              Error on calling 'OnBarUpdate' method for indicator 'ABC' on bar 0: ABC.DrawLine: startBarsAgo out of valid range 0 through 0, was 4.

              Appreciate tips to fix it please. Thank you.

              Comment


                belecona, please ensure you have the needed check for enough bars at the beginning of the chart in place, here for a min of 4.

                Comment


                  Hi Bertrand

                  Thanks for your tips. It's plotting lines now after adding

                  if
                  (CurrentBar<5) return;

                  Have a nice weekend.

                  Comment


                    Good afternoon

                    I have a quick question please. When some predetermined conditions are met, my indicator will draw Up/Down arrows on the chart. Is it possible to print the current price on the chart when Up/Down arrow gets triggered? If yes, please direct me to find out how. Thank you. Have a great week.

                    Comment


                      Yes, you can take multiple actions within the same code block that draws arrows.

                      if (Close[0] > Open[0])
                      {
                      //DrawArrows
                      //Can use DrawText() to write price info on the charts.
                      Print("Close value is: " + Close[0]);
                      }

                      Ryan M.NinjaTrader Customer Service

                      Comment


                        Good morning

                        Thanks for your tip. Am still trying to get the price plotting on the chart

                        I have a new question please. Is it possible to have a multi-time frame indicator involving a minute and a range interval setting at the same time? Please enlighten me. Thank you.

                        Comment


                          Yes, that's fine. There are no restrictions combining minute and range in the same multiseries script.
                          Ryan M.NinjaTrader Customer Service

                          Comment


                            That's good news Ryan! I will see if I can "marry" minute and range on one lol. Thank you.

                            Comment


                              Hi Ryan

                              Believe you have had a nice weekend. You will be glad to learn that I succeeded in creating a multi-time frame indicator that will plot a line and price on a lower time frame chart once some predetermined higher time frame conditions are met.

                              World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


                              It took me some weeks and numerous attempts to make it. I'm very grateful for the support you and your team (such as Bertrand, Austin, Josh and Matthew) have been providing me or else it will never happen.

                              I will continue working on the more advanced multi-time frame signal indicator. It's been over 3 months now. Maybe this baby milestone will give me some new ideas to try lol.

                              Have a great week.

                              Comment


                                Glad to hear you're making progress and that we've been able to guide you in the right direction! Thanks for the status update.
                                Ryan M.NinjaTrader Customer Service

                                Comment

                                Latest Posts

                                Collapse

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