Download MetaTrader 5

Three candles alert

To add comments, please log in or register
link3
35
link3  

Hi, I need an indicator that gives a sound alert after the closing of the third consecutive green or consecutive red candle.

Example: first green close; second green close; third green close... BEEEP !

Even better if it could calculate the distance in pips between the first open and the last close and alert only if it's 10 pips and more.

Thank you in advance for help.

whroeder1
15913
whroeder1  
So code it, or pay someone.
B
55
B  
Hey link3. Coded a simple EA that draws arrows (green for green runs, red for red runs). Uses distance between high and low for the run, but you can change it however you want. As for alerts, sounds, messages, and whathaveyou, I suggest looking at these functions: https://docs.mql4.com/common. I thought the name was pretty clever. ;) Like WHRoeder said, you're going to have to do a little bit of coding yourself to convert the EA to whatever you were looking for. Even the algo has room for improvement, if you're willing.
Files:
link3
35
link3  

@ubuntuboy : Thats great !!!Thanks :D

lbranjord
115
lbranjord  

Just curious, how do you plan on using this? I've never been able to come up with a system for 3 in row candles. No filter no historical statistics have ever been able to make this profitable. A code I've been trying to crack for 6 months lol. Not saying it can't be done. I wouldn't keep trying if I didn't think it was possible :)

To add comments, please log in or register