Reply

Trading Weekend Gaps

1 replies

Nufty

Subscriber, bbp_participant, community, 15 replies.

Visit profile

10 years ago #111279

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

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

10 years ago #121932

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

Mark
StrategyQuant architect

0

Viewing 1 replies (of 1 total)