i tried to write my EA using Standard Deviation channel but i cannot find any index for it's lines only time points but i need price points
please i want the formula and the equation that used to draw this tool on meta trader to be able to write my own indicator and my EA
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
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
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 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.
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 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.
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 main purpose of the indicator is to detect and mark trade signals on the histogram of the Awesome Oscillator according to the strategies "Trading Chaos, second edition" and "New Trading Dimensions".
The indicator detects and marks the following trade signals:
"Two peaks" - Divergence. The signal "Second wise-man" - third consequent bar of the Awesome Oscillator after its color is changed. The histogram crosses the zero line. The signal "Saucer".The indicator includes a signal block 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
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
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 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
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
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
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
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
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
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 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
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 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.
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
The Expert Advisor uses the strategy of trading the Fibonacci levels. As the basis for placing a grid, the EA uses the ZigZag indicator (included in the standard MetaTrader delivery).
First, the EA determines the trend direction. To do that, according to the Dow theory, it uses the last two Highs and last two Lows of the ZigZag.
If the last High is higher than the previous and the last Low is higher than the previous, the EA considers the trend to be ascending. If the last High is lower
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
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
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
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 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
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
no my friend
i already searched for hours
i know the formula of standard deviation but i need the formula or the equation that used to draw this channel in meta trader
i want to know how to draw the middle line i mean depending on what prices ????....... what is the equation of it and what is the equation of the deviated upper and lower lines ???
if you could found such a thing pleas give me the link or type the equations ...
i think you didn't understand my problem
i don't want any one to code my EA ...... no sir
i want the equation of specific meta trader tool called standard deviation channel
any way i think this EA will explain the problem
this is EA i tried to code and as you see i need to complete the trading conditions
now i think my problem is well explained ...........
can any one help in this ????
extern int magicn = 2013;
extern int slippage = 30;
extern double lotsize = 0.1;
extern double takeprofit = 20;
extern double stoploss = 50;
extern bool close_on_revers_signal =true;
extern bool Use_trailling = true;
extern double TrailingStop = 20;
extern double USD_Profit= 100;
//| expert initialization function |
if (Digits == 3 || Digits == 5) pt = 10; else pt=1;
//| expert deinitialization function |
//| expert start function |
double arrow_down = iCustom(Symbol(),0,"arrow",0,1);
double arrow_up = iCustom(Symbol(),0,"arrow",1,1);
double arrow_down2 = iCustom(Symbol(),0,"arrow",0,2);
double arrow_up2 = iCustom(Symbol(),0,"arrow",1,2);
if( arrow_up < Low&& arrow_up!=0&& arrow_up2==0 && IsOrderOpened() ==false && lastorderclosedbuytime() ==false)
//////////// here is the problem //////////////
if( Close> ////standerd deviation channel upper line ////////////
for( int i0 =OrdersTotal();i0>=0;i0--)
if(OrderSymbol()==Symbol()&&OrderMagicNumber()==magicn && OrderType()== OP_SELL)
if (arrow_down> High&&arrow_down!=0 && arrow_down2==0 && IsOrderOpened() ==false && lastorderclosedselltime() ==false)
//////////// here is the problem //////////////
if( Close< ////standerd deviation channel lower line ////////////
for( int i3 =OrdersTotal();i3>=0;i3--)
if(OrderSymbol()==Symbol()&&OrderMagicNumber()==magicn && OrderType()== OP_BUY)
int sellticket =OrderSend(Symbol(),OP_SELL,lotsize,Bid,slippage*pt*10,Bid+(stoploss*pt*10*Point),Bid-(takeprofit*pt*10*Point),"Batttot_EA",magicn,0,Red);
if(Use_trailling == true)TrailingStopp();
1) I googled for "mt4 standard deviation channel" and got the source code (mq4) for download - but should not post here external links!
2) You can help yourself a lot if you just read the editor's reference e.g. for iCustom(..) (or the Book or the Documentation, links are above)
please ....please .........please
read the code again
i already read it many times .
it only call OBJPROP_DEVIATION and drow a line from time 1 to time 2 and the channel automatically drawn .
and there is no prices of upper and lower lines
pleas one more time if you sure that the code you mentioned contain any information about upper and lower lines of the channel
pleas past it here
i already post the code of my EA and the problem is obvious in it
so check the code again and tell me after that if the source you mentioned from google will be useful or not !!!
I googled, for another forum and there a link of how to calc. standard deviation:
you need to determine the mean. The mean of a list of numbers is the
sum of those numbers divided by the quantity of items in the list (read:
add all the numbers up and divide by how many there are).
subtract the mean from every number to get the list of deviations.
Create a list of these numbers. It's OK to get negative numbers here.
Next, square the resulting list of numbers (read: multiply them with
Add up all of the resulting squares to get their
total sum. Divide your result by one less than the number of items in
To get the standard deviation, just take the square root of the resulting number
I know this sounds confusing, but just check out this example:
your list of numbers: 1, 3, 4, 6, 9, 19
mean: (1+3+4+6+9+19) / 6 = 42 / 6 = 7
list of deviations: -6, -4, -3, -1, 2, 12
squares of deviations: 36, 16, 9, 1, 4, 144
sum of deviations: 36+16+9+1+4+144 = 210
divided by one less than the number of items in the list: 210 / 5 = 42
square root of this number: square root (42) = about 6.48
This is how the standard deviation is calculated.
The indidicator standard deviation channel calculates first the linear regerssion and places above and below in the distance of the std. dev the channel.
Here you find some functions you might be able to use: Statistics.mqh
if( Close< ////standerd deviation channel lower line ////////////
first .. thank you for your help
this is simple EA code to do what you suggested
double mov =iMA(Symbol(),0, 24,0,0,0,1);
double std= iStdDev(Symbol(),0,24,0,0,0,1);
double upper= mov+std;
as you see in the comment the prices are completely different from the standard deviation channel tool found in meta trader
the solve you suggested only creates channel around moving average not channel of standard deviation that found in meta trader it self .............
First,you need to determine the mean. The mean of a list of numbers is thesum of those numbers divided by the quantity of items in the list (read:add all the numbers up and divide by how many there are).
Then,subtract the mean from every number to get the list of deviations.Create a list of these numbers. It's OK to get negative numbers here.Next, square the resulting list of numbers (read: multiply them withthemselves).
Add up all of the resulting squares to get theirtotal sum. Divide your result by one less than the number of items inthe list.
mean: (1+3+4+6+9+19) / 6 = 42 / 6 = 7
list of deviations: -6, -4, -3, -1, 2, 12
thank you ......... thank you
i think this will solve it i will try this and came back with results
thank you ....