Quantcast
Viewing all 75046 articles
Browse latest View live

FOR CHILDREN? binary? Octal? Hexa?

torrin86:
i mean, i'm 26 and just starting to have interest in computer code.  I've been building computers for about 7yrs now, but never delved into how they process or how the human input becomes a calculated output.  I missed out on taking the free c+ or c++ classes in high school, cause I had no motivation at the time.  How old were you when you "started learning" code and then writing?

Hi torrin86,

Older than you, no regrets, plenty helps on the webs. 

Since MQL5 is about programming algorithmic trading, it's better to learn to trade first before programming. 

:D 


MQL4.Com OffLine

MQL4.COM return to normal right now 

Why are different the OHLC prices in MQL4 from MQL5 at the same time?

manwind:

I find the OHLC prices in MQL4 are different  from MQL5 at the same time? For example: 

Which prices are ture in fact?   Thank for any help  in advance.

Hi manwind,

You may want to compare OHLC from different brokers as well, seriously !.

That's the main reason I don't use Japanese candlestick since a long time ago.  Unlike stock market - which is centralized market (i.e NYSE wall street), forex is over-the-counter-interbank market, banks trades (buys-sells) forex between banks without any centralized market. So your broker's price feeds (which also comes from many banks) may different from other broker. I think those guys who manage/trading other's people forex accounts from different brokers understand that situation completely. 

You may want to right click and refresh the chart and check to lower and lowest timeframe, but I don't think that help a lot.

There is article about MT4 chart holes in MQL4.com, however MQL4.com is not available at the moment. Here we go http://articles.mql4.com/136

:D 

Unexpected behavior of CopyClose in Version 5.00 Build 655 on Win 7 64bit

Expert Advisors and Indicators

Boost:
I have an indicator that uses an onTick () event for one currency pair. I am trying to use that indicator on one currency pair that use on onTick event to trigger a trade for another currency pair. Does the onTick event work in an EA attached to a different currency pair?

Hi Boost,

OnTick() event executed on incoming tick on chart regardless of the symbol name. If you have indicator hard coded to work with - say EURUSD - instead Symbol(), that indicator will still works on non-EURUSD chart - say AUDJPY chart. Same thing on EA. Problem is there's probably a new incoming tick for EURUSD but your CI/EA won't get that EURUSD tick until next AUDJPY tick coming.

Why don't you try it, EA/CI to print EURUSD close and attach it on AUDJPY. 

:D 

What's mean "cannot load indicator 'MACD' [4302]"

When I backtest this EA run properly but when I attach EA to chart for demo account, in Expert Tab display message "cannot load indicator 'MACD' [4302]". What's it mean? And what's wrong?

Discussion of article "Creating an Expert Advisor, which Trades on a Number of Instruments"


I have trouble when attach this EA. In Expert tab appear this message :

2012.07.09 11:31:16    exp_tema (multicurrency)-new (EURUSD,M1)    cannot load indicator 'Triple Exponential Moving Average' [4302]

What wrong? Thank you


Expert Advisors: Multik


I have trouble when attach this EA. In Expert tab appear this message :

2012.07.09 11:31:16    exp_tema   cannot load indicator 'Triple Exponential Moving Average' [4302]

What wrong? Thank you

Does MetaTrader phone home?

Your EAs are safe, no one except you have access to them. We are striving for providing the best protection of data transmitted between the client terminal and and a trade server.

You can find more information in the Security System help section.

Demo account password in MT5 (MetaQuotes)

How do I find out the password of my current demo account (opened with MetaQuotes-Demo) in MT5? It is remembered by the platform, so I do not have to enter it now, but I'd like to trade this account from another PC and it will ask for my password there.

Metatrader 5 crash CRYPT32.dll - solved

fifthfloor:

After automatic update of Metatrader 5 today, the Terminal keeps crashing on startup

with Message "terminal64.exe entry point "•" not found"

I did not change anything on my system except the MT5 auto-update.


Edit:

I solved the problem by turning off F-Secure's enhanced process monitoring

Hello ,

What is   F-Secure?

I have mt5 installed on windows 7, its crashing after the update. How did you solve your problem? Thanks. 

Open long and short in MQL5

Hi financialarts,

Thank you for your comments, coz your comments make me think a little bit further on how to apply multi strategy EA on a single symbol and as a result I have several ideas but haven't explore them all.

Thank you to Alexx (admin) for the link. It does not help much, but gives ideas. 

May have to disregards some of my previous comment but not all though :) 

:D 

 

Non-determinism in CopyBuffer even when no error is reported and return value is positive.

Indicators: Stochastic Momentum Index Blau_SMI

Korean Language Pack

There is korean language pack in mt4 but not in mt5.

 

Korean traders feels inconvenience. Please add it. Thank You.


List of changes in MetaTrader 5 Client Terminal builds


MetaTrader 5 Client Terminal build 684

  1. Terminal: Added highlighting the account status bar, if the account is in Margin Call or Stop Out states.


    Image may be NSFW.
    Clik here to view.


  2. Terminal: Fixed drawing of the "Fibonacci Fan" object.
  3. Terminal: Fixed calculation of a chart scale in "Scale points per bar" mode.
  4. Terminal: Fixed terminal crash when working in Wine (for Linux, Mac).
  5. Terminal: Fixed display of internal emails and news under Windows XP with Internet Explorer 6.0.
  6. Terminal: Fixed search on MQL5.com website when working in older Windows XP versions.
  7. Terminal: Updated translation of the client terminal into Bulgarian.
  8. MQL5: Added request_id field in MqlTradeResult structure - a unique identifier of the terminal trade request during a network session.

    This field is filled by the client terminal when a trade request is successfully sent to the server. Further on, this field is filled in result parameter of OnTradeTransaction entry point. Therefore, the opportunity of clear comparison of OrderSend and OrderSendAsync functions calling with getting the trade request results at OnTradeTransaction entry point is provided.

  9. MQL5: Added compatibility of ex5 programs with DLLs created using .NET.
  10. MQL5: Fixed optimization of the functions that return the structures.
  11. MQL5: Added operation signs in the profiler mode:
    • IS_PROFILE_MODE - macros determining MQL5 program compilation in the profiling mode.
    • MQL5_PROFILER - new value of ENUM_MQL5_INFO_INTEGER enumeration - determining the programs operation in the profiler mode. MQL5InfoInteger function should be used to get the value.

  12. MQL5: Disabled inlining of large volume functions leading to excessively large EX5 files.
  13. MQL5: Standard Library. Added SetTransparentLevel transparency management method to CCanvas class.
  14. MQL5: Added the new sinput (static input) key word preventing manual input of values for searching an input parameter during optimization.
  15. MQL5: Added ParameterSetRange(string name, bool enable, double value, double start, double step, double stop) function, which allows redefining the very possibility of searching the values, as well as the range of searched values before launching the optimization. The function can be called only from OnTesterInit handler. The function can also be applied to the input parameters protected by sinput key word.
  16. MQL5: Added ParameterGetRange(string name,bool& enable, double& value, double& start, double& step, double &stop) function. It can be called from OnTesterPass and OnTesterDeinit handlers.
  17. MetaEditor: Fixed automatic saving of all open files before the compilation.
  18. MetaEditor: Added the snippet for OnTradeTransaction entry point.

    For ease of writing code, MetaEditor provides the possibility to insert snippets — small template fragments of source code describing a particular construction of the MQL5 language. Insertion of a snippet is initialized by typing the keyword. After you type the keyword the cursor is changed to "Snippet available". To insert a snippet, you should press "Tab". For more information about working with snippets please read the MetaEditor Help.

    The key word for OnTradeTransaction entry point is OnTradeTransaction.

  19. MetaEditor: MQL5.Storage - fixed MQL5 Storage errors related to determining the presence of changes.
  20. MetaEditor: Fixed results display for the "inline" code in the profiler.
  21. MetaEditor: Fixed search on MQL5.com website when working in older Windows XP versions.
  22. MetaTester: Removed the limit of 63 simultaneously optimized parameters.

    All input parameters can now be included for optimization (the number of input parameters is limited by 1024). It means that the space that can have the maximum value to be written in the integer 1024-bit value can be used in the genetic search for the optimal parameters. The protocol of data transfer between the terminal and tester agents has been changed for big indices of the optimized variants.

    Therefore, all previous versions of tester agents will not be able to connect to the cloud network and (or) the client terminal because of the protocol change and will be updated automatically via LiveUpdate system.

  23. MetaTester: Fixed an error leading to incorrect saving of genetic optimization snapshot. The error occurred only on the "fast" mathematical optimizations.
  24. MetaTester: Fixed report on test results when determining losses and profits sequences.
  25. MetaTester: Fixed crash of the client terminal when deactivating the tester agents.
  26. Fixed errors reported in crash logs.
  27. Updated documentation.
The update is available through the LiveUpdate system.

Indicators: Monitoring Spread

how to close a part of the volum of an open position

luenbo:

How to close a part of the volum of an open position in mql5 ?

eg: i open 1.0 lot of eur/usd, now i want to close 0.5 lot, how should i do? 

thsnks~! 

Hi luenbo,

Open sell 0.05 lot eur/usd will do and vice versa. Just try it.

:D 

Indicators: Choppy Market Index

Discussion of article "Fast Dive into MQL5"

New article Fast Dive into MQL5 is published:

You have decided to study MQL5 trading strategies' programming language, but you know nothing about it? We have tried to examine MQL5 and MetaTrader 5 terminal from the newcomers' point of view and have written this short introductory article. In this article, you can find a brief idea of the possibilities of the language, as well as some tips on working with MetaEditor 5 and the terminal.

Image may be NSFW.
Clik here to view.

Author: MetaQuotes

Viewing all 75046 articles
Browse latest View live