I've been using this code for Detecting & Getting price value of a Horizontal Line :
And fibo is a single Object not many Horizontal Lines. So, Its not possible to get the price of a fibo level by this code.
I tried many ways to get this But I've found nothing in Documentation & Forums.
So, Please if you have any Idea that can help me you're Welcome to Share :)
Thanks in advance all of you !!
Example: You know that from 0.0% to 100.0% the difference is +82.675 and you want to calculate the difference between 0.0% and 161.8%.
You must calculate ((+82.675/100)*161.8).
Good thing is that the fibonacci numbers are already relations of distances of the lines. Now you only need to get the price values of the anchor points with ObjectGetDouble and OBJPROP_PRICE.
I wonder if it would be even easier with OBJPROP_LEVELVALUE or OBJECTPROP_SCALE.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I've been using this code for Detecting & Getting price value of a Horizontal Line :
And fibo is a single Object not many Horizontal Lines. So, Its not possible to get the price of a fibo level by this code.
I tried many ways to get this But I've found nothing in Documentation & Forums.
So, Please if you have any Idea that can help me you're Welcome to Share :)
Thanks in advance all of you !!