
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Did you download the version from Donna Forex forum ??
About time it is for me correctly
I told it takes the localtime from your pc
do you have summertime clock change an hour ??
then if you have set your pc to change it automatically it will do this also in the code
it will find the gmt at gmt the newslines are
if the code is attached to the chart it finds the time_zone_gmt
Before you wrote the code had not be updated so what is good and what is bad news ???
ok Goodnews/Badnews is when the integer in the COLUMN_ACTUAL is greater or lower in the COLUMN_FORECAST;
Good/Badusd for example is when the integer in the COLUMN_ACTUAL is greater or lower in the COLUMN_FORECAST and when we select only to show USD CURRENCY.
But to avoid the mishmash, I think it is easier to do manual modification of csv file and in the end have instead of just HIGH or LOW or MEDIUM IMPORTANCE the GOODUSDHIGH/BADUSDHIGH, GOODUSDMEDIUM/GOODUSDMEDIUM...and in the end just pick from the settings in MT4 what line we want to plot :
extern bool show_goodusdhigh_news= true;
extern color news_goodusdhigh_color= Pink;
etc...
but what shall I do next ?
Every object has its name now it is like
NewsLine67 NewsText88
every week you will get this if you want to display objects for over a week
you need to give it a unique name how you gonna do that ??
To make this work easier remove the clock part ....
Hey about the clock part, please explain how the indic is designed to work ? Correct me if I'm wrong :
- read broker time, read local time...add the difference of these two values to the news time downloaded from dailyFX, so that the broker time is taken in account .
Where can I read some tuitions on internet to understand your code ?
Kind Regards,
Try this:
void OnDeinit(const int reason)
{ObjectsDeleteAll();
return;
}