Daily FX News Indicator

Post Reply
User avatar
kwanann
Trader
Posts: 948
Joined: Thu Nov 29, 2012 1:53 am

Daily FX News Indicator

Post by kwanann »

Well, i got sick and tired of using ffcal and trying to figure out what options to use for news_b6, so i decided to go and write my own.

NO time settings required

If you want to be fancy go ahead and change the color scheme, otherwise it is good to go as is

Click on the title to automatically open up the dailyfx news website for the day

90% of functionality already done and tested, the other 10% are purely bells & whistle

Enjoy :party:

Requires: Empty4 Build 600 and ABOVE
You do not have the required permissions to view the files attached to this post.
I've been trading using OM Dual N EA for the past 2 years, live results can be found over at https://www.fxblue.com/users/kwanann
User avatar
mobthehop
Trader
Posts: 362
Joined: Wed Nov 16, 2011 12:16 am

Daily FX News Indicator

Post by mobthehop »

works great - thanks a lot! Mop
User avatar
SpiderX
Trader
Posts: 554
Joined: Thu Aug 22, 2013 4:50 pm

Daily FX News Indicator

Post by SpiderX »

Would this be what you were trying to achieve ?
http://www.forex21.com/fx-pulse-3

Cheers
"Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It does not dishonor others, it is not self-seeking, it is not easily angered, it keeps no record of wrongs.Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres."
-Corinthians 13:4-8
User avatar
kwanann
Trader
Posts: 948
Joined: Thu Nov 29, 2012 1:53 am

Daily FX News Indicator

Post by kwanann »

SpiderX » Tue May 13, 2014 6:21 pm wrote:Would this be what you were trying to achieve ?
http://www.forex21.com/fx-pulse-3

Cheers
Wow nice one spiderx!

Not looking at something so fancy since this is thrown in my Empty4 dashboard, simply a replacement of the defunct ffcal indi :D

But hey that works well too, nicely presented :clap:
I've been trading using OM Dual N EA for the past 2 years, live results can be found over at https://www.fxblue.com/users/kwanann
theforexedge
Trader
Posts: 220
Joined: Thu Apr 26, 2012 10:31 pm
Location: Torquay

Daily FX News Indicator

Post by theforexedge »

Kwanann

Thanks for the simplified mod to the Daily News Indicator. Just wondering if its possible to come up with a iCustom call for the Indicator? :)

I've attached the code that was from the original version of FFCal that seems to work well...

Thanks, Jason

Code: Select all

void NewsHandling()
 {
     static int PrevMinute = -1;

      if (ImpactFilter > 0) {
         if (Minute() != PrevMinute)
         {
             PrevMinute = Minute();
    
             int minutesSincePrevEvent = iCustom(NULL, 5, "FFCal", IncludeHigh, IncludeMedium, IncludeLow, IncludeSpeaks, 1, 0);
             int minutesUntilNextEvent = iCustom(NULL, 5, "FFCal", IncludeHigh, IncludeMedium, IncludeLow, IncludeSpeaks, 1, 1);
 
             int impactOfPrevEvent =  iCustom(NULL, 5, "FFCal", true, true, false, true, true, 2, 0);
             int impactOfNextEvent = iCustom(NULL, 5, "FFCal", true, true, false, true, true, 2, 1);
 
             
            
             NewsTime = false;
             NewsTimeComment = "No News, Trading Allowed LVL   " + impactOfPrevEvent + "   "  + minutesSincePrevEvent + "  mins. ago, LVL   " + impactOfNextEvent + "  in  " + minutesUntilNextEvent + "  mins.";
             
             if ((minutesUntilNextEvent <= MinsBeforeNews) || 
                 (minutesSincePrevEvent <= MinsAfterNews))
             {
             
                  if ((impactOfPrevEvent >= ImpactFilter) || (impactOfNextEvent >= ImpactFilter)) {
                     NewsTime = true;
                     NewsTimeComment = "Ongoing News, Trading Disallowed  LVL   " + impactOfPrevEvent + "   "  + minutesSincePrevEvent + "mins. ago, LVL   " + impactOfNextEvent + "  in  " + minutesUntilNextEvent + "  mins.";
                  } else {
                    NewsTime = true;
                    NewsTimeComment = "Ongoing Light News, Trading Allowed  LVL   " + impactOfPrevEvent + "   "  + minutesSincePrevEvent + "mins. ago, LVL   " + impactOfNextEvent + "  in  " + minutesUntilNextEvent + "  mins.";
                  }
             }
         }
     } else {
         NewsTime = false;
         NewsTimeComment = "Check Disabled Trading Allowed";
     }
 }//Void NewsHandling End
Cherry
Trader
Posts: 145
Joined: Wed Feb 12, 2014 9:53 am
Location: Brisbane, Australia

Daily FX News Indicator

Post by Cherry »

Can anyone tell me please what I need to do with this indi? Since New Year it displays as shown!
Do others still use this or some other one like Spider posted above?
Thanks.
JT News.JPG
You do not have the required permissions to view the files attached to this post.
User avatar
kwanann
Trader
Posts: 948
Joined: Thu Nov 29, 2012 1:53 am

Daily FX News Indicator

Post by kwanann »

hey sorry, been terribly busy and didnt have time to look at this.

looks like some year bug, maybe i have added an extra year somewhere (8760 hrs = 1 yr)

if there is any kind soul that want to help, greatly appreciated!
I've been trading using OM Dual N EA for the past 2 years, live results can be found over at https://www.fxblue.com/users/kwanann
Cherry
Trader
Posts: 145
Joined: Wed Feb 12, 2014 9:53 am
Location: Brisbane, Australia

Daily FX News Indicator

Post by Cherry »

Well by some strange happening it just corrected itself at the start of the next week!?!! :o :lol:
So now it's all showing fine. Don't know if anyone else had the same thing happen though?!
Thanks,
Cherry
User avatar
kwanann
Trader
Posts: 948
Joined: Thu Nov 29, 2012 1:53 am

Daily FX News Indicator

Post by kwanann »

Wow that is amazing, self correcting code

Next thing it will start trading for you :yahoo:
I've been trading using OM Dual N EA for the past 2 years, live results can be found over at https://www.fxblue.com/users/kwanann
Cherry
Trader
Posts: 145
Joined: Wed Feb 12, 2014 9:53 am
Location: Brisbane, Australia

Daily FX News Indicator

Post by Cherry »

Sure!! LOL!
Don't know what happened on the 12th Jan but there you go! Magic Monday for correcting code! :smile:
Post Reply

Return to “Indicators”