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

Re: [amibroker] simple doubt



PureBytes Links

Trading Reference Links

Cond can never be true since you are looking for today's high to be lower 
than the lowest high of last 6 bars. The lowest high value includes today's 
high, so it will not work



----- Original Message ----- 
From: "gonzagags" <gonzabis@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, February 29, 2008 9:58 AM
Subject: [amibroker] simple doubt


> Hello
> I just cannot understand many things
> I've tried this very simple code:
> //---------------------------------------
> cond1=H < LLV( High, 6 );
> cond=Cond1;
> Buy=Ref(Cond, -1);
> BuyPrice=Max (Ref(H,-1),O);
> //---------------------------------------
>
> and there's no buy!
> I try the analysis window, and the system never buy, never sell,.. no
> response
>
> Where could be the problem? in setings, somewhere?
>
> Thanks
>
>
>
>
>
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
> Yahoo! Groups Links
>
>
>



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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

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