Close on cross
Results 1 to 2 of 2
 0 Attachment(s)    

Thread: Close on cross

  1. #1

    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

    Greetings Dave

  2. #2


    where the EA?

Similar Threads

  1. Close function
    By fxtester in forum MQL programming
    Replies: 0
    Last Post: 08-20-2014, 13:36
  2. MA4 Open Close
    By jobed in forum Ideas for expert advisors
    Replies: 0
    Last Post: 03-19-2014, 17:42
  3. Close all buy and close all sell orders
    By q8m2002 in forum Scripts and other tools
    Replies: 11
    Last Post: 12-01-2012, 03:38

Tags for this Thread

change, manual, simple, trend

Posting Permissions

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

Close on cross