SupremAutoFibo - indicator for MetaTrader 5




SupremAutoFibo - indicator for MetaTrader 5


The indicator builds graphical object Fibonacci Levels with many settings at High and Low prices over the period specified in the indicator input parameters

//+----------------------------------------------+
//| Indicator input parameters                   |
//+----------------------------------------------+
input string          FiboName="SupremAutoFibo";    //Object name 
input ENUM_TIMEFRAMES Timeframe=PERIOD_D1;          //Indicator timeframe for calculating Fibonacci levels
input uint   NumberofBar=1;                         //Start bar index for searching extremums
input uint   nPeriod=30;                            //Number of bars for searching extremums
input color   FiboColor=clrGray;                    //Fibo color
//----
input double  FiboLevel1 =-1.000;                   //value of Fibo level 1
input ENUM_LINE_STYLE StyleLevel1=STYLE_SOLID;      //line style of Fibo level 1
input uint   WidthLevel1=4;                         //line tickness of Fibo level 1
input color  Color_Level1 = clrRed;                 //color of Fibo level 1
//----
input double  FiboLevel2=-0.764;                   //value of Fibo level 2
input ENUM_LINE_STYLE StyleLevel2=STYLE_SOLID; //line style of Fibo level 2
input uint    WidthLevel2=1;                        //line tickness of Fibo level 2
input color   Color_Level2= clrDarkViolet;          //color of Fibo level 2
//----
input double  FiboLevel3 =-0.618;                   //value of Fibo level 3
input ENUM_LINE_STYLE StyleLevel3=STYLE_DASH;       //line style of Fibo level 3
input uint    WidthLevel3=1;                        //line thickness of Fibo level 3
input color   Color_Level3 = clrOrange;             //color of Fibo level 3
//----
input double  FiboLevel4 =-0.500;                   //value of Fibo level 4
input ENUM_LINE_STYLE StyleLevel4=STYLE_SOLID;      //line style of Fibo level 4
input uint    WidthLevel4=2;                        //line thickness of Fibo level 4
input color   Color_Level4 = clrMagenta;            //color of Fibo level 4
//----  
input double  FiboLevel5 =-0.382;                   //value of Fibo level 5
input ENUM_LINE_STYLE StyleLevel5=STYLE_DASH;       //line style of Fibo level 5
input uint    WidthLevel5=1;                        //line thickness of Fibo level 5
input color   Color_Level5 = clrBlue;               //color of Fibo level 5
//----
input double  FiboLevel6=-0.236;                   //value of Fibo level 6
input ENUM_LINE_STYLE StyleLevel6=STYLE_SOLID; //line style of Fibo level 6
input uint    WidthLevel6=1;                        //line thickness of Fibo level 6
input color   Color_Level6 = clrGray;               //color of Fibo level 6
//----
input double  FiboLevel7 = 0.000;                   //value of Fibo level 7
input ENUM_LINE_STYLE StyleLevel7=STYLE_SOLID;      //line style Fibo level 7
input uint    WidthLevel7=4;                        //line thickness of Fibo level 7
input color   Color_Level7 = clrRed;                //color of Fibo level 7
//----
input double  FiboLevel8=0.236;                   //value of Fibo level 8
input ENUM_LINE_STYLE StyleLevel8=STYLE_SOLID; //line style of Fibo level 8
input uint    WidthLevel8=1;                        //line thickness of Fibo level 8
input color   Color_Level8 = clrDarkViolet;         //color of Fibo level 8
//----
input double  FiboLevel9 = 0.382;                   //value of Fibo level 9
input ENUM_LINE_STYLE StyleLevel9=STYLE_DASH;       //line style of Fibo level 9
input uint    WidthLevel9=1;                        //line tickness of Fibo level 9
input color   Color_Level9 = clrOrange;             //color of Fibo level 9
//----
input double  FiboLevel10 = 0.500;                  //value of Fibo level 10
input ENUM_LINE_STYLE StyleLevel10=STYLE_SOLID;     //line style of Fibo level 10
input uint    WidthLevel10=2;                       //line thickness of Fibo level 10
input color  Color_Level10 = clrMagenta;            //color of Fibo level 10
//----
input double  FiboLevel11 = 0.618;                  //value of Fibo level 11
input ENUM_LINE_STYLE StyleLevel11=STYLE_DASH;      //line style of Fibo level 11
input uint    WidthLevel11=1;                       //line thickness of Fibo level 11
input color   Color_Level11 = clrBlue;              //color of Fibo level 11
//----
input double  FiboLevel12=0.764;                  //value of Fibo level 12
input ENUM_LINE_STYLE StyleLevel12=STYLE_SOLID;//line style of Fibo level 12
input uint    WidthLevel12=1;                       //line thickness of Fibo level 12
input color   Color_Level12 = clrGray;              //color of Fibo level 12
//----
input double  FiboLevel13 = 1.000;                   //value of Fibo level 13
input ENUM_LINE_STYLE StyleLevel13=STYLE_SOLID;      //line style of Fibo level 13
input uint   WidthLevel13=4;                         //line tickness of Fibo level 13
input color  Color_Level13 = clrRed;                 //color of Fibo level 13
//----
input double  FiboLevel14=1.236;                   //value of Fibo level 14
input ENUM_LINE_STYLE StyleLevel14=STYLE_SOLID; //line style of Fibo level 14
input uint    WidthLevel14=1;                        //line thickness of Fibo level 14
input color   Color_Level14 = clrDarkViolet;         //color of Fibo level 14
//----
input double  FiboLevel15 = 1.382;                   //value of Fibo level 15
input ENUM_LINE_STYLE StyleLevel15=STYLE_DASH;       //line style of Fibo level 15
input uint    WidthLevel15=1;                        //line thickness of Fibo level 15
input color   Color_Level15 = clrOrange;             //color of Fibo level 15
//----
input double  FiboLevel16 = 1.500;                   //value of Fibo level 16
input ENUM_LINE_STYLE StyleLevel16=STYLE_SOLID;      //line style of Fibo level 16
input uint    WidthLevel16=2;                        //line thickness of Fibo level 16
input color   Color_Level16 = clrMagenta;            //color of Fibo level 16
//----  
input double  FiboLevel17 = 1.618;                   //value of Fibo level 17
input ENUM_LINE_STYLE StyleLevel17=STYLE_DASH;       //line style of Fibo level 17
input uint    WidthLevel17=1;                        //line thickness of Fibo level 17
input color   Color_Level17 = clrBlue;               //color of Fibo level 17
//----
input double  FiboLevel18=1.764;                   //value of Fibo level 18
input ENUM_LINE_STYLE StyleLevel18=STYLE_SOLID; //line style of Fibo level 18
input uint    WidthLevel18=1;                        //line tickness of Fibo level 18
input color   Color_Level18 = clrGray;               //color of Fibo level 18
//----
input double  FiboLevel19 = 2.000;                   //value of Fibo level 19
input ENUM_LINE_STYLE StyleLevel19=STYLE_SOLID;      //line style of Fibo level 19
input uint    WidthLevel19=4;                        //line thickness of Fibo level 19
input color   Color_Level19 = clrRed;                //color of Fibo level 19
//+----------------------------------------------+



Fig. 1. Indicator SupremAutoFibo.


Download SupremAutoFibo - indicator for MetaTrader 5




Related News




Latest News
U.S. House Speaker Pelosi says enforcement is key to USMCA trade deal
19.11.2019 23:15
WASHINGTON (Reuters) - U.S. House of Representatives Speaker Nancy Pelosi said on Tuesday an agreement with the Trump administration on the U.S.-Mexico-Canada trade deal can be reached if it is enforceable. "We can reach an agreement on USMCA when the Trade Representative makes the new NAFTA agreement enforceable for America’s workers," Pelosi
Read more
Influential U.S. doctors group calls for ban on vaping products
19.11.2019 23:12
By Julie Steenhuysen CHICAGO (Reuters) - The American Medical Association (AMA) on Tuesday called for a total ban on all e-cigarette and vaping products that are not approved by the U.S. Food and Drug Administration as smoking cessation tools. The AMA is urging regulators and legislators at the state and local levels to ban the sale and
Read more
NewsBreak: Crude Stockpiles Rise 6M Last Week - API
19.11.2019 23:09
Investing.com – U.S. oil inventories rose sharply last week, according to a private survey from the American Petroleum Institute released after the bell Tuesday.
Read more
‘America First’ No More as New Billions Flow Into World Markets
19.11.2019 23:06
(Bloomberg) -- Faith in the world-conquering, relentless, sure-thing America First trade is fraying on bets world markets will turn the corner in 2020. Risky assets outside the U.S. are seeing fresh flows as optimism over a trade deal buoys expectations for global growth. Stocks in Europe just took in money for a fourth straight week and emerging
Read more
David Rosenberg to Leave Gluskin Sheff to Start Research Firm
19.11.2019 23:03
(Bloomberg) -- David Rosenberg is leaving Gluskin Sheff after more than a decade to start up his own independent consulting firm, Rosenberg Research and Associates Inc. Rosenberg frequently appears on financial media to discuss markets and the economy, offering commentary that typically comes with a bearish tinge. He’s also well known for his
Read more