FFC-Forex Factory Calendar

  • Post category:MT4
  • Post comments:0 Comments
FFC-Forex Factory Calendar

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 below.

Also, the indicator can be called within an EA using the iCustom() 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)

int EventMinute = (int)iCustom(NULL,0,”FFC”,0,0);
if(EventMinute == 30) { .. YOUR CODE .. } // 30 minutes before the event

int EventImpact = (int)iCustom(NULL,0,”FFC”,1,0);
if(EventImpact == 3) { .. YOUR CODE .. } // High impact event
Advanced call:

iCustom(
string NULL, // symbol
int 0, // timeframe
string “FFC”, // path/name of the custom indicator compiled program
bool true, // true/false: Active chart only
bool true, // true/false: Include High impact
bool true, // true/false: Include Medium impact
bool true, // true/false: Include Low impact
bool true, // true/false: Include Speaks
bool false, // true/false: Include Holidays
string “”, // Find keyword (case-sensitive)
string “”, // Ignore keyword (case-sensitive)
bool true, // true/false: Allow Updates
int 4, // Update every (in hours)
int 0, // Buffers: (0) Minutes, (1) Impact
int 0 // shift
);
*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


Download Now

Leave a Reply