Join our fan page
- Views:
- 22272
- Rating:
- Published:
- 2016.03.07 10:22
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator calculates either the distance of the current price from the opening price, or the distance between the High and Low price, whichever is selected.
The calculation is performed for all pairs available (not hidden) in the "Market Watch" window, then the values are sorted descending/ascending and they are output to the buttons.
Clicking the button opens a chart of the corresponding symbol in a separate window.
Amendments of 2015.06: fixed the error of shifting the button coordinates when switching timeframes.
Settings:
- Method — selection of the calculation method (opening-closing or high-low).
- Number of buttons — the number of currency buttons displayed.
- Pressing the MODE button changes the sorting mode to "ascending/descending".
- To exclude a pair from the calculation it should be removed from the "Market Watch" window.
IMPORTANT:
- Response to pressing the MODE button happens with a delay (the code is heavy).
- The maximum number of pairs to calculate — 50 (in code #define LINES 50).
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/13109
![i-DivergenceBar](https://c.mql5.com/i/code/indicator.png)
The indicator points at the reverse bars based on the Profitunity system by Bill Williams excluding the angulation relative to the Alligator indicator mouth.
![Equivolume and range-bars in the strategy tester](https://c.mql5.com/i/code/script.png)
The script inserts the FXT-file of any custom chart, synthesized from real tick flow, into the strategy tester folder.
![CM Orders Info](https://c.mql5.com/i/code/indicator.png)
The indicator shows the identification (magic) number and the profit of the order.
![Four_Screens](https://c.mql5.com/i/code/expert.png)
The Expert Advisor based on the Heiken Ashi indicator.