Hi,

Please note this is off message board.

Did you get any suggestions?
 
Below is what I do for 10 beta stocks to take the open of the trading day
and run some averages on 10 stocks and then compare to the index. Perhaps
you could use some part of it. Have not traded ETF's but would like to help
on this to learn more. 

We might have to look at timeframe set or foreign, depends on what type of
charts you are using, 1 minute, range, tick. Need a little more info? What
is the diff between the ETF and future price? Same or always, x number
points off or???

Anyway

Regards,

JG


 

SetForeign( "AApl-ISLAND", True );
AAPLOpen = TimeFrameGetPrice( "O", inDaily, 1 );
AAPLClose = Foreign( "AApl-ISLAND", "close", 1 );
AAPLChange =  AAPLClose - AAPLOpen;
AAPLPerCentChange = ( AAPLChange / AAPLOpen ) ;

RestorePriceArrays();

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of analyticalgnome
Sent: Saturday, August 07, 2010 2:23 PM
To: [email protected]
Subject: [amibroker] Daily ETF charts not accurate vs 24 hrs futures charts
they are based on

After using Amibroker for 1.5 yrs, and trading bull and bear crude oil ETFs
for 1 yr, I've realized a huge problem. The crude oil futures the ETFs are
based on trade 24 hrs a day and so these charts have accurate nice smooth
indicator readings which you can make trading decisions on. But the EFTs
however can have huge gap ups and downs in the morning.

This results in the ETF longer term indicators not being useful for a time
after opening. For example after certain long weekends it takes up to 4 days
for the 15 min 192 moving average to become accurate. 

One idea around bad ETF charts is to have Amibroker convert 24 hr futures
data into ETF prices. I've studies the AFL reference guide but can't figure
out how to convert price data and then plot price bars for 2x bull and bear
ETFs. Anyone know how? Or have any other ideas about the above dilemma?



------------------------------------

**** 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/

Yahoo! Groups Links




Reply via email to