Re: [amibroker] multi timeframe backtest

 

Hello,

Thank you very much for your e-mail.

You could use
TimeFrameGetPrice
http://www.amibroker.com/guide/afl/timeframegetprice.html

ph = TimeFrameGetPrice( "H", inHourly, -1 );

Buy = Cross( C, ph );

Best regards,
Tomasz Janeczko
amibroker.com

On 2016-04-12 05:45, cam_111000@yahoo.com.au [amibroker] wrote:

Hello,


Can someone assist me with this please? 


Backtest on 5 min timeframe.


(1)- reference the previous 1hr candle and find the high

(2) - buy when the 5 min bar closes above (1)


Thanks.

__._,_.___

Posted by: Tomasz Janeczko <groups@amibroker.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


.

__,_._,___

Related Posts


EmoticonEmoticon

:)
:(
=(
^_^
:D
=D
=)D
|o|
@@,
;)
:-bd
:-d
:p
:ng
:lv