Sccobs Old Chessnut

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.

Sccobs Old Chessnut

Post by SteveHopwood »

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 tells you there is, is either a liar or an idiot. It should quickly become obvious why manual intervention will be necessary from time to time.
    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: DO NOT TRADE THIS EA ON A LIVE ACCOUNT. IT IS EXPERIMENTAL.

    Ehup all

    I will tidy up this post in the morning. In the meantime, I coded the first part of the EA in a hurry before going out earlier, and the last part under the affluence of incohol. There will be bugs.

    Inputs:
    • Pair1 etc are the four pairs scoobs mentions in his post. The first one is the trigger (EU). Change this at your peril. Pair1 controls everything that happens. I have made these pairs user configurable only because I know what inveterate tinkerers you lot are. Change them and nobody will have any sympathy for your subsequent losses. No need to add pair suffixes - the EA does this for you.
      SellPivotColour is the overbought level colour, signalling sell trades.
      BuyPivotColour is the oversold level colour, signalling sell trades.
      CriminalHasSundayCandle: set this to 'true' if your crim has this. You do not want your Monday trading based on a couple of hours from Sunday night.
The default tp and sl are pure guesses. Use mptm for more detailed management.

As to the other inputs, if you do not understand then find out. I amtoo tired to explain.

Note this: as coded, if the conditions are correct for a trade and there is not already one open, then the EA will send the trade. Therefore, if a trade hits tp/sl and trading conditions are correct, then the EA will replace the trade.

This is a very rough and ready EA. We can refine it further should it prove to have legs.

Put the EA on the chart reflected by Pair1 - by default EU

In conclusion
Sorry about the pished nature of this post.

Have fun.
:D

Matters of general interest

Read this post:
http://www.forexfactory.com/showthread. ... ost4923611 Newbie traders, read this for inspiration and warning. Those of you who have suffered losses, read it for inspiration. There is a thread devoted to Sam's trading method at http://www.forexfactory.com/showthre...25#post5118825

Masterly summary of hedging: http://www.forexfactory.com/showthread. ... ost4977179

EA coding
I receive may requests to code EA's. Traders, if I code your EA for free, then I will share it here. If you want me to code your EA without sharing, then my fee is $100 payable into my paypal account. I explain why at http://www.forexfactory.com/showthread. ... ost4431794, at the bottom of the post.

Useful utilities/EA's/scripts
Matt's chart-population script at http://www.stevehopwoodforex.com/phpBB3 ... 5733#p5733. Use this every time you start a fresh platform.
MaryJane has posted a fabulous utility to allow us to resize EA input windows: http://www.forexfactory.com/showthread.php?t=299017
Multi purpose trade manager: http://www.forexfactory.com/showthread.php?t=89371
Account equity analyser: http://www.forexfactory.com/showthread. ... ost4693716 Also at http://www.forexfactory.com/showthread. ... ost4709098, which includes a template for both USD and the Euro.
Past-trades display indi by squalou; shows a graphical display of the success/failure of trades in your History tab. Breathtaking piece of work. http://www.forexfactory.com/showthread. ... ost3830610
My shell EA – the code I use to produce EA's so quickly. http://www.stevehopwoodforex.com/phpBB3 ... p?f=5&t=15
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.
User avatar
blazko
Trader
Posts: 86
Joined: Thu Dec 01, 2011 10:57 am

Re: Sccobs Old Chessnut

Post by blazko »

Thanks Steve :D
cheers
User avatar
hiredwhip
Trader
Posts: 90
Joined: Tue Nov 15, 2011 7:36 pm
Location: Mountains, East Coast USA

Re: Sccobs Old Chessnut

Post by hiredwhip »

Really like the sound of this one Steve.....And have a lot of respect for Scoobs.....
Second thanks for the e-mail to check up on me.....Nice touch of class......We are gaining on the mess

Have a great week

whip
A rainy day is of enormous value to both the farm and the farmer....Stay Hungry. Stay Foolish....
Beaggarf
Posts: 5
Joined: Sat Dec 03, 2011 10:02 pm

Re: Sccobs Old Chessnut

Post by Beaggarf »

lol, it seems to be one of the easiest systems I have seen but KISS is winning! :-) Thanks to Scoob for the idea and thanks to Steve for the EA!
Regards, Chris.

Forex is a science! I have to learn before I begin to earn.
carolco
Trader
Posts: 37
Joined: Tue Nov 15, 2011 9:50 pm

Re: Sccobs Old Chessnut

Post by carolco »

Thank You Scoob and Steve!
Image
User avatar
alex_forex
Trader
Posts: 438
Joined: Tue Nov 15, 2011 5:46 pm
Location: F R A N C E

Re: Sccobs Old Chessnut

Post by alex_forex »

Thanks guys
More and more fun
Demo is ready
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: Sccobs Old Chessnut

Post by SteveHopwood »

Latest version in post 1.

Shed-loads of bloops came to light as soon as I forced the bot to send trades by manipulating the buy line. All fixed, but others may come to light.

: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.
batemap
Trader
Posts: 20
Joined: Tue Nov 15, 2011 9:17 pm
Location: Melbourne, Australia

Re: Sccobs Old Chessnut

Post by batemap »

SteveHopwood wrote:Latest version in post 1.

Shed-loads of bloops came to light as soon as I forced the bot to send trades by manipulating the buy line. All fixed, but others may come to light.

:D
Hi Steve

I downloaded after you made your bloop fixes, but I'm wondering if there was a problem when you uploaded the latest version? I ask, because I can't see how a trade can be sent with the current code.

Looking at the following for the Short trades. Type OP_SELL is used in the calculation of stop and TP, but type is used for sending the trade, but type has be declared, but no value has been assigned.

take = CalculateTakeProfit(OP_SELL, symbol, price);
SendSingleTrade(symbol, type, TradeComment, Lot, price, stop, take);

The following would be a simple fix: -

SendSingleTrade(symbol, OP_SELL, TradeComment, Lot, price, stop, take);

Cheers

Paul
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: Sccobs Old Chessnut

Post by SteveHopwood »

Nice one Paul. Thanks.

Fix in post 1. Coders, go to void LookForTradingOpportunities() and remove the code line
int type;

Then recompile and the editor will take you to where the changes are needed.

: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.
MichaelM
Trader
Posts: 117
Joined: Sun Dec 04, 2011 11:04 pm

Re: Sccobs Old Chessnut

Post by MichaelM »

Got my first sell basket trades last Friday at 18:30GMT.

Set TP and SL to 0 and going to keep them open and close at 11GMT as scoobs originally intended for this method to work.
Post Reply

Return to “Automated trading systems”