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

RE: [amibroker] New high questions



PureBytes Links

Trading Reference Links

I think this is what you need: 

TimeFrameSet( inMonthly );
m3high = H == HHV(H, 3);

TimeFrameSet( inWeekly );
w3high = H == HHV(H, 3);

TimeFrameSet( inDaily );
d3high = H == HHV(H, 3);

TimeFrameRestore();

Filter = m3high || w3high || d3high;

AddColumn(m3high,"monthly", 1.0);
AddColumn(w3high,"Weelky", 1.0);
AddColumn(d3high,"Daily", 1.0);


-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Richard
Sent: Friday, September 25, 2009 8:42 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] New high questions

Hello,

I am trying to develop an AFL which will give score value based on price
being at new 3 month high, new 3 week high and new 3 day high.
I tried HHV function but I am not getting a desired result. Has anyone
developed a similar AFL or can give me a hint which is the best function to
check if the current price is at the new (period) high?

Regards
Richard



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

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






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

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