Forum

EA that places historical arrows on chart

Hi group. I am trying to develop an MQL4 EA that places arrows on chart. When initiated, the EA will place arrows on past candles. To make it simple, the EA can be designed to place an up-arrow when the previous candle has had a 10 point move (or more) up (Close-Open>10). I am not a coder, but I am

Candle body size

Hi I have been trying to put together a simple alert that will do the following: Place an UP arrow under a candle that has met a set of criteria (e.g., Close[1] - Open[1] > 10 points) Place a DOWN arrow above a candle that has met a set of criteria (e.g., Open[1] - Close[1] > 10 points) The arrows

Candle body size

Hi I have been trying to put together a simple alert that will do the following: Place an UP arrow under a candle that has met a set of criteria (e.g., Close[1] - Open[1] > 10 points) Place a DOWN arrow above a candle that has met a set of criteria (e.g., Open[1] - Close[1] > 10 points) The arrows

Candle body size alert

Hi I have been trying to put together a simple alert that will do the following: Place an UP arrow under a candle that has met a set of criteria (e.g., Close[1] - Open[1] > 10 points) Place a DOWN arrow above a candle that has met a set of criteria (e.g., Open[1] - Close[1] > 10 points) The arrows

Sending e-mail only when the alert is different from the previous one

Hello, the code below has been designed with the help of several contributors to send an e-mail when conditions are met and only at the begining of a new bar. There are two possible e-mails. One for a bull alert and one for a bear alert. How do we make the code send e-mails at the begeining of a new

Please HELP with executing code once per bar

Hi please help. Below is a test code for placing arrows and sending e-mails based on two conditions. When attached to a chart, it backfills when conditions are met. This is intentional. I am unable to limit the e-mails to one per bar when the conditions are met. I am currently trying to use Time[0]

one e-mail per direction - please help

Hi I am trying to develop a program where I get notified when the price closes above or below the 48SMA. The code works well by the "SendMail" function sends an e-mail at every tick. How do I make it so that I get an e-mail in the following way: When the close of the last bar is aboe the 48SMA I get

e-mail on first alert only - please help

Hello, I have tried to create an indicator that sends an e-mail when last complete bar has closed over or aunder the 48 moving average. Although it works, I receive mails at every tick. How do we design the code so that you get an e-mail only on the first tick of the new bar that has satisfied the

Nested functions HELP PLEASE

Hello, I am trying to create an indicator that requires the following three condition be satisfiec before producing an arrow: if ( iWaitFor==PLOTDOWN && // A Close[i+1] > ma48 && // B Close[i+1] > Open[i+1] // C ) { iWaitFor = PLOTUP; Bull[i] = High[i] + 0.0005; Alert("Bull"); } Note that there is