Hi, Would something like the following be enough?
MondayOpen = ValueWhen(DayOfWeek() == 1, Open); BuyPrice = MondayOpen * 1.5; Buy = Cross(High, BuyPrice); ... I'm not clear on what you mean by "50 points". I have assumed that you meant a 50% move. You can adjust the following to reflect whatever you really meant (e.g. BuyPrice = MondayOpen + 0.5 for a 50 cent move, etc). Why do you care what the time was at Open? Aren't you just interested in taking a position if the price climbs more than "50 points above the weekly Open"? Mike --- In [email protected], "alta hob" <[EMAIL PROTECTED]> wrote: > > Can someone please show how I would buy at 50 points above the open of the > week (London open for example at 07:00) > > I believe this is the starting point > > buyprice = IIF( dayofweek() == 1, > > and says to buy on monday but > > 1. how do I specify 7:00 gmt > > 2. how do I specify to buy 50 points above? > > > thank you for your time. > > AH >
