View Single Post
  #5 (permalink)  
Old 03-02-2007, 04:24 PM
ryanklefas's Avatar
ryanklefas ryanklefas is offline
Senior Member
 
Join Date: Apr 2006
Location: USA
Posts: 439
ryanklefas is on a distinguished road
Further update on MA Cross with profit targets

I've made a number of additions to the EA since my last post:


1) Improved the profit targets; you can now input different lot sizes per target
2) Added a breakeven feature
3) Added the ability to change the MODE of the Moving Average: 0 Simple moving average, 1 Exponential moving average, 2 Smoothed moving average, 3 Linear weighted moving average.
4) The EA now enters a trade on a new candle, not immediately
5) Added an option to have the EA close its orders when the MAs cross again or when trend is over (allowClosing)
6) Added "Anchors" to help the EA decide when the prices are ranging, so as to prevent losses. The Anchor values are the shift periods that the EA will look to to decide if the market has been previously trending and whether or not to enter.


The post contains the latest EA, along with its source. Don't be shy guys! Post and tell me what you think!
Attached Files
File Type: ex4 MA Cross Advanced.ex4 (14.7 KB, 182 views)
File Type: mq4 MA Cross Advanced.mq4 (13.0 KB, 336 views)
__________________
"Don't work harder, work smarter." -- my Java professor

Coder for Hire:
http://www.firecell-fx.com

Last edited by ryanklefas; 03-02-2007 at 04:32 PM.
Reply With Quote