Result not shows in exploration

i have two formula

the first one shows to the end of exploration the second not .


LDYC = TimeFrameGetPrice( "C", inDaily, -7 );		// close last Daily
ddd= C > LDYC ;
mving= MA(C,LDYC);

Filter=1;
AddColumn(ddd,"ddd",1.2,colorDefault,colorDefault);
AddColumn(mving,"mving",1.2,colorDefault,colorDefault);

999

1- why the second formula (mving) result in exploration not act as first formula (ddd) ?

2- if i use TimeFrameGetPrice( "C", inDaily, -7 ) it will count the last 7 trading days or it will include the weekend days ( so the real only 5 trading days ) ?

thank you

sorry

1- why the second formula (mving) result in exploration not act as first formula (ddd) ?

it should be like this

mving= MA(LDYC,14);

but for the
2- if i use TimeFrameGetPrice( "C", inDaily, -7 ) it will count the last 7 trading days or it will include the weekend days ( so the real only 5 trading days ) ?

i need answer please

First Read the Below Guide of amibroker
Multiple Time Frame support (amibroker.com)

You will understand in details.

I get it from the link

http://www.amibroker.com/guide/h_timeframe.html

inDaily, -7

the (-7) = closing price in 7th data price ( 7 candle)
or

the (-7) = closing price in 5th data price ( because the weekend )

i meant the holidays will not effect the data

as i understand this right ( closing price in 7th data price ( 7 candle) )

just to confirm it

Why don't you test it for yourself and see!

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.