Archives

MQL4

This category contains 15 posts

Getting Fibonacci prices from the percentage level

Getting a price at a Fibonnaci percentage level is a straightforward mathematical calculation. We just need to define 3 things: 1. Price at 100% 2. Price at 0% 3. Percentage to return Price at This is a script illustrating all the calculation needed: You just need these 2 lines to to obtain your required price … Continue reading

MQL: Making your extern inputs as a dropdown list of fixed options

A quick script illustrating making your extern inputs as a dropdown list of fixed options. This is what will be seen.

MQL: Get maximum value in an array

Simple script illustrating getting the maximum value in an array. Code identical for MQL4 and MQL5. MT4 output: MT5 output:

MetaTrader 4 Client Terminal Build 646

MetaTrader 4 updated to Build 646 (30 Apr 2014), and MetaEditor to Build 934 (30 Apr 2014): http://forum.mql4.com/62849 The interesting updates I found are: 3. Terminal: Increased the number of supported email service protocols. Now, alerts and emails from MQL4 applications can be sent to Gmail, Hotmail, Yahoo and other mailboxes. Set the target mailbox … Continue reading

Error 4106 ERR_UNKNOWN_SYMBOL on EA compiled by older MetaEditor running on latest MetaTrader4 Build 610

This error, 4106 ERR_UNKNOWN_SYMBOL, occurred when the chart, where an EA compiled on MetaEditor 4.00 Build 409 (25 Oct 2011) running on the latest MetaTrader 4.00 Build 610 (14 Feb 2014), had its timeframe manually changed from one to another, e.g. H1 to H4. Reverting back to the launch timeframe did not resolve the issue. … Continue reading

Archives

Visitors

Flag Counter
Advertisements