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 CarlTrading, 03-31-2026, 09:41 PM
                1 response
                43 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by CarlTrading, 04-01-2026, 02:41 AM
                0 responses
                21 views
                0 likes
                Last Post CarlTrading  
                Started by CaptainJack, 03-31-2026, 11:44 PM
                0 responses
                30 views
                1 like
                Last Post CaptainJack  
                Started by CarlTrading, 03-30-2026, 11:51 AM
                0 responses
                50 views
                0 likes
                Last Post CarlTrading  
                Started by CarlTrading, 03-30-2026, 11:48 AM
                0 responses
                40 views
                0 likes
                Last Post CarlTrading  
                Working...
                X