Re: [amibroker] Surrogate price while using indicies

 

Easier is to build buy sell logic which refers to index you like to determine buy and sell signa. You may use "foreign" command to read index. So trade is still on coresponding etf/instrument/security itself but you refer to index by "foreign".
Of course you need to define buy price and sell price to tell back testing engine to calculate the trade profit/loss or you may use buy on close/buy next open strategy

On Mar 1, 2016 5:46 AM, "orionsturtle@gmail.com [amibroker]" <amibroker@yahoogroups.com> wrote:
 

I have a model that generates buy signals based on non-tradable index data. I want the rotational backtest engine to actually buy the corresponding ETF price for the performance report, but I don't know how to tell AmiBroker to trade the surrogate ETF. It keeps buying the non-tradable Index price.


Does anyone have an example of this kind of price swapping?


Thanks for your time!

Mike

__._,_.___

Posted by: "satriyo.pranoto" <satriyo.pranoto@gmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)
**** 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/


.

__,_._,___


EmoticonEmoticon