Attachments forums

List of attachments posted on this forum.


All files on forums: 163065

Re: Fibonacci, Trendlines, Support Resistance & Pivot Point Indicators MT4

Banzai, Fri May 19, 2023 7:53 am

Graf Analysis
(on/off button)

Draw a daily Fibo from the High & Low of the previous day.
And then draw somediagonal trend lines based on the daily Fibo.
Look at the GREEN diagonal trend lines.
They're based on the High & Low of the daily Fibo.
The rest of the diagonal lines are GANN matrix lines.

Also, check out "#SpudFibo Daily BT 1.04.mq4"
viewtopic.php?p=1295476970#p1295476970

My rating: 8 out of 10; too many lines; some candles do rest on the diagonal trend lines; :thumbup: :In Love:

Here's the English translation:

Code: Select all

#property copyright "Copyright © 2023, MetaQuote"
#property link      "http://www.mql5.com/"
#property indicator_chart_window

extern string Manual_Scale_Input = "";  // Manual Gann scale input

extern double pH1 = 0;       // Gann scale on H1 (0 = auto calculation)
extern double pH4 = 0;       // Gann scale on H4 (0 = auto calculation) for current week
extern double pH4W_1 = 0;    // Gann scale on H4 (0 = auto calculation) for previous week
extern double pH4W_2 = 0;    // Gann scale on H4 (0 = auto calculation) for 2 weeks ago

extern string Scale_Week_Angle_H1_H4 = "";
extern bool H4_H1 = false;   // Show weekly H4 angles on H1

extern string GMT_Shift = "";
extern int DiffTime = 0;     // Time difference between terminal and UTC

extern string Session_Start_Times = "";
extern int Asia = 2;         // Start of the day
extern int Europe = 7;       // Start of European session (Frankfurt Open) in UTC
extern int America = 13;     // Start of American session (New York Open) in UTC

extern string Build_Angles = "";
extern bool NextWeek = true;           // Transition to next week on Saturday–Monday
extern bool NextDay = false;           // Shift one day forward
extern bool ExtDay = false;            // Extend daily line one more day forward
extern bool FromShadow = false;        // If true, from candle shadows; else from body
extern bool Line = false;              // Enable/disable daily and yesterday’s angles
extern bool Day_minmax = true;         // Min/max of previous day
extern bool Wik_op = true;             // Angle of current week
extern bool Wik_minmax = false;        // Min/max of current week
extern bool Wik_1_op = true;           // Angle of previous week
extern bool Wik_1_minmax = true;       // Min/max of previous week
extern bool Wik_2_minmax = false;      // Min/max of 2 weeks ago
extern bool Wik_3_minmax = false;      // Min/max of 3 weeks ago

extern string Build_Grids = "For experiments with grids, disable Grid_standard";
extern bool Grid_standard = true;            // Standard grid plotting
extern bool Grid_today = false;              // Enable/disable today’s grid
extern bool Grid_yesterday = false;          // Enable/disable yesterday’s grid
extern bool Grid_double_H_1 = false;         // If true, double height grid
extern bool Grid_double_H_4 = false;         // If true, double height grid
extern bool Day_before_yesterday = false;    // If true: day before yesterday & yesterday; else: yesterday & today
extern bool Last_week = false;               // If true: shift one week back

extern string Fibo_Mode_Select = "0 - none, 1 - Fibonacci, 2 - Gann";
extern int FiboSelect = 0;                   // 0 = none, 1 = Fibonacci, 2 = Gann
extern color FiboColor = clrDarkGray;        // Color of fibo lines
extern int FiboStyle = 1;                    // Line style of fibo
extern int FiboWight = 0;                    // Line thickness of fibo

extern string Channel_Construction = "false = none, true = draw channels";
extern bool Opening_yesterday = false;
extern bool High_Low = false;

extern string Channel_Up = "";
extern color ChColorOpenUp = clrForestGreen; // Upward channel color
extern color ChColorMax = clrFireBrick;      // Max channel color
extern int ChStyleMax = 1;                   // Line style
extern int ChWightMax = 1;                   // Line thickness

extern string Channel_Down = "";
extern color ChColorOpenDown = clrDeepPink;  // Downward channel color
extern color ChColorMin = clrIndigo;         // Min channel color
extern int ChStyleMin = 1;                   // Line style
extern int ChWightMin = 1;                   // Line thickness

extern string Support_Resistance_Build = "false = none, true = build";
extern bool S_R = false;
extern color R_Color = clrBlue;              // Resistance color
extern color S_Color = clrRed;               // Support color

extern string Resistance = "";
extern int S_R_Max_Style = 0;                // Resistance line style
extern int S_R_Max_Wight = 1;                // Resistance line thickness

extern string Support = "";
extern int S_R_Min_Style = 0;                // Support line style
extern int S_R_Min_Wight = 1;                // Support line thickness

extern string Fibo_S_R_Build = "false = none, true = draw S/R based on fibo";
extern bool S_R_Fibo = false;
extern color Op_Day_Color = clrDarkGoldenrod; // Day open line color
extern color R_Fibo_Color = clrRoyalBlue;     // Fibo resistance color
extern color S_Fibo_Color = clrDeepPink;      // Fibo support color
extern int S_R_Fibo_Style = 2;                // Line style
extern int S_R_Fibo_Width = 1;                // Line thickness
extern int S_R_Fibo_Ray = 0;                  // Ray extension
All files in topic