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

Multi_Stoch_Rsi_Trader
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=945
Page 2 of 16
Author:  SteveHopwood [ Sun Nov 11, 2012 6:25 pm ]
Post subject:  Re: Multi_Stoch_Rsi_Trader_V1.03

Colt45 wrote:How difficult would it be to code an adaptive tp and sl into the ea? :P
The code is in here Andy; feel free to pinch and adapt it.

:D
Author:  MrLong [ Sun Nov 11, 2012 6:33 pm ]
Post subject:  Re: Multi_Stoch_Rsi_Trader_V1.03

SteveHopwood wrote:
Colt45 wrote:How difficult would it be to code an adaptive tp and sl into the ea? :P
The code is in here Andy; feel free to pinch and adapt it.

:D
Thanks Steve.
Author:  MrLong [ Sun Nov 11, 2012 9:57 pm ]
Post subject:  Re: Multi_Stoch_Rsi_Trader_V1.03

Colt45 wrote:How difficult would it be to code an adaptive tp and sl into the ea? :P
I've added it now, but will test tomorrow.

Andy
Author:  Colt45 [ Sun Nov 11, 2012 11:21 pm ]
Post subject:  Re: Multi_Stoch_Rsi_Trader_V1.03

MrLong wrote:
Colt45 wrote:How difficult would it be to code an adaptive tp and sl into the ea? :P
I've added it now, but will test tomorrow.

Andy
Thank you very much!! :D
Author:  acostafulano [ Mon Nov 12, 2012 12:24 am ]
Post subject:  Re: Multi_Stoch_Rsi_Trader_V1.03

Hello Mr. Long

I think this has been discussed before but don't have it very clear.

Does the EA treat the trades as a basket, or does it enters/exits trades individually?

I mean, the TP and SL factors affect each trade individually, but will the trades close when each of them hit their respective TP/SL, or does it take it into consideration for the basket's closure calculations?

Thanks a lot for the clarification, will start testing today

Diego
Author:  MrLong [ Mon Nov 12, 2012 7:39 am ]
Post subject:  Re: Multi_Stoch_Rsi_Trader_V1.03

acostafulano wrote:Hello Mr. Long

I think this has been discussed before but don't have it very clear.

Does the EA treat the trades as a basket, or does it enters/exits trades individually?

I mean, the TP and SL factors affect each trade individually, but will the trades close when each of them hit their respective TP/SL, or does it take it into consideration for the basket's closure calculations?

Thanks a lot for the clarification, will start testing today

Diego
Hello,

Does the EA treat the trades as a basket, or does it enters/exits trades individually? <=== if the extern int BasketPipsProfit = 0;, is set higher than zero, or extern int BasketPipsStopLoss = 0; is set above zero, the EA will use these settings as TP/SL.

If they are set at zero, then TP/SL will be calculated :
extern double TakeProfitFactor = 0.61; //this is the multiple of the Avg TPtimeframe Range used to calculate TP / Basket TP takes preference if it is above 0
extern double StopLossFactor = 0.50; //this is the multiple of the Avg TPtimeframe Range used to calculate SL /Basket SL takes preference if it is below -0.

So if the average movement of a pair in the last 200 bars is 100 pips in whatever timefame is set in the TPtimeframe setting, the TP would be 61 pips, lower TPtimeframe will have a lower TP/SL.

Basket wise, at the minute, it does not wait for a specific amout of trades before sending the orders.

Andy
Author:  paul821c [ Mon Nov 12, 2012 2:13 pm ]
Post subject:  Re: Multi_Stoch_Rsi_Trader_V1.03

Hello,
I downloaded the newer version. Question if I'm trading it on the 15 minute chart do I set the TPtimeframe option to 15 or leave it at 1440?
Thanks,
Paul
Author:  MrLong [ Mon Nov 12, 2012 2:27 pm ]
Post subject:  Re: Multi_Stoch_Rsi_Trader_V1.03

paul821c wrote:Hello,
I downloaded the newer version. Question if I'm trading it on the 15 minute chart do I set the TPtimeframe option to 15 or leave it at 1440?
Thanks,
Paul
Hi Paul,

If you set the TPtimeframe option to 15, the takeprofit/stoploss will be reduced to the average movement of a M15 bar, so it would be very small.

I found the best setting for testing was 1440, but the stop will be 50% of the average daily range.

I found using the basket TP/SL worked excellent in testing.

Andy
Author:  paul821c [ Mon Nov 12, 2012 2:36 pm ]
Post subject:  Re: Multi_Stoch_Rsi_Trader_V1.03

Thanks Mr. Long
Also do you have a listing of what you set your options at?
Thanks,
Paul
Author:  snowy [ Mon Nov 12, 2012 3:49 pm ]
Post subject:  Re: Multi_Stoch_Rsi_Trader_V1.03

hi andy,

thanks for your great and well documented EA. i test it since last week on demo with basket management:
Image

in this account i trade stoch and rsi on 2 different charts.

looks promising so far. sadly the ea "lost control" over a basket last week. the floating profit was > +200 euro, but it didn't lock in the profit. at this time the colored buttons and the display info about locked pips etc. were disappeared. i closed the trades later manually with a small profit. if this wouln't have been happened, then the balance today would have been much higher. on this account is the version 1.01 running. i will put the newest version online as soon as the current basket is closed.

which changes did you do in the new version?
All times are UTC Page 2 of 16