I am using 30 symbols and 9 time frame in EA.I need to read indicator buffer. With according to buffer value i need to update arrow for each and every timeframe.
I am getting issue of delay in updating of arrow. All code is executing in On timer().Timer event used 1 second, 5 second, 500 ms, 250 ms.
Please need your advices.
Thanks In advance,
The Spread Record Standart indicator displays spread for each price bar as a bar graph. It uses five variables as spread values:
Spread level at the bar opening; Maximum spread level reached during the bar; Minimum spread level reached during the bar; Spread level at the bar closing; Average spread level within the bar (displayed as a green dot on the corresponding level of the bar)Apart from displaying price bars, SpreadRecord also provides a small built-in panel showing the curre
Does not support openning multiple orders on a single symbol on MT5
MultiMTCopier MT5Receiver - new and improved multi-terminal positions copier for your real/demo account, works faster, requires less, flexible in managing and upgrading, new information support. This Expert Advisor is designed for the MetaTrader 5 terminal, trades will be copied into this terminal.
The EA will copy all positions without delays Additionally integrated notification in situations requiring user
The indicator is based on the comparison of the correlation of trading instruments following an original algorithm. It determines the difference between correlated contracts (delta). The greater the difference, the more it is likely that this Delta will return to zero.
More suited to the FORTS market.
The greater the deviation from zero, the more it is likely that the price will return to zero. Also, the indicator divergence can be applied by comparing highs and lows.
Who will be interested in this product:
those who are used to diversify the portfolio with a large number of pairs. those who work with a large number of orders those who trade news using pending orders (see the "Grid request" tab).The panel is designed to make managing a large number of orders as easy as managing one.
The currency pairs and order types for opening are formed here. The prices and stop levels are set.
User can define the price valu
The EASIEST way to manage your risk for each trade!
Add the indicator to your chart, configure a risk percentage (of account equity) Enter the number of pips for your stop loss into the text entry field that appears on the chart The position size to take will automatically be updatedThe product features two modes - a compact mode which allows entry of stop loss pips and shows the resulting lot size based on the percent risk setting, as well as an expanded mode that also shows
Veno EA MT5 is a safe and fully automated medium-term trading robot.
The EA does NOT use hedging, martingale, grid strategies, arbitrage, etc.
Veno Expert System MT5 automatically monitors the appearance of participants with distinct preference towards buying or selling on the market. Trades are conducted on sharp cluster and news based movements of the market. The robot analyzes the market volumes and volatility, and follows strong supply and demand movements. It smoothly sets breakeven level
This indicator gives full information about the market state: strength and direction of a trend, volatility and price movement channel. It has two graphical components:
Histogram: the size and the color of a bar show the strength and direction of a trend. Positive values show an ascending trend and negative values - a descending trend. Green bar is for up motion, red one - for down motion, and the yellow one means no trend. Signal line is the value of the histogram (you can enable divergence
This indicator combines the Japanese candlestick pattern analyzer and the Japanese candlestick pattern indicator. It will be useful for both manual and automated trading. The indicator features buttons for switching between patterns and displays points from the open price of the candlestick following a given pattern to the close price of the bar specified in the settings on the chart. It will be beneficial to seekers of new patterns who would like to use new combinations. You can analyze various
This indicator shows how much time is left on the current candle.
You have absolute control over appearance of remaining time label. Also, you can set additional flag to show remaining time in the comment section of your chart and how much time has already passed on the current candle measured in percents.
This software has no equals in the world and represents a universal trade "console" covering trading signals, automated market entry, setting of Stop Loss and Take Profit, as well as Trailing Profit for multiple trades at the same time in a single open window. Intuitive control of the Expert Advisor in "three clicks" ensures a comprehensive use of all its functions on different computers, including tablets PCs.
Interacting with additional signal indicators that mark the chart to give a real mar
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
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
Open interest (current) is the total volume of effective contracts (futures, options) for which there have been no calculations yet. In MetaTrader 5 an open interest is displayed as "Open Interest" in "Details" tab of the "Market Watch" window, but it is not available as an indicator. This product displays the open interest as a candle chart for all trading instruments for which it transmitted to MetaTrader 5.
Easy to use - it does not have any specific parameters. Color and le
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.
This trading tool is specifically designed to help grid, martingale, averaging, recovery and hedging strategies.
If you are not familiar wit
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
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
FULL Automatic is a fully autonomous trading robot for MetaТrader 5 without configurable parameters.
It is similar to SAFE Automatic robot intended 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 automati
EasyPen is designed as beautiful and innovative way to create and manage all your chart analysis, scribbles, notes and more. The app takes advantage of new MQL5 technology to offer an experience unseen in the other apps or in older MQL versions.
An App That Changes Everything
There is no existing drawing app that allows the level of customization that EasyPen offers. Change color of your pen, choose brush size, save drawings, keep drawings attached to specific position in chart, and more. With
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
The Trade Manager Pro EA is a MetaTrader Expert Advisor that performs position management for you avoiding human errors and enhancing your trading activity.
Amazingly easy to use Trade easily from the chart Trade with precise risk management, hassle free Capital preservation is top priority Let profits run without your attention Enjoy risk-free trades as soon as possible Automatic trailing stops for all opened trades Initial stop losses are placed as soon as trades are
This is a panel for controlling the profit/loss in dollars, pips or % of balance. A new function for trailing profits has been implemented.
The panel can be used as a virtual Stop Loss or Take Profit.
It also features the emergency button - CLOSE ALL.
You can also try the full version of the VirtualTradePad for mt5 panel, as well as the Profit or Loss for mt4 panel
Other versions in this collection:
VirtualTradePad for mt5 Digit Market Time Pad Market Time Pad Scalper PadMain f
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 robot does not trade at night from 10 p.m. to 4 a.m. (server time).
The robot was tested in the special tester on real ticks. Empirical e
FXG_Info – the most important data in one place.
MetaTrader 5 Indicator FXG_Info provides basic statistical information about a particular currency pair. So that in combination with a chart representing currency price it is easy to determine whether the current situation is good for trading. And when you open a position it will clearly show you the current data such as SL, TP, RR. You are not limited to currency. You can use any market which is provided by you broker.
The following information
The Turtle Trading Indicator implements the original Dennis Richards and Bill Eckhart trading system, commonly known as The Turtle Trader. This trend following system relies on breakouts of historical highs and lows to take and close trades: it is the complete opposite to the "buy low and sell high" approach. The main rule is "Trade an N-day breakout and take profits when an M-day high or low is breached (N must me above M)".
The Turtle Trader legend began with a be
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
S2 Trend At Wavelet is designed to eliminate the noises on the Price Chart. A clear picture of the market flow will be seen due to the elimination of the unnecessary variations on the chart.
Capabilities of S2 Trend:
Chart End could be shifted to any desired point by Market End Line; A desired Scale could be used by selecting Scale Menu and the result will be shown on the chart; A separate diagram on the Main Chart could be shown by using Chart window's check box; Graphical representation
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
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!
TTMM – "Time To Make Money" – Time When Traders Makes Money on the Stock Exchanges
The ТТММ trade sessions indicator displays the following information:
Trade sessions: American, European, Asian and Pacific. (Note: Sessions are displayed on the previous five days and the current day only. The number of days may change depending on the holidays - they are not displayed in the terminals. The sessions are also not displayed on Saturday and Sunday).
The main trading hours of
Fast Copy MT5 allows 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 MT5 —> MT5 MT5 —> MT4 MT4 —> MT5 MT4 —> MT4
* For any interaction with the MT4, it is necessary to additionally install Fast Copy MT4
One tool for sending and receiving transactions: [master] > [slave] operation mode can be selected in th
Not sure what advice you expect, but accessing 30 symbols with 9 timeframes costs extensive memory use, but does not cause noticeable delay.
Thanks for reply.
I need to update arrow at every change of buffer value of indicator.But I am getting arrows update after two or three bar.
A bunch of things come into my mind now:
30 symbols x 9 time frames = 270 overall symbol and time frame executions.
The question would be whether your code is able to deal with that range of speed.
You probably need to do performance tests with your code.
E.g. on start of your OnTimer(); you need to get the current time in milliseconds.
On exit of your OnTimer(); you need to get the current time in milliseconds.
You need to subtract the time measured at the end with the time measured at the start and you get the overall execution time of your code. The true time that the code needs to process from OnTimer begin to end.
So you can't simply go and set the OnTimer to 1 second or 0.5 second or even less, if the code itself needs 2 seconds to operate for one symbol in one timeframe (just an example).
Now assume that you need to process that code 270 times to 2 seconds per call. that ends up in 540 seconds. Please note that these values are taken out of air. In reality your code might process faster.
With other words, you see these delays because of this.
Try optimizing your code:
Edit: The problem with the so called "compiling" of MQ4 code to EX4 is, that the compiler seems to be not able to optimize the code. Like gcc, clang and co. there are possibilities to optimize the code by unrolling loops, pass operations to a vector unit (different library for example) or simply optimize the code to use a better cpu mnemonic. This ends up in using different assembler generated code to optimize speed. E.g. if you want to multiply a value then the CPU code for it would be some mulu operands. These mulu operands use e.g. 70-80 tact cycles to process. You can achieve the same multiplication by shifting and swapping values. You end up using more operands in the assembler code but the overall execution time gets reduced from 70-80 (mulu) to e.g. 40 (using lsl and swap). A true compiler is able to do a lot more than what I believe the metaquotes compiler is able to do. Whenever I code some MQ4 stuff, I end up seeing it as "writing in basic". The code you enter is the code that is being processed afterwards. We even don't know (at least I don't) whether the code is being interpreted, pre-compiled in bytecode or truly assembled. Therefore it's even more important to optimize the code to it's best and use the time stuff to measure the execution speed of the function from entering till leaving.