Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 807
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
Thank you very much! Checked through Comment, it works! I must have misunderstood the information about using multiple TFs in the tester.
Hello! The attached indicator draws fractals. It draws them directly on the high/low bars and therefore I cannot see the high/low bars. How can I adjust the distance between the fractal and the bar? I need the fractal to be slightly above/below the bar.
If it's not complicated, it may be easy to do it directly in this indicator...
Help, please!
Hello! The attached indicator draws fractals. It draws them directly on the high/low bars and therefore I cannot see the high/low bars. How can I adjust the distance between the fractal and the bar? I need the fractal to be slightly above/below the bar.
If it's not complicated, maybe it won't be a problem to do it directly in this indicator...
Help, please!
Obviously, we need to add some value for the top fractal and subtract the same value for the bottom fractal, then the fractals will be shifted vertically. The ATR value, as in the trailer, would be suitable, for example.
Thanks. But, is it really necessary to use the value of another indicator in solving this problem? There is the value of the bar at which the fractal was drawn. Is there no function that moves the fractal vertically with respect to high/low bar value?
Thank you. But, is it really necessary to use the value of another indicator in solving this problem? After all, there is the value of the bar on which the fractal was drawn. Isn't there a function that will shift the fractal vertically with respect to high/low bar value?
You can take any value in pips (integer) instead of indicator value, multiplied by _Point, it will be constant offset by given number of pips. It is easier with indicator, there is no need to adjust distance.
Example for the upper fractal:
You can take any value in pips (integer) instead of indicator value, multiplied by _Point, it will be constant offset by given number of pips. It is easier with indicator, there is no need to adjust distance.
Example for the upper fractal:
It's better to scale, otherwise icons of fractals will creep outside the boundaries of the screen. You can do this:
I still don't understand the priorities and order of operations , e.g,
*
/
%
Multiplication
Division
Modulo division
From left to right
What is the value of a=b/s*s, a=b or a=b/s^2?
What will the expression a=b/c*s be equal to, a=b or a=b/c^2?
Checked with the script:
Print in log: a=10.0
PS: and if you do this: a=c*c/b; then the print will be a=1.6
Checked with the script:
Print in log: a=10.0
PS: and if you do this: a=c*c/b; then print will be a=1.6
Well, yes, I checked it myself, but in the handbook about priorities they say that multiplication takes precedence over division, so multiplication should be done first, if brackets don't specify the order, no?
In practice, division comes first, then multiplication...
Hello! Help me out here. I am writing my first EA in MQL4.
My Expert Advisor opens a position but does not close it. It does not show any errors in the log.