http://amibroker.com/guide/h_timeframe.html
I hope it helps, paolo --- In [email protected], "Antonio Jordao Jr" <ajor...@...> wrote: > > Hi all, > > I am trying to convert a trading system I used in another tradestation to > Amibroker. > > It is a multiframe system, that uses a higher frame (30min) to allow a lower > frame (5min) to enter the trades. Let's call the higher frame system TRIGGER. > It works like this: the lower frame goes LONG if the higher is NOT SOLD, and > goes SHORT if the long is not BOUGHT. > > The BUY code would be like this: > > BUY=SA(Series,P1,0) > SA(Series,P2,0) And ExitBuy('TRIGGER',Close)=0 > > Is there anyway to code this inside the Amibroker? > > Regards > > Antonio >
