Axmed>>: Конкретезируйте пожалуйста, что значит "сделать как индикатор Volume" ??))
one scale only for High should be above zero (no need for Low), decreasing the value changes colour to red, increasing the value to green... would be much appreciated...
one scale only for High should be above zero (no need for Low), decreasing the value changes colour to red, increasing the value to green... would be much appreciated...
Please advise how to close several open orders at once and if you can explain in detail, I have not worked with scripts and expert advisors yet and do not know how to deal with them.
Anegener>>: Здравствуйте.Подскажите как можно несколько открытых ордеров закрыть сразу.И если можно объясните поподробнее,со Скриптами и Советниками я ещё не работал и не знаю как с ними обходится.Заранее благодарю.
Here's a script. attach it to any chart - it closes all open orders.
Please help me to understand the code, I need an EA to update triggered pending orders. I just started to learn the language, I really hope the experts will help))
Hello, can you please help me correct the indicator to make it work on the zero bar, i.e. the arrow would disappear and appear on the last bar, and the alert only worked once, of course.
int Length = 20; int LstBarClose = IndicatorCounted(); if (LstBarClose < 1) { for (int ii = 1; ii <= Periodd; ii++) Bufer_4[Bars - ii] = 0; for (ii = 1; ii <= Length; ii++) { Bufer_1[Bars - ii] = 0; Bufer_2[Bars - ii] = 0; Bufer_3[Bars - ii] = 0; } } if (LstBarClose > 0) LstBarClose--; int difBr = Bars - LstBarClose; for (ii = 0; ii < difBr; ii++) Bufer_4[ii] = 2.0 * iMA(NULL, 0, MathFloor(Length / 2), 0, MODE_LWMA, PRICE_CLOSE, ii) - iMA(NULL, 0, Length, 0, MODE_LWMA, PRICE_CLOSE, ii); double AvW = iMAOnArray(Bufer_4, 0, MathFloor(MathSqrt(Length)), 0, MODE_LWMA, 0); for (ii = 1; ii < difBr; ii++) { double AvW2 = iMAOnArray(Bufer_4, 0, MathFloor(MathSqrt(Length)), 0, MODE_LWMA, ii); } 1. I cannot figure out the difference between calculating variables AvW and AvW2. I think AvW is clear - it is LWMA with period Length in Bufer_4 on the current bar. But what is AvW2? Previous value of AvW, i.e. AvW[1] ????. 2. maybe someone can tell me how to write code to output Bufer_4 buffer value to a file. Thank you.
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.
А можно как-нибудь сделать чтобы индикатор iExposure.mq4 показывал данные на самом графике? а не в отдельном окне?
It can be implemented like this
Конкретезируйте пожалуйста, что значит "сделать как индикатор Volume" ??))
one scale only for High should be above zero (no need for Low), decreasing the value changes colour to red, increasing the value to green... would be much appreciated...
one scale only for High should be above zero (no need for Low), decreasing the value changes colour to red, increasing the value to green... would be much appreciated...
Like this?)
Примерно так?)
Thank you very much :))))
Здравствуйте.Подскажите как можно несколько открытых ордеров закрыть сразу.И если можно объясните поподробнее,со Скриптами и Советниками я ещё не работал и не знаю как с ними обходится.Заранее благодарю.
Here's a script. attach it to any chart - it closes all open orders.
why is there no bidding on silver and aud/usd?
Please help me to understand the code, I need an EA to update triggered pending orders. I just started to learn the language, I really hope the experts will help))
Hello, can you please help me correct the indicator to make it work on the zero bar, i.e. the arrow would disappear and appear on the last bar, and the alert only worked once, of course.
Here is part of the code :
int Length = 20;
int LstBarClose = IndicatorCounted();
if (LstBarClose < 1) {
for (int ii = 1; ii <= Periodd; ii++) Bufer_4[Bars - ii] = 0;
for (ii = 1; ii <= Length; ii++) {
Bufer_1[Bars - ii] = 0;
Bufer_2[Bars - ii] = 0;
Bufer_3[Bars - ii] = 0;
}
}
if (LstBarClose > 0) LstBarClose--;
int difBr = Bars - LstBarClose;
for (ii = 0; ii < difBr; ii++) Bufer_4[ii] = 2.0 * iMA(NULL, 0, MathFloor(Length / 2), 0, MODE_LWMA, PRICE_CLOSE, ii) - iMA(NULL, 0, Length, 0, MODE_LWMA, PRICE_CLOSE, ii);
double AvW = iMAOnArray(Bufer_4, 0, MathFloor(MathSqrt(Length)), 0, MODE_LWMA, 0);
for (ii = 1; ii < difBr; ii++) {
double AvW2 = iMAOnArray(Bufer_4, 0, MathFloor(MathSqrt(Length)), 0, MODE_LWMA, ii);
}
1. I cannot figure out the difference between calculating variables AvW and AvW2.
I think AvW is clear - it is LWMA with period Length in Bufer_4 on the current bar.
But what is AvW2? Previous value of AvW, i.e. AvW[1] ????.
2. maybe someone can tell me how to write code to output Bufer_4 buffer value to a file.
Thank you.