Multi_Stoch_Rsi_Trader

Post Reply
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by SteveHopwood »

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
You do not have the required permissions to view the files attached to this post.
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
MrLong

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by MrLong »

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

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by MrLong »

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
Colt45
Posts: 5
Joined: Thu May 24, 2012 4:25 pm

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by Colt45 »

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
acostafulano
Trader
Posts: 243
Joined: Tue Dec 06, 2011 3:40 pm

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by acostafulano »

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
MrLong

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by MrLong »

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
paul821c
Trader
Posts: 18
Joined: Fri Oct 19, 2012 11:52 am

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by paul821c »

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
MrLong

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by MrLong »

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
paul821c
Trader
Posts: 18
Joined: Fri Oct 19, 2012 11:52 am

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by paul821c »

Thanks Mr. Long
Also do you have a listing of what you set your options at?
Thanks,
Paul
User avatar
snowy
Trader
Posts: 37
Joined: Mon Feb 20, 2012 11:58 pm

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by snowy »

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

Return to “Automated trading systems”