Not logged in
Viewing 2 posts - 1 through 2 (of 2 total)
  • #111279 |
    Participant
    6 Posts

    I like to trade these manually – but hate getting up early to do it

     

    So I thought my first EA I try to code here will be this

     

    And I failed at the starting gate!!

     

    :)

     

    The strategy is simple

     

    Have the EA check the value of Close on Friday night – check the value of the Open on Monday morning.  Subtract the Market Close from Market Open

     

    If there is a negative difference – take a SHORT with a TP of the difference between the values and if positive a LONG with a TP of the difference

     

    SL a fixed amount

     

     

    I cant see how I calculate the difference of specific bars.

     

    Any assistance is appreciated

     

    Cheers

     

    N

    #121932
    Mark Fric
    Administrator
    1182 Posts

    Hi,

     

    it is relatively simple, you can use function Subtraction to find difference of Monday open and previous close.

     

    I made a simple version of this strategy, I’m attaching it here.

     

    Mark

    Attachments in this forum are visible only for registered users.

    Mark
    StrategyQuant architect

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.