Good evening everyone.
I returned in iFractals function manipulator him and threw their values in the buffer. to give print I received this data: Buffer Upper Line: 1.797693134862316e + 308
I wonder ... how do I when the graphic display the current symbol of fractals I make any decisions?
because if I compare one with another buffer nothing happens ... like BuferUpper [0]> BuferUpper [1]
or if I compare a high line bufer with low line also nothing happens.
I would like to know how to handle the right way for when you see a high line current symbol in the graph I make a decision.
- Questions from Beginners MQL5 MT5 MetaTrader 5
- iCustom delivers wrong values
- How to extract only the bottoms turnaround points extracted by the zigzag indicator?
You are getting the 1.279 ... + 308 value because it is showing the EMPTY_VALUE of the Fractal. Instead in your code use something like "if (Fractal!=EMPTY_VALUE)" Perhaps you could use a for loop to find the last fractal, ignoring fractal values that are Empty.
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