Работа завершена
Техническое задание
Hello mql4 coders,
As you can see in the source files, the indicators (VOLUME and CANDLE) assign a special color to the volume and candle if the current period volume is 2 times greater than the 5 last periods average...
I would like this indicator to tell for all time frame if the current tick volume period y is X times greater than the average of the Y last periods where the periods are y-1 = y - 24h, y-2 = y - 48h, y-3 = y - 72h, etc...
In other words, I need I to compare the current volume to the average of last days volume at the same time...
I want to modify Y and X easily as I want.
Exemple:
We are friday the 03.10.14, it is 3:00:01 pm and the last h1 volume bar (2:00 pm - 3:00 pm) , which has just closed, is 350 :
If X = 2 (200%) and Y = 10 (10 days), I want the indicator to trigger an alert and color the last volume and price bar (green = bullish candle or red = bearish candle as you can see in the code) because 350 is 2 times bigger than 175.
How do you find 175?
175 is the average volume of the 10 last days (2:00 pm - 3:00 pm) periods excluding weekend trading, namely:
h1 tick volume bar (2:00 pm - 3:00 pm):
02.10.14 (2:00 pm - 3:00 pm) = 100
01.10.14 (2:00 pm - 3:00 pm) = 200
30.09.14 (2:00 pm - 3:00 pm) = 300
29.09.14 (2:00 pm - 3:00 pm) = 100
exclude weekend trading
26.09.14 (2:00 pm - 3:00 pm) = 50
25.09.14 (2:00 pm - 3:00 pm) = 500
24.09.14 (2:00 pm - 3:00 pm) = 200
23.09.14 (2:00 pm - 3:00 pm) = 50
22.09.14 (2:00 pm - 3:00 pm) = 100
exclude weekend trading
19.09.14 (2:00 pm - 3:00 pm) = 150
total volume = 1750
10 days average volume = 1750/10 = 175
Can you tell me how much you would charge for modifying the following MT4 indicators (attached)?
I hope I was clear enough and I am available for any further explanation.
I wait for your quotation!
n.b: Use the (WHITE) template also attached to see the colors properly!