----- Original Message -----
Sent: Sunday, February 14, 2010 4:50
PM
Subject: Re: [amibroker] Multiple time
frames
That is ok for me.
My concerns are on how to tell the low frame to buy
when the high frame is not sold and how to tell it to sell when the other is
not bought.
Regards
Antonio
Sent: Sunday, February 14, 2010 7:14 PM
Subject: Re: [amibroker] Multiple time frames
You can create indicators in any time frame and make
decisions based on those.
See TimeFrameSet() function
----- Original Message -----
Sent: Sunday, February 14, 2010 12:37
PM
Subject: [amibroker] Multiple time
frames
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