仕事が完了した
指定
This assignment deals with designing an indicator which displays a data box (Let’s call it as W1 box) on the W1 chart typically, but it should have a visualization button to display the data in any time frame I choose.
For example, let’s take EURUSD pair and go to its W1 chart and put a vertical line on 2015.09.06 00:00. This candle is in the process of formation right now. In order to predict the behavior of this present W1 candle which is being formed right now, I need to have the below data calculated and displayed on the W1 chart.
To predict the behavior of the presently forming W1 candle, we need to focus on the previous W1 candle which finished its formation. Measure the Top Wick of the previous W1 candle and assign a negative sign to it. Measure the Body of the previous W1 candle and assign a negative sign if it is a bear candle and a positive sign, if it is a bull candle. Measure the Bottom Wick of the previous W1 candle and assign a positive sign to it. Add up the Top Wick, Body and the Bottom Wick of the previous W1 along with their positive and negative signs and the resultant number should be listed as W1Net and displayed in W1 box on W1 chart. Top Wick, Body and Bottom Wick numbers of the previous W1 candle should listed in the Experts tab of the W1 chart or any other time frame chart in which I choose visualization. These values in Experts tab should be named properly, so that we can make out which is which.
Now this previous W1 candle has 5 D1 candles in it. Measure the top wick lengths of all 5 D1 candles in previous W1 candle and add them up and assign a negative sign in front of this number and call it as Top Wicks. Calculate all the body lengths of all the 5 D1 candles. Assign a negative sign for a bear candle body and a positive sign for a bull candle body. Add up all the 5 body numbers and this can be a plus or minus number and call it as Bodies. Calculate all the bottom wicks of all the 5 D1 candles and assign a positive sign for this number and call it as Bottom Wicks. Remember Top Wicks is always a negative number. Bodies can be a negative or a positive number. Bottom Wick is always a positive number. Add up Top Wicks, Bodies and Bottom Wicks and call this D1Net and this can be a positive or a negative number and display this D1Net number in the W1 box. Calculate the % increase or % decrease from D1Net to W1Net numbers and call this as %Change. For example, W1Net for the previous W1 candle to the presently forming EURUSD W1 candle is -123 and D1Net is -77. Both are negative numbers. So the % change from D1Net to W1Net is -60% decrease. So assign a negative sign to this and put downward pointing arrow on the right side of % sign. If it is an increase, display it as +60% with a positive sign to the right side of % sign. And in the Experts tab of the W1 candle (or whichever time frame I choose), display all these values: 5 Top Wick numbers and their total, 5 Body numbers and their total, and 5 Bottom Wick numbers and their total. Again these numbers should be labelled properly, so that I can make out which is which.
So, in total, the below data points should be displayed in the W1 box:
D1Net=
W1Net=
%Change=
All the pips numbers should be displayed only upto 4 decimals (JPY pairs will have 2 decimals), and %Change should not have any decimals. Even the data which is displayed in Experts tab should be displayed like this only.
Now, be aware, in MT4 platform, when you place a vertical line on 2015.09.06 00:00 in the W1 chart, and then you change the time frame W1 to D1, the vertical line will still be on 2015.09.06 00:00. You need to move the line forward to 2015.09.07 00:00, as Sept 6th is a Sunday and there is no forex trading on Sunday. That is how you will be on the correct D candle of the Week. In other words, you need to count the correct 5 D1 candles of the W1 candle. Forex trading starts on Monday, as per MT4 platform. This is how MT4 platform displays Daily and Weekly charts, which is unique to it.
This indicator should have a calendar sign in it, so that I can change the calendar and can have the indicator calculate for any week in the past all the values and display them in the W1 box. In other words, if I want all the above values displayed for a week in the past, let’ say for the week of August 10th, 2015, I will put in the calendar of the indicator these numbers: 2015.08.10 00:00, then it will display all the above numbers in the W1 box and the remaining data under Experts tab, just like I explained above.
The indicator should have settings inside it to place these numbers anywhere I like on my MT4 chart, the setting for the font size of the characters and the changeable color of these characters. The box should be a simple one with a border out line.
Also, I manually calculated all the values for all 28 pairs for the last week’s candle, in order to predict the behavior of the currently forming W1 candle. So I can check the accuracy of your numbers, to see if your indicator is calculating them correctly. I need to have this indicator ready to go by end of this Friday (Sept 11, 2015).