Indicator calculation on cash market hours ONLY

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #129080 quote
    BobFlynnBobFlynn
    Participant
    Senior

    Hello fellow coders,

    I’m currently struggling in one of my development. I looked on the forums but didn’t find any related topics, so I’m creating one here. My problematic : I’m developing a day trading system. This system uses indicators like a moving average, so based on an array of data. I’m using IG CFDs as data, and I’ll run the code on these instruments, they run 24/24.

    I would like the indicators to be calculated only on active market hours, from 15:30 to 22:00 for SP500 for example. I tried to look for a way to excluded “night session” data from the array, but couldn’t find an efficient way to do it.

    Any suggestion will be greatly appreciated!

    Thanks if advance,

    #129094 quote
    robertogozzirobertogozzi
    Moderator
    Legend
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

Indicator calculation on cash market hours ONLY


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
BobFlynn @bobflynn Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
6 years, 5 months ago.

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