News variable outside the code

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #50391 quote
    Mansoor
    Participant
    Average
    G’day guys!

    I’d like to add a news parameter to my code so if the news and market mood is good the news parameter is 1.2 and if the news is bad the news parameter is 0.8. And I’d like to give update this parameter in the code without stopping it. Is this possible?

    #50397 quote
    robertogozzi
    Moderator
    Master
    It is not possible. But you can suggest developers to introduce it (see https://www.prorealcode.com/topic/centralization-of-queries-and-suggestions-on-prorealtime/). It requires interaction between the trader and the strategy, maybe with the help of a text file to be read by the strategy…. how often, at each new candle, each second? Or maybe through a dialog box that opens whenever you click on the strategy name! Interaction among strategies has already been suggested, betweeen a strategy and the trader (owner)… I don’t know!
    #50425 quote
    Huw
    Participant
    Average
    The closest thing I can think of involving news is to place bracket orders on forex before a market moving announcement such as rate decisions or central bank minutes. In fact, I may try and code something along those lines.
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

News variable outside the code


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Mansoor @mansoor Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by Huw
8 years, 4 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 10/24/2017
Status: Active
Attachments: No files
Logo Logo
Loading...