仕事が完了した
指定
http://ec.forexprostools.com and download all future news events in the future and display them on the chart: High Impact News (Red vertical line), Medium Impact News (Dark Orange vertical Line), and Low Impact News (blue Line). I do not care if it displays news events from the past - So do not add it if it makes your life more complicated.
The user needs to be able to control the amount of time trading stops Before and after news events: Here is an example of a user input i would like to see:
// These values are in minutes
input int TimeBeforeHighImpactNews= 60;
input int TimeAfterHighImpactNews = 60;
input int TimeBeforeMedImpactNews= 30;
input int TimeAfterMedImpactNews = 30;
input int TimeBeforeLowImpactNews= 15;
input int TimeAfterLowImpactNews = 15;
//--------------------------------------------------------------------------
Remember, I already have an EA so im not sure if this would be a .MQH file to just include or you have to code it in the actual EA. I can add the input parameters myself in the EA once this is done so no worries (You can call them what you like btw, above is just an example!)