Forexfactory news feed

by goldclay in category Other at 03/10/2017
Description

This indicator feed news from www.forexfactory.com 

It can show news today or yesterday , tomorrow ,.. with filter

see How to use at  YouTube

or download without sourcecode at Links (All Free )

 

Download
160 downloads
How to install
Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
Formula / Source Code
Language: C#
Trading Platform: cAlgocTrader
using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace cAlgo
{
    [Indicator(IsOverlay = false, TimeZone = TimeZones.UTC)]
    public class ForexfactoryNews : Indicator
    {
        [Parameter("Filter news Only Symbol chart", DefaultValue = true)]
        public bool filtercode { get; set; }
        [Parameter("Show detail ?", DefaultValue = true)]
        public bool filter2 { get; set; }
        [Parameter("0 =Today -1=yesterday ,+1=tomorrow News ", DefaultValue = 0)]
        public int addD { get; set; }
        [Parameter("Show Volatility > ", DefaultValue = 2, MinValue = 1, MaxValue = 4)]
        public int minVola { get; set; }
        private Colors text_c;
        [Parameter("Text Color", DefaultValue = "White")]
        public string Text_Color { get; set; }



        protected override void Initialize()
        {
            // Initialize and create nested indicators
            // You can dowdload indicator without sourcode free at
            //   https://begizmoblog.wordpress.com/trader-apps/
        }

        public override void Calculate(int index)
        {

            // see youtube for howto use
            // 

        }



    }
}
Comments

trend_meanreversion - October 05, 2017 @ 07:57

Great effort mate and thanks for providing it free. Two suggestion i would give ( if you care )

1) It is not showing Times in local time zone . May i know what timezone is the time coming in the text ? Or is it possible to make it configurable like UTC + 0 or local probably.

2) Would be good if you can provide an output string method/access method to retreive this text in a bot . I was thinking of creating a breakout bot based on '4' impact factor data events and putting stop buy and stop sell order ( OCO..one cancels the other ) based on those data events timings.

In any case, a great addition in cAlgo suit. Keep up the good work !

 

goldclay - October 05, 2017 @ 09:28

Hi trend_meanreversion 

1. Time is forex factory server time is GMT-5 ,DST on 

I try to convert time to UTC+0 or changable value but I still bugs something , I don't have enough time to fix

If I add option like this finish will share again ^^

0