| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Coin-Flip EA v2.0 https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3765 |
Page 1 of 19 |
| Author: | zhengzuodong [ Sat Aug 02, 2014 9:44 am ] |
| Post subject: | Coin-Flip EA v2.0 |
First of all, please forgive my bad English. . . This is my first post,and is to use google translation. Last month, I read the post in forexfactory, The Coin-Flip Theory. http://www.forexfactory.com/showthread.php?t=495083. Before continuing next step, please read the post, and understand the rules of the strategy. I think this strategy has potential, so I took two weeks to write this EA. I would like to share this robot with someone here, and hope to provide constructive comments and publish backtesting results. |
|
| Author: | zhengzuodong [ Sun Aug 03, 2014 1:03 am ] |
| Post subject: | Coin-Flip EA v2.0 |
Rules:(Rule were a little changed to : ahead of one hour, in the closed position and the open orders. Of course, you can easily set the time. you need by adjust the parameters of LondonOpenTime) TimeFrame: H1 London opening: 9:00 (London DST,GMT+1) 1st Candle 9:00-10:00 (At the beginning of the candle we close the trade of yesterday) 2st Candle 10:00-11:00 (At the beginning of the candle we open the new trade) Buy if 1st candle is bullish Sell if 1st candle is bearish the original post Coin-Flip EA v2.0 Parameter Description: extern int LocalGMTOffset = 8; //setting Local Time Zone extern int BrokerGMTOffset = 2; //settine your Broker Time Zone extern string LondonOpenTime = "9:00"; //setting London Session Start Time extern double EquityPercent = 0.2; //Risk of per trade. 50% in the original post extern double HardSL = 45.0; //Stopless. 34pips in the original post extern bool DynamicLots = true; //Automatic calculation lots extern double FixedLots = 0.1; extern int MagicNumber = 777; //+------------------------------------------------------------------------- Good luck to all. Version Update Version Update-- Version Update--- -Updated the version from 2.2 to 2.4 -Added 5 digit broker capability -Added a HardTP input (if set to 0 no TP will be set in order) -Added ATR calculation for SL and TP values (input Use_ATR) -Added TradeCandle input ( default is set to 2nd candle after open, as from original trade instructions) EDIT: -Added an EmergencyStop feature. If an order or placement of TP/SL does not work, EA will immediately stop and close any open trades. A comment will appear indicating this state. -Added SL/TP placement for ECN type broker. Version 2.3 will not work if u are using a ECN type broker. User can now pick which candle after the LondonOpen Candle to trade from. In addition user can pick any Market Open time (Asian, etc ) and place it in the LondonOpenTime input. Just make sure to take into consideration the GMTOffset. --Update to version v2.61 1 adds MinFreeMarginRatio parameters. Default setting is 500%, is used to control large Lots. 2 adds ProfitPercent parameters, when profit is equal to the balance * ProfitPercent, close orders. 3. Modify MagicNumber automatically adapt to eight pairs of major currency pairs, correspond as follows: pairs [8] = {"AUDUSD", "EURUSD", "GBPUSD", "NZDUSD", "USDCAD", "USDCHF", "USDJPY", "EURJPY"}; magic [8] = {111, 222, 333, 444, 555, 666, 777, 888}; The rest of the currency pair is set to 999. 4. adds orders closing and opening time display, and were labeled as "C" and "O" in the candles chart. 5. Some other minor amendments. |
|
| Author: | zhengzuodong [ Sun Aug 03, 2014 5:25 am ] |
| Post subject: | Coin-Flip EA v2.0 |
Hi, Steve, Why would my post here, but not in Automated Trading System? |
|
| Author: | fxozgirl [ Sun Aug 03, 2014 7:57 am ] |
| Post subject: | Coin-Flip EA v2.0 |
Because your first post did not include an Ea but only a link to Forex Factory. I see now you have added the EA to your 2nd post (some time after your first), perhaps Tommaso will move it back for you now. |
|
| Author: | milanese [ Sun Aug 03, 2014 8:32 am ] |
| Post subject: | Coin-Flip EA v2.0 |
done Cheers Tommaso |
|
| Author: | AGT [ Sun Aug 03, 2014 8:51 am ] |
| Post subject: | Coin-Flip EA v2.0 |
@zhengzuodong As I understand this thingy will run fully automatically ? That's the plan ? So switch on a MyFXBook acc + put the link here. Let's see how this baby will do the job in a longer run. :hi: |
|
| Author: | patmontes [ Sun Aug 03, 2014 11:33 am ] |
| Post subject: | Coin-Flip EA v2.0 |
Downloaded and will test it out as well... On the original thread, the methid with with TP SL and ATr seem to be doing really well |
|
| Author: | Kruspe [ Sun Aug 03, 2014 2:39 pm ] |
| Post subject: | Coin-Flip EA v2.0 |
Hi Z, Thx for this EA. I've quickly read the original ff thread and I really like the concept. I'm curious about your EA and looking forward to see a results. Btw is there any reason why you don't share it on ff? Thx, K :hi: |
|
| Author: | Kruspe [ Sun Aug 03, 2014 3:19 pm ] |
| Post subject: | Coin-Flip EA v2.0 |
Btw Z, have you already tried to backtest it, or optimise somehow? Thx |
|
| Author: | AGT [ Sun Aug 03, 2014 3:28 pm ] |
| Post subject: | Coin-Flip EA v2.0 |
I'm curious about the results of this bot, bcz the strategy is pretty simple ... may be to simple ? Usually systems like these didn't gave any satisfying results in a long term run ... :youknow: But who knows ... may be this attempt here will end with better outcome ? |
|
| All times are UTC | Page 1 of 19 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|