Alert to XO!!!
Would one of you very nice programmers add an alert to this wonderful indicator for me? Thanks in advance!!
I don't have the actual MQL4 source code for this one, but found the code online. I'm attaching only the ex4 here.
//| XO.mq4 |
//| Original Author SHARIPOV AINUR |
//| Conversion to MT4 and modification only adoleh2000 |
#property copyright "Copyright � 2005, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net"
#property indicator_buffers 2
#property indicator_color1 Lime //XO up
#property indicator_color2 Red //XO down
extern double KirPER=10;
double Kir ,Hi, Lo, KirUp, KirDn,mode,cnt,cnt1,cur,kr,no;
double ExtMapBuffer1; // XO up
double ExtMapBuffer2; // Xo down
//| Custom indicator initialization function |
//---- drawing settings
IndicatorShortName("XO ("+KirPER+"), "+valueh+","+valuel);
//| Custom indicator iteration function |
//---- check for possible errors
//---- last counted bar will be recounted
loopbegin = Bars-1;
for(int i = loopbegin; i >= 0; i--)
if (cur > (Hi+KirPER * Point))
if (cur < (Lo-KirPER*Point))
if (valueh < 0)
ExtMapBuffer1 = 0;
if (valueh > 0)
ExtMapBuffer1 = 1;
ExtMapBuffer2=valuel;// XO down
if (valuel > 0)
ExtMapBuffer2 = 0;
if (valuel < 0)
ExtMapBuffer2 = -1;
Think i posted this in this thread but couldn't find it, anyway here you go.
Hi, anyone can help me to change the indicator from being trigger whenever price touch horizontal level to trigger only when price close equal or beyond the horizontal level, or perhaps I am in the wrong forum section for requesting for help to change the indicator criterion when the indicator already have alert feature? Anyway, thank you in advance.
I'm Jordan and new to this forum. I would like to take this opprotunity to thank the architect of this website and all those who participate in sharing..
Looks like there already an alert installed in this indicator.
You are correct but there's no sound alert though...
Here's the original indicator which I wanted to post.. My bad
Can you please add a sound alert to this indicator?
Can anyone please add an Alerts and signals when both indicator in same window and crosses each other?
it will be powerful trading tool
Sorry about that automatically figured when said sound alerts there would be sound ,anyway here a version with sound, the Divergence did the alerts, should go off when the colored bar happens.
They are both together now actually they are a kind of wpr, had to do the second one a little different to get some distance between them so anyway this is a version of the 2 together with T3 smoothing and alerts.
mrtools - Percent R PCRx2 smoothed
regarding your chart in post 3896-
are the red and blue candles part of the Percent R PCRx2 smoothed indicator?
I downloaded the indicator to the same AUDUSD H1 chart, but did not see any colored candles.
[the market is closed right now, would that make any difference]
No those candles are from the divergence alerts posted a couple posts up.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.