Search This Blog

Loading...

Wednesday

Indicator bidirectional Fibonacci levels on completion of the previous period


Author:

Andrey N. Bolkonsky ( abolk )
When you create DualFiboLine_LastPeriod (modernization and adaptation) to use a script with the following copyright:
> yuraz (C) 2006-2009
> To create two-way Fibo
> 2006, acknowledges the contributions of Vadim Zhunko
  > 2008, Vitaly
> Name of the script file: YURAZ_CreateDualFibo.mq4


Indicator "DualFiboLine_LastPeriod" automatically builds a bidirectional Fibonacci levels on completion of the previous period (the period is defined, and may differ from the period of the current schedule).
Adjustable parameters:
 //---- Input parameters
#define _LabelFibo "LabelFiboLine" 
#define _LenFibo 13 
 //---- Indicator parameters
 extern int LastPeriod = PERIOD_H1; / / The last period for which rates are set fib
 extern int shiftStart = 1; / / The number of bars ago (timeframe period), with kotorgo begins the last period
 extern int shiftEnd = 0, / / number of bars ago (timeframe period), with the current period begins kotorgo
---- FiboLine parameters
 extern color gFiboTLColor = Red; / / Color Tuning fib line (TUNING LINE)
 extern color gFiboColor = Red; / / Color FIBO
 extern int gFiboTLStyle = STYLE_DOT; / / Set style Tuning fib line (TUNING LINE)
 extern int gFiboStyle = STYLE_SOLID; / / Set the line style FIBO
 extern int gFiboTLStyle_WIDTH = 0, / / Set the thickness of the adjustment fib line (TUNING LINE)
 extern int gFiboStyle_WIDTH = 0, / / Set the line thickness FIBO
 extern bool gFiboFONE = true; / / true - the background map Fibonacci lines
 / / Adjustment levels: 0 - level is not displayed
 extern string str1 = "===== top level ";
 extern double gsFibo31 = 1109.4; / / 31 1109.0
 extern double gsFibo30 = 685.4; / / 30 685.4
 extern double gsFibo29 = 598.0; / / 29 598.0
 extern double gsFibo28 = 510.8; / / 28 510.8
 extern double gsFibo27 = 423.6; / / 27 423.6
 extern double gsFibo26 = 361.8; / / 26 369.6
 extern double gsFibo25 = 311.0; / / 25 315.7
 extern double gsFibo24 = 261.8; / / 24 261.8
 extern double gsFibo23 = 211.0; / / 23 211.8
 extern double gsFibo22 = 161.8; / / 22 161.8
 extern double gsFibo21 = 138.2; / / 21 138.2
 extern string str2 = "===== internal level;
 double gsFibo20 = 100.0; / / 20 0.0/100.0
 extern double gsFibo19 = 88.2; / / 1919 11.8 / 88.2
 extern double gsFibo18 = 76.4; / / 1918 23.6 / 76.4
 extern double gsFibo17 = 61.8; / / 1917 38.2 / 61.8
 extern double gsFibo16 = 50.0; / / 1916 50.0 / 50.0
 extern double gsFibo15 = 38.2; / / 1915 61.8 / 38.2
 extern double gsFibo14 = 23.4; / / 1914 76.4 / 23.4
 extern double gsFibo13 = 11.8; / / 1913 88.2 / 11.8
 double gsFibo12 = 0.0; / / 12 100.0 / 0.0
 extern string str3 = "===== lower levels;
extern double gsFibo11 = 138.2 ; // 11  138.2 
extern double gsFibo10 = 161.8 ; // 10  161.8 
extern double gsFibo09 = 211.0 ; // 09  211.8 
extern double gsFibo08 = 261.8 ; // 08  261.8 
extern double gsFibo07 = 311.0 ; // 07  315.7 
extern double gsFibo06 = 361.8 ; // 06  369.6 
extern double gsFibo05 = 423.6 ; // 05  423.6 
extern double gsFibo04 = 510.4 ; // 04  510.8 
extern double gsFibo03 = 598.4 ; // 03  598.0 
extern double gsFibo02 = 685.4 ; // 02  685.4 
extern double gsFibo01 = 1109.4 ; // 01 1109.0 
It is possible to establish bi-directional Fibonacci levels are not the last one period, and the last few periods.
  For example, the installation options shiftStart = 1 and shiftEnd = 0 allow Fibonacci levels to establish the last completed period. A configuration, for example, shiftStart = 3 and shiftEnd = 1 enable the Fibonacci levels to establish the two completed the penultimate period.  Timeframe period is specified by LastPeriod and can take values of any period.
In the indicator provides the installation of up to 31 Fibonacci levels. 
 Levels of custom.
  If you specify the value of level 0, then the level will not be displayed (except for levels 0 and 100).



  On a 15-minute time frame indicator is set DualFiboLine_LastPeriod - bidirectional Fibonacci levels from the previous period ends H1.

Download forex indicator bidirectional Fibonacci levels on completion of the previous period

No comments: