i dont no but i think there was a little problem with metatrader and fibonanci level object to read them values and i have one day calculate the level becaue i canot read them from the indicator:
try to use my code as a example if you can calulate your Fibonanci level with that code. The swing high and low you must find with a indicator, i think there are enough indicators with wich you can find highs and lows.
Your code is too specific . . . what about the -0.382 and +1.382 levels ? I don't use the 0.236 level . .
No problems reading the Fib levels . . . use
double ObjectGet( string name, int index)
and OBJPROP_FIRSTLEVEL+n will give you the level values. Then it's just a question of scaling them using the Fib's Price1 and Price2 values . . . if you can't do Maths then you will struggle . . but then if you can't do Maths you will struggle with MQL4 and coding in general.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
are you metatrader programmer?
i dont no but i think there was a little problem with metatrader and fibonanci level object to read them values and i have one day calculate the level becaue i canot read them from the indicator:
try to use my code as a example if you can calulate your Fibonanci level with that code. The swing high and low you must find with a indicator, i think there are enough indicators with wich you can find highs and lows.
Your code is too specific . . . what about the -0.382 and +1.382 levels ? I don't use the 0.236 level . .
No problems reading the Fib levels . . . use
and OBJPROP_FIRSTLEVEL+n will give you the level values. Then it's just a question of scaling them using the Fib's Price1 and Price2 values . . . if you can't do Maths then you will struggle . . but then if you can't do Maths you will struggle with MQL4 and coding in general.