I have been struggling for a few days with this simple but annoying problem. Is it possible to set up an alert which gives notifications everytime a candles makes 4 ticks in its body on the M5 chart? Would make my life much easier but I don't even know where to start it.
I would really appreciate any help on this matter. thanks.
P.S: That's my first post, apologies if the forum already has debated about this. I just couldn't find it.
Oh dear urgent so we better hurry...
Here it is.
Thanks! I really aprecciated.
This is the first time I'm using the Metaeditor. Where do I put this code?
I foresee a lot of alerts
Nah, dont worry, I'm just not familiar with the metatrader5 and metaeditor. The asset that I operate in Brazil barelly moves, 4 ticks candles it is a trigger for my scalper strategy.
I just wanted some help on this introductory matter.
Marco has actually given you the entire code.
From inside MetaEditor, click File > New
Select Expert Advisor (template)
Give it a name e.g. Experts\4-ticks
Click Next again
Delete everything in the file that is created.
Copy-paste Marco's entire code
Start MetaTrader 5
Add your new EA to a chart
Sorry man! I was very upset by not knowing something so simple. I really appreciated the help you guys gave me around here.
Thanks once again