MQL4 - automated forex trading   /  

Forum

Login | Register | Language: ru cn en
Buy Expert Advisors in MetaTrader Market and Let Them Trade For You

Fibo Levels in EA

Back to topics list To post a new topic, please log in or register
avatar
23
amando 2009.05.20 01:51
 

Hello


i'm looking for the possibillity to creatre an EA with FIBO Levels


this means as example


i have 1.4368 as high = 100%

and 1.3569 as low = 0%


how i can create the fibo level as example 127 or 161.8


is there a standard calculation in MQL4 or i must create it for myself?


kind regards


 
Lamborghini: Calm in the eye of the Huracan
Lamborghini: Calm in the eye of the Huracan
Ronnie Mansolillo | 25 October 2014, 20:19 | Views: 55
Seconds before the accident, I had noted the man in the right lane, or more precisely the Citroën C6 executive saloon he was driving. Always loved that car. The style holds up. It was about 5:30 p.m. -- prime accident time, statistics tell us—and traffic on the European Route E15 north of Lyon, France, was moving well.
avatar
4
sunpack 2009.05.20 02:20 #
 
amando wrote >>

Hello

i'm looking for the possibillity to creatre an EA with FIBO Levels

this means as example

i have 1.4368 as high = 100%

and 1.3569 as low = 0%

how i can create the fibo level as example 127 or 161.8

is there a standard calculation in MQL4 or i must create it for myself?

kind regards

Hello Amando,

I am also creating an EA using FIBO. I found that I had to manually apply the formula. To find your retracement levels on a uptrend use the following:

C = B — (B — A) x N

so to find C (your potential level to buy)

B - Your High

A - Your Low

N - Fib level (.382, .500, .618, etc.)

example

B - 121.40

A - 119.30

N - .382

C = 121.40 - (121.40 - 119.30) X .382

C = 121.40 - (2.1) X .382

C = 121.40 - 0.8022

C = 120.5978 (rounded 120.60)

So 120.60 would be your your 0.382 retracement.

Hope this helps.

Also check out this website - http://www.forexfibonacci.com/calculate_fibonacci_levels/04/

Finding the low fairly simple (since it has happened in the past) but to determine the correct high, a bit more challenging. My testing so far is close but now working on adding a bit more intelligence to pick the optimal high. If you have time let me know how you are planning to do this. :)

 
Back to topics list  

To add comments, please log in or register