| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| 3 Little Pigs System Automation https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3343 |
Page 1 of 14 |
| Author: | milanese [ Tue Dec 24, 2013 1:16 pm ] |
| Post subject: | 3 Little Pigs System Automation |
The EA I coded and all updates, you will always find in third post of this thread.. Cheers Tommaso This was the original request:
|
|
| Author: | milanese [ Tue Dec 24, 2013 1:42 pm ] |
| Post subject: | Re: 3 Little Pigs System Automation |
Hi, I will take a look what I can code Cheers Tommaso |
|
| Author: | milanese [ Tue Dec 24, 2013 3:27 pm ] |
| Post subject: | Re: 3 Little Pigs System Automation |
[mod=] SERIOUS WARNING
Please use it on H4 Chart Cheers Tommaso EA Update from 11 jan,2014 The new version can add aditional trades in trend, if you want. The settings you will find here: AddAdditionalPositionsInTrend=true set this to false if you don't want to stack MaxAdditionalPositions=1 here you set the the max additional trades Update 21 jan, 2015 LatestVersion for the new builds, with some fixes, automatic spread calculation, and better ordersendsecurity, the strategy-parts are the same, so normally the EA should have nearly same results. The seperate stack moving SL function is not anylonger in the code, the EA uses for all trades the same moving SL roules,this should not affect the results. The EA will new show the spread that was actual when the order was opened. The OOTB settings are the same like in the latest official B version. Update 28 feb, 2015 AGT had the idea that function that lets the EA close all open positions if a certain profit reached maybe could give better results. As I lked the idea I embedded this function in the EA and did some cosmetic updates to my latest EA look.. this are the new inputs Code: Select all |
|
| Author: | milanese [ Tue Dec 24, 2013 9:51 pm ] |
| Post subject: | Re: 3 Little Pigs System Automation |
I did some fixing in the closing logic, please all who had downloaded, redownload as it now works as intended( or should Merry Christmas to all Tommaso |
|
| Author: | fxdaytrader [ Wed Dec 25, 2013 7:39 am ] |
| Post subject: | Re: 3 Little Pigs System Automation |
nice job Tommaso Attached one simple template for that system (the h4 (red),d1(orange),w1(white) moving averages are only displayed in that timeframes). I have added a mtf (multitimeframe) moving average so that you have the d1, w1 smas displayed in h4 also. And I am sure somebody wants to backtest the system in craptester. Since it cannot deal with multitimeframe-stuff (as I think), I have added two more mas to the template (must change in the ea also): SMA 126 (which is daily 21 x 6) and sma 1650 (which is weekly 55 x 5 x 6). Adjust the template to fit your needs, see the draft attached edit: Attached milanese's EA with small mod.: made the ma-parameters external (just in case someone likes to play around with the params/craptest the ea), added copyright and changed Code: Select all Code: Select all |
|
| Author: | fxdaytrader [ Wed Dec 25, 2013 8:38 am ] |
| Post subject: | Re: 3 Little Pigs System Automation |
I have changed Code: Select all Code: Select all Code: Select all Code: Select all |
|
| Author: | fxdaytrader [ Wed Dec 25, 2013 9:26 am ] |
| Post subject: | Re: 3 Little Pigs System Automation |
I think a few more, my changes: in datetime TimeElapsedSinceLastOpenTrade(string strSymbol, int nMagic) added Code: Select all In CloseTheTrade( in the check for closing OP_BUY-loop I changed Code: Select all Code: Select all Code: Select all Code: Select all Find the (current) actual mod. version attached. To play around with craptester I have added two bools: extern bool AdjustTfForH4: if true, it will adjust the ma-periods so you can run craptester in H4 timeframe extern bool AdjustTfForH1 = should convert all to h1 (so ma34 is h1, the medium h4, the high-tf d1), just as a pastime. I do not know whether Tommaso will keep that mods. or not, but in the attached version they are implemented. what a day - Markets closed, cannot be bothered to read some books, shit wheather outside and too early to have some drinks - so playing around with mql4 + craptester now ... |
|
| Author: | milanese [ Wed Dec 25, 2013 10:59 am ] |
| Post subject: | Re: 3 Little Pigs System Automation |
Hi Marc, happy christmas Cheers Tommaso |
|
| Author: | milanese [ Wed Dec 25, 2013 11:29 am ] |
| Post subject: | Re: 3 Little Pigs System Automation |
Ok as always in this thread Cheers Tommaso |
|
| Author: | bazze [ Wed Dec 25, 2013 12:32 pm ] |
| Post subject: | Re: 3 Little Pigs System Automation |
Just great,guys |
|
| All times are UTC | Page 1 of 14 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|