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

Coin-Flip EA v2.0
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3765
Page 7 of 19
Author:  acs [ Sat Aug 09, 2014 11:41 am ]
Post subject:  CoinFlip EA update

I have run coin-flip EA v24 on stratagy tester to back test but unable to get any results
no trades are taken
platform is Alpari Empty4 build 670, any one else having problems with back tests ?

acs
Author:  AGT [ Sat Aug 09, 2014 2:23 pm ]
Post subject:  Coin-Flip EA v2.0

That's because we have WE - no market activities, markets are closed. You need a special programm I think ... forgot the name ... to simulate ticks for test trading or so ...
Author:  tex [ Sat Aug 09, 2014 8:12 pm ]
Post subject:  Coin-Flip EA v2.0

AGT that seems to be not the problem, version 22 is doing fine in backtesting....but v24 is not working :youknow:
Author:  acs [ Sat Aug 09, 2014 8:50 pm ]
Post subject:  Coin-Flip EA v2.0

tex » Sat Aug 09, 2014 8:12 pm wrote:AGT that seems to be not the problem, version 22 is doing fine in backtesting....but v24 is not working :youknow:
thank you Tex, I just wanted it confirmed by another user

acs
Author:  xmess7 [ Sun Aug 10, 2014 6:34 am ]
Post subject:  CoinFlip EA update

Kewl, so I can send PMs... awesome.. next time won't delete them LOL..

zhengzuodong » Fri Aug 08, 2014 6:40 pm wrote:
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:  xmess7 [ Sun Aug 10, 2014 6:46 am ]
Post subject:  CoinFlip EA update

I'll look into the simulator portion and see why it is not running.
The essential code that 2.2 has is still there and the only thing that was done is that I added some new inputs.
No changes were made to the basic function stuff. I did a test run on the simulator and at the least the LondonOpen, SLs, TPs, and yesterday's hi and low are recorded properly.. sooo that tells me that I need to check the condition and/or the timing (the candle where stuff happens).

It won't take long... I should have an answer soon....

Peace

acs » Sat Aug 09, 2014 3:41 am wrote:I have run coin-flip EA v24 on stratagy tester to back test but unable to get any results
no trades are taken
platform is Alpari Empty4 build 670, any one else having problems with back tests ?

acs
Author:  xmess7 [ Sun Aug 10, 2014 6:52 am ]
Post subject:  CoinFlip EA update

Yea, I thought about changing the LondonOpenTime to MarketOpenTime ... I'll let the originator decide on that...

LOL I knew it... I was also contemplating having the option to use the TP in combo with the 1/2 ATR SL.
Once I get the sim thing working I'll look into these options.

Man! I forgot about the FRIDAY condition... yep we'll add that as soon as I get the sim thing working....

Never fear... the solution is near! LOL

J
enjoyforex » Fri Aug 08, 2014 7:52 pm wrote:
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:  xmess7 [ Sun Aug 10, 2014 7:21 am ]
Post subject:  CoinFlip EA update

OK guys,, I found the problem with 2.4... I will fix it in a bit.

EDIT: Ok, if anyone read this post, ignore what I said about TimeCurrent() when running in the simulator. I was incorrect and it works fine. BUT, when it comes to the ATR then that is not going to work appropriately.
The reason is cause we are trying to use a DAILY ATR value but we are running the simulator on the 1H TF.

Of course there is a way to solve that. For now I'll leave it as home to the coders that are interested in attacking it. Basically you get the ranger for 14 days in terms of hours. You will have to consider that Friday and Sunday (if broker has a Sunday Candle) the hours will not be 24 but something different.

Ok ... 2.5 coming up in a bit,,, just testing and so far so good. (yes I am using a the sim)

...
J
acs » Sat Aug 09, 2014 3:41 am wrote:I have run coin-flip EA v24 on stratagy tester to back test but unable to get any results
no trades are taken
platform is Alpari Empty4 build 670, any one else having problems with back tests ?

acs
Author:  enjoyforex [ Sun Aug 10, 2014 8:10 am ]
Post subject:  CoinFlip EA update

xmess7 » Sun Aug 10, 2014 6:52 am wrote:Yea, I thought about changing the LondonOpenTime to MarketOpenTime ... I'll let the originator decide on that...

LOL I knew it... I was also contemplating having the option to use the TP in combo with the 1/2 ATR SL.
Once I get the sim thing working I'll look into these options.

Man! I forgot about the FRIDAY condition... yep we'll add that as soon as I get the sim thing working....

Never fear... the solution is near! LOL

J
Hi J, i love your motto :yahoo: Never fear... the solution is near! LOL

j & zhengzuodong , is it possible to make Time set Automatic under the hood ? automatic detect local time dan GMT broker (include daylight saving time), Asian Market open time, European Market open and US market open

and just make optional External setting like this?

UseAsiaMarketOpen : True / False
UseEUMarketOpen : True / False
UseUSMarketOpen : True / False

so no need to setting manually the Time (easy setting) and more easy to explore and backtest :xm:

thank you guys, for the effort :!!:

Best Regard

EF
Author:  xmess7 [ Sun Aug 10, 2014 10:51 am ]
Post subject:  Coin-Flip EA v2.0

Ok 2.5 is ready...

1. It works in the simulator.

2. User now has option to use HardTP in conjunction with a 1/2 ATR SL. Just set HardTP to some value and that will be used whether Use_ATR is true or false. Otherwise leave HardTP at default and SL will be calculated using ATR if Use_ATR is true.

3. Added a "Not Enough Money" feature... Yes, if for whatever reason your account falls to the point of not having enough margin and you are asleep LOL, the EA will show a warning and stop trading.

Ok guys ... go for it... test the heck out of it.

As for the Friday condition, I started to write the code but I'll finish it later. The code is already in the EA, it's commented out. If any coder wants to attack it just remove the comment symbols and make the necessary adjustments.

Anyhow enjoy!!
Peace
J
All times are UTC Page 7 of 19