Fibonacci Retracement - Plot - futures io
futures io futures trading



Fibonacci Retracement - Plot


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)

 
Search this Thread
 

Fibonacci Retracement - Plot

(login for full post details)
  #1 (permalink)
Zug, Switzerland
 
 
Posts: 3 since Jul 2020
Thanks: 0 given, 0 received

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
Click image for larger version

Name:	Image 1.png
Views:	25
Size:	119.0 KB
ID:	303396   Click image for larger version

Name:	Image 2.png
Views:	18
Size:	65.5 KB
ID:	303397  
Reply With Quote

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 ninjascript
NinjaTrader
DLL with webrequest function for MC
MultiCharts
Need a near crosses scan help for TOS
ThinkOrSwim
Horizontal Line Indicator
Platforms and Indicators
 
 
(login for full post details)
  #2 (permalink)
Europe-Ireland
 
Experience: Intermediate
Platform: NT8
Broker: NT
Trading: ES & CL
 
jupikseliga's Avatar
 
Posts: 163 since Feb 2012
Thanks: 111 given, 89 received

.

Hard work make me rich
Visit my Facebook Reply With Quote
 
(login for full post details)
  #3 (permalink)
Zug, Switzerland
 
 
Posts: 3 since Jul 2020
Thanks: 0 given, 0 received


Okkeeyyy..... very helpful

Reply With Quote
 
(login for full post details)
  #4 (permalink)
Europe-Ireland
 
Experience: Intermediate
Platform: NT8
Broker: NT
Trading: ES & CL
 
jupikseliga's Avatar
 
Posts: 163 since Feb 2012
Thanks: 111 given, 89 received


Feazy View Post
Okkeeyyy..... very helpful

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.

https://ninjatrader.com/support/forum/forum/ninjatrader-8/platform-technical-support-aa/1080215-fibonacci-shadow

Hard work make me rich
Visit my Facebook Reply With Quote


futures io Trading Community Platforms and Indicators > [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