This is a trading item or a component that was created using QuantShare by one of our members.
This item can be downloaded and used by QuantShare Trading Software.
Trading items are of different types. There are data downloaders, trading indicators, trading systems, watchlists, composites/indices...
You can use this item and hundreds of others for free by downloading QuantShare.
Top Reasons Why You Should Use QuantShare:
Works with US and international markets (stock, forex, options, futures, ETF...)
Offers you the tools that will help you become a profitable trader
Allows you to implement any trading ideas
Exchange items and ideas with other QuantShare users
Our support team is very responsive and will answer any of your questions
We will implement any features you suggest
Very low price and much more features than the majority of other trading software
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
Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.