Looking for an indicator to send an email/alert when Candle 2' Hi/lo is equal or higher/lower not more than 0.9 pip compare to candle 1.
I was able to create the code using EAbuilder but to give the alert when candle 2 is only equal to candle 1; however I am looking for an alert when also the difference is ± ≤ 0.9 pip of previous.
THIS MAY HELP YOU:
Sends an email at the address specified in the settings window of the "Email" tab.
string subject, // header
string some_text // email text
[in] Email header.
[in] Email body.
true – if an email is put into the send queue, otherwise - false.
Sending can be prohibited in settings, email address can be omitted as well. For the error information call GetLastError().
SendMail() function does not work in the Strategy Tester.
In order to get professional full assistance, please open a job there in freelance section:
if(High[2+i] == High[1+i] //Candlestick High is equal to Candlestick High
Isn't a pip defined only for forex?
Which is what the link I provided previously (№ 2.2,) showed in code (№ 2) and provided a defining link in (№ 3)
Thank you for your help. It saved me additional hours of search.