- 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.
Intro
I received this pm from spotdespot a couple of weeks ago:
This is what I have coded in Cross Slopey Bob. Take the trade in the direction shown by Bob's trend-detection filter when the primary currency in the pair crosses the CSS value of 0. Close it if there is a recross.spotdespot wrote:Hi Steve,
Just came across an idea for a new toy that I am pretty sure hasn't been done before even though it is very simple.
Simple rules:
I have spent a lot of time working with the CSS and use it daily in my manual trading and it is much misunderstood imo. There have been lots of slopey EA's but none of them have ever done well as the rules for higher timeframes are very different from lower timeframes. Using the +0.8/-0.8 etc is relevant for D1+ but for lower timeframes it doesn't matter - angle or crossing of the slopes is much more relevant than value.
- Bob's 240 LWMA on H4 timeframe dictates the trend.
- We trade whenever the currency slope strength lines cross in agreement with that trend on the timeframe we have chosen.
- Close the trade on a recross.
Anyway - I appreciate you are very busy so no worries if you don't have time or think it's a crap idea. I have attached a couple of M15 screen shots showing the potential trades - the MA shown is effectively the H4 240 LWMA displayed on an M15 chart. I have also attached the version of Baluda's indi that I used, although I am guessing you would just use his library.
In the current naming themes it might work well as Cross Slopey Bob![]()
Cheers,
Dave.
Everything takes place at the close of the candle, so a CSS cross upwards, for example, is: Close(2) < 0; Close(1) > 0.
Other Bob stuff
It is all there along with the usual other stuff, so read the attached user guide for details. You can combine the above with Slope, RSI2 etc. Take your pick. Use different time frames and play to your hearts content. I have included big/round numbers so we can see if they might make a difference; there is no consideration of them in CSB.
What is CurrencySlopeStrength?
CurrencySlopeStrength is the creation of that incomparable coder Baluda. It uses a formula to convert price movement into an indication of strength for each individual currency in the pair.
Take EURUSD as an example:
- EUR > 0 means the currency is gaining strength.
- EUR < 0 means the currency is getting weaker.
Swap a currency going up for the car 'strengthening' or down for the car 'weakening' and you will get the idea.
There is a copy of the indicator attached. You do not need it on your charts as the ea has the code subsumed within itself. You will need to ensure that the relevant inputs are the same if you want CSB and the CSS indi to display the same values. CSB's inputs are explained in the attached shell user guide.
CSB versions from 1f onwards have an additional use for CSS, arising from this PM from Tebis:
There are three inputs that allow us to use this feature:I tested the CrossSlopeyBob and it can only be succesfull on H4. With crosses on a lower TF we get problems in ranging phases. I checked another and better Entry setup.
We use crosses too, we buy strong against weak currency, but for an entry we wait till a Treshold of "0.6" is reached. Green treshold background for buy, maroon background for sells. This could filters out the ranges and false entries. That means that we get enough power for a trade direction with a minimum limit of the treshold for further strength. Even a Pair like EURGBP shows good results. I would do the analysing for using a specific MM and TimeManagement (Tradinghours) for a timeperiod of a month
- MustBeDiverging: this tells CSB not to trade the cross unless one of the currencies is accelerating away from the other. It works independently of the next two inputs.
- These two inputs tell CSB how long he can look back in time to detect a tradable cross, and what is your minimum allowable divergence (remember they are independent of MustBeDiverging):
- MaxBarsBackToCross: this is the furthest back that a cross can be deemed tradable once the divergence between the two currencies meets the minimum threshold. Tebis' reasoning is that they can cross and be diverging, but that divergence may falter and there can be a recross. This input allows the cross time to become established before we enter a trade. The default of 5 is pure guesswork. The currencies must:
- be diverging.
- the divergence must be growing:
- the two 'Difference' readings on the chart are at the close(2) and close(1). Ignore the currency strength values, which are those taken when the cross was detected or CSB had readed the limit of how far back it can look.
- MinimumDivergence: the smallest acceptable divergence you will accept. The default is 0.6. The minimum divergence that CSB will calculate is zero, so use a negative number to disable this feature. Some examples:
- gbp = 0.2; usd = -0.2: divergence is only 0.4, so no trade.
- gbp = 0.2; usd = -0.4: divergence is 0.6, so we can trade.
- MaxBarsBackToCross: this is the furthest back that a cross can be deemed tradable once the divergence between the two currencies meets the minimum threshold. Tebis' reasoning is that they can cross and be diverging, but that divergence may falter and there can be a recross. This input allows the cross time to become established before we enter a trade. The default of 5 is pure guesswork. The currencies must:
This must be the time frame you intend to trade as the EA bases all of its calculations on it. This allows you to change time frames on your chart to view different scenarios without disturbing the bot. The downside of getting this wrong is something you will discover to your cost.
Chart screenshots
The EA can take a picture of your chart when it opens or closes a trade. Use this to post pictures here if you suspect that the EA has not behaved as expected. There is a section of inputs just underneath the minimum pips section, with inputs to turn this featureon/ off and to adjust the height and width of the snap. Files are saved with the name "ChartScreenShot" and the ticket number, when the EA opens or closes a trade. Navigate to the files via File/Open Data Folder/MQL4/Files. Remember to delete these files from time to time to avoid clogging up your disk drive.
Keeping track with iHistory
The attached iHistory indi is the indi I use to keep track of my progress and generate the pictures I post here. Copy it in your platform's Indicators folder. Open a chart you do not trade, add the Blank template to it and drag iHistory onto the chart. It works with the information you have in your History tab. Sometimes it needs reloading before showing any information, especially at the weekends.
In conclusion
No idea if this has any legs. SBB might want treating as a basket; the trades might be best left as individual trades. The default M15 time frame might be rubbish. All you can do is play with it and see what happens. Have fun.
Setting up your charts
Pay a quick visit to http://www.stevehopwoodforex.com/phpBB3 ... =48&t=3860 and download Art's 'Charts Into Alphabetical Order script'. This script will save you hours of faffing around; instructions for use in the post.
Matters of general interest
Go here to download and run the script that will fill your platform's missing chart history: http://www.stevehopwoodforex.com/phpBB3 ... f=15&t=254
Read this post:
http://www.stevehopwoodforex.com/phpBB3 ... p?f=6&t=78 Newbie traders, read this for inspiration and warning. Those of you who have suffered losses, read it for inspiration.
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.stevehopwoodforex.com/phpBB3 ... ?f=15&t=79, at the bottom of the post.
Useful utilities/EA's/scripts
- Multi purpose trade manager: http://www.stevehopwoodforex.com/phpBB3 ... ?f=21&t=64
- Account equity analyser: 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 ... ?f=15&t=79
