[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 1048

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Please advise how to analyse price volatility within days and display it on a graph/diagram.
I want to analyse the whole day in ranges from 5 to 120 min, in 5 min steps, i.e:
00:00 to 00:05,
00:00 to 00:10,
...
00:00 to 02:00.
then:
00:05 to 00:10,
00:05 to 00:15,
...
00:05 to 02:05. etc.
Then make graphs/diagrams for all (each) ranges to find the times of the most volatile 5i, 10i, 15i, ..., 120i min.
https://www.mql5.com/ru/code/8464
i would like to analyze the history for a year or two and have an idea of what time of day is the greatest volatility
"volantism" is from the word shuttlecock - "badminton ball". :-)))
Look in the Internet - there are also sites abroad, "where this same" is described by instruments, days, hours, etc. Something for you now I cannot find, on another computer I have a page open, it has been placed on the forum, look for it.
You can look here, I recommend:http://forex.kbpauk.ru - "patterns of hourly movements of the euro" - type in a search engine - there people build systems on "it".
P.S. Get the concepts straight... :-)))
My question remains unanswered...?
"Minimum distance = 4. Long opening price is 7 points up from the Bid".
OP_BUYSTOP is not opened from the Bid, but from the Ask.
If the "PriceOpen" setting price > (Ask + Min_Dist*Point + MarketInfo(Symbol(),MODE_SPREAD)*Point) {then we enter bye}
In other words, the order is placed from the level: Ask + Min_Dist*Point + MarketInfo(Symbol(),MODE_SPREAD)*Point (I do not remember about the spread).
And you will be happy.
OP_BUYSTOP is not opened from bid, but from ask, ...
It doesn't matter where to count from, as long as the Requirements and Limitations of Trading Operations are observed.
If you open a position with a Buy position from Buy Bid + Minimalist, the result is a distortion of the Buy position below the minimum order placed by the brokerage company. You will not be allowed to open due to the order being set close to the price. DT considers buy entry from the Ask - it's elementary... Min dist in currency + ask price = minimum buy stop order level - read textbooks.
If the "PriceOpen" setting price > (Ask + Min_Dist*Point+ MarketInfo(Symbol(),MODE_SPREAD)*Point) {then we enter to buy}
In other words, the order is placed from the level: Ask + Min_Dist*Point + MarketInfo(Symbol(),MODE_SPREAD)*Point (I do not remember about the spread).
And you will be happy.
Is the spread added to the minimum distance? The spread is the difference between the Bid and the Ask, you do not need to add it. The deal will be opened when the Ask price reaches the set price. In this case, the "profit" will be = spread with a negative value.
Open Price = Bid + 7 pips (with spread = 3) is the same as Open Price = Ask + 4 pips. Stop Level = 4 pips, i.e. all is respected. And yet the error is 130 (though not always, but often. In cases when it is not given, the deal is opened, on the same conditions). I am waiting for your advice ...
Is the spread added to the minimum distance? The spread is the difference between the Bid and the Ask, it does not need to be added. A trade up will open when the Ask price reaches the set price. In this case, the "profit" will be = spread with a negative value.
Open Price = Bid + 7 pips (with spread = 3) is the same as Open Price = Ask + 4 pips. Stop Level = 4 pips, i.e. all is respected. And yet the error is 130 (though not always, but often. In cases when it is not given, the deal is opened, on the same conditions). I am waiting for your advice ...