Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Oops Williams strategy
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=146&t=56178
Page 1 of 1

Author:  Durden [ Wed 24 Jan, 2018, 17:50 ]
Post subject:  Oops Williams strategy

Good evening,
I would like to have a support in building a strategy similar to the Ooops Williams strategy.

Variable
GapDown=Close(1)-Open(0) (if Close(1)>Open(0)) (this variable identify the value of the gap in price)
PercGapDown=GapDown/Open(0) (this variable identify the % of the Gap)

The logic is that if the Gap is large enough (around 0.8%) and it is closed and the price reach a Close(1)+10Tick

if PercGapDown>0.8% AND Close(1)>Open(0) Then Open a Buy Stop at (Close(1)+10Tick)
Set the TProfit when the next bar open price is > 1.01*(Entry)
Set the SL at Low(0)-10*Tick
One of the things I do not know how to solve is that the SL is setted to Low(0) of the currentCandle and the tick price should be less then the low(0).

There is a server error and could not add part of the VJF code

Author:  FXRabbit [ Thu 25 Jan, 2018, 06:05 ]
Post subject:  Re: Oops Williams strategy

Greetings Durden,

If you are unable to upload the VFS file of your strategy, then the next best thing to do is to take screenshots of your strategy file and post them back here.

Author:  Durden [ Thu 25 Jan, 2018, 11:10 ]
Post subject:  Re: Oops Williams strategy

;)

https://www.dropbox.com/s/kfaucosty7eqe ... w.PNG?dl=0

Author:  FXRabbit [ Thu 25 Jan, 2018, 18:19 ]
Post subject:  Re: Oops Williams strategy

Hello again,

If I understand correctly, you want your strategy to close a position when the price ticks below your unassigned StopLoss, which is basically the low of current candle ? If my assumption is correct, then use the "OnTick StartPoint" instead of the "OnCandle StartPoint" to execute such a logic.

Author:  Durden [ Wed 11 Apr, 2018, 12:01 ]
Post subject:  Re: Oops Williams strategy

Could you please post the example in this strategy ?

  Page 1 of 1