Auto News EA Deactivation
Results 1 to 6 of 36

Thread: Auto News EA Deactivation

  1. #1
    Hello

    I modified an existing News indior, so that it will disable the AutoTrading button before News Alerts then reactivate it after a couple of minutes (all parametrable)

    each time you see an Alert on feed, it will disable Autotrading several minutes before.

    You can parameter the Indior so that it shows just particular News

    I also fixed several bugs that made the indior not work.

    This is beta version, use it at your own risk! I cannot be responsible for any losses that happens with this indior. Before using it live examine it on demo!



    Jeff

    Put it lt;Indiorgt; folder!

    Version 1.02beta
    sorry men not functioning yet

  2. #2
    Little update

    there's small bug which I just thought about : the activation/deactivation of the Autotrading button is a toggle : meaning if the button is on 1 moment before the news it will be toggled off. However, if it's off by error, it will be placed ON, this isn't the bug I'm talkng about, the insect is as soon as the news are close together and the parameters ovelapp there's an problem :

    such as you will find news at 5:00 and 5:05 and the deactivation is set at 3 minutes before the news and the duration is 7 minutes:
    at minus 3 minutes trading is deactivated, then at 5:02 the indior thinks it is a new deactivation, then disable it ON, then it's toggled OFF again at 5:04 then toggle on back at 5:09.

    It's not a huge deal in this configuration but it can mess things up a little bit if times are not perfect.

    I'll fix it in a forecoming upgrade, but please be cautious in the meantime using this and keep in mind that the close news may be a problem.

    Jeff

  3. #3
    2 Attachment(s) oh I looked at the code again and my fears weren't financed : if a second activation occurs before the deactivation, it requires that new start as reference and reactivate after the period passed of this second deactivation

    so all was great originally (I do thing well the first time occasionally)

    I included an option to Close all transactions prior to the news : it will shut ALL orders such as pending orders prior to the news, and will not reopen them of course

    Please test it and tell me if something must be changed/new attributes added

    Jeff
    https://www.forexsoutheast.asia/fore...al-2008-a.html
    https://www.forexsoutheast.asia/fore...ogramming.html

  4. #4

  5. #5
    Hellow sir
    that your EA is not functioning correctly. I attach it on the chart even I double clicked.

    Please answer

    Best regards

  6. #6
    Appears to be interesting based thread.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.