Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 1107
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
Well yes nonsense I wrote in the last post) Did as you wrote changing the ray) Everything works!!!! Thank you. Just do not understand how to put + here(((
How crazy is that?
We have 2 right angled triangles. BC / AB = DE / AD = tg(A)
AB = 22 bars the price at point C is, at point B is. Their difference divided by _Point is the number of points or BC. Hence DE = (BC/AB)*101 at _Points...
Price at point E = Price at point A+DE*_Point
That is all...
This allows you to get the required value without resorting to graphical elements.
Hello.
Can you tell me what's wrong? The indicator doesn't work in the tester and neither does the Expert Advisor on it.
Gives out an error:
2016.10.20 20:10:38.734 2016.10.03 00:09 Testing pass stopped due to a critical error in the EA
2016.10.20 20 20:10:38.640 2016.10.03 00:08 PrizeMACD_s4_s2_p72 EURUSD,M1: array out of range in 'PrizeMACD_s4_s2_p72.mq4' (147,17)
2016.10.20 20:10:38.625 PrizeMACD_s4_s2_p72 inputs: base=500; Multiplikator=10; InpSignalSMA=9;
Which points to the i in a1_buffer
I think I've got it all worked out for me on my fingers, where am I wrong?
How crazy is that?
We have 2 right triangles. BC / AB = DE / AD = tg(A)
AB = 22 bars the price at point C is, at point B is. Their difference divided by _Point is the number of pips or BC. Hence DE = (BC/AB)*101 at _Points...
Price at point E = Price at point A+DE*_Point
That is all...
This allows you to get the required value without resorting to graphical elements.
Calculation with specific numbers.
OS = (1.09869-1.09795)/0.00001 = 74.
tg(A) = 74/22 = 3.3636363636
DE = 3.3636363636 * 101 = 339.72727272
The price at point E = 1.09795+339.72727272*0.00001 = 1.10134727272 normalized to 5 digits 1.10135, as required.
Calculation with specific numbers.
OS = (1.09869-1.09795)/0.00001 = 74.
tg(A) = 74/22 = 3.3636363636
DE = 3.363636363636 * 101 = 339.72727272
Price at point E = 1.09795+339.72727272*0.00001 = 1.10134727272 normalized to 5 digits 1.10135, as required.
Also, Archimedes lever AC*E - AE*C+EC*A=0, then E=( AE*C-EC*A)/AC or ( 102*1.09869- 79*1.09795)/23 =1.101232, maybe somewhere with the number of intervals miscalculated.:)
101 and 22 and you have 102 and 23.
101 and 22 and you have 102 and 23
Hello.
Can you tell me what's wrong? The indicator doesn't work in the tester and neither does the Expert Advisor on it.
Gives out an error:
2016.10.20 20:10:38.734 2016.10.03 00:09 Testing pass stopped due to a critical error in the EA
2016.10.20 20 20:10:38.640 2016.10.03 00:08 PrizeMACD_s4_s2_p72 EURUSD,M1: array out of range in 'PrizeMACD_s4_s2_p72.mq4' (147,17)
2016.10.20 20:10:38.625 PrizeMACD_s4_s2_p72 inputs: base=500; Multiplikator=10; InpSignalSMA=9;
Which points to the i in a1_buffer
I think I've got it all on my fingers, where am I wrong?
limit turns out to be negative:
The result is negative:
Thank you, I will look into it.
What could it be related to? To the gaps in the history? I have over 1000 bars on all my charts.
The result is negative: