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

[amibroker] Re: coding a rule for break of the high of tyhe last up day.......



PureBytes Links

Trading Reference Links

Thanks so much, I'll try this out.

Cheers,
Rich


--- In amibroker@xxxxxxxxxxxxxxx, "Edward Pottasch" <empottasch@xxx> 
wrote:
>
> fox,
> 
> valueSignificantDay = ValueWhen(C > O,C,1);
> 
> Buy = H > Ref(valueSignificantDay,-1);
> BuyPrice = Max(O,Ref(valueSignificantDay,-1));
> 
> 
> regards, ed
> 
> 
> 
>   ----- Original Message ----- 
>   From: foxblade2000invest 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Tuesday, February 24, 2009 10:28 AM
>   Subject: [amibroker] coding a rule for break of the high of tyhe 
last up day.......
> 
> 
>   Can anyone help me with this......
> 
>   I want to add a rule to a trading system where the high of today 
is 
>   higher
>   than the close of the last "significant day". A significant day 
is 
>   just a
>   day when the close is greater than the open, but that may have 
been 
>   any time
>   in the last several days.
> 
>   Any suggestions appreciated, can anyopne help?
> 
>   Cheers,
>   Rich
>




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

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