Dannoo007
Dannoo007
Friends 1
Dannoo007
Added topic comparing all bars in a period to one another
Hello forum. I am looking to set up this indicator where I want to add ALL differences among closing price  - for ALL bars,  - compared to one another,  - within specified Period. How do you go about it?? I was thinking of
Dannoo007
Added topic changing default arrows/lines for Orders in MT4
Hello forum, Is it possible at all to change the format of arrows (blue, red) and lines (dotted red) used for marking orders on the charts - same for stop-related markings and other objects drawn by default? I was wondering where/what
Dannoo007
Added topic current problems with MetaQuotes history centre?
Hello Forum, On my end it looks as though there is a problem with the MetaQuotes history centre, I just cannot download any history/ and the tester gets stuck on the "waiting for update" screen. I know this may have been discussed
Dannoo007
Added topic Setting Global Variables from OnTick() information.. (ref. Recovery planning)
Hello Forum, So I recently started to think about recovery safeguards for this EA, in the event of server crash, power outage, the likes. One hint I found somewhere was to use... Global Variables of the Terminal as more permanent
Dannoo007
Added topic if "Condition met for last 10 bars" then ...
Hello forum! So the logic is: if, say, Moving Average 50 for the last 10 consecutive bars has been below each bar, then trade. The script below though trades immediately after the first time MA50 falls below a bar, instead of waiting for 10
Dannoo007
Added topic double (in global scope) - odd behaviour OP_BUY vs OP_SELL
Hello forum, Something rather odd is happening, I have this simple order modify for the stoploss (see below). The ADJ in ADJ*Point() is defined as a double on global scope. I am looking at ADJ values of 1 and fractions, say 0.5 (point)
Dannoo007
Added topic the code of MT4 StrategyTester - available?
Hello Forum, I would be curious to have a look at the actual code behind the MT4 Strategy Tester , so that I could get a first-hand understanding of how the numbers are computed. I'm looking at analysis of gains vs. losses now (average
Dannoo007
Added topic counting last consecutive gains /or losses
Hello forum, So far I have this, below, but it counts ALL trades in history. How do I break the cycle so only the LAST CONSECUTIVE trades of same sign are counted - I have some (complicated) ideas but I feel there might be a a quick way?  Many
Dannoo007
Added topic tick up or down
I am trying to get a simple string showing in last tick was up or down, somehow it gets stuck in "down" position. Obviously I am missing something.. so any help will be appreciated. Dan
Dannoo007
Added topic MT4 setup: multiple accounts with same broker
Hello forum, So what happens if one wants to open several accouts with the same broker? so that for each individual EA, say, lot size changes dynamically based on individually allocated account balance . - Is there any way to run multiple accounts on
Dannoo007
Added topic counting open orders
int sellOrdersCount(){    int SellOrdersCounting = 0 ;    for ( int iSELL = OrdersTotal ()- 1 ; iSELL >= 0 ; iSELL--){        if ( OrderSelect (iSELL, SELECT_BY_POS, MODE_TRADES) &&
Dannoo007
Added topic isssues with testing in MT4 v4 b.890 (25 Sept 2015) ??
Hello, I am trying to run some tests in the Strategy Tester pannel with the freshly downloaded last version of MT4, and it seems there are some problems. I press "Start" - and nothing happens, the machine thinks for a few seconds, then comes the
Dannoo007
Added topic Options for FX heding
Hello there, Is there any discussion in here about using simple Options to hedge FX positions? I had a quick look around and saw a few topics, but I'm still not sure I know where to look. For example, if I open a minilot 0.1 Buy EURUSD at 100x
Dannoo007
Added topic capturing latest high/low in ZigZag
Hello Boys I am trying to extract the latest high and latest low painted on the chart by the ZigZag indicator at any moment. Unlike other indicators, the problem with this fellow is that... the number of bars to be counted back is not fixed, it can
Dannoo007
Added topic lot size linked to Account Balance
Hello forum, I am trying to write this simple "code" to link lot size to Account Balance , for example, if balance is between 1500 - 2499 = lotzise 0.2, 2500 - 3499 = lotzise 0.3, etc So far I got this (see below) - within Start ( ), with
Dannoo007
Registered at MQL5.community
Dannoo007
Added topic Point & Figure charts?
Hello Forum, Can anyone suggest some resources for trading on Point & Figure charts in MT4?  The "bars" in P&F are different from the typical time-based charts, so do you reckon EA's can be used at all?? (for counting the O's
Dannoo007
Added topic recording a "moment in time"
Hello forum, I have a feeling this may be quite basic but am not sure how to proceed, my goal is to code the following simple logic:  "if some [condition 1] is met, then [create a record], ONCE, and keep it for reference
Dannoo007
Added topic Time plotting of portfolio EQUITY and BALANCE
Hello boys, Just curious, is there any tool readiy available out there to construct time series , or plot the value of Portfolio Equity as a line chart? So that you can visualise it better, i.e. plotting Equity/Balance instead of pairs. I would think
Dannoo007
Added topic Tester for interlinked multiple EAs ??
Hello all, I am using a hedging technique with 2 EA's - one is the primary opener/closer and one is the hedging mechanism, using Magic #'s to interact with each other.... The problem is that I cannot backtest the system in MT4 - as Tester can only
12