stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Coin-Flip EA v2.0
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3765
Page 6 of 19
Author:  bazze [ Fri Aug 08, 2014 2:48 pm ]
Post subject:  Coin-Flip EA v2.0

Not a good start..... :youknow:
Author:  jiaxingx [ Fri Aug 08, 2014 3:04 pm ]
Post subject:  Coin-Flip EA v2.0

bazze » Fri Aug 08, 2014 2:48 pm wrote:Not a good start..... :youknow:
hi bazze,SL should be 46 pips,not a 46 points.
Author:  patmontes [ Fri Aug 08, 2014 4:26 pm ]
Post subject:  Coin-Flip EA v2.0

So far so good. Keeping TP and SL 34 pips or SL high/low yesterday if smaller
http://www.myfxbook.com/members/patmont ... c8J5zP4Qck
Author:  xmess7 [ Fri Aug 08, 2014 4:38 pm ]
Post subject:  Coin-Flip EA v2.0

zhengzuodong,
Check your PM. You should have the file and information. I added comments into the code, hopefully they will show what is going on. Any questions let me know.

Guys/Gals:
I sent it 1st to zhengzuodong for inital review. So zhengzuodong whenever you are ready we can post for all to use. The version I sent zhengzuodong has the following:

- Added Use_ATR input. if set to true orders will use 1/2 ATR as SL and full ATR as TP.
- Added HardTP. Users can set a TakeProfit. If set to 0 then no TakeProfitis used in order.
- Added 5 digit capability. EA will now work with both 4 and 5 digit brokers
- Added TradeCandle input. User can now specify which candle after the LondonOpen candle will be used for trading. The default is set to 2, this is from the original rules.

In reality you can set the LondonOpenTime to any Market open hour. So what you have is the ability to pick which market to start with and which candle after that open, to trade with. You just need to make sure that the LondonDSTOffset is set properly. This can be updated in a later version of the EA.

Have a great weekend
Author:  xmess7 [ Fri Aug 08, 2014 7:14 pm ]
Post subject:  CoinFlip EA update

Guys:

EDIT: I have removed version 2.3, that version only works with non ECN type broker. If you try to use it on an ECN type broker the orders will not get placed. Posted version 2.4, this will handle both types of brokers. I also added an emergency stop feature. IF for any reason an order is not placed correctly the EA will stop and if any orders are open close them and inform the user.

+---------------------------------------------------------------------
Seems that my PMs are not being sent. So I am posting the updated version. zhengzuodong if the EA is working properly add this version to the 1st page.

Attached is the source code with the following changes:
-Updated the version from 2.2 to 2.3
-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.

I put comments in the code, so hopefully that will help you following along.

Take care and any questions let me know.

Enjoy:
Author:  acs [ Fri Aug 08, 2014 7:37 pm ]
Post subject:  CoinFlip EA update

xmess7 » Fri Aug 08, 2014 7:14 pm wrote:Guys:
Seems that my PMs are not being sent. So I am posting the updated version. zhengzuodong if the EA is working properly add this version to the 1st page.


Take care and any questions let me know.

Enjoy:
Thanks, can now back test over weekend :)

acs.
Author:  xmess7 [ Fri Aug 08, 2014 8:29 pm ]
Post subject:  CoinFlip EA update

See my previous post.. EA has been updated to version 2.4
xmess7 » Fri Aug 08, 2014 11:14 am wrote:Guys:

EDIT: I have removed version 2.3, that version only works with non ECN type broker. If you try to use it on an ECN type broker the orders will not get placed. Posted version 2.4, this will handle both types of brokers. I also added an emergency stop feature. IF for any reason an order is not placed correctly the EA will stop and if any orders are open close them and inform the user.

......
Author:  zhengzuodong [ Sat Aug 09, 2014 2:40 am ]
Post subject:  CoinFlip EA update

xmess7 » Sat Aug 09, 2014 4:29 am wrote:See my previous post.. EA has been updated to version 2.4
xmess7 » Fri Aug 08, 2014 11:14 am wrote:Guys:

EDIT: I have removed version 2.3, that version only works with non ECN type broker. If you try to use it on an ECN type broker the orders will not get placed. Posted version 2.4, this will handle both types of brokers. I also added an emergency stop feature. IF for any reason an order is not placed correctly the EA will stop and if any orders are open close them and inform the user.

......
Xmess7, you are doing great, thank you for your hard work and selfless dedication.

I received your mail, but you have been deleted.

Thank you published here, I will update the first post.
Author:  enjoyforex [ Sat Aug 09, 2014 3:52 am ]
Post subject:  CoinFlip EA update

xmess7 » Fri Aug 08, 2014 7:14 pm wrote:Guys:

EDIT: I have removed version 2.3, that version only works with non ECN type broker. If you try to use it on an ECN type broker the orders will not get placed. Posted version 2.4, this will handle both types of brokers. I also added an emergency stop feature. IF for any reason an order is not placed correctly the EA will stop and if any orders are open close them and inform the user.

+---------------------------------------------------------------------
Seems that my PMs are not being sent. So I am posting the updated version. zhengzuodong if the EA is working properly add this version to the 1st page.

Attached is the source code with the following changes:
-Updated the version from 2.2 to 2.3
-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.

I put comments in the code, so hopefully that will help you following along.

Take care and any questions let me know.

Enjoy:
Thanks for great job jess & zhengzuodong :clap: , we really appreciated ...

Btw I have some ideas to improve the EA,

- Can you make a option to set 1/2 ATR for SL and still using Hard TP to take profit
- Option to Close order 1 hour on Friday before the market close if the order on profit
- Maybe we just change LondonOpenTime to MarketOpenTime to avoid confusion

Cheers

EF
Author:  zhengzuodong [ Sat Aug 09, 2014 4:51 am ]
Post subject:  Coin-Flip EA v2.0

Good idea. Thank EF

Since my programming technology are just a beginner, busy working, especially my English is bad, may not be

completed within a short time.

Therefore, I hope Xmess7 and other programming guru can be completed as soon as possible. . .

We would be grateful。
All times are UTC Page 6 of 19