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...
The indicator has standard settings. The new modification of indicator provides special marking of the segment when the moving averages begin to form a cross in one direction or another. The Alligator`s cross indicates that the trend is about to change. Modified Alligator helps traders to determine a trend on a particular timeframe even if the averages are intertwined and have a shift in the future. Direction of a trend is determined by a cross of the averages with a specified marking area on th
The Synchronized Charts script allows comparing bars of different symbols or different periods of the same symbol.
Attach the script to a chart and move bars or change the scale, all opened chart will move synchronously with the current one. The bars on different charts aligned to the border according to their open time.
Easy Order is an Expert Advisor allowing you to enter any type of trade with one click based on your RISK preferences.
You can choose to enter a trade and automatically calculate your lot size based on how much of your account you want to risk. Risk is calculated based on your Stop Loss placement. You can use a fixed lot size if you don't want to use risk based calculation of lot size. Your previous setting of risk based or fixed lot size remains saved for your next use of this Expert Advi
This indicator has been created by a former hedge-fund employee and it automatically identifies when a divergence occurs between price and an oscillator. It can identify both bull and bear divergence and it is pre-loaded with four of the most popular oscillators. You can choose from RSI, MACD, Stochastics and CCI.
Remember: When a divergence occurs, it means that price and momentum are not in agreement. And divergence signals are widely used by institutional traders to identify potential revers
Ermou Street rather than an expert or an indicator is a all-in-one trading assistant easing your trading sessions by providing signals and notifications. It's an assistant rather than a robot - "an assisted steering rather than an autopilot", and now, it autoadjusts itself to any instrument, any timeframe & any circumstance.
First, you should watch the video. Then here's some explanation:
By default, attaching Ermou Street to a chart, you’ll get:
A panel Signals: buy (default b
This is a highly accurate, universal, multitimeframe instrument for traders following supply and demand levels.
Each chart candle is in fact a cluster – the smallest unit of market data on a price movement and a volume/effort put into this movement. The combination of these clusters (the chart itself), as well as different combinations of clusters on various timeframes provide sufficient data for analysis.
The indicator displays peak levels of activity formed by the maximum volume, tracks the
VirtualTradePad - is a contol panel for working with orders in МetaТrader 5 : buy, sell, buystop, buylimit, sellstop, selllimit, close, delete, modify, tralling stop.
VirtualTradePad won 2nd prize in the "Best Control Panel in the MQL5 Language" Contest.
The panel consists of 5 tabs.
VirtualTradePad PositionsStyle VirtualTradePad Ordersstyle VirtualTradePad SignalsStyleDemo version of the panel - VirtualTradePad LiteProfit or Loss PadINFO PadYou can also try this panel for
The indicator has been designed for use on FORTS, but it can also work on other markets, at brokers broadcasting the required data.
A peculiarity of these data is that they cannot be requested from the broker's server as a section of history, but can only be obtained for the current moment.
The indicator periodically requests the broker, collects to a file and displays the following history from the stored file:
The weighted average price. The volume of buy orders. The volume of sel
Auto Trade Driver is an automatic powerful tool (run as Expert Advisor) that helps you to manage risk and control orders and maximize your profit in multi-protect/trailing-stop rules.
This tool is very useful for both scalpers and trend followers. It not only calculates the trade risk exactly, but also protects and maximizes your profits in real-time.
With this tool, the only thing you have to do is to enter trade by your own strategy, then it will auto-drive your position with exit strategy y
This trading panel has been developed for fast and comfortable operation of the financial markets. It is equipped with the necessary functions for manual and semi-automated trading. Due to the presence of the order trailing feature, trailing stop and automatic closure by equity, profit, time. You can use it to automate your trading system. All you have to do is open a position and set the parameters for maintenance, everything else will be handled by the EA. If you want to limit your losses, set
This indicator incorporates the volume to inform the market trend. A warning system (chart, SMS and e-mail) is incorporated for warning when a certain level is exceeded.
Developed by Marc Chaikin, Chaikin Money Flow (CMF) measures the amount of Money Flow Volume (MFV) over a specific period. Money Flow Volume forms the basis for the Accumulation Distribution Line. Instead of a cumulative total of Money Flow Volume, Chaikin Money Flow simply sums Money Flow Volume for a specific look-back
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
This is a half scalping system that analyzes the market using a transmission function and price movement speed.
This Expert Advisor is intended for trading on EURUSD, however it can run on other currency pairs. Please use the M1 timeframe.
You should optimize only two parameters: Seconds_to_move and TradePrice. It is sufficient to optimize Bobra Adept only once, for example, for a half year period. After that, Bobra Adept shows good results on a forward period (or backward in my case). This ca
The Sane Reversal indicator is one of the leading oscillators. The signals are generated early, unlike in other indicators which give the signal after the price goes far away in either direction. The indicator displays the price reversals using arrows with high accuracy. The arrows appear on the zero bar and do not flicker of disappear regardless of the market volatility, which allows to trade effectively with short stop losses:
the Buy signal - white arrow on the bar Low,the Sell signal - red
The iTicksChart allows you to create custom tick charts. It is suitable not only for trading but also for analysis of tick history. Each missed or ambiguous tick is fixed and displayed on the chart. Experts, indicators, graphical objects can be used for technical analysis.
Advantages and Features
runs and works at any open chart window (called "base chart" further on in this document); looks like a common chart after launching (see Screenshots); history quality is monitored - each missed o
The use of a polynomial expansion of data opens up new possibilities for analysis and decision making. But the problem of all existing algorithms is a very slow computation.
The main feature of this indicator is its fast algorithm. The speed of calculation of the polynomial algorithm and its standard deviation values is several thousand times faster than conventional algorithms. So this is a convenient algorithm for use without the need to apply supercomputers.
Beginning with the version 1.4
Three variables are available for every strategy, any one of them can be disabled, their period can be changed.
type_order=ORDER_FILLING _FOK - order filling type.
ReverseTrade=false — trades opens in reverse direction if true. ExitOnBar=true — trades close on each bar only. spreadcover=false — Spread you pay includes in profit trades. It's like trade with zero spread but you should remember that it can decrease exact match between tester's result and live one. It
Fast Copy MT5 allows you to copy trades between different MetaTrader 5 (netting)(hedge) and MetaTrader 4 accounts in any direction and amount, quickly and easily (without loading the system).
Any type of copying is available
MT4 → MT5 MT4 → MT4 MT5 → MT5 MT5 → MT4
* For the MetaTrader 4 terminal — Fast Copy MT4
* For the MetaTrader 5 terminal — Fast Copy MT5
** Before the purchase, you can test the program by downloading the free demo versions — Fast
Active Lines - a powerful professional tool for operations with lines on charts. Active Lines provides a wide range of actions for events when the price crosses lines. For example: notify, open/modify/close a position, place/remove pending orders. With Active Lines you can assign several tasks to one line, for each of which you can set individual trigger conditions, as well as conditions for re-activations and the number of possible activations.
Active Lines helps you easily organize various tr
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
The indicator shows buy and sell signals.
Timeframe - any, currency pair - any.
alertsMessage - enable/disable the message window. alertsSound - enable/disable sound. Arrow Type - select arrow type.There are three simple ways to filter the indicator signals:
Compare direction with the indicator from the older timeframe. Use standard MACD diagram. Use Parabolic indicator.Do not forget about money management and stop loss.
The indicator represents an additional chart window with a lower time frame where bars are combined into groups that are equivalent in time to main chart time frame. Bars are synchronized by the right hand side of the window, i.e. the time of the last bar in the main window corresponds to the time of the last bar group in the additional window. The maximum number of groups is 16; the maximum number of bars combined into groups in the additional window is 256. Limitations on the numbers are requi
FULL Automatic is a fully autonomous trading robot for MetaТrader 5 without configurable parameters.
It is designed for traders having no knowledge of trading basics. It works in Low, Medium, High and Extremal trading modes.
The EA applies modified versions of well-known strategies, including Elliott waves, following a trend, half-pyramiding, scalping, speculative trading with a double deposit protection. The EA switches the strategies automatically. The robot does not open n
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 marke
My Money Manager like a risk controller, which places your trades with the exact volume that meets your desired stop loss risk.
It can also help you to preview your EP/SL/TP levels before placing an order by dragging these levels directly on a chart, and keep reporting about them during the position opening.
With this tool, you will feel more comfortable when deciding to open orders, as well as forecasting your profit/loss with your orders. Placing orders is a very precise and profe
This is an intelligent trend indicator based on Moving Averages and Bollinger Bands. The indicator does not redraw at all. In order to trade, all you have to do is watch for color changes. Go short when a thick red line is drawn over price action, and go long when the blue thick line appears under price action.
The indicator will show the trend, so therefore it is advisable that you must use an oscillator to provide for well-timed entries. Otherwise, the stop loss will probably be reached. Usin
Auto Trade Copier is designed to copy trades between multi MetaTrader 5 accounts/terminals with 100% accuracy.
With this tool, you can act as either a provider (source) or a receiver (destination). All trading actions will be copied from the provider to the receiver with no delay.
Note: Demo version for testing can be downloaded at: https://www.mql5.com/en/market/product/5006.
Followings are highlight features:
Switch between Provider or Receiver role within one tool.One provider can copy tr
Scalper with Automatic Parameter Setting
Would you like to have an Expert Advisor that could automatically calculate trade parameters and adjust to the current market situation?
We present you our new development for the Forex market. This is a tick scalper for МТ4 and МТ5 - TickSniper.
Trading with it is fully automated. Forget continuous monitoring - this Expert Advisor trades independently. Its settings have been optimized over the course of testing on our real accounts.
Cluster analysis of volumes is now available in MetaTrader 5!
The YuСlusters indicator is a professional tool for analyzing the trading volumes. The cluster graph is plotted based on tick data. For the exchange financial instruments these are the volume, type and price of a deal. For the Forex instruments - the real or tick volume (depending on the broker) and Bid price.
There are 6 criteria of cluster generation:
Time interval, the criterion is set in seconds. Price range, the criteri
This script help user record the value of Moving Average and OHLC at the moment once deals happen.
The datas save as .CSV format file so you can quantitative analysis someone's trading.
Please input value of MA's parameters you like. It tells you the path of data file when script is stopped.
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)