| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Slopey MA cross https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=738 |
Page 1 of 3 |
| Author: | SteveHopwood [ Tue Jul 31, 2012 6:10 pm ] |
| Post subject: | Slopey MA cross |
SERIOUS WARNING
DO NOT USE THIS EA ON A LIVE TRADING ACCOUNT. IT IS EXPERIMENTAL. Introduction Here is yet another experiment in using Slope to show the overall trend and using one of the other usual suspects to trigger the trade - in this case a Moving Average cross. The number of possible permutations of MA method/period/applied price etc is colossal. I am demoing a ratio of 1:4 fast ma to slow ma period, starting at FastMaPeriod = 2 and SlowMaPeriod = 8. If this is successful, then great. If not, I shall try 3:12, then 4:16 etc, all on the H1. You guys try different ratios and timeframes. The inputs are the usual suspects; the moving averages are fully configurable. Remember to make your chart mas and ea ma inputs the same when you change either of them. By default, the bot looks for an MA cross only at the start of each new candle. To cut down on cpu use, it also only reads the indicators at the open of each new candle, so the chart display will quickly be out of date. To make the ea look for a cross at every tick, set EveryTickMode to 'true'. Trade exit This is by take profit/stop loss, the usual basic mptm features and a recross of the moving average. The close on recross only activates if the trade is in profit. Slope Guys, you really need to understand what the Slope indi tells you, so do not take this brief summary as The Definitive Statement. Basically, Slope tells us this:
You do not need Slope on your chart or in your indi folder; Baluda sent me the code that brings the calculation 'in-house' a long time ago. Our thanks to Paul for that. In conclusion Usual conclusion. Let's see if this mouse has a decent squeak. Matters of general interest Read this post: http://www.stevehopwoodforex.com/phpBB3 ... p=800#p800 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.stevehopwoodforex.com/phpBB3 ... p=803#p803, 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.stevehopwoodforex.com/phpBB3 ... p=516#p516 Account equity analyser: http://www.forexfactory.com/showthread. ... ost4693716Also 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=803#p803 |
|
| Author: | fxozgirl [ Wed Aug 01, 2012 8:59 am ] |
| Post subject: | Re: Slopey MA cross |
Hey Steve, I'm keen to give this one a try...it is quite similar to some adaptations I made to AussieDoc's Duck n Bob, see my post here http://www.stevehopwoodforex.com/phpBB3 ... 328#p16328 The main difference is that after the cross of the MA, I waited for the candle to close above/below the 3MA, trading on the Daily chart. My close is once there is a close back over the 3MA and I used mptm to set BE at +100 pips and then used JS 50. I've set this EA up on daily charts but will also have a look at other time frames |
|
| Author: | SteveHopwood [ Wed Aug 01, 2012 9:29 am ] |
| Post subject: | Re: Slopey MA cross |
Shelly, your post reminded me to add an every tick mode, so V1a is in post 1. You do not need it but might like the cpu-saving tweak. By default, the bot looks for an MA cross only at the start of each new candle. To cut down on cpu use, it also only reads the indicators at the open of each new candle, so the chart display will quickly be out of date. To make the ea look for a cross at every tick, set EveryTickMode to 'true'. |
|
| Author: | fxozgirl [ Wed Aug 01, 2012 10:00 am ] |
| Post subject: | Re: Slopey MA cross |
Great thanks for adding EveryTickMode, I may demo both true & false versions |
|
| Author: | fino [ Wed Aug 01, 2012 4:03 pm ] |
| Post subject: | Re: Slopey MA cross |
Hello fellow traders, I beg your pardon of my lack of knowledge....but how to set this new toy ? Basically, I didn't understood if the bot requires both the higher and lower TF . Does anybody can help me , attaching an example set ? I would like to test the EA using a 1m TF (I'm mad enough). I'm sorry for this, probably, silly question : maybe this EA is "linked" to another previous one (where all my questions have already been answered ) , if so, please link me to the proper thread. Thanks |
|
| Author: | Sgt.Forex [ Wed Aug 01, 2012 4:20 pm ] |
| Post subject: | Re: Slopey MA cross |
Hi Steve, the risk calulation (lotsize) seems to be not correct. The EA tried to open this odrer: '1234614130': order sell 307.90 GBPNZD opening at 0.00000 sl: 0.00000 tp: 0.00000 failed [Not enough money] 10k Account, risk was at 50%... cheers |
|
| Author: | Alpenkorps [ Wed Aug 01, 2012 5:47 pm ] |
| Post subject: | Re: Slopey MA cross |
Read the first post carefully. it explains everything. You need to properly understand NB 10.2 before you try slope variations, check out the NB section. Anymore newbie questions post in the newbie section before you get SteveHopWooded (Trust me you don't want to). |
|
| Author: | SteveHopwood [ Wed Aug 01, 2012 5:58 pm ] |
| Post subject: | Re: Slopey MA cross |
Sound advice there, fino. I am never desperately impressed by people who do not even read post 1 in one of my threads properly, and have occasionally been known to point this out. |
|
| Author: | fino [ Wed Aug 01, 2012 6:09 pm ] |
| Post subject: | Re: Slopey MA cross |
What else can I say? Thanks for your kind answers. Not a great start for my first post .... OK ... it is better to post in the newbies thread |
|
| Author: | okehiedon [ Thu Aug 02, 2012 11:46 pm ] |
| Post subject: | Re: Slopey MA cross |
Thanks Steve for the Slopey MA Cross. I am fond of MAs. Thinking we could add a martingale option since we have the slope as our filter for the MA crosses. So if price hits our preset sl, slopey could enter the next trade with the marty based lot size. I know someone would give a lecture on the disadvantages of martingale system, but it is worth a try since they trades are not random |
|
| All times are UTC | Page 1 of 3 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|