All this is possible using these 3 building blocks:

1.
Reading X/Y pos and mouse clicks:
http://www.amibroker.com/guide/afl/afl_view.php?id=295
http://www.amibroker.com/guide/afl/afl_view.php?id=296
http://www.amibroker.com/guide/afl/afl_view.php?id=297

2.
Converting from var-value to pixel
http://www.amibroker.com/kb/2009/03/30/how-to-convert-from-bar-value-to-pixel-co-ordinates/

3.
Drawing:
http://www.amibroker.com/guide/h_lowlevelgfx.html

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "af_1000000" <af_1000...@yahoo.com>
To: <amibroker@yahoogroups.com>
Sent: Monday, May 18, 2009 10:19 PM
Subject: [amibroker] AFL Studies


>I have tried to re-create some studies created before in other software 
>packages with ease, but it seems that I hit the wall in AB.
>
> Let's start with a very simple, but very powerful.
> 1. Identify 3 swing pivot points A,B,C. B is between A and C.
> 2. Connect A and C and plot a parallel line through B.
> 3. Plot parallel lines to AC in 1.27, 1.68, 2.68, .... distance between AC 
> and parallel line trough B. Lines will be below or 
> above B depending on whether B is above or below AC.
> 4. Connect B and C.
> 5. Plot parallel lines to the right of A in 0.32, 0.5, 0.68, 0.72, 1, 1.28, 
> 1.68, ... distance between A and C.
>
> 6. Watch the market and see what is going to happen. As a matter of fact you 
> can created such a study in the past and verify 
> results.
>
> To accomplish the task three mouse clicks (on A,B,C) and the ability to draw 
> lines are needed. To draw lines is easy in AFL, but 
> to collect A,B,C co-ordinates seems to be impossible. I do not want to use 
> GFX functionality, because the study should still work 
> even though A,B,C are no longer visible on the chart and I do not want to 
> display more bars on the chart to make them visible.
>
> How to do it in AB ? Any constructive help will be appreciated.
>
> And by the way. If collection of mouse clicks can be stored and re-created at 
> any time your imagination is the only limit what you 
> can do with the studies (e.g. crating manual Elliot waves and drawing waves 
> projections,drawing geometric shapes,................, 
> etc).
>
> AF
>
>
>
>
> ------------------------------------
>
> **** 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