Announcement

Collapse
No announcement yet.

MACD_Impulse

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

  • MACD_Impulse

    Hello,

    I have one last request (most important of the three I have posted). I have attached an efs that assists in determining impulse buying and selling conditions, based on MACD Histogram.
    Anyway, I was wondering if someone a little more adept with esignal scripts could tweak the code so that I get an alert when I get a buy or sell signal.

    As always, you help is greatly appreciated.

    Cheers

    Carlton

    P.S.
    I hope I become good at writing esignal scripts so that I can help you guys out as much as you have all helped me out.
    Attached Files

  • #2
    Re: Reply to post 'MACD_Impulse'

    Carlton

    I just took a look at the code and I think the only one who can help is the
    author Chris

    Comment


    • #3
      I think the big problem is that without undestanding the indicator, we can't tell what a buy or sell signal looks like. If you can define what condition represents a buy and what a sell, then someone other than Chris could help.

      Lacking that, it would be all Chris.

      Garth
      Garth

      Comment


      • #4
        Thanks guys for getting back to me. I have attached what a buy signal looks like as requested. I hope you can help.

        Cheers

        Carlton
        Attached Files

        Comment


        • #5
          Wow,

          That chart came out huge. Anyway, I have positioned the cross-airs exactly where a buy signal occurs. If you look at the box on the left you'll see that a buy is represented as "mBUY 1"

          I hope this helps.

          Thanks again.

          Carlton

          Comment


          • #6
            Hi,

            OK, so for clarification purposes. A buy is anytime the mBuy is = 1 and a sell is anytime the mSell = 1?

            What about when mBoth or mnone spike (mBoth spike high and mNone spikes low)?

            Garth
            Garth

            Comment


            • #7
              Correct,

              As for mBoth or mnone spike, I would like to be alerted there too, but for now I really concerned with mBuy = 1 and mSell = 1.

              Cheers mate.

              Carlton

              Comment


              • #8
                I think this does what you want it to. It seems to work fine in playback mode.

                I use two different tones for the two different alerts.

                Garth
                Attached Files
                Garth

                Comment


                • #9
                  Garth,


                  Thanks exactly what I wanted. Thanks ever-so-much mate. If you're ever in London look me up and I'll buy you a drink.

                  Cheers

                  Carlton

                  Comment


                  • #10
                    Garth,

                    Just one last thing. Would it be possible to have the efs alert me with if an mBuy is 1 after, the third price bar? For example, if mbuy is still 1 after the third price bar then send me an alert. At the moment.

                    Anyway, once again, thanks a lot mate.

                    Carlton

                    Comment


                    • #11
                      Carlton,

                      Should be possible...this is for the mBuy only? Not the mSell?

                      I assume this would replace the existing alert for mBuy. That you only want to be alerted when it had been mBuy = 1 for three bars..and not on the initial bar?

                      Garth
                      Garth

                      Comment


                      • #12
                        Garth,

                        That is correct.

                        Thx.

                        Carlton

                        Comment


                        • #13
                          Hello Garth,

                          I added the following line to the efs:

                          Alert.addToList(getSymbol(), "Time to Go Long", Color.white, Color.red);

                          The alert box comes up ok, however, it won't show the symbol. Can you think of any reasons why?

                          Thx.

                          Carlton

                          Comment


                          • #14
                            Hi,

                            I added the logic you requested and also added alert.addToList().

                            Garth
                            Attached Files
                            Garth

                            Comment


                            • #15
                              Gareth,

                              Thats fantastic. Thats three drinks I owe you.

                              Thanks a lot mate.

                              Carlton

                              Comment

                              Working...
                              X