Finally , Integration of News Filter :) [ MT4 Only ]
-
@nbathan You can leave it there because it is irrelevant to the project, it only serves to make a copy and paste into the MT4 editor

-
@ambrogio Thanks a lot for the prompt reply!
-
Hi! Thanks so much for the help! you are so awesome. could u kindly explain the different inputs here and the units they are in? i assume minutes for the indent


-
Opps nvm i found it here. Should i change the sourcenews since the default is investing.com?

-
@ambrogio Hello,
I have managed to open the MQ4 in MetaEditor and compiled it with the manually created Boolean trade-variable, but I do get a warning compiling the script.
I don't know if I need to do something about this or what to do. Can you please advice?!
Also what's meant by "You will have to copy that 2 block from Oninit() and other 2 also from Deinint()". Where are these supposeed to be copied?!
Best regards // Kallamamran
-
@kallamamran said in Finally , Integration of News Filter
[ MT4 Only ]:@ambrogio Hello,
I have managed to open the MQ4 in MetaEditor and compiled it with the manually created Boolean trade-variable, but I do get a warning compiling the script.
I don't know if I need to do something about this or what to do. Can you please advice?!
Also what's meant by "You will have to copy that 2 block from Oninit() and other 2 also from Deinint()". Where are these supposeed to be copied?!
Best regards // Kallamamran
More than likely it is just the way that the boolean block is being utilized but if it works, disregard the error.
-
@kallamamran said in Finally , Integration of News Filter
[ MT4 Only ]:@ambrogio Hello,
I have managed to open the MQ4 in MetaEditor and compiled it with the manually created Boolean trade-variable, but I do get a warning compiling the script.
I don't know if I need to do something about this or what to do. Can you please advice?! <<< Doesn't matter, it's a warning only >>>
Also what's meant by "You will have to copy that 2 block from Oninit() and other 2 also from Deinint()". Where are these supposeed to be copied?! <<< I Don't unterstand this question, i don't see where is placed this suggestion >>>
Best regards // Kallamamran
-
-
@kallamamran said in Finally , Integration of News Filter
[ MT4 Only ]:@ambrogio It was @Traderz who wrote it in the first post in this thread (Page 1)

<<<<<<<<<<<<<< just start here from the first page, should works >>>>>>>>>>>>

-
@ambrogio That's my template
Thank you. Just trying to find out how to best use the actual signals in the news filter now 
-
Hello all,
Long time no see @ambrogio, @l-andorrÃ
I managed to put all the code from the "Copy this content On Global Scope" into a custom block, in the custom block studio, here: https://fxdreema.com/studio/MQL4, thanks to more detailed instructions and tutorial from here, where it explains what goes where, with A, B, C, D, E, in the picture: https://fxdreema.com/forum/topic/13655/tutorial-create-custom-blocks-with-fxdreema-studio/3
So for this particular case, from the "Copy this content On Global Scope" block, what goes into section B, is this
The enum part has to be edited out, and changed with int SourceNews, like in the picture above, as it still throws an error on compiling the ex4.Everything else, goes into section E, like this,
piece by piece: CheckDailyFXNews, CheckInvestingNews, etc... from bool, or void or what is, with the open curly brackets, till the corresponding closing curly brackets, for example CheckDailyFXNews like this:
After you save the block in the studio, (Save changes - up in the left corner), you can find it in the builder in the custom blocks tab.
Then just take it from there and connect it with a pass, and everything compiles directly from fxdreema, like here in the share from padletut: https://fxdreema.com/shared/LCnSF6OCdI hope this helps.
Further, I would have some questions: So the conditions block from the shared project is designed to not allow trading in the selected news (high medium low) where is set as true? And also the 30, 60 values named as indent - define the 60 minutes 30 minutes before and after the news event - and in that time trading is not allowed? Do I understand correctly?
-
@cpxiom Simply impressive! Thank you very much for sharing. On your questions, I'm afraid I cannot help because I'm not a programmer, sorry.

-
@cpxiom thank you for this but I am getting this error when trying to compile the EA wirh News Filter

-
@padletut thank you for this but I did the same and got this https://fxdreema.com/shared/3doKSXm8d

-
@tec-nacks I will look into it in more depth later, have to re-remember
but for now, maybe it has to do with a missing variable named "trade". Make a variable named "trade" and then try to compile. -
@CPxiom yeah..that is it. added trade variable and all is good
-
@Kallamamran YOU MUST CREATE VARIABLE ( DOUBLE trade 0 ) in your project!

-
hello, the Investing.com and DailyFx link here has stopped working.
Can anyone pls look into it?
-
Dear @fxDreema hear our cry please : - any chance to have News filter Condition Block built-in to FXDreema platform any time soon? Many many thanks!!
Link to the new thread on this Topic: https://fxdreema.com/forum/topic/16490/we-need-to-have-an-in-built-news-filter-it-is-high-time-we-have-this-mt4-and-mt5/11
-
@ambrogio Hello sir. Help me please.
