I'm sorry, I read around and searched, but I'm stuck in the tester. I understand it should work, but it doesn't :(
I run (tester) an EA on a 1H chart and I try to get values from iMomentum for the 15M period. The function always returns 0. For the live of me, I can't find out, why?? Pardon-me, for 1 line of code:
double Momentum_15 = iMomentum(NULL, PERIOD_M15, 4 ,PRICE_TYPICAL, 0);
Any suggestions ?
Thank's in advance
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
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
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
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
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.
PipTick VSA is based on the original Volume Spread Analysis method. It was designed for quick and easy recognition of VSA patterns. Even though this indicator looks very simple, it is the most sophisticated tool that we've ever made. PipTick VSA indicator is a really powerful analytical tool that generates very reliable trading signals. Because it is very user friendly and understandable, it is suitable for every type of trader, regardless of his experience.
What is VSA?
VSA - Volume Spread An
This is the Famous Timing Indicator
You can now use the most famous Timing indicator on the planet.
Millionaire Mostafa Belkhayate earned his reputation by using this specific indicator to validate the entry signals supplied by his also famous Center of Gravity indicator on the Forex market. I spent hours, days, weeks to decrypt the formula and now it is finally available to you.
New and Unique for MetaTrader 5
Timing will give you perfect validations for your entry signals. It is the first
The fractal analysis of the markets is used in the indicator operation algorithm. According to the fractals theory, after the breakthrough of the fractal level confirmed by the closing price located below or above the fractal, the trend wave in the direction of the breakthrough starts to develop. Until the fractal has been passed in the opposite direction, the trend is considered to be acting even if the price is flat or moves backwards. If a bullish fractal has been previously broken through on
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
This indicator provides tick volume delta analysis on M1 timeframe. It monitors up and down ticks and sums them up as separate volumes for buys and sells, as well as their delta volumes, and volume clusters on price scale within a specified number of bars. This indicator is similar to VolumeDeltaMT5, which uses almost the same algorithms but does not process ticks and therefore cannot work on M1. This is the reason for VolumeDeltaM1 to exist. On the other hand, VolumeDeltaMT5 can show its signal
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
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
The economic calendar is made in the form of an Expert Advisor that downloads the data from one of the most popular Forex sites (forexfactory.com/calendar.php). The data is presented in two ways. The first (primary) is represented as icons with detailed information about the event. The second is displayed as a line with a news description. Economic Calendar downloads published news in real mode with the possibility to adjust the spacing of data validation and user-friendly customizable graphical
This Indicator is a unique, high quality and affordable trading tool because we have incorporated a number of proprietary features and a new formula. With only ONE chart you can read Currency Strength for 28 Forex pairs! Imagine how your trading will improve because you are able to pinpoint the exact trigger point of a new trend or scalping opportunity?
USER MANUAL: click here
Arrows in sub-window to show strong currency momentum GAP will guide your trading! Warning signs
Sideways Alert Indicator is a very effective tool to indicate sideways conditions on live charts and to determine its levels. It helps us trade within the range or trade the breakout or just simply to filter out sideways market conditions.
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
The Number Levels indicator plots the levels of round numbers on the chart, which can be identified as the support and resistance levels.
The indicator implements the ability to set the interval between the round number levels For example, if you set HL1 = 1.00000, and HL2 = 1.05000, then the lines will be drawn every 500 points.
Important! To plot the round number levels for two or more different levels, it is necessary and sufficient to set different names to them in the indicator parameters
The main purpose of the indicator is to determine and mark trade signals on the histogram of the Accelerator Oscillator, which were described by Bill Williams in his book "New Trading Dimensions". The list of signals:
The buy signal when the indicator histogram is below the zero line. The sell signal when the indicator histogram is below the zero line.The sell signal when the indicator histogram is above the zero line. The buy signal when the indicator histogram is above the zero line. The
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
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 is an unusual (visual) representation of the famous WPR indicator. Instead of a separate subwindow, it is displayed in the main chart as a channel and levels.
The next version of the indicator will have a possibility of smoothing its values using a moving average.
PeriodWPR - calculation period of the percent price channel LevelUp - the value of the upper level in percentage (negative) LevelDn - the value of the lower level in percentage (negative) Center - the value of t
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
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
This is an utility for automatic scaling of a chart and making at least 140 bars visible in it. This is necessary for a correct wave analysis according to the Bill Williams' strategy "Trading Chaos". The utility can be used on any timeframe available in МetaТrader 5.
It draws a vertical line through the first bar the calculation starts from. This line allows you to see the probable starting point of the wave sequence along with a sufficient number of bars displayed in the chart. It also makes t
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
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!
This indicator builds divergence/convergence for any selected indicator.
You can add your own indicator with its custom settings to the code for free.
The indicator has two basic line drawing methods (**):
Peak search on fractals without waiting the closure of the wave (MODE = each_bar_peak)Wave search for peaks after crossing the "ZERO line" of the indicator (e.g., "zero line" for RSI = 50.0) (MODE = WAVE_bar_peak)Basic settings include 21 standard indicators included in MT5 terminal, to whi
Envelopes or channel lines are set parallel to the Moving Average (to the slow MA if you use two MAs). The two channel lines must contain approximately 95% of all prices for the past two or three months on a daily chart, with only the extremes protruding outside. Channel lines provide attractive profit targets - sell longs near the upper line and cover shorts near the lower line.
The AutoEnvelope is a custom indicator - an original tool that automatically selects channels width by calculating a
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
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
sorry, just found it.
I call it as iCustom; works now
Momentum_15 = iCustom(NULL,0,"Momentum",PERIOD_M15,4,PRICE_TYPICAL,0,0)
Still sorry, back to sqare 0.
Momentum.mq4 is not iMomentum.
Hence the problem still exists 4me.
I can't get Momentums of 15M in an EA running under tester in a 1H Chart.
not sure, if I got you right...
I need the EA to work on 1H candles and timeframes. I just want the 15M iMomentum underneath.
If I switch the tester to 15M, everything works on 15M, - right??
sorry, I do not understand at all, what you try to explain 2me.
everything works like a charme, if I use iMomentum at the chart time frame,
double Momentum_15 = iMomentum(NULL, 0, 4 ,PRICE_TYPICAL, 0);
OK, thank you
thats what I posted there. Its an old thread, thats why I repeat it here.
due to some help from Alain, I came across this thread. I
guess the clue that it aparently works is, that you run at 1M and all
other time periods are higher. I tried the MT4 strategy tester, and its
written somewhere, that you can access multiple time frames in the
strategy tester, as long as they are higher than the time frame you are
running the tester and as long as they are multiples. e.g. 1H = 4*15M;
4h = 48*5M etc. You cannot go to lower time periods e.g. running at 1H
and trying to access 15M.
I try to be a bit more systematic. May be someone could explain me:
Assume a custom indicator, which takes only 1 Input "MyInput"
Assume the custom indicator calls internally iMomentum w/ time frame = PERIOD_15M
Calling the custom indicator from an EA would use the iCustom call
double iCustom( string symbol, // symbol int timeframe, // timeframe
string name, // path/name of the custom indicator compiled program
and the input parameter "MyInput".
Question: What does the timeframe parameter of the iCustom function do, for what is it?
Since the custom indicator itself does not expect any timeframe as input, I assume, it is not passed to the custome indicator?!
so for what is it? Assume I run the strategy tester at 15M and the iCustom timeframe parameter would be at 1H, does that mean, that the custom indicator is not called?
If the setup is as above EA tester at 15M, timeframe parameter w/in the iCustom call ist 1H, when will on calculate events appear in the custom indicator and at what granularity will they change? 1H or 15M or tick by tick??
Sorry for sooooooo many difficult questions
Hi, yes I read this before and I replied there.
After an evening of hard work, I found the solution; let me shed some light on this very complex subject:
Assume the tester runs in a 15M timeframe!
the following call to a custom indicator
double iCustom( string symbol, // symbol int timeframe = PERIOD_1H, // timeframe
does the following:
The custom indicator is initiated in an 1H environment, although the tester runs at 15M. On Calculate events in the custom indicator are generated tick_by_tick w/ an rate array of 1H candles as input.
Subsequent calls to e.g. iMomentum inside the custom indicator w/ timeframe = PERIOD_15M generate the proper Momentum of 15M candles. This is possible, because the timeframe of the custom indicator (1H) is superior and multiple of the tester timeframe and the requested timeframe of the iMomentum call is equal to the tester timeframe. If the tester would run at 1H, there would be no impact on the custom indicator, but the call to iMomentum would fail and always return 0, because his time frame of 15M is below the tester timeframe.
From here, we can define some general rules for testing MTF EAs in MT4 Tester:
Hope that helps