#twitter-follow { border: 0;position: fixed; top: 240px; left:0;} #live-support { border: 0;position: fixed; top: 370px; left:0;} #knowledge-base { border: 0;position: fixed; top: 170px; left:0;}

## Day of week Average

by Brian Brown, 5386 days ago

Day of week average is a date-related function. It does not aim at generating signals and making decisions, but is used as a statistical indicator tracing the price change dependently on the day of the week. It gives the price simple moving average over N bars back, these bars corresponding to the same day of week.
The day of week average function, named DayOfWkAvg, has 3 parameters. The first is the variable, for example, the price or the volume, for which the moving averages will be calculated. The second is the day of week which corresponds to the bars that will be taken to make the moving averages calculation. The last is the number of bars back that will be averaged. For example, if we want to calculate the day of week average for each Tuesday taking a 3-bar period back, and if the price values were respectively 100, 150 and 200 for Tuesday 24th November, 1st December and 8th December, the function would return 150 for 8th December as well as for the bars between 8th December and the next Tuesday, ie 15th December.

For the second parameters (day of week):
1 corresponds to Monday
2 corresponds to Tuesday
3 corresponds to Wednesday
4 corresponds to Thursday
5 corresponds to Friday

What is this?

 Type: Trading Indicator Object ID: 292 Country: All Market: All Style: Technical Analysis

 Related objects Empty
Number of reviews
Average rate
Click to rate this item
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

 Random Blog Posts How to simulate options strategies Organizing Trading Objects Creating a download item: Initial Jobless Claims How to search for a download item Trading orders - Part 2 Trading Orders - Part 1 The average maximum drawdown metric Introduction to the trading rules analyzer Show All

Number of reviews
Average rate
Click to rate this item
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object