FF C - Forex Factory Calendar
This software component for MetaTrader 4 is built to enhance the capabilities of your trading environment. This technical indicator acts as a specialized analysis tool designed to visualize market data. It helps traders identify emerging trends, momentum shifts, and key support or resistance levels by plotting statistical calculations directly onto price charts.
How to Setup and Use FF C - Forex Factory Calendar
1. Installation: Place your file in the MQL/Indicators folder via "Open Data Folder" and restart your terminal.
2. Loading: Find the indicator in the Navigator, drag it onto your chart, and configure the input parameters in the popup window.
3. Customization: Press Ctrl+I to open the indicator list, select your tool, and click "Properties" to change colors, levels, or visual styles.
4. Updating: Replace the old file in the Indicators folder with the new version and restart the platform to apply changes.
Frequently Asked Questions
Q: Why is my indicator not showing? A: Verify the file is in the MQL/Indicators folder, or try right-clicking the "Indicators" tree in the Navigator and clicking "Refresh."
Q: Do custom indicators slow down the platform? A: Too many complex indicators can impact performance; remove unused ones via the "Indicator List" (Ctrl+I).
Q: Can I use MT4 indicators on MT5? A: No, MQL4 and MQL5 are distinct languages; ensure the indicator is compiled specifically for your platform version.
Description & Settings
The indicator places a panel on your chart that shows 5 economic events listed on the Forex Factory Calendar. You can filter out/in the events of High, Medium, or Low impact, Speaks, Holidays or by specific keyword filter. Please see all modifications listed .
Also, the indicator can be called within an EA using the function by accessing 2 buffers:
Buffer (0) contains
minutes
until the most recent event.
Buffer (1) contains
impact
value for the most recent event (Low =
1
, Medium =
2
, High =
3
).
You can call buffers in two ways:
Simple call:
(default values will be applied)
Advanced call:
*Please note that the indicator does not have (at this stage) back-testing capabilities.
Suggested style:
High Impact color = C'217,83,79'
Med Impact color = C'255,185,83'
Low Impact color = C'91,192,222'
Holidays color = clrOrchid
Remarks color = clrDimGray
Calendar legend:
m/m:
Month Over Month
q/q:
Quarter Over Quarter
y/y:
Year Over Year
K
Thousand
M
Million
B
Billion
T
Trillion Modifications:
Added: for compatibility with MetaTrader 4 Build 600+ and better code quality.
Added: Show event Previous/Forecast impact (colored impact).
Added: Option to show events related to active chart only (override other parameters)
Added: Keyword filter. Find or Ignore a specific one word, i.e. "NFP", will filter out all events with/without only that word. (case-sensitive)
Added: Option to show currency strength / bar time left / spread value.
Added: Option to control the time for display of past events (in minutes).
Added: Option to set panel location in 4 chart corners.
Added: Tool-tip on mouse hover that shows event title, impact and event time left.
Added: Panel title. You can use it as a reminder note :)
Modified: Show event in "Date/Time format" instead of minutes left (you can show minutes left through Tool-tip)
Modified: Vertical lines for the upcoming events. (You
may
need to modify the "time offset" input depending on your broker time).
Modified: Buffers that holds the upcoming event minute and impact (see examples above)
Modified: Revised order of External Inputs.
Improved: Replaced DownLoadWebPageToFile() function with native Windows function.
Improved: Placed (download/read XML file) and related codes into a functions so we can call them when needed.
Improved: Replaced "GlobalVariables" that used to update XML file with - set by "AllowUpdates", "UpdateHour" inputs.
Improved: Time GMT offset, now the events will show in your local time automatically.
Improved: Justify the panel/text when set to right/left.
Improved: Alert function, Now it will send beside the Popup Alert: sound alert, on your phone and . (two separate alerts)
Improved: Code quality, now the indicator is lighter and faster than ever.
Fixed: Various bug fixes, some unnecessary/unused codes or variables removed, placed some variables inside their related functions.
Credit:
WHRoeder
RaptorUK
* In order to use this indicator, you need to turn on DLL Imports in your MetaTrader 4 platform options.* Please be aware that the code may have some bugs or other flaws, so if you see any bugs or suggestions, or even better code practice, please let me know.* According to Forex Factory website, all event times are approximate and subject to change.