Trading by Fibonacci - page 2

 
PipTraderTim:

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

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.

Reason: