Hi All,
What is the best way to get Point A and B to use in an EA (Plot Fibo levels)?
I would use for timeframe M15
I would like to draw Fibo straight through the EA without using external indicator.
Thank you,
Rogério
How to get point A and B
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
How to get point A and B
I remember doing this a long time ago, so I thought I would see if I can do it any more easily now than I did back then. It turns out that I can.
The attached script will draw a fib at the top and bottom of the previous 30 days, at the 50 and 30. Hack into it and adapt it for your own use.

The attached script will draw a fib at the top and bottom of the previous 30 days, at the 50 and 30. Hack into it and adapt it for your own use.
You do not have the required permissions to view the files attached to this post.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
-
rogeriob28
- Posts: 6
- Joined: Tue Sep 06, 2016 1:56 pm
How to get point A and B
Hi Steve,
Thanks for the script.
I saw 2 EA's your Simone and Steve Hopwood's Fib Target-level retracement auto-trader
In the code below would highest be point A and lowest would be Point B correct?
Do I calculate this way using D1 would work for M5 and M15?
Would not you miss some retracement points?
Is it possible to calculate point A and B with fractal?
Thank you,
Rogério
Thanks for the script.
I saw 2 EA's your Simone and Steve Hopwood's Fib Target-level retracement auto-trader
In the code below would highest be point A and lowest would be Point B correct?
Code: Select all
highest = iHigh( Symbol(), PERIOD_D1, iHighest( Symbol(), PERIOD_D1, MODE_HIGH, 30, 1 ) );
lowest = iLow( Symbol(), PERIOD_D1, iLowest( Symbol(), PERIOD_D1, MODE_LOW, 30, 1 ) );
double height = highest - lowest;
Would not you miss some retracement points?
Is it possible to calculate point A and B with fractal?
Thank you,
Rogério
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
How to get point A and B
I am not going to write your code for you Rogerio. I have given you stuff to get you started. It is up to you to make it work for yourself.

Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.