SupremAutoFibo_Grand
Download scriptOverview of SupremeAutoFibo_Grand Logic
This script is designed for the MetaTrader platform to automatically manage and display Fibonacci retracement levels on a trading chart. Instead of requiring a user to manually click points to draw lines, this tool automates the identification of significant price boundaries based on historical data within a specific timeframe.
Core Functionality
1. Automated Range Identification
The script looks back at a user-defined number of bars (determined by the nPeriod setting). It scans this history to find the highest price point (High) and the lowest price point (Low) reached during that period. By identifying these two extremes, the script establishes the "trading range" automatically.
2. Smart Point Assignment Once the high and low points are found, the script intelligently assigns them as the starting and ending anchors for the Fibonacci tool. It detects the direction of the move (upward or downward) to ensure the levels are drawn correctly regardless of whether the market is currently in a bullish or bearish trend.
3. Dynamic Level Customization The script allows for a highly personalized visual experience. Users can define:
- Specific Fibonacci Levels: You can set exactly which levels (e.g., 0.618, 0.786, 1.618) appear on the chart.
- Visual Styling: Each individual level can be customized with its own unique color, line style (solid, dashed, etc.), and line thickness (width).
- Offset Adjustments: There is a "Shift" feature that allows users to slightly nudge the vertical position of the levels if they prefer them to appear slightly above or below the actual price points.
4. Multi-Timeframe Awareness While you may be viewing a specific chart, the script can be configured to calculate its Fibonacci levels based on a different timeframe (e.g., looking at Daily data while viewing a 1-hour chart). This helps traders identify major structural levels that might be missed on shorter intervals.
5. Real-Time Updates and Cleanup
- Auto-Updating: The tool constantly monitors price action. If the "High" or "Low" of the period changes as new candles form, the Fibonacci object automatically moves to stay anchored to the most relevant data.
- Automatic Removal: To keep the trading workspace clean, the script is programmed to delete its previous drawing once it is removed from the chart, ensuring no "ghost" lines remain behind.
Summary of User Experience
When you apply this script, it replaces the manual effort of "hunting" for swing highs and lows. It instantly draws a professional-grade Fibonacci suite on your screen that adjusts dynamically as the market moves, providing a clear visual map of potential support and resistance zones based on the most recent price history.
ÿþ/ / + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
/ / | S u p r e m A u t o F i b o _ G r a n d . m q 5 |
/ / | C o p y r i g h t © 2 0 1 8 , N i k o l a y K o s i t s i n |
/ / | K h a b a r o v s k , f a r r i a @ m a i l . r e d c o m . r u |
/ / + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
/ / - - - - 02B>@AB2> 8=48:0B>@0
# p r o p e r t y c o p y r i g h t "