Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Scalper Indicator

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

    Scalper Indicator

    I am testing Gumphrie's Scalper Indicator. It would be really useful if an alert was sounded when the arrow on the trigger bar is printed. My own programming skills aren't up to it. Can anyone help please?

    #2
    You might consider contacting the author for support.

    Comment


      #3
      Captain ,open with edit and add this in red in the lines 124 ,160

      if
      ((Close[0] < TriggerBarLow) && (0!=ExtremeBar))
      {
      ExtremeBar = ExtremeBar + counter;
      HighPainted =
      true;
      counter=-
      1;
      scalpSeries.Set(CurrentBar-ExtremeBar);
      ExtremeBar=
      0;
      PlaySound(
      @"C:\Program Files\NinjaTrader 6.5\sounds\Reversing.wav");
      }
      and

      if ((Close[0] > TriggerBarHigh) && (0!=ExtremeBar))
      {
      ExtremeBar = ExtremeBar + counter;
      HighPainted =
      false;
      counter=-
      1;
      scalpSeries.Set(CurrentBar-ExtremeBar);
      ExtremeBar=
      0;
      PlaySound(
      @"C:\Program Files\NinjaTrader 6.5\sounds\Reversing.wav");
      }
      compile and enjoy

      Comment


        #4
        Cyborg, thanks for taking the time to help but I get the error message

        The name 'Playsound' does not exist in the current context

        Comment


          #5
          Maybe try something like this (although play sound should basically do the same thing):

          Code:
          Alert("Scalp Alert", Priority.High, "Scalp Alert", @"C:\Program Files\NinjaTrader 6.5\sounds\OrderPending.wav", 0, Color.White, Color.Red);

          Comment


            #6
            Many thanks Elliot Wave. That's compiled OK. I'll wait until Monday to test it.

            Comment


              #7
              Originally posted by captainquincy View Post
              Cyborg, thanks for taking the time to help but I get the error message

              The name 'Playsound' does not exist in the current context
              I just tried this on 6.5 and do NOT get any error messages. Of course I did a cut & paste, so it was entered as "PlaySound" instead of "Playsound".

              Originally posted by captainquincy View Post
              Many thanks Elliot Wave. That's compiled OK. I'll wait until Monday to test it.
              If you have saved data, you don't have to wait until Monday to test, you can use Market Replay to test it at any time.

              Comment


                #8
                With this indicator it doesnt update.But it seems to do this with other indicators to.
                Like if you leave the chart sitting come back an hour later it still has the same long bar signal printed and the price has moved down.Then you go to indicators click apply then 3 signals display since the last one.Anyway to fix this?Not updating refreshing?Starting to wonder if this is a bug in NT because its not just with this indicator.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                608 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                355 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                105 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                560 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                561 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X