These are overloaded methods. Just follow the links in the documentation so you don't end up being what you are...
It would be enough to change at least a couple of words in the description. And it would be even better to leave one function and write there, where "by links", that these are the overloaded methods.
Help me implement an idea. The idea is as follows:
For the last n-candles .The script detects a sudden change in volume. To clarify: From the range of n-candles, noticed on one candle - the value of 50, and on the second 100. The difference is 100%. On detecting this imbalance in the volume the script generates an Alert(" signal")
Help me implement an idea. The idea is as follows:
For the last n-candles .The script detects a sudden change in volume. To clarify: From the range of n-candles, noticed on one candle - the value of 50, and on the second 100. The difference is 100%. Upon detection of this volume imbalance, the script generates an Alert(" signal")
A gimmick, almost the same theme I'm implementing. ;)
For the last n-candles .The script detects a sudden change in volume. To clarify: From the range of n-candles, noticed on one candle - the value of 50, and on the second 100. The difference is 100%. Upon detection of this imbalance in the volume the script generates an Alert(" signal")
I have tried to do it, but I have a snag in the code and I don't think it would be interesting to get into my code.
So, here it is:
datetime some_time=TimeCurrent();
externstring Symbol3 = ""; //Инструмент (""текущий по умолчанию)externdouble P=5; //Таймфреймint start()
{
int raznV;
int percV;
int SD=5; // переменная для поиска разницы объёмаint sig;
double VAL2=MathAbs(iVolume(NULL,P,2)); //Т.Объёмdouble VAL1=MathAbs(iVolume(NULL,P,1));
raznV =MathAbs(iVolume(NULL,P,2)-iVolume(NULL,P,1)); //Разница объёма
percV =MathRound(raznV/(VAL1*0.01)); // Разница в (%)//Цикл сканирования последних свечей SD,на которых есть разница равная 50%.for (int i=SD; i>=0; i--)
{
int sig=(raznV[i])>50;
//Если есть нужная разница, значение будет больше нуля.if (sig>0)
{
Alert ("Сигнал");
}
if (SD>5)
{
ObjectDelete("signal4");
}
return(0);
int sig=(raznV[i])>50; Here is the hitch. I do not know how to present it in a different way. And you need to define a deviation of at least 50% in previous candles.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
what I would like to propose to explore is theCArrayInt SB https://www.mql5.com/ru/docs/standardlibrary/datastructures/carrayint
..............
Is this according to feng shui? )))) The question is certainly not for you personally ))))
Is this feng shui? )))) The question is certainly not for you personally )))
These are overloaded methods. Just follow the links in the documentation so you don't end up being what you are...
These are overloaded methods. Just follow the links in the documentation so you don't end up being what you ended up...
I agree))) Too heavy artillery))) But thanks all the same))))
Is this feng shui? )))) The question, of course, is not for you personally ))))
it's convenient
It's convenient when you need to add and remove elements, you can do it with arrays too, but it's more complicated.
You will actually use 4-5 methods from the help, which you have shown, you don't have to read them all, so to say, as the need arises, study them.
It is convenient to use a ready implementation, especially from a developer, instead of writing your own subroutines from scratch
These are overloaded methods. Just follow the links in the documentation so you don't end up being what you are...
It would be enough to change at least a couple of words in the description. And it would be even better to leave one function and write there, where "by links", that these are the overloaded methods.
Artem, you had a hard day today?
Afternoon!
Good day!
I think it's a volume indicator Better Volumehttps://www.mql5.com/en/code/23479
but this topic is for those who write themselves or try to write themselves
If you want a volume indicator, it's a volume indicator,
or a moderator writes some weekends under MQL5 - also a separate topic
I think it's the Better Volume indicatorhttps://www.mql5.com/en/code/23479
but this thread is for people who write their own, or try to write their own
If you know something about it, it may be a good idea to check it out,
or a moderator writes for MQL5 sometimes on weekends - also a separate topic
https://www.mql5.com/en/code/23479 This one is not working.
I have tried to do it, but I have a snag in the code and I don't think it would be interesting to get into my code.
So, here it is:
int sig=(raznV[i])>50; Here is the hitch. I do not know how to present it in a different way. And you need to define a deviation of at least 50% in previous candles.