Well guys, the first part is done ( reading all pairs rates ).
Now i need use the rates of all paris copied with the function ArrayCopyRates to pot some graphic indicators like an RSI... as i draw in the image below:
In my initial question i intend know how to do this... and not about reading rates. I do not think i will need to copy rates before to draw it, but was good to know how to do... now i just need to discover a way to split the indicator area to plot all pairs...
A script for opening a grid of orders
If you need to quickly open several pending orders (Buy Limit, Sell Limit, Buy Stop, Sell Stop) on a certain distance from the current price, this script will do all the routine for you! Allow AutoTrading before running the script.
Run the script on a chart.
Language of messages displayed (EN, RU, DE, FR, ES) - language of the output messages (English, Russian, German, French, Spanish). Price for open - open price. If set to
The indicator generates early signals basing on ADX reading data combined with elements of price patterns.
Works on all symbols and timeframes.
The indicator does not redraw its signals. You see the same things on history and in real time.
For better visual perception signals are displayed as arrows (in order not to overload the chart).
The indicator is a complete analogues of the Trend Monitor indicator for MetaTrader 4
The best results are obtained when the indicator works o
The script creates account summary report in a separate window.
The report can be created for all deals and on deals for selected financial instruments.
It is possible to specify a time interval of calculation and save report to htm-file.
The script creates account summary report in a separate window.
The report can be created for all deals and for deals of the selected financial instruments.
It is possible to specify a time interval of calculation and save report to htm-file.
We present you an effective software solution for arbitrage between brokers.
The Arbitrage on the market became widespread due to decentralization. There are many liquidity providers, whose quotes differ for various reasons. By tracking the dynamics of changes in the quotes of different brokers, it is possible to determine the delayed and leading brokers, thereby predicting the future prices of the delayed broker for a short time. Knowing these prices and using efficient built-in software filte
The Expert Advisor implements the classic "triangular arbitrage", which is successfully used by hedge funds.
"Triangular" arbitrage refers to a class of neutral-market strategies, in which the profit or loss of open positions does not depend on the direction of the market movement as a whole.
In order to take profit, the EA exploits a weak spot of market makers - it utilizes the difficulty of balancing cross rates of all currency pairs.
The advantages of the strategy are the following:
Here is the product, which truly reveals all the computing and graphical capabilities of the MetaTrader terminal.
The TrendNavigator indicator helps you take the most effective trading decisions, features stunning accuracy, unlimited graphical capabilities and highly developed notification service.
3D graphics 4 unique trend determining algorithms 5 types of notifications of trend change which appear as Buy and Sell signals Very high accuracy Shows local lows and highs Free notification
The script is intended for automatic placing of Buy Stop pending orders, Stop Losses and Take Profits on the user specified levels.
Avoiding unwanted entering a long position in case of false hitting the level as a result of widening of the spread by a dealing center. Avoiding unwanted triggering of a Stop Loss in case a quote pierces a significant level (fractal) without further confirmation with the close price. Setting a necessary virtual order and entering the market in
This indicator draws the Keltner Channel using the rates chart calculated from any other timeframe.
The available Moving Averages are:
Simple Moving Average Exponential Moving Average Smoothed Moving Average Linear Weighted Moving Average Tillson's Moving AverageMoving Average line is coded into RED or BLUE according to its direction from the previous candle.
Example: User can display the Keltner Channel calculated on the basis of a Daily (D1) chart on a H4 chart.
NOTE: Timeframe must
The script is intended for automatic placing of Sell Stop pending orders, Stop Losses and Take Profits on the user specified levels. This script is not that useful as "Virtual pending buy stop", since short positions are opened as Bid price crosses the levels. Thus spread widening is not dangerous. Nevertheless, you need to have this script to prevent unwanted hitting of the Stop Loss levels.
Automation of the process of placing the Sell Stop pending orders, Stop Losses and T
Professional Constrictor Expert Advisor follows the market using the Parabolic Stop and Reverse system indicator. At each Parabolic SAR indicator signal, a position is opened in the direction approaching the indicator. In case of an opposite signal, a new position closing the previous one is opened (in other words, positions are opened and closed partially). Thus, the EA constantly follows the price.
The EA has been designed for working in the flat market. It features a critical drawdown, at wh
Trade in the opposite directions with HedgeTerminalApi library!
HedgeTerminalApi is a program interface allowing you to use HedgeTerminal virtualization technologies in your robots and scripts. With HedgeTerminalApi, you are able to trade in the opposite directions when two or more trading algorithms occupy opposite positions on a single symbol. The library allows robots to track their positions even if these positions overlap entirely or partially. Moreover, with this library, you are able to
This is a panel for controlling the profit/loss in dollars, pips or % of balance. The panel can be used as a virtual Stop Loss or Take Profit. It also features the emergency button CLOSE ALL.
Other versions in this collection:
VirtualTradePad PositionsStyle VirtualTradePad Ordersstyle VirtualTradePad SignalsStyle VirtualTradePad Lite demo version Digit Market Time Pad Market Time Pad Scalper PadMain Features:
The panel can work only on its own symbol (Current Symbol) or consider the
This is a convenient tool for measuring the number of points between prices. It support magnetizing to OHLC prices. Calculates profit considering specified lot size and spread (optionally). It counts the number of bars between specified point and the time difference between them. Calculates the slope angle from the horizontal position. Unneeded parameters can be hidden. It does not occupy much space when inactive.
Once you add the indicator on the chart, Ruler caption will appear (according to
The indicator consists of the two parts – entry system displayed on the chart and currency power analyzer.
The analyzer can take on values from 0 to 3:
the higher the value, the stronger the currency; the smaller the value, the weaker the currency; average values of the indicator suggest that the currency is in flat.Recommendations on usage:
Buy if Trader Dream shows Buy signal and the analyzer shows the currency's strength (the value exceeds 2). Sell if Trader Dream shows Se
The most profitable trend traders are the ones who know how to recognize not only the market trend, but also the trading opportunities that arise once a trend has been established. The Pz Trend Trading indicator has been designed to profit has much as possible from trends taking place in the maket.
Established trends offer dozens of trading opportunities, but most trend trading indicators neglect them completely, and leave the trader completely uninformed about what the market is doing during a
This indicator allows you to enjoy the two most popular products for analyzing request volumes and market deals at a favorable price:
Actual Depth of Market Chart Actual Tick Footprint Volume ChartThis product combines the power of both indicators and is provided as a single file.
The functionality of Actual COMBO Depth of Market AND Tick Volume Chart is fully identical to the original indicators. You will enjoy the power of these two products combined into the single super-indicator!
Pipfinite creates unique, high quality and affordable trading tools.
Our tools may or may not work for you, so we strongly suggest to try the Demo Version for MT4 first. Please test the indicator prior to purchasing to determine if it works for you.
We want your good reviews, so hurry up and test it for free...we hope you will find it useful.
Energy Beam with Swing Control
Strategy: Confirm swing pullback signals Watch Video: (Click Here)Energy Beam with Trend Laser
Exp COPYLOT CLIENT for MT5 is a copier for the МetaТrader 5 platform. It copies forex trades from any accounts. Including those from terminals МТ5 and МТ4.
Install the Expert Advisor in the terminal where you want to copy trades. Specify any text label name as pathRead, for example, "COPY". This should match the master terminal (to bind the two terminals). To copy trades, you need to install the free Master copier in the terminal from where you want to copy the trades: COPYLOT
This indicator searches for candlestick patterns. Its operation principle is based on Candlestick Charting Explained: Timeless Techniques for Trading Stocks and Futures by Gregory L. Morris.
If a pattern is detected, the indicator displays a message at a bar closure.
This indicator is a complete analog of the Candle Pattern Finder indicator for MetaTrader 4
It recognizes the following patterns: Bullish/Bearish (possible settings in brackets):
Hammer / Shooting Star (with or without confi
Is position management time consuming? The Trade Manager Pro EA performs an automatic and flawless position management for you, avoiding human errors and enhancing your trading activity. It represents a ten-fold increase in trading productivity!
Capital preservation is top priorityLet profits run without your attentionEnjoy risk-free trades as soon as possibleIt trails the stop-loss automatically
Initial SL and TP are also automatic
The EA performs the following tasks
The indicator is based on the digital window-sinc filter with an excellent frequency division. Due to this property you can get a very smooth indicator line.
The indicator has three lines: the central line indicates the main trend direction and the "fair" price, the other two lines show the price range. When the central line is read, it is recommended to buy from the bottom line and close a position above the central line. When the line is blue, do the opposite - sell from the upper line and cl
The indicator displays harmonic patterns on the chart based on Dynamic ZigZag (https://www.mql5.com/en/market/product/5357) and is almost a complete analog of one of the versions of well-known korHarmonics. The indicator recognizes the following patterns and their varieties: ABCD, Gartley (Butterfly, Crab, Bat), 3Drives, 5-0, Batman, SHS, One2One, Camel, Triangles, WXY, Fibo and Vibrations. Only display of ABCD and Gartley patterns is enabled in the settings by default. The reverse line allows d
The indicator is intended for determining the spread and swap size, the distance for setting stop orders and stop losses from the current price allowed and the risk per 1 point in the deposit currency.
The indicator informs a trader about possible additional expenses and profits connected with transferring a position to the next trade session of the financial instrument. It also informs about the spread size and the distance of pending orders, stop loss and trailing from the current price. In a
Unique "scalping" trend indicator with the feature of multi-layered smoothing of the resulting lines and a wide selection of parameters. It helps determine a probable change in the trend or a correction virtually near the very beginning of the movement. The toggled intersection arrows are fixed and appear at the opening of a new bar, but, with enough experience, it is possible to look for entry opportunities as soon as the indicator lines intersect at the unfinished bar. The signal appearance li
This is a classical trading strategy, which falls into the category of breakout systems. They form support and resistance levels, which temporarily limit further price movement. When the price breaks down the support level or breaks up the resistance level, there emerges a strong momentum in the breakout direction, which allows to make profit on strong price movements with moderate risk.
To create the strategy, we used historical data with the quality of history of 99.9%.
It uses filtration o
Percent Crosshair is a powerful and easy percentage measure tool.
Measure the chart percentage very quick! Don't waste your time anymore!
Just attach the Percent Crosshair indicator in the chart, select crosshair mode at toolbars or press "Ctrl+F" and start using the crosshair as you always do! The percent measure will be next to the indicative price.
Customize your indicator the way you want!
There are 4 entry parameters:
Positive % color: set the desired color when % is positive. Negat
The script allows users to easily close positions if their profit/loss reaches or exceeds a value specified in pips.
Please set slippage value first. Sometimes some positions do not close due to high volatility of the market. Please set larger slippage or restart the script.
Robust median renko style indicator for creating custom charts resembling median renko, mean renko, turbo renko and better renko candles as well as vanilla renko with wicks plus PointO charts. This all in one package provides all of the signals needed by day traders, scalpers and even long term traders.
Indicator is an overlay on the main chart so it is possible to utilize one click trading and order manipulation directly on the custom charts. Visual order placement is also
Safe Automatic is a safe MetaТrader 5 trading robot working autonomously on a VPS server. The good results are achieved on EURUSD.
The EA applies modified versions of a trend-following strategy, half-pyramiding, scalping, Elliott Wave method and speculating trading with a deposit protection. The EA switches the strategies automatically. The program also takes the news calendar into account: the robot does not enter the market in a 10-minute interval before and after a news rel
The PZ Day Trading indicator detects reversals in a zig-zag fashion, without repainting or backpainting. Based on breakouts of variable lengths, the indicator uses only price action to pick trades and reacts to the market very fast. The positional accuracy of its signals offers huge opportunity for profits, easily up to 80% winners.
Amazingly easy to tradeChart statistics will help you to optimize your tradingIt works on every single timeframe without fine tuningThe indicator analyzes its own q
There is no way to split the indicator area. Everything must be drawn separately, no buffers, no auto scaling. See
Did you see such a picture? (MetaQuotes Software Corp.) - MQL4 forum - Page 12Did you see such a picture? (MetaQuotes Software Corp.) - MQL4 forum - Page 14Did you see such a picture? (MetaQuotes Software Corp.) - MQL4 forum - Page 36
This is a Indicator I picked up somewhere, I never tried to decipher it. I shows a representation of 3 timeframes of the current chart. The crazy thing is the candles are drawn with Histograms. Pretty neat but not what I am into right now.
An update to those following this thread!
I have been helping the OP via PM fix his code as he has difficulty with English and we both speak Portuguese. In our testing we came across another "funny" that is happening with the "ArrayCopyRates()" function. When using an MqlRates array with "ArrayCopyRates()" in an EA, the data array is a virtual one that always reports the current status of things, so data is always fresh.
However, in an Indicator, this does not seem to be the case. The array is not a virtual copy but instead a static copy set in time at the moment that the "ArrayCopyRates()" was called. The data does not update when the Symbol is different to the chart symbol. When it is the same symbol as the chart, then the array data is "live" and updates as expected, but when it is of another symbol, it is a static copy.
So, in order for it to work in an Indicator, one must call the"ArrayCopyRates()" function on every call to OnCalculate() event if fresh data is needed.
Just to expand your findings Fernando - even if symbol is the same as chart symbol, if the timeframe is different then the array is static.
So in order to have a virtual copy, in an indicator, it must be the same symbol AND the same timeframe. Anything else is static.
Assuming it is mid week to find the high and low of previous day I simply use:
That's fine, but now I need to find on the previous day what time was the high and the low. I decided to aproximate the time to the 1h candle at high and low using iHighest and iLowest. And that's when the problems begun.
After a few ticks the data is partially loaded and the piece of code above will detect that the lines have been plotted on a previous day, delete the fib and trigger a recalculation of the ranges and redraw of the objects (i.e. fib, trendlines, etc).
CurrDayBegin = iTime(NULL, PERIOD_D1, 0); while(TimeDayOfWeek(iTime(NULL, PERIOD_H1, iBarShift(NULL, PERIOD_H1, CurrDayBegin))) != TimeDayOfWeek(TimeCurrent()))
// If iBarShift can't find the 0am candle and returns the 11pm candle of prev day.
These are screenshots of the indicator:
(1) Calculated using incomplete history (please notice the horizontal lines don't start at the beginning of the day)
(2) Recalculated using the complete history (horizontal lines starting at the beginning of the day)