Andrew or anybody,
I'm not sure how the trend following feature works, can somebody explain please....?
Regards
Wiggy
Multi_Stoch_Rsi_Trader
- Wiggy1965
- Trader
- Posts: 326
- Joined: Fri Jan 04, 2013 11:58 am
- Location: Melbourne - Australia
-
cave76
- Posts: 1
- Joined: Fri Feb 08, 2013 3:18 am
Re: Multi_Stoch_Rsi_Trader
hello i am getting error order send failed non positive ticket returned with v1.07 how can i fix this
thanks
thanks
-
fx800
- Trader
- Posts: 1334
- Joined: Sun Dec 04, 2011 4:11 am
Re: Multi_Stoch_Rsi_Trader
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
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
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);
}I will of course post any positive results of my experiment here.
Thanks in advance.
peter
- hopfi2k
- Trader
- Posts: 35
- Joined: Tue Nov 15, 2011 11:03 pm
- Location: Germany
Re: Multi_Stoch_Rsi_Trader
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
We have had a lot of success with NB 10.4 with this trend definition, it is worth a try here.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); }
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
-
AGT
- Trader
- Posts: 889
- Joined: Thu Nov 17, 2011 7:20 pm
- Location: Germany
Re: Multi_Stoch_Rsi_Trader
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 
AGT's EA portfolio: http://www.stevehopwoodforex.com/phpBB3 ... =36&t=1374