System to not enter trade on specific happenings like NFP

Forums ProRealTime English forum ProOrder support System to not enter trade on specific happenings like NFP

Viewing 6 posts - 1 through 6 (of 6 total)
  • #81963
    Abz

    Hello

    is there any way to tell the strategies to not enter any trade on  U.S. Nonfarm Payrolls this seems to occur first friday in every month.

     

    #81965

    From 1st through 7th each month there is just ONE friday, in that case the variable TRADEON will be cleared, set otherwise.

    You have to add TradeOn to your conditions to open any trade.

    This snippet works for intraday bars.

    1 user thanked author for this post.
    avatar Abz
    #81967
    Abz

    worked perfectly 🙂

    #81972

    Hello,

    I have also this kind of question.

    Do you think it is possible to use CALL fonction to create a “remote control” of the code?

    My idea is to modify the called indicator to say to indicate days on and day off. But I don’t know if  a bot can’t take in account indicator modification. I didn’t test it.

     

    Thanks

    #81997

    I tried this simple strategy with the indicator:

    My idea was to change the indicator, setting it either to 0 or 1 to allow/ban trading, but it seems indicators are now being embedded at launch time and used like regular functions in programming languages (this feature will make code faster and was long awaited) but you will have to stop your strategy and restart it from scratch after modifying the indicator, so it’s no use. You’ll have to modify dates embedded in your strategy.

    As far as I know there are no alternatives, can @nicolas confirm indicators are now embedded in the strategy?

     

    #82026

    Thank you for the test, that’s exactly what I think about.

    It would be interesting to do this another way for codes that need a learning period as neural networks.

Viewing 6 posts - 1 through 6 (of 6 total)

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