Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Printing Up/Down Arrows For Trade Signals?

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

    #16
    Hello shooly76,

    Thank you for the screenshots.

    This may indicate that as the strategy was enabled, the MoneyFlowOscillator plot using 42 as the Period did not cross below 0 any time between 9:00 AM and 10:31 AM.

    I recommend that you use prints to find which of these values is causing the condition to evaluate as false.

    Below is a link to a forum post that includes a link to a video that demonstrates using prints in the Strategy Builder to understand behavior.


    Print the time of the bar and print the value of MoneyFlowOscillator(42).
    Then save the output to a text file and include this with your reply.

    From the output, on each bar we'll be able to see the value of the MoneyFlowOscillator and look for any bar where the value is above 0 and then crosses below 0 between 9 and 10:31.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #17
      Hello shooly76,

      The prints would let us know that the strategy is enabled and what is happening in Playback.

      Are you certain you have enabled the strategy? (Is the Enabled checkbox checked?)
      Chelsea B.NinjaTrader Customer Service

      Comment


        #18
        Hello shooly76,

        We need to know what data the strategy is evaluating in the conditions to know why the condition is not evaluating as true.

        You could try guessing but there is no guarantee you are going to guess the issue correctly and fix it. I would recommend using prints to just understand why the condition is not evaluating as true which will give you your answer.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by _Zero_, 04-10-2020, 03:21 PM
        145 responses
        7,898 views
        6 likes
        Last Post johng2
        by johng2
         
        Started by TheTradingMantis, 01-19-2023, 02:05 AM
        43 responses
        916 views
        0 likes
        Last Post jmagaia
        by jmagaia
         
        Started by sevansounds, 06-25-2020, 10:40 PM
        5 responses
        1,554 views
        1 like
        Last Post johng2
        by johng2
         
        Started by ETFVoyageur, 05-07-2024, 07:05 PM
        10 responses
        72 views
        0 likes
        Last Post ETFVoyageur  
        Started by Zeezee, Today, 12:45 PM
        3 responses
        14 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Working...
        X