Thread: Ema Cross!
View Single Post
  #109 (permalink)  
Old 02-15-2006, 10:46 PM
gkozlyk's Avatar
gkozlyk gkozlyk is offline
Senior Member
 
Join Date: Feb 2006
Posts: 203
gkozlyk is on a distinguished road
Here is yet another modification of the code from yesterday. What i did is took my last mod to the next level.

1. Incorporated a generated magicnumber for each pair and timeframe so as to keep track of trades but have them unique from each other.
2. Setup a preset so that for certain pairs, you can preset individual variable settings for a specific pair/timeframe. I wanted to put this in as if you turn on the EA and forgot to make a frequent change (as most pairs have a unique sweetspot for each timeframe), it is already there. Pairs not having a preset will use the external defaults.
3. In the preset area, you can even select what type of trade to do between crosses, a pro-trend or counter-trend, specifically for that cross. This seems abit more advance as one needs to know when to use that or not. The default and pairs are set for true (countertrend).

Note: the presets are more/less random at this point. I haven't used / tested this enough on 5 minutes to have ideals to use.

Comments?

Graham
Attached Files
File Type: mq4 EMA_CROSS_Feb15.mq4 (10.9 KB, 307 views)

Last edited by gkozlyk; 02-15-2006 at 10:53 PM.
Reply With Quote