Multi_Stoch_Rsi_Trader

Post Reply
User avatar
Wiggy1965
Trader
Posts: 326
Joined: Fri Jan 04, 2013 11:58 am
Location: Melbourne - Australia

Re: Multi_Stoch_Rsi_Trader

Post by Wiggy1965 »

Andrew or anybody,

I'm not sure how the trend following feature works, can somebody explain please....?

Regards
Wiggy
cave76
Posts: 1
Joined: Fri Feb 08, 2013 3:18 am

Re: Multi_Stoch_Rsi_Trader

Post by cave76 »

hello i am getting error order send failed non positive ticket returned with v1.07 how can i fix this

thanks
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: Multi_Stoch_Rsi_Trader

Post by fx800 »

Would one of our experienced coders please help.

I would like to experiment changing the trend definition to Bob's definition i.e. using 240 LWMA open.

I have modified the code as follows, but it is not working

Code: Select all

 //+------------------------------------------------------------------+
//| expert Visual Direction for disply function                      |
//+------------------------------------------------------------------+
string Direction(string symbol)
{
    double wo = GetMa(symbol, PERIOD_W1, 2, 1, MODE_LWMA, PRICE_OPEN, 0);
    
    double mA   = iMA(symbol, PERIOD_H4, 240, 0, MODE_LWMA, PRICE_OPEN, 0);
    double lO   = iLow(symbol, PERIOD_H4, 0);
    double hO   = iHigh(symbol, PERIOD_H4, 0);
       

    string retval = none;
    if (lO > mA)
        retval = up;

    if (hO < mA)
        retval = down;
      return(retval);
}
We have had a lot of success with NB 10.4 with this trend definition, it is worth a try here.

I will of course post any positive results of my experiment here.

Thanks in advance.

peter
User avatar
hopfi2k
Trader
Posts: 35
Joined: Tue Nov 15, 2011 11:03 pm
Location: Germany

Re: Multi_Stoch_Rsi_Trader

Post by hopfi2k »

fx8000 wrote:Would one of our experienced coders please help.

I would like to experiment changing the trend definition to Bob's definition i.e. using 240 LWMA open.

I have modified the code as follows, but it is not working

Code: Select all

 //+------------------------------------------------------------------+
//| expert Visual Direction for disply function                      |
//+------------------------------------------------------------------+
string Direction(string symbol)
{
    double wo = GetMa(symbol, PERIOD_W1, 2, 1, MODE_LWMA, PRICE_OPEN, 0);
    
    double mA   = iMA(symbol, PERIOD_H4, 240, 0, MODE_LWMA, PRICE_OPEN, 0);
    double lO   = iLow(symbol, PERIOD_H4, 0);
    double hO   = iHigh(symbol, PERIOD_H4, 0);
       

    string retval = none;
    if (lO > mA)
        retval = up;

    if (hO < mA)
        retval = down;
      return(retval);
}
We have had a lot of success with NB 10.4 with this trend definition, it is worth a try here.

I will of course post any positive results of my experiment here.

Thanks in advance.

peter

Peter,

Could you kindly elaborate what exactly the problem is you are facing? What result are you getting other than you are expecting? ;)
Or do you have "rules" that should produce certain results? Kindly provide these informations and I'll be glad to come up with a solution.

Cheers,
Andy
deltarun1

Re: Multi_Stoch_Rsi_Trader

Post by deltarun1 »

hi guys just to check is anyone trading this live?
AGT
Trader
Posts: 889
Joined: Thu Nov 17, 2011 7:20 pm
Location: Germany

Re: Multi_Stoch_Rsi_Trader

Post by AGT »

Look the activity/nonactivity in this thread ... here are only a few freaks left ... may even game over here ... caravan moved on already ... just my 2 cents ;)
Post Reply

Return to “Automated trading systems”