Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to set alert based on MA cross?

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

    #31
    Hello,

    Yes the strategy will need to be recoded to run with every tick coming in in mind such as using variable flags, or you will need to unlock to code and move the order so that it submits orders only on the first tick of the bar. Essentially allowing you run with COBC=False and then allowing code to run in COBC=True mode inside the strategy.

    if (FirstTickOfBar)


    {

    // Do the following
    }


    Also, you can check the box in the strategy wizard or simply when you start the trategy live you set it their in the parameters for when you set it also.

    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #32
      I am sorry Bret, your first paragraph sounds like direct programming rather than accomplishing it through the qizard. I have no programming ability. How do i accomplish this through wizard?

      Comment


        #33
        Hello,

        You would not be able to. You are at the limit of what the wizard can provide.

        If you need assistance with custom coding something:

        You can contact one of our NinjaScript consultants to assist you with coding this or you can use our NinjaScript guide and forums to code this strategy yourself if you are a programmer.

        NinjaScript Consultants:

        NinjaScript Help Guide:

        NinjaTrader Support Forum:
        BrettNinjaTrader Product Management

        Comment


          #34
          The consultants page "does not exist"

          Comment


            #35
            Please try this updated one - http://www.ninjatrader.com/partners#...pt-Consultants

            Comment


              #36
              When my strategy produces a long or short position, it prints a marker on the chart. I have been able to adjust the position of the arrow up or down to get it out of the bars. At the same time the system prints text like "sell short [email protected]" something to that effect. Often this text is right on top of the bars and muddys up the chart, specially if there are several signals. Is there a way to move the text up/down or change what is actually printed for each signal?

              Comment


                #37
                Hello,

                You can move the text up a set amount however your asking if you can move it up and down dynamically per trade correct?

                This would be possible but would take custom programming. You would have to add some logic in to give you the diferent Value * TickSize to move the text up or down.

                Let me know if I can be of further assistance.
                BrettNinjaTrader Product Management

                Comment


                  #38
                  I don't mean dynamically, but just enough so it is out of the way, like the arrow can be offset certain number of ticks. How?

                  Comment


                    #39
                    Hello,

                    You would not be able to move the NinjaTrader generated chart data text and plot markers. If you would want to move them you would have to disable them on the chart and then add your own in the strategy. Using a text marker that you can then set to y value with an offset, just like you did the arrow.

                    BrettNinjaTrader Product Management

                    Comment


                      #40
                      How do i send you a strategy to trouble shoot?

                      Comment


                        #41
                        support at ninjatrader dot com and reference this forum post and send it as an attachment.
                        BrettNinjaTrader Product Management

                        Comment


                          #42
                          I am sorry i don't know where a strategy file would be and what type of file extension would it have. The name i gave to the strategy i developed, is that enough to find the file or attach?

                          Comment


                            #43
                            No need to.

                            Originally posted by ju1234 View Post
                            Thank you. I will work on it.

                            ANOTHER question: The indicator RSI (Close,14.3) built into NT plots two lines. I wanted to use a single line plot (I assume that would be no averaging). How do i modify this existing RSI. Thanks.
                            No need to. Just use a smoothing factor of 1. RSI(14, 1). An average over 1 period is identically the same as the value.

                            Comment


                              #44
                              Originally posted by ju1234 View Post
                              When applying the RSI to a chart, I see "period" selection = 14, that is the only number that needs to be kept, If I choose the "Smooth" number to 0, instead of present 3, will that not remove the smoothing line? The period selection is what calculates the RSI, correct? Thanks.
                              You would have to set the Smooth number to 1, not 0

                              Comment


                                #45
                                To Brett/Bert

                                I am sorry i don't know where (what folder) a strategy file would be and what type of file extension would it have.

                                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