Run system part of day

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5018 quote
    BrageBrage
    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
    AdolfoAdolfo
    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
    BrageBrage
    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 BrageBrage
10 years, 5 months ago.

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