| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| ChangeTheColor EA https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=221 |
Page 2 of 24 |
| Author: | pipcruiser [ Wed Jan 11, 2012 6:07 pm ] |
| Post subject: | Re: ChangeTheColor EA |
Testing away live on 1 min charts... See attatched, I thought the EA would close long and fire off a short trade? Thx for any help BR PC |
|
| Author: | magft [ Wed Jan 11, 2012 6:12 pm ] |
| Post subject: | Re: ChangeTheColor EA |
Just to check, you have set RiskPercent = 2, UseMartingale = false and UseShakeRecovery = false? As RiskPercent only works if the other two are false! Hope this helps. Mike |
|
| Author: | pipcruiser [ Wed Jan 11, 2012 6:14 pm ] |
| Post subject: | Re: ChangeTheColor EA |
Sorry one more confusion, trend i sup, up but shows left side up, down? Thx PC |
|
| Author: | magft [ Wed Jan 11, 2012 6:17 pm ] |
| Post subject: | Re: ChangeTheColor EA |
Based on those settings yes it should. If that is the trade below the chart the other point is no SL set, check the experts tab for any errors as well as something looks a miss. Mike |
|
| Author: | magft [ Wed Jan 11, 2012 6:19 pm ] |
| Post subject: | Re: ChangeTheColor EA |
All good points! If you set UseTradeOnCurrentCandle=false then the values are correct as they are based on closed candles. If it is set to true then something i not right. I'll do some checking on M1 charts. What broker are you using? Mike |
|
| Author: | Bunker [ Wed Jan 11, 2012 7:50 pm ] |
| Post subject: | Re: ChangeTheColor EA |
Thanks Mike. I think you nail it on the head with the leverage thingny. I will send you the detailed report on Friday. This is ironic (and probably a crazy SL strategy) but my margin call keeps my lost to a minimal Rob, I'm using H1tf (however, I think the EA is hardcoded for D1 (1440). I use it on 26 pairs, but like Mike said, only 1 trade is taken at a time. Thanks for everything guys. I wish I had your coding skills. I could contribute a little bit more! Bunker |
|
| Author: | magft [ Wed Jan 11, 2012 8:50 pm ] |
| Post subject: | Re: ChangeTheColor EA |
Bunker, all tf values are set to 0 by default so works on current tf but you have the flexibility to let the indicators work in another tf. It should work on multiple pairs as it checks for magicnumber and symbol but only allows 1 trade per pair. If it wont let another trade then you can change the magic number for each version to get round this. Hope this helps Mike |
|
| Author: | pipcruiser [ Wed Jan 11, 2012 9:07 pm ] |
| Post subject: | Re: ChangeTheColor EA |
I have a request for a function in the EA: Daily Pips : 30 (adjustable) So if the EA net produced 30 pips in total, it stops trading untill next day. Possible? Thx PC |
|
| Author: | gaheitman [ Wed Jan 11, 2012 9:20 pm ] |
| Post subject: | Re: ChangeTheColor EA |
Mike, This is easy enough to add, but it you want to use the DoneForTheDay() code, let me know and I'll answer any questions you have. George |
|
| Author: | pipcruiser [ Wed Jan 11, 2012 9:52 pm ] |
| Post subject: | Re: ChangeTheColor EA |
Sorry for all my posts! Take profit function seems not to work, SL works fine, i tested with SL 20 and TP 20, only the stops got hit! Cheers PC |
|
| All times are UTC | Page 2 of 24 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|