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

[amibroker] Sell trigger



PureBytes Links

Trading Reference Links

Hello

Can anyone offer some help please...

I want my trades to exit if the sell condition below is met:

Sell= C < Ref(LLV(C,2),-1);

What it is supposed to do is exit a trade if the closing price is lower for
2 consecutive days...the 2 is a variable I want to test....

My other effort at this formula is below:

Sell =  (Ref(C,-1)>Ref(LLV(L,2),-2) AND C < Ref(LLV(L,2),-1));

The problem is that firstly I dont understand the difference between the 2
formula, and also even though they appear to plot correctly I cant be sure
they are robust..

Thanks in advance

Steve Carlsson
Home and Property Maintenance
12 WInsham Rd
KARRINYUP WA 6018
0432990469


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/