Fibonacci Retracement - Plot - futures io

# Discussion in Platforms and Indicators

Updated by jupikseliga
1. trending_up 646 views
2. thumb_up 0 thanks given
3. group 2 followers
1. forum 3 replies
2. attach_file 2 attachments

 Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
 Genuine reviews from real traders, not fake reviews from stealth vendors Quality education from leading professional traders We are a friendly, helpful, and positive community We do not tolerate rude behavior, trolling, or vendors advertising in posts We are here to help, just let us know what you need You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple. -- Big Mike, Site Administrator (If you already have an account, login at the top of the page)

# Fibonacci Retracement - Plot

Zug, Switzerland

Posts: 3 since Jul 2020

hi,

I am looking to Plot the following Fibonacci Retracement Levels:
100%
76.4%
23.6%
0%

I would like to have a "history" of the retracements, therefore, I adopted the following Code from ABCTradingGroup Lesson 5:

Code
 ```Variables: Fib0 ( Low ), Fib236 ( ( ( High - Low ) * 0.236 + Low ) ) , Fib764 ( ( ( High - Low ) * 0.764 + Low ) ) , Fib100 ( High ) ; // reset on a date change if Date <> Date[1] then begin //reset the Fibonaaci Retracements to the first bar Fib0 = Low ; Fib236 = ( ( High - Low ) * 0.236 + Low ) ; Fib764 = ( ( High - Low ) * 0.764 + Low ) ; Fib100 = High ; end ; // update Fibonacci 0% Retracement if Low < Fib0 then Fib0 = Low ; // update Fibonacci 100% Retracement if High > Fib100 then Fib100 = High ; // update Fibonacci 23.6% Retracement if ( ( Fib100 - Fib0 ) * 0.236 + Fib0 ) < Fib236 then Fib236 = ( ( Fib100 - Fib0 ) * 0.236 + Fib0 ) ; // update Fibonacci 76.4% Retracement if ( ( Fib100 - Fib0 ) * 0.764 + Fib0 ) > Fib764 then Fib764 = ( ( Fib100 - Fib0 ) * 0.764 + Fib0 ) ; // plot Fibonacci Retracements on the chart Plot4 ( Fib100, "100%", Red ) ; Plot3 ( Fib764, "76.4%", Darkgray ) ; Plot2 ( Fib236, "23.6%", Darkgray ) ; Plot1 ( Fib0, "0%", Red ) ;```
The High and Low Retracements work well, however, I am having trouble with the 76.4% and 23.6% levels. If you look at the images attached to this thread, you can see that either one of these middle retracements are not fully correct. For example, on image 1, the 76.4% line is matching with another Fibonacci Indicator I am using but the 23.6% is not correct. On image 2 you can derive that using a different Underlying the opposite results.

I really need some help finding out what I am coding wrong, appreciate any help!

thanks a lot,

F

Attached Thumbnails

Can you help answer these questions
from other members on futures io?
 EQIX - Digital REITs - any experiences?Stocks and ETFs help to convert from thinkscript to ninjascriptNinjaTrader DLL with webrequest function for MCMultiCharts Need a near crosses scan help for TOSThinkOrSwim Horizontal Line IndicatorPlatforms and Indicators

 Best Threads (Most Thanked)in the last 7 days on futures io

Europe-Ireland

Experience: Intermediate
Platform: NT8
Broker: NT

Posts: 163 since Feb 2012

.

 Hard work make me rich

Europe-Ireland

Experience: Intermediate
Platform: NT8
Broker: NT

Posts: 163 since Feb 2012

Feazy

Hi,

I did reply but for NT platform. U r using other platform so I tried delete my original post, but I dont know how. So I changed text to "." Anyway, I had same problem and I asked NT development team to add this feature.

 Hard work make me rich

 futures io > [TradeStation]  Fibonacci Retracement - Plot

July 26, 2020

Upcoming Webinars and Events

## Live Video Panel: Ask Me Anything w/Ironbeam Brokerage

Aug 6

 Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io All information is for educational use only and is not investment advice.There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts