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);
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 ) ?
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 ) ?