Multi_Stoch_Rsi_Trader

Post Reply
MrLong

Multi_Stoch_Rsi_Trader

Post by MrLong »

  • SERIOUS WARNING
  • Most Forex traders lose all their money.
  • Using the robot posted here in trading Forex does not guarantee success.
  • Trading this robot could lead to serious financial loss.
  • Trading this robot without understanding its underlying trading strategies guarantees traders will lose their money.
  • This is not a set-and-forget ea; there is no such thing and anyone who tries to claim there is, is either stupid or lying. This ea requires frequent manual intervention.
  • At best, a trading robot is only 90% as good as the manual strategy it trades. At best. At worst, it can be much less effective. If the strategy is rubbish, so is the robot.
  • To trade this robot, you have to understand:
    • How to use EA's. Remember to set CriminalIsECN to 'true' if your crim insists on two-stage order sending.
Trading method

M15 timeframe.
buy when Stochastic or RSi has left over sold, into the main trend
sell when Stochastic or RSI has left over bought, into the main trend.

There are three options:

extern bool TradeStoch =true; <== trade the stochastic.
extern bool TradeRsi = false; <== trade the Rsi.
extern int TradeTimeFrame=15; <== timeframe to trade.

You also have the option to trade without the trend filter turned on(FollowTrend).

D1 timeframe.

Best to trade with FollowTrend switched off.

I have found M15 and D1, the only timeframes that work so far, so we can keep testing.

Updates


version 1.06:

Will only manage trades owned by this EA.

Added: Profit lock, so now has the ability to lock in pips at a specific target pips.

Added: UsePartClose, the ability to specify the amount of pips to close half the trade or can be calculated by ADR.

version 1.07:

Fixed, where the EA would take another trade if lot was not the same.

Should work with ECN crims now.

Added, AnotherTM = false;, which turns management off, in order for you to use another management EA.

Added a new partial close function.

Default settings are set for daily trades.
You do not have the required permissions to view the files attached to this post.
Last edited by MrLong on Thu Dec 20, 2012 9:36 am, edited 10 times in total.
jiaxingx
Trader
Posts: 43
Joined: Fri Jun 22, 2012 10:45 am

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by jiaxingx »

thanks,I test v1.01 and have very good result win 8 loss 2,get more 200 pips !

hope v1.03 more goodness! :D
Image
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 »

Looking forward to your developments Andy. Thanks for posting this.

:D
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.
User avatar
cuzgeorge
Trader
Posts: 674
Joined: Mon Mar 05, 2012 10:10 am
Location: Johannesburg, South Africa.

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by cuzgeorge »

Andrew,
i seriously enjoyed reading through your code. Thank you for the EA and the detailed notes along the way. I really like this one with it's familiar look.

I noticed several 'snippets' that i often call on silently when reading through EA's and paragraph after paragraph, they kept coming up. Well done on your compilation and hope to test this EA silly.

One question which might be crap, with regards to the GV's, will the positions be closed and cleared from the global varianbles column, or is this something we have to test/monitor.? I cant 'follow' in the code what happens.

Your clever buttons are reasonable and practical when trading EA's, as i always find what Steve has always said about never been able to leave an EA completely on its own. Your scripts are very intelligently worked-in. Really neat. Does one just click on them on the chart for them to execute?

Another question, if both Stoch and Rsi are 'true' , will they both filter trades?

i also cant figure out what or how to input the following params, please can you advise as i feel they are very necessary and a welcome add-on, like $ value, EG- $100, or 100.00 or 100.; or in pips; Sorry if this has been answered in other threads, i cant seem to find something along these lines.

Code: Select all

extern double InitialDeposit    = 0; //Set InitialDeposit to protect or AccountEquity to protect, 0 will disable
extern double Required.Profit    = 0; //Set Required.Profit
extern double EachTradeRequired.Profit    = 0; //Close a specific trade if it hit this amount, 0 will disable
Thanking you,
cuz

ps: The demo'S for this EA will be set up by tomorrow, and links added to the demo list. I will not be testing OOTB and will follow results from others here.
You do not have the required permissions to view the files attached to this post.
10.X, BMac,Xmeter,Marylin,and CaptsNakedTrading thread coupled with Slowkeys Intraday setup for manual trades.
http://www.stevehopwoodforex.com/phpBB3 ... f=36&t=848
User avatar
Aussiedoc
Trader
Posts: 270
Joined: Tue Dec 13, 2011 8:10 am
Location: Western District. Victoria. Australia

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by Aussiedoc »

MrLong wrote: You also have the option to trade without the trend filter turned on(FollowTrend).
D1 timeframe.
Best to trade with FollowTrend switched off.
I have found M15 and D1, the only timeframes that work so far, so we can keep testing.
I'll update this page more later.
Andy, luv V1.01! Thanks! ;-)

Have just downloaded and installed V1.03 onto D1 chart.

Probably me being 'dog-tired' and can't see for looking.
Re FollowTrend above... Unable to find (FollowTrend) switch or variation in Properties or code.

Pls advise.

Thanks Mate.

Cheers. :D
If you can never exceed your own expectations - why expect second-best?
MrLong

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by MrLong »

Aussiedoc wrote:
MrLong wrote: You also have the option to trade without the trend filter turned on(FollowTrend).
D1 timeframe.
Best to trade with FollowTrend switched off.
I have found M15 and D1, the only timeframes that work so far, so we can keep testing.
I'll update this page more later.
Andy, luv V1.01! Thanks! ;-)

Have just downloaded and installed V1.03 onto D1 chart.

Probably me being 'dog-tired' and can't see for looking.
Re FollowTrend above... Unable to find (FollowTrend) switch or variation in Properties or code.

Pls advise.

Thanks Mate.

Cheers. :D
Hi,

Switch is here:

extern bool FollowTrend= true;// set to trade with the trend, but doubt it will work with daily.

Andy
User avatar
Aussiedoc
Trader
Posts: 270
Joined: Tue Dec 13, 2011 8:10 am
Location: Western District. Victoria. Australia

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by Aussiedoc »

Thanks mate!

I'll have a crack at it tomorrow.

Cheers ;-)
If you can never exceed your own expectations - why expect second-best?
MrLong

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by MrLong »

cuzgeorge wrote:Andrew,
i seriously enjoyed reading through your code. Thank you for the EA and the detailed notes along the way. I really like this one with it's familiar look.

I noticed several 'snippets' that i often call on silently when reading through EA's and paragraph after paragraph, they kept coming up. Well done on your compilation and hope to test this EA silly.

One question which might be crap, with regards to the GV's, will the positions be closed and cleared from the global varianbles column, or is this something we have to test/monitor.? I cant 'follow' in the code what happens.

Your clever buttons are reasonable and practical when trading EA's, as i always find what Steve has always said about never been able to leave an EA completely on its own. Your scripts are very intelligently worked-in. Really neat. Does one just click on them on the chart for them to execute?

Another question, if both Stoch and Rsi are 'true' , will they both filter trades?

i also cant figure out what or how to input the following params, please can you advise as i feel they are very necessary and a welcome add-on, like $ value, EG- $100, or 100.00 or 100.; or in pips; Sorry if this has been answered in other threads, i cant seem to find something along these lines.

Code: Select all

extern double InitialDeposit    = 0; //Set InitialDeposit to protect or AccountEquity to protect, 0 will disable
extern double Required.Profit    = 0; //Set Required.Profit
extern double EachTradeRequired.Profit    = 0; //Close a specific trade if it hit this amount, 0 will disable
Thanking you,
cuz

ps: The demo'S for this EA will be set up by tomorrow, and links added to the demo list. I will not be testing OOTB and will follow results from others here.
Hi Cuz,

Your clever buttons are reasonable and practical when trading EA's, as i always find what Steve has always said about never been able to leave an EA completely on its own. Your scripts are very intelligently worked-in. Really neat. Does one just click on them on the chart for them to execute? <== Click on the label and drag it, you will get a confirmation message box, click ok.

Another question, if both Stoch and Rsi are 'true' , will they both filter trades? <== Only one at a time, if you select both, the EA will default to trade the stochastic, you can put the EA on another chart and trade the RSI, just make sure you change the magic number, if you use the same platform.

extern double InitialDeposit = 4500; <== 0 disables can be any amount, I just used the wrong name, I added this when I was a few hundred up and wanted to protect my deposit, but you can set it to any amount you would like to protect, when this amount is hit, all trades will be closed.

extern double Required.Profit = 234; <== 0 disables, all trades will be closed when all running trades hit this amount.

extern double EachTradeRequired.Profit = 85; <== 0 disables, if a single trade gets to this amount, the trade will be closed.

Andy
User avatar
cuzgeorge
Trader
Posts: 674
Joined: Mon Mar 05, 2012 10:10 am
Location: Johannesburg, South Africa.

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by cuzgeorge »

Thank you Andy,
will adjust and get ready for opening.
cuz
10.X, BMac,Xmeter,Marylin,and CaptsNakedTrading thread coupled with Slowkeys Intraday setup for manual trades.
http://www.stevehopwoodforex.com/phpBB3 ... f=36&t=848
Colt45
Posts: 5
Joined: Thu May 24, 2012 4:25 pm

Re: Multi_Stoch_Rsi_Trader_V1.03

Post by Colt45 »

How difficult would it be to code an adaptive tp and sl into the ea? :P
Post Reply

Return to “Automated trading systems”