CandleDifference
Download scriptThis script is a custom technical indicator designed for the MetaTrader 5 platform. Its primary purpose is to monitor and display the price movement percentage of multiple currency pairs simultaneously on a single chart window.
Instead of focusing on just one asset, this tool allows you to track several different instruments at once (such as EURUSD, GBPUSD, AUDUSD, etc.) and see how they are performing relative to their opening prices.
Key Functionalities
- Multi-Pair Monitoring: You can configure the script to watch up to 8 different currency pairs at once. It automatically gathers data for each pair specified in the settings.
- Percentage Change Calculation: For every currency pair being tracked, the script calculates the percentage difference between the current price and the "Opening Price" of a specific candle (which you can choose via the Signal Bar setting). This allows you to quickly see how much an asset has gained or lost during a specific period.
- Dynamic Visual Updates: The results are displayed as a text comment directly on your trading chart. As new price data arrives, the script refreshes these values in real-time, providing a live "dashboard" of market movements.
- Customizable Timeframes: The tool is designed to work across different timeframes. You can choose the specific timeframe (e.g., H1, H4, Daily) that the script should use to determine the opening prices for its calculations.
- Flexible Labeling: The script includes a built-in system to manage on-screen information. It is designed to handle visual elements like labels intelligently—checking if a piece of information already exists on the screen before creating it, and updating the text or position of existing items to keep the chart clean and organized.
How it works for the user
When you apply this indicator to your chart, it scans the history of all your selected currency pairs. It identifies the price at which those pairs opened on your chosen timeframe and then calculates the "distance" the price has traveled from that point. It presents this data in a simple list format, showing each pair name followed by its current percentage performance (e.g., EURUSD: 0.50%). This makes it an excellent tool for traders who need to keep an eye on a diverse portfolio without having to flip between multiple different windows.
ÿþ/ / + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
/ / | C a n d l e D i f f e r e n c e . m q 5 |
/ / | C o p y r i g h t 2 0 1 6 , I l A n o k h i n |
/ / | h t t p : / / w w w . m q l 5 . c o m / e n / u s e r s / i l a n o k h i n |
/ / + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
# p r o p e r t y c o p y r i g h t "