Alert to sound X pips AWAY from an MA - Page 2
Page 2 of 843 FirstFirst 123 LastLast
Results 11 to 20 of 29

Thread: Alert to sound X pips AWAY from an MA

  1. #11
    It was a bizarre experience reading your comments about PipsMark. I was convinced that you were incorrect about the alert being for motion away from the MA. I confirmed that was true and looked at the code. Nevertheless, the whole time, it was just like I couldn't recall doing some of it and this was only one year ago. Rather than deja vu, it was jamais vu (which is a legitimate expression - look it up).

    Anyway here is a new version with the functionality you desire. It had a new name to differentiate it from PipsMark, so I called it Pips2MA. Here's what the settings are.

    AlertPips=10; // distance from near MA in pips.
    AlertBarsSkip=3; // amount of pubs to skip before next awake.
    MAperiods=10; // MAperiods - the amount of periods to be employed from the MA calculation.
    MAmethod=E; // MAmethod - the technique to be employed from the MA calculation ('S','W','E','M').
    MAapply=C// MAapply - the price type to be employed from the MA calculation ('M','T','O','C','H','L').
    Mift=0; // Mift - the number of periods for the MA change calculation.
    https://www.forexforum.co.za/attachm...8953060688.ex4

  2. #12
    Quote Originally Posted by ;
    It was a weird experience reading your comments about PipsMark. I was sure that you were incorrect about the alarm being for motion. I looked in the code and verified that was the case. But the entire time, it was it was a year ago and like I couldn't remember doing any of this. Rather than deja vu, it was jamais vu (that is a legitimate expression - look it up).

    Anyway here is a new version with all the functionality you desire. It needed a new name to distinguish it from PipsMark, so I called it Pips2MA.
    Alright Codemeister -- vindied!

    Along with my response to a jamais vu is pas vu si juste en face de moi (not seen if right before me).

    Thank you for your comeback to my question.

    Have you been sharing the MQ4 version as well? (You did on the other)

    that I will be able to this and test it straight away. I'd think this is going to be quite popular. Folks I have mentioned this to have said, yeah, that would be useful. Let me know whether you find it.

  3. #13
    In regards to my next query above (repeated here for convenience) on the PipsMarkV3

    InputMAprice --There doesn't seem to be a justifiion for this user-settable parameter. What part is it playing at the script? I really don't know what it's doing or how to put it.

    I still plan to utilize the PipsMarkV3 in certain circumstances and I'd like to realize that parameter.

    Thanks.

  4. #14
    Abinadi - you were right; it's very popular. 72 downloads in less than a day. V3 just has 90 in almost a year.

    So far as providing the source code - I think maybe not. As can be seen over with PipsMark, I lost control of the mods. Today its everybody's and nobody's code.

    InputMAprice exactly the like what I call MAapply - the price type for your MA calculation. Only he desires the amount in lieu of a letter.

    PHP Code: <code><span style=”color: #000000”> <span style=”color: #0000BB”>PRICE_CLOSE0Closeprice</span><span style=”color: #007700”>.
    </span><span style=”color: #0000BB”>PRICE_OPEN1Openprice</span><span style=”color: #007700”>.
    </span><span style=”color: #0000BB”>PRICE_HIGH2Highprice</span><span style=”color: #007700”>.
    </span><span style=”color: #0000BB”>PRICE_LOW3Lowprice</span><span style=”color: #007700”>.
    </span><span style=”color: #0000BB”>PRICE_MEDIAN4Medianprice</span><span style=”color: #007700”>,(</span><span style=”color: #0000BB”>large </span><span style=”color: #007700”> </span><span style=”color: #0000BB”>non </span><span style=”color: #007700”>)/</span><span style=”color: #0000BB”>2.
    PRICE_TYPICAL5Typicalprice</span><span style=”color: #007700”>,(</span><span style=”color: #0000BB”>large </span><span style=”color: #007700”> </span><span style=”color: #0000BB”>non </span><span style=”color: #007700”> </span><span style=”color: #0000BB”>near </span><span style=”color: #007700”>)/</span><span style=”color: #0000BB”>3.
    PRICE_WEIGHTED6Weightedcloseprice</span><span style=”color: #007700”>,(</span><span style=”color: #0000BB”>large </span><span style=”color: #007700”> </span><span style=”color: #0000BB”>non </span><span style=”color: #007700”> </span><span style=”color: #0000BB”>near </span><span style=”color: #007700”> </span><span style=”color: #0000BB”>near </span><span style=”color: #007700”>)/</span><span style=”color: #0000BB”>4.
    </span> </span> </code>

  5. #15
    Quote Originally Posted by ;
    In terms of supplying the source code - I think maybe not. As could be seen above with PipsMark, I lost control of the mods. Its everybody's and nobody's code.
    Entirely suitable and no dissent out of me.
    Thank you for the help, once again.

    Rich

  6. #16
    SriuzTu
    Guest
    Codemeister,

    A big thanks to you for Your Own Pips2MA indi.. .extremely useful for anybody that uses moving averages in any way, whether that's crosses, S/R or trailing stops. Much appreciated!

    Jack

  7. #17
    CuryesC88
    Guest
    I wanted to say thank you as well for submitting this indior. . .is there some way to also put in an email alert as well to the audio alert when price is x ray pips off from the moving average? Thank you again!
    https://www.forexforum.co.za/attachm...1090925606.ex4

  8. #18
    Nresnves
    Guest
    I will second this, an email alert would be very helpful. Can't believe there are not more indiors like this accessible for what is a relatively straightforward task.

    A lot of thanks.

  9. #19
    JonnuNor
    Guest
    Hi. Thank you CodeMeister and Flyer for its indi along with the mods. This is precisely what I'm searching for but I can not get it to work!

    I copied it to the MT4 expertsindiors folder, opened MT4 and it showed up at the Custom indiors listing. Then I drag it on a M15 chart along with the config window pops up fine. I shut this, and nothing happens. It shows up at the Indiors list but I simply don't find any info.

    I have to be missing something easy. Can you help?

    Thanks!

  10. #20
    That's a strange request. I have not ever seen one like that. You could try using a pips off value of -5 and see if that works. I never tested that, but maybe it will do exactly what you desire.

    Edit: I was somewhat tired when I wrote this. I did put together the indior you're looking for quite a very long time ago. Please check post #38.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.