[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Why do signals change after the bar closes?



PureBytes Links

Trading Reference Links

Thanks for all the replies.

> I haven't personally made use of those indicators. But, the on line 
> help does not indicate them to be forward looking. Are you perhaps 
> using the LastValue function somewhere? Other functionality that 
>can cause future leaks are time frame expansion, and the Zig 
>function. 

I have several LastValue functions in my formual, but none refer to 
the MacD or Stochastic. The refer to buy, sell, short, and cover plus 
some debug code.

>MACD and Stochastics do not look into the future, unless you use 
>them with lower times frames and in certain ways.

I just use them in my 3 bars a day with out anything fancy.

>Both indicators use "Close" value in their calculation. as "Close"
>changes signals change too.

I didn't think that the close would change once the bar closed and a 
new bar opened. Why would the close change if the bar is closed?

>Since you are using real time data, you must be sure to have a large 
>enough array to have at least 1 full day of data, so the data does 
>not drop off at beginning of array.

I have about 9 months of data so I would think that would be enough. 

Thanks again,
Tom







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

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

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

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

For other support material please check also:
http://www.amibroker.com/support.html

*********************************
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/