FX_FISH_2MA
Download scriptThis script is a specialized trading indicator designed for the MetaTrader 5 platform. It provides visual cues to help traders identify potential market trends and entry/exit points by combining multiple moving averages and mathematical price oscillators.
Core Functionality
The logic of this tool revolves around three main components:
1. Price Oscillator & Trend Analysis The indicator calculates a dynamic "Fish" value. This is achieved by looking at the relationship between current market prices and the highest/lowest prices reached within a specific look-back period. It uses logarithmic math to determine where the price sits relative to its recent range, helping to normalize extreme price movements into a readable oscillator format.
2. Dual Moving Average System The script utilizes two distinct moving averages (MA1 and MA2). Unlike basic indicators that only show one line, this tool allows you to choose different methods for each (such as Simple, Exponential, Linear Weighted, or Smoothed) and different periods for each. By comparing these two signals, the indicator can highlight momentum shifts and trend changes.
3. Visual Signals and Alerts The primary purpose of the logic is to translate complex math into actionable visual information:
- Dynamic Colors: The histogram changes colors based on the direction and strength of the "Fish" value. It distinguishes between upward momentum, downward momentum, and neutral zones.
- Automated Text Labels: When specific mathematical conditions are met (for example, when the oscillator crosses a certain threshold or reverses its previous trend), the script automatically draws text labels directly on your chart. These labels notify you of "Entry" or "Exit" points for both Buy and Sell positions.
- Customizable Notifications: Because the logic identifies specific turning points, it can be configured to send alerts, push notifications to your mobile device, or even emails when these conditions occur in real-time.
User Experience Features
- Flexible Pricing: You can choose which price data the indicator should follow (e.g., Close, Open, High, Low, Median, or Typical Price), allowing it to be adapted to different trading styles.
- Signal Reversal: The logic includes a "Reverse Signals" toggle, allowing users to flip the Buy/Sell labels if they prefer to trade against the primary trend or use a mirrored strategy.
- Threshold Controls: Users can set specific sensitivity levels (thresholds) to filter out "noise," ensuring that only significant market movements trigger an on-screen signal.
In summary, this script acts as a comprehensive trend-following assistant. It takes raw price data, processes it through a multi-layered moving average and logarithmic oscillator system, and outputs clear, color-coded visual instructions for the trader.
ÿþ/ / + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
/ / | F X _ F I S H _ 2 M A . m q 5 |
/ / | C o p y r i g h t 2 0 1 8 , M e t a Q u o t e s S o f t w a r e C o r p . |
/ / | h t t p s : / / m q l 5 . c o m |
/ / + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
# p r o p e r t y c o p y r i g h t "