Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Alert Strategy does not work

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

    #16
    Do you see the arrows placed on the chart?

    If you want to get an alert as soon as it crosses over and no on the bar close, you would need to run this strategy with CalculateOnBarClose = false.

    Comment


      #17
      there is nothing, neither on the chart nor on the alert window...

      Comment


        #18
        Do you use the strategy from my post #14? If yes, please post a screenshot of the behavior you see. Thanks.

        Comment


          #19
          Yes, I use your strategy
          Attached Files

          Comment


            #20
            As you are on MBT - which Pip setting are you using? It looks like you have set it to Pip, where it should be set to TenthPip for MBT under Tools > Options > Misc.

            Comment


              #21
              Yes, I am on MBT and I just change from Pip to TenthPip... Thks,

              Comment


                #22
                I don't know why, but now the alert works...
                But the arrow is not set on the graph...
                How to do to see the arrows ??

                Comment


                  #23
                  What arrows are you referring to? If your code does not have a code line to draw arrows you won't see any. Please confirm.
                  Josh P.NinjaTrader Customer Service

                  Comment


                    #24
                    I'm talking about the arrows that are into the stategy sent by Bertrand (see post #14)

                    Comment


                      #25
                      Arrows will show on the low/high of the bar depending on which condition was true. Check your Control Center logs for errors. If you still don't have draw objects you may need to reinstall your NT along with .NET.
                      Josh P.NinjaTrader Customer Service

                      Comment


                        #26
                        I confirm that I don't have these arrows.
                        Now, I receive the alerts but not the arrows on the chart...

                        I can draw different object directly on the chart, so do you confirm that I need to reinstall ??

                        Comment


                          #27
                          4x2win,

                          Create yourself a new script and just try it very simply with a single line of code in OnBarUpdate() for drawing arrows.
                          Josh P.NinjaTrader Customer Service

                          Comment


                            #28
                            The strategy attached is simple and should display an arrow on each bar but no arrow on the chart...
                            Attached Files

                            Comment


                              #29
                              4x2win,

                              Not necessarily. You are drawing your arrow at a price of 0 and then saying not to keep the arrow in view if the price range of the chart is not there. So for sure you will not see the arrows. Please change the price the arrow is drawn at to something that is actually within the display range like Close[0] for instance.
                              Josh P.NinjaTrader Customer Service

                              Comment


                                #30
                                I feel I'll never see the color of the arrow on my chart ...

                                So to generate an alert, I will need several months of work?

                                Okay, seriously, why the arrow does not appear on the strategy that Bertrand has attached in the post #14?

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by argusthome, 03-08-2026, 10:06 AM
                                0 responses
                                88 views
                                0 likes
                                Last Post argusthome  
                                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                                0 responses
                                48 views
                                0 likes
                                Last Post NabilKhattabi  
                                Started by Deep42, 03-06-2026, 12:28 AM
                                0 responses
                                31 views
                                0 likes
                                Last Post Deep42
                                by Deep42
                                 
                                Started by TheRealMorford, 03-05-2026, 06:15 PM
                                0 responses
                                34 views
                                0 likes
                                Last Post TheRealMorford  
                                Started by Mindset, 02-28-2026, 06:16 AM
                                0 responses
                                69 views
                                0 likes
                                Last Post Mindset
                                by Mindset
                                 
                                Working...
                                X