Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1003

 
Alexey Viktorov:

Watch out for paired brackets.

Thank you.

Again on the elementary I didn't notice :(

 
Ladies and Gentlemen. Especially, if the candlestick opened at 1.0 and then visited the inside of the minute at 0.9 and 1.1 and closed at 1.0, the pre-long candlesticks may be under a hundred pips, but you can look inside. And what if the problem is hidden inside the minute and the range of the minute is under 50 pips?
 
Zlaya_budka:
Ladies and Gentlemen. Especially if the candlestick opened at 1.0 and then was inside the minute at 0.9 and 1.1 and closed at 1.0, the pre-long candlesticks may be up to 100 pips, but you can look inside. And what if the problem is hidden inside the minute and the range of the minute is under 50 pips?

attached Japanese candle history within a minute, as I'm analysing it myself at the moment, a selection:

https://www.mql5.com/ru/code/15355

https://www.mql5.com/ru/code/8430 - price volatility indicator

https://www.mql5.com/ru/code/8716

https://www.mql5.com/ru/code/12891 - inside minutes - ticks

https://www.mql5.com/ru/code/14714 - here is tick candlestick indicator

https://www.mql5.com/ru/articles/60

https://www.mql5.com/ru/code/7533

https://www.mql5.com/ru/code/10890 - ticks collector

TickSpeed
TickSpeed
  • www.mql5.com
В данном советнике для анализа скорости движения цены используются микросекунды, для достижения максимальной точности. В файле представлены следующие данные: Столбец A: Время текущее Столбец B: Цена текущая Столбец C: Время текущее в микросекундах Столбец D: Цена прошлого тика Столбец E: Время прошлого тика в микросекундах Столбец F: Разница в...
 
Roman Shiredchenko:

attached Japanese candle history within a minute, as I'm analysing it myself at the moment, a selection:

https://www.mql5.com/ru/code/15355

https://www.mql5.com/ru/code/8430 - price volatility indicator

https://www.mql5.com/ru/code/8716

https://www.mql5.com/ru/code/12891 - inside minutes - ticks

https://www.mql5.com/ru/code/14714 - here is tick candlestick indicator

https://www.mql5.com/ru/articles/60

https://www.mql5.com/ru/code/7533

https://www.mql5.com/ru/code/10890 - ticks collector


Thank you. I've already looked at some of it.
 
I haven't found protection against overshooting by 50 points when opening a bet, that is, an assistant who opens an order with TP and SL at once, but you open it and it jumps by 50 points in a second. I have no such thing in MT5, I have to set a price, then TP and SL, but then it turns out that the price has already changed and strongly, even for 15-minute periods, as I have drawn a sample, I occasionally get a jump.
 
Zlaya_budka:
I have not found protection against slippage by 50 pips when opening a bet, that is, an assistant who opens an order with TP and SL at once, because it may open and it jumps by 50 in a second. I have no such thing in MT5, I have to set a price, then TP and SL, but then it turns out that the price has already changed and strongly, even for 15-minute periods, as I have drawn a sample, I occasionally get a jump.

see under CODEbASE - SCRIPTS:

here's a helper on MT4, on MT5 there are also similar ones:(so you don't periodically get caught up in the bounces :-) "periodically get caught up in the bounces")

https://www.mql5.com/ru/code/11151

here is another helper:

https://www.mql5.com/ru/code/12882

(I did not use them myself, so look and check them yourself...)

Open Market Orders
Open Market Orders
  • www.mql5.com
Просмотров: 6709 Рейтинг: Опубликован: 2014.03.14 08:14 Обновлен: 2014.04.21 14:56 Описание: Cкрипт открывает по текущей цене, указанное в переменной orders кол-во ордеров, выставляет стопы у всех ордеров на одном расстоянии, тейкипрофиты у всех разные, по мере увеличения с шагом Step_TP. Например, открылись 10 ордеров лотом 0,01, стопы...
 


i don't know how to pay taxes properly. what's the principle of taxation? a simple natural person may be suspected of flatulence and then face the asphalt with proof.... you never know. by the way, how to withdraw? you never know what they write on the google, they also write that banks collect their taxes if they do not like the justification of income....

if i'm afraid to bet in minutes, is it possible to make a timeframe of not 1 and 5 but say 2? obviously it is possible, but i need a programmer (30 quid), although it's probably a basic/available somewhere widely known additional function.


i can see why i don't see pips on demo accounts of different types and amounts, i don't see commission to broker from 50k bid on 150k account or from a turnover of half a million.


but here's a question. let's say I put a pending order for 2, closed at the weekend for 1.5 and opened for 2.5, what will happen to the order? because today the Eurodollar slump is 33 pips. it's too much even for hourly candlesticks.

 

Guys, explain to me an idiot how the function works

ArrayResize(100,100);

It would be good to see the code of this function for correct understanding, but as far as I understand this information is classified. As far as I know it is impossible to change the size of an array, you need to allocate a new memory section, overload the values, switch the pointer to the new section, and then delete the old memory section. This turns out to be a very expensive task, does spare memory play any role here?

 
Zlaya_budka:


1. how do i pay taxes from profit correctly? what is the basic principle for a simple natural person? otherwise, they may suspect meteorism and then prove it with your face on the asphalt..... you never know. by the way, how to withdraw? you never know what they write on the google, they also write that banks collect their taxes if they do not like the justification of income....

2. If i'm afraid to bet in minutes, is it possible to make a timeframe not 1 and 5 but say 2? obviously it is possible, but i need a programmer (30 quid), although it's probably a basic / somewhere widely known additionalfunctions.


Why on a training account of various types and amounts I do not see pips, which the broker's commission from a 50k wager on a 150k account or from a turnover of half a million?


but here's a question. let's say I put a pending order for 2, closed at the weekend for 1.5 and opened for 2.5, what will happen to the order? because today the Eurodollar slump is 33 pips. it's too much even for hourly candlesticks.

You should not pay any taxes, you do not need to justify your gains if they are not in millions of dollars.

2. you can. read the information here on the forum.

3. BECAUSE THE COMMISSION IS ZERO. the commission is zero. only spread and swap pay the broker. call the broker - find out. some accounts have commission - some do not. here's an example, it's all written in the table: it all depends on the conditions of your broker and the type of account


 
Zlaya_budka:


... or they'll suspect flatulence and then...

Poor Russian... What can they say without understanding the meaning of the word...

Метеоризм
  • yandex.ru
Энциклопедия / Заболевания / Желудочно-кишечный тракт / Метеоризм. Метеоризм является широко распространенным состоянием. Суть его состоит в повышенном скоплении газов в желудочно-кишечном тракте. Метеоризм может ощущаться у практически здоровых лиц при переедании, употреблении продуктов, переваривание которых вызывает повышенное газообразование.