
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Can someone help me to create a crude alert for the Strato's system?
Here are the specs
1) create an alarm sound whenever ema12 and ema89 on 5 minutes chart is 10 pips within each other (does not have to cross since emas can bounce off each other). The juice indicator must be med to high for the alarm sound to trigger.
2) display the horizonal lines for the last 6 hours highest and lowest quotes (this is a crude way of identifying the asia session high/low or the eur session high/low)
3) create an alarm sound whenever the price is 10pips within the highest or lowest 6 hours quote
Many thanks,
Trong
More information on the Strato's system can be found here:
https://www.mql5.com/go?link=http://www.strategybuilderfx.com/fo...0664[hash]post130664
This is what I got so far. As you can tell I am a newbie, as wet behind the ears as one can get.
void start() {
double ema12=iMA(NULL,0,12,0,MODE_EMA,PRICE_CLOSE,0);
double ema89=iMA(NULL,0,89,0,MODE_EMA,PRICE_CLOSE,0);
if (((ema12-ema89)> 0.001) && ((ema12-ema89) < 0.001)) {
Alert("EMA12-89 up cross");
// SendMail("alert","EMA12-89 up cross");
}
if (((ema89-ema12)> 0.001) && ((ema89-ema12) < 0.001)) {
Alert("EMA12-89 down cross");
// SendMail("alert","EMA12-89 down cross");
}
}