PureBytes Links
Trading Reference Links
|
My
brain must be confused but I am having triuble with a simple
concept.
<SPAN
class=484051800-03072004>
I buy
on a day when C, L, H, are aqll below the previous day.
<SPAN
class=484051800-03072004>
I want
to sell when the close is broken but how do I set the stop to
be;
<SPAN
class=484051800-03072004>
a) The
close of the entry day.
<SPAN
class=484051800-03072004>
<SPAN
class=484051800-03072004>
b) The
close of the day before.
<SPAN
class=484051800-03072004>
<SPAN
class=484051800-03072004>
When I
set it to be the close of the day before it either takes the entry day as the
close or when I put in a condiytion it misses the next few
signals.
<SPAN
class=484051800-03072004>
<FONT
size=1>
Entry = C < <FONT
color=#0000ff>Ref(C, -1) AND
H < Ref(H, -<FONT
color=#ff00ff>1) AND L < <FONT
color=#0000ff>Ref(L, -1);
Break_of_Close = Cross(<FONT
color=#0000ff>Ref(C, -1), <FONT
face="Courier New">C);
Buy = Entry;
Sell = Break_of_Close AND <FONT
color=#0000ff>BarsSince(Buy) != <FONT face="Courier New"
color=#ff00ff>0;
Buy = Flip( Buy, Sell );
SellPrice
= C;
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
|