Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

Sign in to follow this  
olobay

Fibonacci Zone Pivots

Recommended Posts

Hi,

 

I am trying to convert the included Floor Trader Pivots in MultiCharts to Suri Duddella's Fibonacci Zone Pivotshttp://www.surinotes.com/index.cfm?CSEL=6002&THISPROD=FP but I don't think they are plotting correctly. Maybe somebody with more EasyLanguage experience can help me out. I will inlcude both codes.

 

Thanks.

 

MultiCharts Floor Trader Pivots:

 

inputs:
Plot_5or7( 5 ) ;                                                    

variables:
   var0( 0 ),
var1( 0 ),
var2( 0 ),
var3( 0 ),
var4( 0 ),
var5( 0 ),
var6( 0 ),
var7( 0 ),
var8( 0 ),
var9( 0 ),
var10( 0 ),
var11( 0 ),
var12( 0 ),
var13( 0 ) ;

if Date <> Date[1] then
begin

var13 = var13 + 1 ;
var8 = var7 ;
var10 = var9 ;
var12 = Close[1] ;
var7 = High ;
  	var9 = Low ;
var6 = ( var8 + var10 + var12 ) / 3 ;
var3 = var6 * 2 - var10 ;
var4 = var6 + var8 - var10 ;
var5 = var4 + var8 - var10 ;
var0 = var6 * 2 - var8 ;
var1 = var6 - var8 + var10 ;
var2 = var1 - var8 + var10 ;
end
else
begin
if High > var7 then
	var7 = High ;
if Low < var9 then
	var9 = Low ;
end ;

condition1 = var13 >= 2 and BarType < 3 ;
if condition1 then                                           

begin
if Plot_5or7 = 7 then
	Plot1( var5, "R3" ) ;
Plot2( var4, "R2" ) ;
Plot3( var3, "R1" ) ;
Plot4( var6, "PP" ) ;
Plot5( var0, "S1" ) ;
Plot6( var1, "S2" ) ;
if Plot_5or7 = 7 then
		Plot7( var2, "S3" ) ;
end ;

 

My attempt at Fibonacci Zone Pivots:

 

inputs:
Plot_5or7( 5 ) ;                                                    

variables:
   var0( 0 ),
var1( 0 ),
var2( 0 ),
var3( 0 ),
var4( 0 ),
var5( 0 ),
var6( 0 ),
var7( 0 ),
var8( 0 ),
var9( 0 ),
var10( 0 ),
var11( 0 ),
var12( 0 ),
var13( 0 ),
var14( 0 ),
var15( 0 ) ;

if Date <> Date[1] then
begin

var13 = var13 + 1 ;
var8 = var7 ;
var10 = var9 ;
var12 = Close[1] ;
var7 = High ;
  	var9 = Low ;
var6 = ( var8 + var10 + var12 ) / 3 ; //Pivot Point
var3 = var6 + (.5 * var14) ; //R1
var4 = var6 + var14 ; //R2
var0 = var6 - (.5 * var14) ; //S1
var1 = var6 - var14 ; //S2
var14 = var7 - var9; //Daily Range
var2 = var6 + (.618 * var14) ; //Resistance Band 1
var5 = var6 - (.618 * var14) ; //Support Band 1
var11 = var6 + (1.382 * var14) ; //Resistance Band 2
var15 = var6 - (1.382 * var14) ; //Support Band 2

end
else
begin
if High > var7 then
	var7 = High ;
if Low < var9 then
	var9 = Low ;
end ;

condition1 = var13 >= 2 and BarType < 3 ;
if condition1 then                                           

begin
if Plot_5or7 = 7 then
Plot2( var4, "R2" ) ;
Plot3( var3, "R1" ) ;
Plot4( var6, "PP" ) ;
Plot5( var0, "S1" ) ;
Plot6( var1, "S2" ) ;
if Plot_5or7 = 7 then
		Plot7( var2, "RB1" ) ;
		Plot8( var5, "SB1" ) ;
		Plot9( var11, "RB2" ) ;
		Plot10( var15, "SB2" ) ;
end ;

 

The formula from Suri's book:

 

FibZone Pivots

 

Pivot Point (PP) = (H+L+C)/3

Daily Range (DR) = (H-L)

First Resistance (Rl) = PP + 0.5*DR

Second Resistance (R2) = PP + DR

First Support (Sl) = PP - 0.5*DR

Second Resistance (S2) = PP - DR

Resistance Band (RB 1) = PP + 0.61 8*DR

Support Band (SB 1) = PP - 0.6 18*DR

Resistance Band (RB2) = PP + 1.382*DR

Support Band (SB2) = PP - 1.382*DR

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Topics

  • Posts

    • 📁 Population in 2100, as projected by UN Population Division.   🇮🇳 India: 1,533 million 🇨🇳 China: 771 million 🇳🇬 Nigeria: 546 million 🇵🇰 Pakistan: 487 million 🇨🇩 Congo: 431 million 🇺🇸 US: 394 million 🇪🇹 Ethiopia: 323 million 🇮🇩 Indonesia: 297 million 🇹🇿 Tanzania: 244 million 🇪🇬 Egypt: 205 million 🇧🇷 Brazil: 185 million 🇵🇭 Philippines: 180 million 🇧🇩 Bangladesh: 177 million 🇳🇪 Niger: 166 million 🇸🇩 Sudan: 142 million 🇦🇴 Angola: 133 million 🇺🇬 Uganda: 132 million 🇲🇽 Mexico: 116 million 🇰🇪 Kenya: 113 million 🇷🇺 Russia: 112 million 🇮🇶 Iraq: 111 million 🇦🇫 Afghanistan: 110 million   @FinancialWorldUpdates Profits from free accurate cryptos signals: https://www.predictmag.com/   
    • “If the West finds itself falling behind in AI, it won’t be due to a lack of technological prowess or resources. It won’t be because we weren’t smart enough or didn’t move fast enough. It will be because of something many of our Eastern counterparts don’t share with us: fear of AI.   The root of the West's fear of AI can no doubt be traced back to decades of Hollywood movies and books that have consistently depicted AI as a threat to humanity. From the iconic "Terminator" franchise to the more recent "Ex Machina," we have been conditioned to view AI as an adversary, a force that will ultimately turn against us.   In contrast, Eastern cultures have a WAY different attitude towards AI. As UN AI Advisor Neil Sahota points out, "In Eastern culture, movies, and books, they've always seen AI and robots as helpers and assistants, as a tool to be used to further the benefit of humans."   This positive outlook on AI has allowed countries like Japan, South Korea, and China to forge ahead with AI development, including in areas like healthcare, where AI is being used to improve the quality of services.   The West's fear of AI is not only shaping public opinion but also influencing policy decisions and regulatory frameworks. The European Union, for example, recently introduced AI legislation prioritizing heavy-handed protection over supporting innovation.   While such measures might be well-intentioned, they risk stifling AI development and innovation, making it harder for Western companies and researchers to compete.   Among the nations leading common-sense AI regulation, one stands out for now: Singapore.” – Chris C Profits from free accurate cryptos signals: https://www.predictmag.com/ 
    • $NFLX Netflix stock hold at 556.59 support or breakdown?  https://stockconsultant.com/?NFLX
    • $RDNT Radnet stock flat top breakout watch, https://stockconsultant.com/?RDNT
    • $GNK Genco Shipping stock narrow range breakout watch, also see $GOGL https://stockconsultant.com/?GNK
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.