+ Reply to Thread
Results 1 to 2 of 2
 0 Attachment(s)    

Thread: Close on cross

  1. #1
    Junior Member
    Join Date
    Jan 2010
    Posts
    4

    Default Close on cross

    The idea is to let the EA close a prior manual opened position on a MA cross. (5M)

    I use a 181 simple ma to determine the trend, or trend change.
    I use a 21 Wilders smoothing ma to keep me in the direction of the trend.

    When the price closes in the opposed of my direction I close the position.
    When I me confident of a strong trend I keep the 181 ma as trend direction: if it closes under the 181 ma, I close my position.

    I want to be able to set the EA on a position I manual opened, so if price breaks the ma the EA closes the position.

    Parameters for the EA:

    M. Number
    Close on ma period: True/ False (181)
    Close on ma period: True/ False (21) (based on my own judgment of the chart I can choose which one I want to follow)
    Close on bar close: True/ False
    Close on bar open: True/ False
    Slippage


    Greetings Dave

  2. #2
    Junior Member
    Join Date
    Apr 2009
    Posts
    3

    Default

    where the EA?

+ Reply to Thread

Similar Threads

  1. Close all buy and close all sell orders
    By q8m2002 in forum Scripts and other tools
    Replies: 8
    Last Post: 12-17-2010, 06:33
  2. Opposite Close
    By maxmiral in forum MQL programming
    Replies: 3
    Last Post: 12-29-2009, 22:08
  3. Close all profitable order
    By fairylord in forum Scripts and other tools
    Replies: 2
    Last Post: 09-22-2009, 18:09
  4. Close Trade
    By abroco in forum Ideas for expert advisors
    Replies: 4
    Last Post: 06-30-2009, 14:39
  5. Close at specyfic time
    By przem81621 in forum MQL programming
    Replies: 5
    Last Post: 05-21-2009, 19:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts