Multi 10:4 Trader EA

Post Reply
effluvium

Re: Multi 10:4 Trader EA

Post by effluvium »

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 ?
fluegel
Trader
Posts: 33
Joined: Sat Nov 19, 2011 11:52 am

Re: Multi 10:4 Trader EA

Post by fluegel »

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.
You do not have the required permissions to view the files attached to this post.
MrLong

Re: Multi 10:4 Trader EA

Post by MrLong »

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.
fluegel
Trader
Posts: 33
Joined: Sat Nov 19, 2011 11:52 am

Re: Multi 10:4 Trader EA

Post by fluegel »

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?
MrLong

Re: Multi 10:4 Trader EA

Post by MrLong »

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.
You do not have the required permissions to view the files attached to this post.
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: Multi 10:4 Trader EA

Post by fx800 »

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
}
 
MrLong

Re: Multi 10:4 Trader EA

Post by MrLong »

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.
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: Multi 10:4 Trader EA

Post by fx800 »

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".
MrLong

Re: Multi 10:4 Trader EA

Post by MrLong »

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.
MrLong

Re: Multi 10:4 Trader EA

Post by MrLong »

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
Post Reply

Return to “Nanningbob 10.x”