Run system part of day

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5018 quote
    Brage
    Participant
    Senior

    Hello

    Great forum with a lot of info. New to automatic trading and coding so plenty to read and learn here. Have a short question:

    Testing the Cumulative RSI strategy intraday and want to test different times of day.

    How do I code if I want my system to take position between, lets say 09.00 – 12.00?

    Thanks

    Martin

    #5022 quote
    Adolfo
    Participant
    Senior

    Hi,

    You can try this

    if (time>090000 and time<123000) or (time>150000 and time<173000) and… then….

    As far as I know it works in your current time frame.

    Hope it can help you.

    #5044 quote
    Brage
    Participant
    Senior

    Hi Adolfo!

    Great. Thanks for quick response. Really apreciated:)

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

Run system part of day


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Brage @brage Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Brage
9 years, 10 months ago.

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