Coin-Flip EA v2.0
-
bazze
Coin-Flip EA v2.0
Not a good start..... :youknow:
You do not have the required permissions to view the files attached to this post.
-
jiaxingx
- Trader
- Posts: 43
- Joined: Fri Jun 22, 2012 10:45 am
Coin-Flip EA v2.0
hi bazze,SL should be 46 pips,not a 46 points.bazze » Fri Aug 08, 2014 2:48 pm wrote:Not a good start..... :youknow:
- patmontes
- Trader
- Posts: 367
- Joined: Wed Apr 23, 2014 10:42 pm
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
http://www.myfxbook.com/members/patmont ... c8J5zP4Qck
-
xmess7
- Trader
- Posts: 32
- Joined: Mon Oct 15, 2012 6:51 pm
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
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
Jess
xmess777@yahoo.com
xmess777@yahoo.com
-
xmess7
- Trader
- Posts: 32
- Joined: Mon Oct 15, 2012 6:51 pm
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:
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:
You do not have the required permissions to view the files attached to this post.
Last edited by xmess7 on Fri Aug 08, 2014 8:32 pm, edited 4 times in total.
Jess
xmess777@yahoo.com
xmess777@yahoo.com
-
acs
- Trader
- Posts: 49
- Joined: Thu Aug 07, 2014 9:26 pm
CoinFlip EA update
Thanks, can now back test over weekendxmess7 » 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:
acs.
-
xmess7
- Trader
- Posts: 32
- Joined: Mon Oct 15, 2012 6:51 pm
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.
......
Jess
xmess777@yahoo.com
xmess777@yahoo.com
-
zhengzuodong
- Trader
- Posts: 59
- Joined: Sat Aug 02, 2014 8:38 am
CoinFlip EA update
Xmess7, you are doing great, thank you for your hard work and selfless dedication.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.
......
I received your mail, but you have been deleted.
Thank you published here, I will update the first post.
-
enjoyforex
- Trader
- Posts: 13
- Joined: Wed Aug 06, 2014 1:12 am
CoinFlip EA update
Thanks for great job jess & zhengzuodongxmess7 » 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:
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
-
zhengzuodong
- Trader
- Posts: 59
- Joined: Sat Aug 02, 2014 8:38 am
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。
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。
