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

[amibroker] Re: zig zag scanner


  • Date: Wed, 24 Feb 2010 15:26:51 -0000
  • From: "reefbreak_sd" <reefbreak_sd@xxxxxxxxx>
  • Subject: [amibroker] Re: zig zag scanner

PureBytes Links

Trading Reference Links

ZigZag is an indicator that can change its previous values as time goes forward.  

For example, if you code zig(Close, 4) and the market makes a 4.5% move off the previous low as of yesterday zig would indicate a peak yesterday, but after 5 more days of market action it makes ultimately a 6% move, the zig will move its peak forward.  So don't use zig to try and pick market turns.

This can be a further problem if you are backtesting with it, since the backtester has data from the future available to it, so it can look into the future - something that can't be done in the real world.

The main use I've found for ZigZag is to calculate the maximum theoretical gain possible over a time period.  This gain is then compared to the gain achieved by the trading system you are developing so you can see the percent of profits captured.
_________

I printed out the manual at my local Kinko's and read it.   Also you can go to the library of pre-coded indicators and read them - then start making modifications to see how the various afl keywords work.  

ReefBreak

--- In amibroker@xxxxxxxxxxxxxxx, "lukebarker@xxx" <lukebarker@xxx> wrote:
>
> Hi
> I am new to amibroker and AFL code. i require a scan where zig zag high and lows are found, would this work or would it keep returning the same finds day after day as they make higher highs or lower lows, is it possible to scan for say a zig zag retracement where the price has made a higher high, therefore completing the zig zag. 
> 
> Also what is the best way to learn the AFL language? did you all learn through the aFL help guide
> cheers
>




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

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

<*> 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:
    amibroker-digest@xxxxxxxxxxxxxxx 
    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/