Backtesting London Session

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #195802 quote
    mariamfimariamfi
    Participant
    New

    Hello

     

    In backtesting, can I specify that the trading will be only in london trading session.

     

    Regards

    #195810 quote
    GraHalGraHal
    Participant
    Master

    Yes, by having time limits / conditions for the London session in your code, for example

    cTime = Time >= 080000 AND Time <= 163000
    
    If cBuy AND cTime Then
    Buy at Market
    Endif

     

    (Mods – apols no Insert PRC Code button showing)  

Viewing 2 posts - 1 through 2 (of 2 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

Backtesting London Session


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
mariamfi @mariamfi Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by GraHalGraHal
4 years, 3 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 06/22/2022
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...