Forum

Classical Turtle Trading indicator for MT5

Hi, I am looking for an indicator that represents the classical Turtle trading rules, e.g. the indiactor shows entry and exit signals for long and short orders. So far I have only found such an indicator for MT4: https://www.mql5.com/en/code/10735 Do you know where I can find this indicator for

Automatic stop loss and trailling stop when placing order

Hi, I was wondering if it is possible to configure MT 5 such that when I place an order automatically - a stop loss of X points and - a trailling stop of Y points is set. Up to know I have to do it automatically. I checked also the skripts but was not able to find an appropriate one. Any ideas

Indicating spreads

Hi, is it possible to indicate the spread (or ASK and BID price) in the Chart window? Or is there an indicator that shows me the spread development over a certain time period? Best, Chris

Open charts for open positions

Hi, is there a function in MT5 or a script that opens for all my open positions (displayed in the Trade window) a Chart (using the default template)? Thank you. Best, Chrs

Specifications of a symbol

Hi, for a symbol from the market watch list (which I retrieve by "SymbolName") I would like to print two different types of information: 1) the symbol's full name (for example not "EURAUD" but "Euro vs Australian Dolle" as can be found in the Specification window) 2) The margin that my broker uses

Iterate through sets

Hi, I have defined different sets in my market watch window (right click and then "Sets"). How can I iterate through these sets (and its elements) in my EA? Is there a function like "get first set", "get successor set of set X" ...? Thank you. Best, Chris

Idenfity reason for "out of memory"

Hi, my EA seems to have a memory leak since after a while it crashes with "out of memory". How can I figure out which statement in my EA consumes memory and does not release it afterwards? In my EM I have a function which is frequently invoked and which contains the following code: MACDHandle=

Market watch list limited to 100 elements

Hi, in my MT5 the Market Watch List seems to be limited to 100 elements. After "Show All" I can see approx. 400 elements but only for the first 100 assets the ASK/BID price is computed. How can I extend the market watch list to more than 100 elements? This limitation restricts my programmed

Comment already opened orders

Hi, in the Trade window of MT5 I see on the right-hand side of my open positions the column "Comments". Is it possible to add some free-text comments to already opened positions? As far as I see this is only possible if you place a new order. If not, is there another way to annotate/comment orders

Historical data

Hi, two questions on history data: 1) I would like to get all available history data and highest bar prices for the selected symbol . For this I want to use the functions CopyRates and CopyHigh. However, as I don't know how many data is available I don't know how to specify the "count" parameter in