News variable outside the code

Forums ProRealTime English forum ProOrder support News variable outside the code

  • This topic has 2 replies, 3 voices, and was last updated 6 years ago by avatarHuw.
Viewing 3 posts - 1 through 3 (of 3 total)
  • #50391

    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

    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
    Huw

    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)

Create your free account now and post your request to benefit from the help of the community
Register or Login