I have an entry signal that works on both daily and weekly time frame. I now wish to run this entry on a daily time frame, but still have my entry script use the weekly time frame criteria for entry. My aim is to be able to use a daily time frame exit signal rather than the weekly one.
Here is the signal that works
UpDiff = Close() - Close(OFFSET=1);
DownDiff = Close(OFFSET=1) - Close();
UpDay = Acc(IF(UpDiff > 0, UpDiff, 0), RANGE=Look Back Period, BARS=14);
DownDay = Acc(IF(DownDiff > 0, DownDiff, 0), RANGE=Look Back Period, BARS=14);
IndexVal=100-(100/(1+(UpDay/(DownDay+0.0001))));
NZU=IndexVal-55;
UC=IndexVal-70;
NeutUp=CLOSE()-(CLOSE()*(NZU/100));
Close() > NeutUp and CLOSE(OFFSET=1) <= OFFSET(NeutUp, OFFSET=1)
and CLOSE() > WVS()
Unfortunately my time frame over ride using the WEEK() or the CLOSE(Week(PERIODAMOUNT=1)) does not produce any signals. Does anyone know the correct way to implement a weekly time frame override?