• 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

Macdbb strategy

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

    Macdbb strategy

    Hello everyOne,


    I'm using Strategy Builder to develop my strategy,
    One of my signals is the MACDBBS indicator, I need to set that when the price closes above 0.3 make a long entry for example, and when it closes below -0.3 make a short entry.

    how i can configure this?

    Thanks

    #2
    Hello FernandoParra,

    Thanks for your post.

    You would need to make two conditions in the Strategy Builder that check if (Strategy>Current Market Position == Strategy>Market Position>Flat) AND that indicator Plot Value is greater than a Numeric value of 0.3 to call EnterLong() and another condition to check the opposite and EnterShort().

    More information on using the Strategy Builder can be referenced here - https://www.youtube.com/watch?v=HCyt90GAs9k

    Market Position Comparisons - https://ninjatrader.com/support/help...ionComparisons

    Referencing indicator plots - https://ninjatrader.com/support/help...plotIndicators

    Please let us know if you have any additional questions.
    JimNinjaTrader Customer Service

    Comment


      #3
      Jim Thank for your time,
      I was able to do what I needed.
      Now I have another doubt, I do not know if you can help me,
      the other indicator is a keltner channel, I want the other condition for the strategy to be that if the price approaches at least 2 ticks above the midband of the keltner it generates the buy signal in almost a long.

      There would be two conditions in this strategy

      FernandoP

      Comment


        #4
        Hello FernandoParra,

        Price comparisons can also be made in the Strategy Builder.

        You could create a condition in that references the Keltner channel plot and if the current price is greater or equal to the Keltner Channel plot with a Tick Offset.

        Price data comparisons - https://ninjatrader.com/support/help...ataComparisons

        Using Offsets - https://ninjatrader.com/support/help...setAnItemValue

        If this does not help resolve your inquiry could you describe what conditions you have tried specifically and results you have gotten?

        I look forward to being of further assistance.
        JimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by saltminer, Today, 05:19 PM
        0 responses
        3 views
        0 likes
        Last Post saltminer  
        Started by martyn73, Today, 04:18 PM
        0 responses
        2 views
        0 likes
        Last Post martyn73  
        Started by aprendiz, Today, 03:42 PM
        0 responses
        2 views
        0 likes
        Last Post aprendiz  
        Started by 1001111, Today, 09:10 AM
        1 response
        18 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by usero86, Today, 06:02 AM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Working...
        X