I have an EA that I am currently using and works great. I am running one EA that looks at all of my open trades (lots of different pairs) in a loop and deals with each individually, not just the pair that my EA is attached to. The EA gets into trades but does not put a Stop Loss until it meets certain criteria, then modifies the order and puts in a SL.What I'd like to be able to do is that when my EA sees that a SL has been added or modified, to place a red horizontal line on the corresponding chart for that pair. I have read lots of code to add a horizontal line, that's easy. But I want to be able to tell MT4 which chart to add it to. To make things more complicated, it needs to be independent of the time frame.
On first loop my software detects that a trade for the USD/JPY has met certain criteria and adds a SL at 109.50. I want the EA to be able to add a red horizontal line to the USDJPY chart. But the chart that is active might be a M1, M5, H1 time frame.....I want it to be able to add the line to the USDJPY chart no matter what time frame I have the chart on at that particular time.Then on the next loop it adds a SL for the GBP/NZD at 1.7800. I want the EA to be able to add a red horizontal line at the GBPNZD chart, no matter what time frame I currently have the chart on.
Hope that isn't too complicated. Like I said, I can add a horizontal line to a chart through code for the chart that the EA is attached to, that's easy. I just can't figure out how to add a line to a different chart, and one that might be on any given time frame.
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
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 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.
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
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
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.
The indicator determines the inside bar and marks its High/Low. It is plotted based on the closed candles (does not redraw). The identified inside bar can be displayed on the smaller periods. You may set a higher period (to search for the inside bar) and analyze on a smaller one. Also you can see the levels for Mother bar.
Period to find Inside Bar — the period to search for the inside bar. If a specific period is set, the search will be performed in that period. Ty
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 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
SeventhMohammed5 is a unique indicator, which is a collection of 7 standard indicators: Bears Power, Bulls Power, Commodity Channel Index, Force Index, Moving Average of Oscillator, Accelerator Oscillator, Awesome Oscillator. Signals appear when the selected indicator crosses the zero level, upward crossover - an arrow up (a buy signal), downward crossover is - an arrow down (a sell signal). Signals from the higher timeframe are displayed as a large arrow in the upper right corner. It is recomme
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
The Pz Oscillator is a very smooth and responsive accelerometer which provides a lot of useful information and detects divergences automatically. It is a great trading confirmation and can be used to identify the trend direction and strength. It has been designed as a complement for our trading tools.
The oscillator plots two moving averages to display the trend direction. If the fast moving average is above the slow moving average, the market is during an uptrend and long trad
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 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
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
The indicator shows a line of a relative trend based on an oscillator selected from the list. The line can be used for support/resistance depending on where the price is. Direction (fall/rise) changes when the oscillator crosses the specified levels (it is equal to the middle of the range by default, the value is adjustable) and can be additionally displayed in a different color. Change in the direction of the secondary smoothed price trend is displayed as arrows (you can also enable alerts); it
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.
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
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
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
The Expert Advisor for increasing (or opening) market positions.
Allows specifying the desired risk, target and searching for the best open price and trade volume.
It is included in the ActivePanel product.
Stochastic oscillator with Singular Spectrum Analysis algorithms (SSA).
SSA is an effective method of treatment of non-stationary time series with unknown internal structure. It is used for the determination of the main components (trend, seasonal fluctuations and wave), smoothing and noise suppression. The method allows us to find previously unknown series periodicities and make forecasts on the basis of the detected periodic patterns.
The indicator signals are identical to the original signa
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
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
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
This is an optimized version of MACD.
If the indicator color is red, it is recommended to sell. Crimson color indicates a forthcoming reverse. If the color is light green, it is recommended to sell. Dark green color indicates a forthcoming reverse.
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
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 the first public MQL5 indicator using the cluster filtering. The advanced smoothing effect allows the digital filter to transform an ordinary moving average into a new faster indicator providing fewer false signals. At least, that is the purpose of the new experimental project. The project stages and ClusterSMA features are described in the author's blog (in Russian).
The indicator is based on the cluster digital filter that is successfully used in another area. At the time of publicati
//| Script program start function |
void AddLinesToCharts(string symbol, double price)
CChartObjectHLine *line = new CChartObjectHLine();
line.Detach(); // optional: for script demonstration so obj stays on chart after script finishes
Awesome! With some tweaking I got it to work.Now, any advice to get it removed if I were to remove the StopLoss line we just created? So.....once it adds a line, that line is there until the EA is removed. However, once that position either closes, or I removed the SL, I want that line to go away.I thought about maybe something like line.Clear at the beginning of each ChartObject loop to clear all lines, then it only adds the ones back that are still there. I also thought maybe you could tell just a specific chart to clear. However, I was unsuccessful in getting either of those to work.
Help would be appreciated.
My EA bases the SL on volitility and a few other things. So, it gets into the trade, then analyzes a few things and modifies the trade to add a S/L. The S/L is added very close to the open, so it is not live for very long without a S/L. I've been trading this method for many years manually, so I know how to assess risk. Now I'm just trying to automate it, that's all.