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
A quick script illustrating making your extern inputs as a dropdown list of fixed options. This is what will be seen.
Simple script illustrating getting the maximum value in an array. Code identical for MQL4 and MQL5. MT4 output: MT5 output:
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
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