I need to modify an existing Metatrader indicator so that it works for new Metatrader Build 602 released this week. I also need to add a couple of new features and modify some of the existing ones.
THESE ARE THE CHANGES THAT I NEED:
** Attached MT4 indicator works only old builds, it needs to work 100% on new MT 602 and above versions now that Metaquotes made big changes to how MQL works
** ndicator detects a series of candlestick patterns. It shows a legend on the upper left side. I need to change this like this:
a) SHOW_LEGEND: true. If set to false we will not show the legend explaining what each pattern abbreviation is
b) CORNER_POS: x. We should have a setting that allows us to place that information in any of the 4 corners of the chart, not just upper left. Also X_POS and Y_POS settings are needed so I can position it on other places. I mean this legend: [url removed, login to view]
** I need a variable that will allow to separate the text that describes candle pattern a few x pixels/points from the candle. Now it's glued to it. It should work well on every timeframe. See here: [url removed, login to view]
** ALERTS. Right now the indicator alerts when a candlestick pattern happens, but that's useless. Why? It alerts on all timeframes. I need to be able to select which timeframe I want to be alerted on.
- EMAIL ALERTS. I should be able to get an alert on my email. I can hide/show alerts, but I want to be able to HIDE visual alerts but receive them by email only, or both "visual" and "email". But I want to be able to decide on which TF I am waiting for the alert
** RECTANGLE ALERT: true. I need to create a function which another programmer will later incorporate on another indicator. I want to be able to assign an alert to any rectangle on the chart, on any timeframe. How will we accomplish this?
a) If rectangle's description "contains", not equal, but "contains" a word like "candle" or "doji", or "hammer", etc, and the candlestick pattern happens when the rectangle is hit, then the alert will happen, else the alert (email or visual) will not happen. I want patterns to happen within a rectangle, once they are touched, not before
b) I need to have a variable where I will specify a series of keywords separated with commas, all those keywords will trigger an alert. For example if a rectangle contains "hammer", the email alert will be like "EURUSD H4; a hammer happened supply zone at 1.2000 - 1.2100, date/time". By having this I will be able to get the exact text email alert (or visual alert) that happened, which timeframe and pair
c) If rectangle_alert variable = false, then the indicator will not look for rectangles descriptions to look for alerts
d) If rectangle is above price it will be a "supply rectangle", if rectangle is below current price it will be a "demand" rectangle. The alert text should be able to specify this like this: EURUSD H4; a hammer happened in supply zone at 1.2000 - 1.2100, date/time
d) you need to document and describe functions in the source codes
SEE THE RECTANGLE ALERT HERE: [url removed, login to view]
** SHOW_LAST_PATTERNS: 2. We need a variable that will allow the indicator to show ONLY the last X candlestick patterns that happened. I don't want the chart full of texts with all patterns that happened. By default we'll display only the last 2. If 0 we'll show all patterns.
This is all that I need. Please contact me if you can do this.
Thanks for all!