![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Repainting Indicators
I posted this question to the thread 'Coding Help', but got no response.
Most MTF indicators repaint, some more than others. I have one that repaints slightly, but has one factor that is very good and could be included in a method. Problem is that I need to manually update/refresh constantly in order for it to make sense. Is there a way to code an auto refresh every tick or every 'x' seconds/ticks?
Currently, to refresh, I either change chart times and then go back, or go to Charts/Refresh tab, or add another indicator to the chart and delete the previous one.......over and over again! Very time consuming!
If there is a way of doing this auto refresh, I will share what I have found............
Thx,
el bee
Candlestick Recognizer with Sound & Email Alert
Dear Traders,
I have been trading candlestick for quite awhile and I find this indicator to be the most precise I have ever come across. If you are a candlestick trader, do keep a copy of this in your toolbox. It going to be very handy. It covers the most essential candlestick reversals.
I would like to cut down on screen time. Can anyone out there add a sound and email alert? Thank you so much.
Regards, Dominic
RSI Stochastic & Williams % R as Overbought & Oversold Indicator
Dear Fellow Traders,
Another good indicator to share is using the RSI Stochastic as overbought and oversold indicator. This indicator that is good for intraday trades. The moment the yellow line goes below 20, it can be taken as an oversold signal. On the contrary, the moment the yellow line goes above 80, it can be taken as an overbought signal. To cut down on screen time, can anyone out there put in a sound and email alert?
If you are a swing trader, do not use the RSI Stochastic indicator. It gives way too much information. Instead, go for Williams % R as overbought or oversold indicator. It has less information and provides only key critical turning points. How you use the indicator is this. When the indicator is above -20, it is overbought. When the indicator is below -80, it is oversold. This indicator already has a Sound Alert in it. Anyone out there can add in an email alert to cut down on screen time?
I hope the indicators above is helpful. I helps me to gauge the "temperature" of the market.
Regards, Dominic
hello,
does anybody know if this indicator is available with alert? i mean that sound or message appears when an arrow appears![](https://c.mql5.com/forextsd/smiles/regular_smile.png)
thanks![](https://c.mql5.com/forextsd/smiles/party.png)
Dear Traders,
I have been trading candlestick for quite awhile and I find this indicator to be the most precise I have ever come across. If you are a candlestick trader, do keep a copy of this in your toolbox. It going to be very handy. It covers the most essential candlestick reversals.
I would like to cut down on screen time. Can anyone out there add a sound and email alert? Thank you so much.
Regards, DominicHi Dominic,
Have this version with alerts.
...
pattern master step aside....
Here you go...![](https://c.mql5.com/forextsd/smiles/smile.png)
Regards
hello,
does anybody know if this indicator is available with alert? i mean that sound or message appears when an arrow appears![](https://c.mql5.com/forextsd/smiles/regular_smile.png)
thanksCan someone help add email and sound alerts to indicator?
Hi,
I was wondering if someone would be able to add sound and email alerts to the following indicator... i would greatly appreciate the help.
//| MTF Candles.mq4 |
//| 2007, Christof Risch (iya) |
//| Shows candles from another (usually higher) timeframe. |
//+------------------------------------------------------------------+
#property link "http://www.forexfactory.com/"
#property indicator_chart_window
#property indicator_buffers 10
#property indicator_color1 Chartreuse // long wick up
#property indicator_width1 1
#property indicator_color2 Green // long wick down
#property indicator_width2 1
#property indicator_color3 Chartreuse // long body up
#property indicator_width3 1
#property indicator_color4 Green // long body down
#property indicator_width4 1
#property indicator_color5 Silver
#property indicator_width5 1
#property indicator_style5 2
#property indicator_color6 Silver
#property indicator_width6 1
#property indicator_style6 2
#property indicator_color7 Silver
#property indicator_width7 1
#property indicator_style7 2
//---- input parameters
extern int TimeFrame = 0, // {1=M1, 5=M5, ..., 60=H1, 240=H4, 1440=D1, ...}
BarWidth = 1,
CandleWidth = 2;
//---- buffers
double LongWickUp[], LongCandleUp[],
LongWickDown[], LongCandleDown[];
double EMA_H[];
double EMA_L[];
double EMA_C[];
string Sym = "";
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
IndicatorShortName("MTF Candles ("+TimeFrame+")");
SetIndexBuffer(0,LongWickUp);
SetIndexBuffer(1,LongWickDown);
SetIndexBuffer(2,LongCandleUp);
SetIndexBuffer(3,LongCandleDown);
SetIndexStyle(0,DRAW_HISTOGRAM,0,BarWidth);
SetIndexStyle(1,DRAW_HISTOGRAM,0,BarWidth);
SetIndexStyle(2,DRAW_HISTOGRAM,0,CandleWidth);
SetIndexStyle(3,DRAW_HISTOGRAM,0,CandleWidth);
SetIndexBuffer(4,EMA_H);
SetIndexBuffer(5,EMA_L);
SetIndexBuffer(6,EMA_C);
SetIndexStyle(4,DRAW_LINE);
SetIndexStyle(5,DRAW_LINE);
SetIndexStyle(6,DRAW_LINE);
Sym = Symbol();
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
for(int i = Bars-1-IndicatorCounted(); i >= 0; i--)
{
EMA_H = iMA(Sym, TimeFrame, 34, TimeFrame, MODE_EMA, PRICE_HIGH, i );
EMA_L = iMA(Sym, TimeFrame, 34, TimeFrame, MODE_EMA, PRICE_LOW, i );
EMA_C = iMA(Sym, TimeFrame, 34, TimeFrame, MODE_EMA, PRICE_CLOSE, i );
int shift1 = iBarShift(NULL,TimeFrame,Time),
time1 = iTime (NULL,TimeFrame,shift1),
shift2 = iBarShift(NULL,0,time1);
double high = iHigh(NULL,TimeFrame,shift1),
low = iLow(NULL,TimeFrame,shift1),
open = iOpen(NULL,TimeFrame,shift1),
close = iClose(NULL,TimeFrame,shift1),
bodyHigh = MathMax(open,close),
bodyLow = MathMin(open,close);
if(open EMA_H)
{
LongWickUp[shift2] = high; LongCandleUp[shift2] = bodyHigh;
LongWickDown[shift2] = low; LongCandleDown[shift2] = bodyLow;
}
else if(open>=close && close > EMA_H)
{
LongWickUp[shift2] = low; LongCandleUp[shift2] = bodyLow;
LongWickDown[shift2] = high; LongCandleDown[shift2] = bodyHigh;
}
}
return(0);
}
//+------------------------------------------------------------------+This forum and thread is long dead.Please just close this thread and the forum itself if no one gonna help us make the ea.I feel like waiting for nothing for many days.
Hi, I was wondering if someone would be able to add sound and email alerts to the following indicator... i would greatly appreciate the help.
Hi Pipbandit,
Might try these.