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

Re: [amibroker] Programing Help



PureBytes Links

Trading Reference Links

Cordell,

Exploration using daily periodicity.


MonthlyHigh = TimeFrameGetPrice( "H", inMonthly, 0 );

Cond1 = Sum( C < Ref( C, -1 ), 3 ) == 3;
Cond2 = Ref( H, -3 ) == MonthlyHigh;

Filter = Cond1 AND Cond2;
AddColumn( C, "Close ", 1.4 ); 
AddColumn( Ref( H, -3 ), "Ref( H, -3 )", 1.4 );


Regards,
William Peters (AmiBroker Group Moderator)
www.amitools.com




Wednesday, March 16, 2005, 11:35:29 PM, you wrote:
  
c>  How do I progam the following:

c>  Three days ago, the stock made a monthly high. Since then, the stock
c>  has closed lower each day.  

c>  Any help would be appreciated.

c>  Thanks

c>  Cordell




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

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/

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