Cumulative Delta MT4
FREE
パブリッシュ済み:
22 2月 2017
現在のバージョン:
3.6
Didn't find a suitable robot?
Order your own one
on Freelance
フリーランスにアクセス
Order your own one
on Freelance

取引の機会を逃しています。
- 無料取引アプリ
- 8千を超えるシグナルをコピー
- 金融ニュースで金融マーケットを探索
Hello Evgeny,
I try to to call this indicator from EA and I want to get value of Demand And Supply Ratio but the result return is 0. Can you suggest the correct input parameter used in iCustom.
Here is my code:
#property copyright "@10809"
input int RecalculationTiming= -1;
int start()
{
double dsratnull1;
dsratnull1 = iCustom(NULL,0,"Market\\Cumulative Delta MT4",0,0,9,RecalculationTiming,1);
...
Thank you.
Hello.
When using the iCustom() function, need to specify ALL the input variables that are available in the called indicator, and in the order in which these input variables are present in the called indicator.
Below I have attached the file with the example call code, however, this file is written for indicator version 3.0.
Someday I will make a sample code for version 3.2, but for now I do not promise that it will be very soon.
In the meantime, you can use the example code for version 3.0, but you will have to adapt it yourself for version 3.2, given the information that is given in the "What is new" tab for version 3.2.
Hi Evgeny,
I wang to get the value of demand and supply differnce.
I tried on the 3.2 version but failed.Could you help me?
DeltaValue=iCustom(
NULL,
0,
"Market\\Cumulative Delta MT4",
1,
"2023.01.01 00:00",
0,
0,
2,
0,
2,
0,
1,
0,
true,
0,
0.0,
0,
0,
0,
0,
0.0,
0.0,
0,
1,
-10,
1,
0
);
Hi Evgeny,
I wang to get the value of demand and supply differnce.
I tried on the 3.2 version but failed.Could you help me?
Hello.
1. To call the indicator in the iCustom() function you need to list ALL indicator input variables, including string ones ("M01", "M02", "M03", "M04", which contain texts dividing the list of input variables into groups).
String input variables can be specified as an empty string, i.e. "" (two quotes).
2. Input variables that look like drop-down menus are given integer values, where the numbering goes from top to bottom (as in a drop-down menu), and this numbering starts from zero.
For example, if the input variable "HistoryLoadMode" is set to 1, this means the menu item "InMonths".
In this case, you need to set the number of months through the input variable "HistoryMonths".
If the value of the input variable "HistoryMonths" is equal to zero, then the indicator will use the history starting from the first day of the current month.
In this example the values of the input variables "HistoryWeeks", "HistoryDays", "HistoryHours" are not important at all.
3. In the "Mode"="DemandAndSupplyDiffernce" the value is not in one indicator buffer, but in two indicator buffers.
If the value is positive, then this value is in buffer 0 (green buffer), and contains a positive number.
If the value is negative, then this value is in buffer 1 (red buffer), and contains a negative number.
If there is no value in buffer 0 or in buffer 1 (there is no histogram column), then this value is empty, i.e. "EMPTY_VALUE".
Therefore, for the same candle, the indicator should be called twice, to buffer 0 and to buffer 1, and then check the contents of both buffers.
4. When calling the indicator from outside, the input variable "RecalculationTiming" must be set to a negative number (any negative number).
Hi Evgeny,
I wang to get the value of demand and supply differnce.
I tried on the 3.2 version but failed.Could you help me?
5. The input variable "HistoryStartTime" has the type "datetime", that is, it is an integer value, which is specified in seconds elapsed from 01.01.1970 00:00:00.
However, in the "HistoryLoadMode" = "InMonths" mode, the value of this input variable is also unimportant.
""
Thank you for your kindly detailed reply!I made a change follow your tips and it works!
DeltaValue=iCustom(
NULL,
0,
"Market\\Cumulative Delta MT4",
3,
"2023.01.01 00:00",
0,
0,
2,
0,
"",
10,
0,
1,
0,
"",
true,
0,
0.0,
0,
"",
0,
0,
0,
0.0,
0.0,
"",
0,
1,
-10,
1,
0
);
Thank you for your kindly detailed reply!I made a change follow your tips and it works!
Ok.
However, the input variable "HistoryStartTime" has the type "datetime" (not type "string"), that is, it is an integer value, which is specified in seconds elapsed from 01.01.1970 00:00:00.
However, in the mode "HistoryLoadMode" = "InDays", the value of "HistoryStartTime" input variable is unimportant, and just can be set as zero.
))
Hi Mr. Evgeny Shevtsov,
Thank you for the great indicator, I am using this as a separate indicator however I have made another custom indicator for my purpose. But I wish to combine the Demand and supply ratio value in my custom indicator. Can I have the iCustom code for the Demand and supply ratio for 15 min chart. I tried using linuxwj's code but it shows wrong value.
Hi Mr. Evgeny Shevtsov,
Again coming back to you. Can you add a little effort to add / show the moving average of Demand and supply ratio curve to smoothen it to avoid the noise.
Hi Mr. Evgeny Shevtsov,
Thank you for the great indicator, I am using this as a separate indicator however I have made another custom indicator for my purpose. But I wish to combine the Demand and supply ratio value in my custom indicator. Can I have the iCustom code for the Demand and supply ratio for 15 min chart. I tried using linuxwj's code but it shows wrong value.
Hi Mr. Evgeny Shevtsov,
Again coming back to you. Can you add a little effort to add / show the moving average of Demand and supply ratio curve to smoothen it to avoid the noise.
Hello.
User code "linuxwj" uses the "DemandAndSupplyDifference" mode and, as a consequence, reads data from buffers corresponding to this mode.
If you need the "DemandAndSupplyRatio" mode, then you must :
- call the indicator with the value "Mode"="DemandAndSupplyRatio",
- read data from buffer number 9 (indicator buffers are presented in the indicator settings window on the "Colors" tab, where the buffers are numbered from top to bottom and start from zero).
I also remind you that input variables that look like drop-down menus are given integer values, where the numbering goes from top to bottom (as in a drop-down menu), and this numbering starts from zero.
The indicator already has smoothing, which is turned on/off using the input variable "DsSmoothing".
This also applies to the "DemandAndSupplyRatio" mode.
Thank you very much for your response, Done it.
Regards.
Hello.
User code "linuxwj" uses the "DemandAndSupplyDifference" mode and, as a consequence, reads data from buffers corresponding to this mode.
If you need the "DemandAndSupplyRatio" mode, then you must :
- call the indicator with the value "Mode"="DemandAndSupplyRatio",
- read data from buffer number 9 (indicator buffers are presented in the indicator settings window on the "Colors" tab, where the buffers are numbered from top to bottom and start from zero).
I also remind you that input variables that look like drop-down menus are given integer values, where the numbering goes from top to bottom (as in a drop-down menu), and this numbering starts from zero.
The indicator already has smoothing, which is turned on/off using the input variable "DsSmoothing".
This also applies to the "DemandAndSupplyRatio" mode.
Подскажите этот индикатор использует тиковые объемы?
Здравствуйте.
Да, в версии для МТ4 только тиковые.
Вообще, Метаэдитор версии МТ4 имеет функцию для закачки реальных объёмов, поэтому такая возможность предусмотрена через входную переменную VolumesType.
Но на практике реальных объёмов в МТ4 я лично никогда не видел.
Hi fellow users and author,
On first installation, the indicator works well. When I restart MT4, the message "Adding data from timeframe M1" appears but indicator does not produce signals except only in M1 TF.
This happens even as I remove and re-insert Cumulative Data indicator.
Your advice will be helpful for me to remediate issue, thanks.
Hi fellow users and author,
On first installation, the indicator works well. When I restart MT4, the message "Adding data from timeframe M1" appears but indicator does not produce signals except only in M1 TF.
This happens even as I remove and re-insert Cumulative Data indicator.
Your advice will be helpful for me to remediate issue, thanks.
Hello.
For the indicator to work, it requires the history of all timeframes (but especially M1 and M5).
Below I have attached a file that contains instructions on how to properly upload a story.
Either way, let me know.
...
Hello.
For the indicator to work, it requires the history of all timeframes (but especially M1 and M5).
Below I have attached a file that contains instructions on how to properly upload a story.
Either way, let me know.
...
Thank you so much for your reply, Evgeny.
I may have seen your attachment in earlier comments but I'm not sure if it applies to my issue. It's not easy to scroll through 394 comments but you took the time to repeat yourself.
I'll work on the steps in your Word file and will get back if I have challenges. Thanks again.
Подскажите пожалуйста, как скачать сам индикатор? Нажимаю кнопку скачать, вылезает вопрос установлен ли МТ4 у меня, нажимаю Да и ничего дальше не происходит.
Здравствуйте.
Индикатор должен появиться в окошке терминала "Навигатор" в папке "Маркет".
Если он там не появляется, то Вы должны написать в Сервис Деск, поскольку такие ситуации только в их компетенции.
По крайней мере попробуйте два способа скачать индикатор :
1. Со страницы индикатора.
2. Непосредственно через терминал через вкладку "Маркет" (не путать с папкой "Маркет" окошка "Навигатор").
И если оба способа не работают, то напишите в Сервис Деск.
NICE INDICATOR, CAN YOU PLEASE SHARE THE SCRIPT ...
Hello.
This indicator is free, but I do not distribute the source code.
Sorry.
Hello
Why when i use iCustom it returns 11.
another parameters are same result.
I want get Cumdelta value On each bar or each tick.