Creat a Fibonacci?

 

Hey Guy, 

How can I creat a Fibonacci?
I already got my points, where I wanna draw it, but I don't find something to creat/code a Fibonacci?

I found something like this: https://docs.mql4.com/constants/objectconstants/enum_object/obj_fibo

But what is meant with those parameters at "CreatObject(...)"? 
I don't understand anything from this description...

 

Greetings and Thank you! 

 
FrazeColder:

Hey Guy, 

How can I creat a Fibonacci?
I already got my points, where I wanna draw it, but I don't find something to creat/code a Fibonacci?

I found something like this: https://docs.mql4.com/constants/objectconstants/enum_object/obj_fibo

But what is meant with those parameters at "CreatObject(...)"? 
I don't understand anything from this description...

 

Greetings and Thank you! 

There is a full example code on the link you posted, so I am not sure what you are expecting more ?
 

But that is too much! I just need the 67,8% line between to points.

It thought about it yesterday and it should be possible to multiplicate with 0.678 or?

 
FrazeColder:

But that is too much! I just need the 67,8% line between to points.

It thought about it yesterday and it should be possible to multiplicate with 0.678 or?

Then just use what you need. Read and absorb the relevant documentation, so that you understand it. Then you will be able to adapt it to however you want.

It may seem too much, but next time you may want to add multiple fibonacci levels, so you need to learn how to do it.

Otherwise, simply create some horizontal/trend lines and calculate the levels.

 
//calculate 61.8%
double point_61_8=NormalizeDouble((pointHigh-pointLow)/100*61.8+pointLow,Digits);
...then create an object 'line' or 'arrow', using the function ObjectCreate
Reason: