• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Pivot Touch plus MACD cross signal but different bars

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

    Pivot Touch plus MACD cross signal but different bars

    Is it possible to create a strategy where price hits a certain pivot point and then, sometime in the near future, go long or short when the MACD crosses 0? For example, if NQM6 hit a daily S1 point (so price was going down) and then during the price recovery we would go long when MACD crossed above 0. The problem I have currently is that market replay allows a 'bars ago' input but the signal would occur 'in the future' and the time is not known when that happens.

    Appreciate any input - even if to say it's not possible. Thanks all!

    #2
    Hello Jschmelz,

    This is likely possible.

    Below is a link to the help guide on calling the Pivots indicator.
    https://ninjatrader.com/support/help...-us/pivots.htm

    And a link on calling the MACD indicator.
    https://ninjatrader.com/support/help...gence_macd.htm

    As well as a link to a forum post with helpful information about getting started with NinjaScript.
    https://ninjatrader.com/support/foru...040#post786040


    With the logic, you can store information to variables. For example using a bool that is set to true when one condition is true (set as a trigger) and then requiring that bool to be true in another condition that completes the action at a later time and resets the bool for the next setup.

    Below is a public link to a 3rd party educational site on bool.
    https://www.dotnetperls.com/bool
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks Chelsea! I'll dig through these and will follow up with any other questions.

      Comment


        #4
        So this would be something I would have to code in myself, correct?

        Comment


          #5
          Hello Jschmelz,

          Yes, you would need to code the logic of the strategy.

          You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like our business development follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Hey Chelsea - if you could have someone follow up with me then that would be much appreciated. Thanks again!

            Comment


              #7
              Hello Jschmelz,

              This is Chris following up on behalf of Chelsea.

              You can search our extensive library of NinjaScript consultants through the link below. Simply enter a consultant name or search by using our filter categories. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more:You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Since these consultants are third-party services for NinjaTrader, all pricing and support information will need to be obtained through the consultant.

              The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The companies and services listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem, LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

              Let me know if I may be of further assistance.
              Christopher D.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by StevenNelson, Today, 05:49 AM
              1 response
              4 views
              0 likes
              Last Post NinjaTrader_PatrickG  
              Started by fx.practic, Today, 01:41 AM
              0 responses
              11 views
              0 likes
              Last Post fx.practic  
              Started by wolfcuring, Today, 01:29 AM
              0 responses
              3 views
              0 likes
              Last Post wolfcuring  
              Started by BrandonT1292, 06-17-2019, 03:03 PM
              2 responses
              30 views
              0 likes
              Last Post thinarthrill  
              Started by cbentrikin, Yesterday, 07:46 PM
              1 response
              11 views
              0 likes
              Last Post NinjaTrader_Marco  
              Working...
              X