I don't think it is good time,
the main role in calculating are (different for any of the non-forex, cocoa, barrels, bushels etc.) :
1.) Default Lot Size (all have different)
2.) Leverage (different for any type, broker, account - often hidden, must be get from broker additionally,)
3.) Margin percent required (some require different % from the account - some fixed portion)
The rest are common like point and price, for calculations. Often 1 / Price can give near value, if You do need exact.
@edddim: Thank you for your reply. Are you saying that it is not possible to automate lot size calculation on MT4?
Surely, it can be made possible by providing inputs so the broker can set up each instrument as required for correct calculation. With appropriate settings for TickSize and TickValue it should be possible to set up any instrument to give an accurate lot size calculation(?). Lot Size calculation is the single most difficult and absolutely critical task that traders much do, or they could be risking more than they expect. I made this mistake once, when I thought I had 100 GBP risk on Gold, but actually I had 10,000 GBP risk! ... I was lucky and closed my trade without taking a loss ;=).
This problem needs to be addressed one way or another. One cannot enter a trade without selecting a lot size, so I would say this is absolutely the most important problem needing a solution right now. Trading is hard, but entering a trade with the correct lot size is nearly impossible without a lot of knowledge and info from broker and spreadsheets! Even then, mistakes can be made. This is not an acceptable solution to many.
In my examples I used not one, but two different methods for lot size calculation, and neither produces consistently accurate results! I don't know of any other way that this can be done on MT4 :=(.
How to enter a trade on MT4...
1. Visit broker's website to find details of the instrument you wish to trade ... you will need tick size, pip location, lot size, quote currency, etc.
2. On MT4 decide on the price you wish to enter on, also your risk and stoploss.
3. Go to your spreadsheet, which you created with the help of your broker and lots of hard work, then enter the details you need to calculate the lot size (volume) for your order on MT4.
4. Open up a new order window on MT4 and enter the required order details.
5. Cross fingers and hope you got the details correct.
6. Thats it!
A better way...
1. On MT4, open up a new order window.
2. Enter your entry price, stoploss and risk amount.
3. Thats it!
This last method I could easily do myself, in code, if only the data was good!
The indicator analyzes the internal averaged price channel on the specified border moving beyond the external cumulative one depending on the direction of current conventional trend, and at the same time the second price channel on the specified border moving beyond the extremums (or specified price modes) of the previous bar. A special case of the setting of this indicator is a well-known Ozymandias. The direction of the current conventional trend is displayed by a line, and the trend change (
This is a half scalping system that analyzes the market using a transmission function. The system can be scalping or not depending on the "takeprofit" and "stoploss" parameters.
This Expert Advisor is intended for trading on EURUSD, however it can work on other currency pairs. You should use timeframe M1 for trading.
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
qAutoActivation indicator is one of the main components of Trading Chaos Expert trading expert panel. The indicator displays the current trend on the current timeframe. This is the first indicator that is attached to the chart and saved in the trading complex template. It defines what trading signals from the expert panel should be automated for market entry (bullish or bearish ones).
When the trend changes, the indicator changes the line color and, at the same time, highlights the trading pane
The indicator shows the relative "strength explosion" of a selected currency. An additional "limiting" channel is used for filtering the indicator values.
VolatilityPeriod - period to analyze currency volatility, MainPrice - price used for calculation main values of the indicator, FastPeriod - fast period for calculation, FastMethod - method of smoothing of the fast line, SlowPeriod - slow period for calculation, SlowMethod - method of smoothing of the slow line, SmoothingPeriod - resul
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
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
Displays divergence for any custom indicator. You just need to specify the name of an indicator name; on default it uses CCI.
In addition you can set smoothing for the selected indicator as well as levels. If one of these levels is crossed, you'll receive a notification. The custom indicator must be compiled (a file with extension EX5) and it must be located in MQL5/Indicators directory of the client terminal or in one of its subdirectories. It uses zero bar of the selected indicator with defau
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.
Purpose and functions of the indicator
The indicator determines and marks the moments of trend change on a chart based on the theory of fractal levels breakdown on any time frames. If a breakdown based on all rules is real, the horizontal lines will appear on the chart with corresponding color. If there is an up trend, the line will be blue. In the descending trend the line will be red. The blue line is a strong support level, the trader should look for buying opportunities above this line. The
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.
Trading Sessions Pro is a trading session indicator with extended settings + the ability to install and display the custom period.
Download the demo version to try the indicator's functionality.
The indicator allows you to conveniently manage display of trading sessions on the chart. There is no need to enter the settings each time. Just click the necessary trading session in the lower window and it is highlighted by the rectangle on the chart! The indicator has two modes o
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
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 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 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
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
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
Another breakthrough. Using the legendary BBSO range trading module the no 1 ROBOT AND THE AMAZING SPEED OF METATRADER 5, this scalper generates a lot of quick trades in and out using the strongest point of BBSO the ENTRY.
Self-optimizes in seconds ANY Pair on any timeframe (always check with Olivier Nomblot for current settings and pairs).
No special CPU needs or fast internet connections or set files or strategies or complicated parameters. Adapts to your broker... just drag on your screen.
Chart Overlay indicator displays the price action of several instruments on the same chart allowing you to evaluate how differently currency pairs fluctuate relative to each other.
Find overbought or oversold currency pairs easily Plot up to 6 currency pairs overlayed on the same chart Display inverted symbols -if you want to- Adapts to chart size, zoom and timeframe Symbols can be plotted as bars or line charts The size of the overlay chart is customizable Automatic price
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 OandaX product series is designed to display additional data on orders and positions provided by the Oanda FxLabs service.
The OandaX Download Manager EA is included in the OandaX product series and is designed to download data for all OandaX indicators running in the terminal.
To test your trading strategies and for historical data analysis, you can use free OandaX 5 Download Manager BETA. It is similar to Download Manager but provides data with a delay for a day.
Note. The EA uses WebRe
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
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
FX Power is the first real time currency strength meter with a real time histogram.
Run FX Power to analyze and record the momentum and strength of all major currencies.
Use the FX Power histogram to determine efficient currency strength combinations and patterns.
Key Features of FX Power
Real time market strength of all major currencies Identical calculation results at all brokers and charts 100% reliable real time calculations -> no repainting Selectable t
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
Find double top and double bottom reversal chart patterns easily with this indicator.
Easy to use Customizable colors and sizes It implements breakout signals It implements alerts of all kinds
Indicator Settings - The amplitude represents the size of the patterns to be found. The max. history bars parameter is the amount of bars in the chart to look back.
Less bars to evaluate means the indicator will load faster. Patterns - Choose the colors of the patt
This indicator calculates (Hourly, Daily, Weekly, Monthly) pivot point, support and resistance price with different formulation (Classic, Camarilla, Woodie, DeMark, Floor, Fibonacci) and then adds lines on the chart. Line color and style can be changed with input parameters.
And you can choose alert type (Alarm activated when price reach any pivot price)
1. Calculation Method Option (Method = Classic, Camarilla, Woodie, DeMark, Floor and Fibonacci)
Range = High Price(HP) –
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 unique indicator detects reversal signals using price action and volume algorithm. It has also the ability to predict reversal power using the probability of past price movement and past volume analyzed.
To achieve more accurate trading, please use this tool in addition or support to the system you are using. This tool will perform better if combined with the right strategy.
To further boost the efficiency of this tool, you can combine this with FxGlow Zone Barr
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.
True, entering stoploss and automatic regulation of lots with % amount of the total would be ideal, since I know some who have that option, I've seen it and it is great, it is making the trading possible, and without taking time to do basic what is need for trade and having time for spare additional tasks, by terms now it is approximately, exactly as you said for the Gold, guessing. On other hand it is possible to be made script and to get the amount in replacement of excel or web-site calculator, but that is not built in function like on press button window "New Order" for trade and make the inputs there in 2-3 seconds or presets for even just one push of button. I was thinking these days about making (finding) better solution for me, meaning easier since I have some from before but are complicated, but if I make some simpler I will post it here with reply as idea or 'probable' solution. Somehow I think for my old solutions are unreliable. But any of these are just adapting, and it will mean script/indicator on the chart with showing lots as (%) daily range risk - just example, of course "Buy-Sell" buttons on the chart with % adjustable and sl-points is better, but lets try the basic things first =). True, you are totally correct. I'll get back to you if I do something these days, since I have some 'city' jobs few days.
Have a pleasant work.
@edddim: I look forward to your solution. I should mention that your suggestion with "Buy-Sell" buttons on the chart with % adjustable and sl-points is totally doable now, but will only work correctly on Forex. Like many traders, I wish to diversify what I trade, but a solution for trading non-forex is not currently reliable due to issues with how brokers set up these instruments.
A fix for this really needs MetaQuotes to step up and tackle the issues mentioned. I know of brokers that are very reluctant to offer MT4 to clients simply because it is too difficult for most 'normal' people to use, mainly due to lot size calculation and difficult interface. This is one reason why spreadbetting is popular ... you just need to enter price, stoploss, and risk_per_pip ... risk is very easy to calculate (risk_per_pip = risk_amount/stoploss_pips). I like many things about MT4, but this lot size order entry is enough to make me pull out my hair. This is why I learned MQL ... to write tools to simplify MT4 order entry for myself, but it appears I've hit a dead end :=(.
Another difficulty ... when trading stocks from London Stock Exchange LSE (e.g. ARM.L, HL.L, PFC.L, etc.) these are quoted in 'pence' and not 'pounds' (100 pence = 1 GBP), so my lot size calculations won't work with those ... you would need to divide the calculated lot size by 100 for those stocks. This is another hidden trap for traders that is not obvious on MT4 ... I only found this out from my broker! Mistakes like this should not be possible with a modern trading platform.
My email to MetaQuotes ... unfortunately, they are not interested in changing their product, but I am posting this here in case others want to add their views.
I have a suggestion for you to consider ... it isn't as complicated as you may think, so please bear with me.
Firstly, I understand that MT4/5 isn't the only trading platform that forces traders into completing obscure lot size calculations before they can open an order ticket. This lot size thing may be how markets work, but all retail traders (your users) are speculators looking to make a return on their capital. We do not expect a delivery truck to turn up on our doorstep to offload 400 bushels of wheat, or 30 barrels of oil just because we traded that commodity. As speculators we are only interested in entry price, stoploss and risk amount (usually as % of account equity). We do not care about lots!
The problem with the current platform is that it forces traders to conform to the way it works, rather than it conforming to the way we want to work. Software should be making things easier not more difficult.
I tried to write my own code to hide all these issues and simplify my order entry, but hit a brick wall ... the data coming from my broker (and likely all brokers) is incorrect for many non-forex instruments and my broker is unwilling to change it. I tested another broker and found issues with them also. The data I am refering to is Point, TickSize, TickValue and LotSize. This tells me that even brokers find this very difficult to set up, and they have no visibility on what this means when calculating LotSize (volume) using code on MT4. They can't see it, so they can't fix it. They use spreadsheets to manually grind through their trade entry calculations. This is time consuming, slow, error prone, and relies on knowledge and information not available on MT4. A small mistake can result in complete loss of your account ... all too easy if you get your numbers wrong, or are unaware of the correct values needed for your lot size calculation. These issues also have a significant impact for users of EAs purchased via the marketplace, which may be risking much more than expected due to the programmer being unaware of the broker data issues on some instruments.
Here is how we fix it on MT4/5 with no impact to how things work for existing users that like the current way of working (are there any?).
1. Add a new 'simple' order entry helper screen to MT4 that the user can choose as an option. The details entered here will be converted into the format required in the existing order entry screen, but user doesn't need to know this. The order entry should allow trade entry for buy/sell using entry price, stoploss, and risk amount in account currency. You can validate the details based on required lotsize, lotstep, minlots, etc. and auto correct or inform the user if they need to make changes. Also, display the risk amount on the entry ticket details.
2. You modify the MT4 back office system to enable brokers to correctly set up new instruments, and check calculated lot sizes are correct based on their settings. They need a way to test and get feedback on their settings, so that it is impossible to mess it up. They need to check the effect of Point, TickSize and TickValue setting on the lot size calculation.
Please don't underestimate how much this will benefit your users and especially those new to trading. It will save us a lot of time and stress each day, on every order entry, and it means we can be certain of how much we are risking on any trade. This will go a long way to making MT4/5 user friendly and safe.