Indicator calculation on cash market hours ONLY

Forums ProRealTime English forum ProOrder support Indicator calculation on cash market hours ONLY

Viewing 2 posts - 1 through 2 (of 2 total)
  • #129080

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

Create your free account now and post your request to benefit from the help of the community
Register or Login