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

Re: [amibroker] Re: simple doubt



PureBytes Links

Trading Reference Links

Try this

cond1=H < Ref(LLV( High, 6 ),-1);

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


> 
> Ah, That's true! 
> So, how could be the code for the condition "if the today's high is
> lower than lowest high of the last 6 bars"?
> 
> Very smart, thanks very much!
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@xxx> wrote:
>>
>> 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@xxx>
>> 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
> 
> 
> 


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/