Hello
Sorry I don't have something ready, until some one else reply to you have a look at ....
ED has post something like that and also in the Library I thing function ZigZagHiLo() maybe it is interesting
// Amibroker AFL code, E.M.Pottasch, Oct 2012
// Alternative Zig type function based on ATR and the VSTOP function
// http://www.wisestocktrader.com/indicators/3318-alternative-zig-function
And
//Copyright - "Technical Analysis of Stocks and Commodities", Oct 2004, page 97
// http://www.traders.com/Documentation/FEEDbk_docs/Archive/102004/TradersTips/TradersTips.html#amibroker
Panos
On 28-02-16 1:11 PM, 'B. Pitatzidis' bobptz@gmail.com [amibroker] wrote:
I am trying to create a new version of ZIG, whre the CHANGE variable is based on volatility. Something like this (which obviously does not work):I have seen several people that asked this in the past, but I did not find any solution. Before I go on and write the AFL, does anybody have a ready solution for this?
volatility = 1.5*EMA((H-L)/H, 10);
zz = Zig(C,volatility);
Thanks
__._,_.___
Posted by: Panos Boufardeas <panosbouf@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/
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