stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Multi 10:4 Trader EA
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=1619
Page 147 of 160
Author:  effluvium [ Thu Jun 13, 2013 9:59 pm ]
Post subject:  Re: Multi 10:4 Trader EA

Meta1 wrote:Hello,

here a the version which you want.
What's happened to mql versions of Multi_10.4 EA? All these versions were removed suddenly :!:
We just have only an exe version . Does anybody know in which folder it should be installed ?
Author:  fluegel [ Fri Jun 14, 2013 12:09 am ]
Post subject:  Re: Multi 10:4 Trader EA

Hmmmm...
I loaded Ver.1.20 and found something weird.
I believe the arrows (Dir) on the dashboard show the trend direction, i.e. whether PA is above or below 240MA. Am I right? If so, as the attached pic shows, the direction of the arrows do not agree with actual states...

For example, according to the EA (dashboard), AUDCAD, AUDCHF and AUDJPY are in uptrend, but actually their PAs are below 240MA. Not all of the arrows are wrong. Only some.

Do you think this is a broker thing? I'm using Alpari. FYI, I've made sure that Empty4 had enough price data for each currency pair.
Author:  MrLong [ Fri Jun 14, 2013 6:51 am ]
Post subject:  Re: Multi 10:4 Trader EA

fluegel wrote:Hmmmm...
I loaded Ver.1.20 and found something weird.
I believe the arrows (Dir) on the dashboard show the trend direction, i.e. whether PA is above or below 240MA. Am I right? If so, as the attached pic shows, the direction of the arrows do not agree with actual states...

For example, according to the EA (dashboard), AUDCAD, AUDCHF and AUDJPY are in uptrend, but actually their PAs are below 240MA. Not all of the arrows are wrong. Only some.

Do you think this is a broker thing? I'm using Alpari. FYI, I've made sure that Empty4 had enough price data for each currency pair.
That is the strongest currency, not 240 ma.
Author:  fluegel [ Fri Jun 14, 2013 10:39 am ]
Post subject:  Re: Multi 10:4 Trader EA

MrLong wrote:
fluegel wrote:Hmmmm...
I loaded Ver.1.20 and found something weird.
I believe the arrows (Dir) on the dashboard show the trend direction, i.e. whether PA is above or below 240MA. Am I right? If so, as the attached pic shows, the direction of the arrows do not agree with actual states...

For example, according to the EA (dashboard), AUDCAD, AUDCHF and AUDJPY are in uptrend, but actually their PAs are below 240MA. Not all of the arrows are wrong. Only some.

Do you think this is a broker thing? I'm using Alpari. FYI, I've made sure that Empty4 had enough price data for each currency pair.
That is the strongest currency, not 240 ma.
Thanks for the response, Andy. OK... the arrows have nothing to do with 240 MA. But then, why didn't my EA take AUDCHF sell at that time? My settings are: UseRSI true, UseCSS false, RSIhigh 95, RSIlow 5 and almost all filters are false. In addition, I confirmed that the boundary filters did not apply in this case. Do you have any idea?
Author:  MrLong [ Fri Jun 14, 2013 3:25 pm ]
Post subject:  Re: Multi 10:4 Trader EA

fluegel wrote:
MrLong wrote:
fluegel wrote:Hmmmm...
I loaded Ver.1.20 and found something weird.
I believe the arrows (Dir) on the dashboard show the trend direction, i.e. whether PA is above or below 240MA. Am I right? If so, as the attached pic shows, the direction of the arrows do not agree with actual states...

For example, according to the EA (dashboard), AUDCAD, AUDCHF and AUDJPY are in uptrend, but actually their PAs are below 240MA. Not all of the arrows are wrong. Only some.

Do you think this is a broker thing? I'm using Alpari. FYI, I've made sure that Empty4 had enough price data for each currency pair.
That is the strongest currency, not 240 ma.
Thanks for the response, Andy. OK... the arrows have nothing to do with 240 MA. But then, why didn't my EA take AUDCHF sell at that time? My settings are: UseRSI true, UseCSS false, RSIhigh 95, RSIlow 5 and almost all filters are false. In addition, I confirmed that the boundary filters did not apply in this case. Do you have any idea?
Hi,

My EA took placed that pending order.
Author:  fx800 [ Sat Jun 15, 2013 3:43 pm ]
Post subject:  Re: Multi 10:4 Trader EA

Thank you Mr Long for the latest update.

I may be mistaken, but I think the trendDirect function code is missing from its usual spot in the latest update.

Code: Select all

//+------------------------------------------------------------------+
//| expert FormatPrice function                                      |
//+------------------------------------------------------------------+
string FormatPrice(string symbol, double price, int minlen)
{
    int d = GetDecimals(symbol) + 1;
    return(FormatNum(price, d, minlen));
}

//+------------------------------------------------------------------+
//| expert FormatNum function                                      |
//+------------------------------------------------------------------+
string FormatNum(double num, int d, int minlen)
{
    string s    = StringTrimLeft(StringTrimRight(DoubleToStr(NormalizeDouble(num, d), d)));
    int    diff = minlen - StringLen(s);
    if (diff > 0)
    {
        s = StringSubstr("                        ", 0, diff) + s;
    }
    return(s);
}

//+------------------------------------------------------------------+
//| expert GetDecimals function (this is for rounding)               |
//+------------------------------------------------------------------+
int GetDecimals(string symbol)
{
    int Decimals = 1;
    if (MarketInfo(symbol, MODE_DIGITS) > 3)
        Decimals = 3;
    return(Decimals);
}



//RSI stuff courtesy of Paul( BALUDA), thanks Paul

//+------------------------------------------------------------------+
//| GetSlopeRSI()                                                                         |
//+------------------------------------------------------------------+
double GetSlopeRSI(string symbol, int tf, int shift)
{
   double slope[];
   int workPeriod = 17;                                         // RSI period Bob's default = 2, + overhead
   ArrayResize( slope, workPeriod );
   ArraySetAsSeries( slope, true );
   for ( int i = 0; i < workPeriod; i++ )
   {
      slope[i] = GetSlope( symbol, tf, shift + i );
   }
   return( iRSIOnArray( slope, workPeriod, 2, 0 ) );    // Again, 2 is Bob's default
}
 
Author:  MrLong [ Sun Jun 16, 2013 3:36 pm ]
Post subject:  Re: Multi 10:4 Trader EA

fx8000 wrote:Thank you Mr Long for the latest update.

I may be mistaken, but I think the trendDirect function code is missing from its usual spot in the latest update.

Code: Select all

//+------------------------------------------------------------------+
//| expert FormatPrice function                                      |
//+------------------------------------------------------------------+
string FormatPrice(string symbol, double price, int minlen)
{
    int d = GetDecimals(symbol) + 1;
    return(FormatNum(price, d, minlen));
}

//+------------------------------------------------------------------+
//| expert FormatNum function                                      |
//+------------------------------------------------------------------+
string FormatNum(double num, int d, int minlen)
{
    string s    = StringTrimLeft(StringTrimRight(DoubleToStr(NormalizeDouble(num, d), d)));
    int    diff = minlen - StringLen(s);
    if (diff > 0)
    {
        s = StringSubstr("                        ", 0, diff) + s;
    }
    return(s);
}

//+------------------------------------------------------------------+
//| expert GetDecimals function (this is for rounding)               |
//+------------------------------------------------------------------+
int GetDecimals(string symbol)
{
    int Decimals = 1;
    if (MarketInfo(symbol, MODE_DIGITS) > 3)
        Decimals = 3;
    return(Decimals);
}



//RSI stuff courtesy of Paul( BALUDA), thanks Paul

//+------------------------------------------------------------------+
//| GetSlopeRSI()                                                                         |
//+------------------------------------------------------------------+
double GetSlopeRSI(string symbol, int tf, int shift)
{
   double slope[];
   int workPeriod = 17;                                         // RSI period Bob's default = 2, + overhead
   ArrayResize( slope, workPeriod );
   ArraySetAsSeries( slope, true );
   for ( int i = 0; i < workPeriod; i++ )
   {
      slope[i] = GetSlope( symbol, tf, shift + i );
   }
   return( iRSIOnArray( slope, workPeriod, 2, 0 ) );    // Again, 2 is Bob's default
}
 

We don't need it anymore, the rules have changed, that was used most part for the Stoch and AO indicators.
Author:  fx800 [ Sun Jun 16, 2013 7:22 pm ]
Post subject:  Re: Multi 10:4 Trader EA

MrLong wrote:
fx8000 wrote:Thank you Mr Long for the latest update.

I may be mistaken, but I think the trendDirect function code is missing from its usual spot in the latest update.

Code: Select all

//+------------------------------------------------------------------+
//| expert FormatPrice function                                      |
//+------------------------------------------------------------------+
string FormatPrice(string symbol, double price, int minlen)
{
    int d = GetDecimals(symbol) + 1;
    return(FormatNum(price, d, minlen));
}

//+------------------------------------------------------------------+
//| expert FormatNum function                                      |
//+------------------------------------------------------------------+
string FormatNum(double num, int d, int minlen)
{
    string s    = StringTrimLeft(StringTrimRight(DoubleToStr(NormalizeDouble(num, d), d)));
    int    diff = minlen - StringLen(s);
    if (diff > 0)
    {
        s = StringSubstr("                        ", 0, diff) + s;
    }
    return(s);
}

//+------------------------------------------------------------------+
//| expert GetDecimals function (this is for rounding)               |
//+------------------------------------------------------------------+
int GetDecimals(string symbol)
{
    int Decimals = 1;
    if (MarketInfo(symbol, MODE_DIGITS) > 3)
        Decimals = 3;
    return(Decimals);
}



//RSI stuff courtesy of Paul( BALUDA), thanks Paul

//+------------------------------------------------------------------+
//| GetSlopeRSI()                                                                         |
//+------------------------------------------------------------------+
double GetSlopeRSI(string symbol, int tf, int shift)
{
   double slope[];
   int workPeriod = 17;                                         // RSI period Bob's default = 2, + overhead
   ArrayResize( slope, workPeriod );
   ArraySetAsSeries( slope, true );
   for ( int i = 0; i < workPeriod; i++ )
   {
      slope[i] = GetSlope( symbol, tf, shift + i );
   }
   return( iRSIOnArray( slope, workPeriod, 2, 0 ) );    // Again, 2 is Bob's default
}
 

We don't need it anymore, the rules have changed, that was used most part for the Stoch and AO indicators.
Thank you very much, Mr Long.

You have moved the trigger code for buy/sell to "If it's time to send pending orders".
Author:  MrLong [ Tue Jun 18, 2013 2:59 pm ]
Post subject:  Re: Multi 10:4 Trader EA

Version: Multi_10_4_EAv_Final_V1.30 on page 1.

Bug fix: Zero Divide Error.

Also added: extern bool useForDashOnly, so it can be used for just a dashboard.
Author:  MrLong [ Tue Jun 18, 2013 5:19 pm ]
Post subject:  Re: Multi 10:4 Trader EA

Sorry Guyz,

I forgot to add the latest 1.30 EA file to the EXE, I've added it now and re uploaded, so if you were the first 24 downloader's, you will need to re- install or just grab the .mq4 file. :oops:

Andy
All times are UTC Page 147 of 160