Hi, It's not mine. I dupplicate an answer from Ed Pottasch.
I will appreciate if a basic help for beginner could discreetly find a place in the forum. It's the job of beginners to answer... to beginners ! Best Regards --- In [email protected], "electricwally77" <[EMAIL PROTECTED]> wrote: > > Hi Reinsley.. > > Thanks for the code. It worked well. As a humble beginner I appreciate > the help. I am dissecting the code and studying why it worked and to > better understand. > > I'm getting there. > > Thanks again. > > --- In [email protected], "reinsley" <reinsley@> wrote: > > > > > > Buy = Cross(C,MA(C,30)); > > Buy = Ref(Buy,-1); BuyPrice = Open; > > > > > > Best Regards > > > > --- In [email protected], "electricwally77" <soundmaker@> > > wrote: > > > > > > Looking to understand how to tell the AFL wizard to "Enter Long THE > > > NEXT DAY at the open" when the 30 day SMA closed less than the close > > > (the day before) > > > > > > In other words, I'm assuming this code tells the system to enter long: > > > > > > Enter Long when > > > MA(Close,30) < Close) > > > > > > Does this mean the system is entering long at the close of the > same day? > > > > > > I'm trying to write a system the uses the same basic formula except > > > that the system enters long at the open THE NEXT DAY based on the what > > > the formula did the day before (at the close). > > > > > > Thank you > > > > > >
