jurne Posted January 15, 2011 Report Share Posted January 15, 2011 Hi respectable programmers, I need help to code a simple trade management EA, a dynamic cut loss strategy. Everytime a trade goes against me -20pips it will set the take profit to breakeven. Everytime it moves against me by -30pips it will set the take profit level to -10pips, -40pips it will set the take profit level to -20pips, -50pips it will set the take profit level to -30pips. Or maybe an option whereby we can change the take profit level value. Eg: Under the Variable column its " Trade -20" then we can choose to key in 0 for breakeven or 1 for +1 pip profit at the Value Column. Sometimes i am away from my trading computer, i want to use this EA to cut my losses, not a hard stop but a more dynamic stoploss. Whoever can help me, i will share my 15min trading strategy with him. http://twitpic.com/3q78jt Quote Link to comment Share on other sites More sharing options...
chrisbenjy Posted January 15, 2011 Report Share Posted January 15, 2011 A trailing take profit? What happens if price falls 1000 pips without retracing 20 pips? Quote Link to comment Share on other sites More sharing options...
jurne Posted January 15, 2011 Author Report Share Posted January 15, 2011 If the trade goes above -50pips, the take profit is still -30pips. So if it drops 1000pips, i would either get a margin call or i wait for it to retrace back to -30pips or i would have to close it manually. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.