Price_Alert Indicator For MT4
L' Price_Alert Indicator For MT4 è uno strumento avanzato che viene utilizzato per automatizzare il processo di trading in una certa misura. I trader ingenui spesso fissano il loro grafico di trading solo per trovare il prezzo a un livello specifico. Ma se guardi i trader d'élite, noterai che stanno utilizzando gli indicatori di avviso sui prezzi. Utilizza questo strumento e riceverai una notifica automatica quando il prezzo raggiunge i livelli predefiniti.
Installazione della Price_Alert Indicator For MT4
Dopo aver scaricato l'indicatore tramite il modulo sopra è necessario decomprimere il file zip. Quindi è necessario copiare il file PriceAlert.mq4 nella cartella MQL4Indicators dell'installazione di MT4 . Dopodiché, riavvia MT4 e sarai in grado di vedere l'indicatore nell'elenco degli indicatori.
Parametri della Price_Alert Indicator For MT4
Price_Alert Indicator For MT4 ha i parametri 4 da configurare.
extern double SoundWhenPriceGoesAbove = 0;
extern double SoundWhenPriceGoesBelow = 0;
extern double SoundWhenPriceIsExactly = 0;
extern bool SendEmail = false; //If true e-mail is sent to the e-mail address set in your MT4. E-mail SMTP Server settings should also be configured in your MT4
Buffer della Price_Alert Indicator For MT4
Price_Alert Indicator For MT4 fornisce buffer 0 .
Parti principali del codice
int start()
{
if ((Ask gt SoundWhenPriceGoesAbove) && (SoundWhenPriceGoesAbove gt 0))
{
Alert("Price above the alert level.");
PlaySound("alert.wav");
SendMail("Price for " + Symbol() + " above the alert level " + Ask, "Price for " + Symbol() + " reached " + Ask + " level, which is above your alert level of " + SoundWhenPriceGoesAbove);
ObjectDelete("SoundWhenPriceGoesAbove");
SoundWhenPriceGoesAbove = 0;
}
if ((Bid lt SoundWhenPriceGoesBelow) && (SoundWhenPriceGoesBelow gt 0))
{
Alert("Price below the alert level.");
PlaySound("alert.wav");
SendMail("Price for " + Symbol() + " below the alert level " + Bid, "Price for " + Symbol() + " reached " + Bid + " level, which is below your alert level of " + SoundWhenPriceGoesBelow);
ObjectDelete("SoundWhenPriceGoesBelow");
SoundWhenPriceGoesBelow = 0;
}
if ((Bid == SoundWhenPriceIsExactly) || (Ask == SoundWhenPriceIsExactly))
{
Alert("Price is exactly at the alert level.");
PlaySound("alert.wav");
SendMail("Price for " + Symbol() + " exactly at the alert level " + Ask, "Price for " + Symbol() + " reached " + Ask + "/" + Bid + " level, which is exactly your alert level of " + SoundWhenPriceIsExactly);
ObjectDelete("SoundWhenPriceIsExactly");
SoundWhenPriceIsExactly = 0;
}
}
//+------------------------------------------------------------------+