Okay thanks.

I am able to replicate the daily price with the dayHigh function.

USE TIMEFRAME:
TimeFrame=frameSync(24);
vars PriceD1 = series(priceHigh());
TimeFrame=1;

USE DAYHIGH:
StartMarket = 0000;
EndMarket = 2359;
vars DayHigh = series(dayHigh(UTC,1));


However, I am unable to use the output from dayHigh as an input for indicator functions.

As an example I tried to set up the daily SMA:
vars smaD = series(SMA(PriceD1,3));
vars smaDayHigh = series(SMA(DayHigh,3));

Both give very different results.

I have attached the script I used and the resulting chart.

Could you please advise what is going wrong here and how to set it up correctly?

Eventually I'd like to set up various indicators on daily timeframes (but only getting price inputs during market hours) for various CFDs.

Thanks a lot.

Attached Files
AssetFrame.c (5 downloads)
DAYHIGH.png (10 downloads)