Stop system from buying in first 2 hours of a day?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10246 quote
    jbyrne
    Participant
    Average

    hi, i have a system that uses RSI but when a day opens higher than its previous the RSI will skyrocket and the system will buy any way of avoiding this? my thought was to stop trading in first 2 hours but im more than welcome to any ideas 🙂

    thanks

    #10263 quote
    mr.brymas
    Participant
    Average

    The easiest way to not let the system do any trades before a certain time is with the code: Defparam flatbefore = 090000

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Stop system from buying in first 2 hours of a day?


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
jbyrne @jbyrne Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by mr.brymas
9 years, 7 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 07/05/2016
Status: Active
Attachments: No files
Logo Logo
Loading...