What is P4L BoxFibo?

P4L BoxFibo draws a box between a start and end time, then calculates Fibonacci lines from the high and low inside that box. The default uses midnight to 09:00 with 50%, 100%, and 200% levels.
Additional lines can be added, and familiar ratios such as 38.2% or 61.8% can be selected from the inputs. The tool is a measurement aid whose result depends on the chosen window.
How to use P4L BoxFibo

Apply P4L BoxFibo to an MT4 chart and choose the start and end times that define the price box you want to measure.
Adjust the Fibonacci ratios, line count, colors, and style settings to keep only the levels relevant to the selected session or range.
Where it helps
Uses a clearly defined start and end period rather than an unspecified history window.
Allows additional Fibonacci lines and alternative ratios to be added.
Builds the levels directly from the selected box extremes.
MT4 Indicator Parameters
The table below lists the available MT4 indicator parameters. You can customize these options in the MetaTrader Inputs dialog to match your trading preferences.
| Parameter | Description |
|---|---|
| _VERSION_v2_01___2023_Apr_26 | Settings section. |
| StartTime | Sets this calculation or display option. Default: "00:00". |
| EndTime | Sets this calculation or display option. Default: "09:00". |
| NumDays | Sets this calculation or display option. Default: 30. |
| FibPercentLevels | Sets this calculation or display option. Default: "0, 50, 100, 200, -100". |
| EXTRA_Corresponding_FibLevelDesc | Sets this calculation or display option. Default: ",,,,". |
| ShowPercentPerLevel | Enables or disables this display option. Default: true. |
| ShowPricePerlevel | Enables or disables this display option. Default: true. |
| DisplayPercentWithNumberOfDigits | Enables or disables this display option. Default: 0. |
| BoxColor | Sets the display color for this option. Default: clrLightBlue. |
| FiboColor | Sets the display color for this option. Default: clrBlack. |
| AutoFlipColorsIfDarkBG | Sets the display color for this option. Default: true. |
| SupressIndicatorForTFsAbove_minutes | Sets this calculation or display option. Default: 60. |
| ShiftFiboTime2By_seconds | Sets this calculation or display option. Default: 3600. |
| button_note1_ | Settings section. |
| btn_Subwindow | Controls this indicator option. Default: 0. |
| btn_corner | Sets this calculation or display option. Default: CORNER_LEFT_UPPER. |
| btn_text | Controls this indicator option. Default: "BoxFibo". |
| btn_Font | Sets the display width or text size. Default: "Arial". |
| btn_FontSize | Sets the display width or text size. Default: 9. |
| btn_text_ON_color | Sets the display color for this option. Default: clrLime. |
| btn_text_OFF_color | Sets the display color for this option. Default: clrLightSalmon. |
| btn_background_color | Sets the display color for this option. Default: clrDimGray. |
| btn_border_color | Sets the display color for this option. Default: clrBlack. |
| button_x | Controls this indicator option. Default: 20. |
| button_y | Controls this indicator option. Default: 45. |
| btn_Width | Sets the display width or text size. Default: 60. |
| btn_Height | Controls this indicator option. Default: 20. |
| btn_Initial_Default_ON | Enables or disables this display option. Default: true. |
| button_note2 | Settings section. |

The screenshot above shows the default input parameters in the MT4 settings window.
How to Install .ex4 Indicator in MetaTrader 4
- Download the ZIP file and extract it.
- In MT4, select File → Open Data Folder.
- Open MQL4 → Indicators and copy the EX4 or MQ4 file into it.
- If the package includes library files, copy them to MQL4 → Libraries. Copy TPL files to the top-level templates folder.
- Restart MT4, find the indicator in the Navigator, and drag it onto a chart.
Test the tool on a demo account first. File contents and required folders can vary between packages.



