Archives

EA development

This tag is associated with 5 posts

MQL5: Getting your EA to manage its own orders with others around

Before we get data about a position, we need to ‘select’ it first. ‘Selecting’ a position “copies data about a position into the program environment, and further calls of PositionGetDouble(), PositionGetInteger() and PositionGetString() return the earlier copied data. This means that the position itself may no longer exist (or its volume, direction, etc. has changed), … Continue reading

MQL5: Getting indicator values – default indicator function versus iCustom()

Posting this as a repository for myself as I can’t remember what I wrote yesterday much less a few months ago. This script illustrates 2 things: 1. Getting indicator values in MQL5 is more laborious than in MQL4 if you only need 1 value 2. Calling a default indicator function versus iCustom() Know that iMACD() … Continue reading

MetaTrader 4 Client Terminal Build 509 (Compile error addressed)

Metaquotes promptly resolved the compiler error with build 509. Good going! http://forum.mql4.com/56329

MetaTrader 4 Client Terminal Build 507 (MetaEditor compile error)

New build. Features and updates as announced here. http://forum.mql4.com/56286 With the release of build 500 and its forcing of update for existing builds above 482, there’s been quite a bit of ire from developers. Justly so because newer builds tend to break some functionality, see https://raidenworks.com/2012/08/11/metaeditor-corrupt-compile/ and build 417 errorneous return of double from the DLL functions. And it’s … Continue reading

Failure is as important as success (and possibly more so)

Keeping things trading related, many a times you will come across in a forum, or a publication, or been advocated to by another person, a technical system where a whole bunch of charts are shown how a setup is ideal for predicting the following profitable price movement. A highly compelling story of its success is painted by … Continue reading

Archives

Visitors

Flag Counter
Advertisements