[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 754
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
I guess so, the code isn't optimised, but it draws what I want
The level zero of the fib corresponds to 1.2807, the level 23.6 corresponds to 1.2838.
The remaining levels 38.2, 50.0, 61.5, 100.0 and what prices they correspond to need to be found.
I even could not find any relation between 1.2807 and 1.2838, in order to understand the principles of
of finding all the other values.
It's simple.
Level 0 : 1.2807
Level 23.6: 1.2838
Level 38.2: x
The price levels are linearly dependent on the percentage levels of Fib. We make up the proportion:
( 1.2838 - 1.2807 ) / ( 23.6 - 0 ) = ( х - 1.2807 ) / ( 38.2 - 0 )
I hope you solve this equation relative to x :)
And so on, for all other numbers, including 100.
Frankly, if there are few pips between levels, the accuracy of extents (external to them) will be poor.
What is the maximum number of windows in MT4?
I needed to open 3x19 windows, but it's 54 (I think) and that's it.
I.e. the window is drawn, but it has a screenshot of the previous (which are in the background) windows.
And that's it.
It's as simple as that.
Level 0 : 1.2807
Level 23.6: 1.2838
Level 38.2: x
The price levels are linearly dependent on the percentage levels of Fib. Let's make a proportion:
( 1.2838 - 1.2807 ) / ( 23.6 - 0 ) = ( х - 1.2807 ) / ( 38.2 - 0 )
And so on, for all other numbers.
Frankly, if there are few pips between levels, the accuracy of extents (external to them) will be poor.
I strongly suspected that the proportions needed to be calculated here, but didn't have time to fully boil it down... :)
What is the maximum number of windows in MT4?
I needed to open 3x19 windows, but it's 54 (I think) and that's it.
I.e. the window is drawn, but it has a screenshot of the previous (which are in the background) windows.
And that's it.
Tried it once, it opened about a hundred, and everything seemed to work, what's your computer configuration?
Correction, only max 99 :))
They don't open any further.
The return was not removed after the first block.
You can try it like this
Unfortunately, it won't work again, that bastard (the MQL4 editor), throws more errors than lines in my code when compiling ))
Unfortunately, it won't work again, that bastard (MQL4 editor), throws more errors than lines in my code when compiling ))
I insert the first line into Start() function:
Sleep(1000*60*(timeframe+1)*1000);
where timeframe = 240 and the test results in the tester are the same as without it. What is the reason?
I tried it once, it opened about a hundred, and everything seemed to work, what's your computer configuration?
Correction, max 99 in total :))
They don't open any further.
WinXP, SP3, Pentium 4 2.8 dual core, 1 Gb RAM.