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

RE: [amibroker] Sell only if Gain > Target Gain.



PureBytes Links

Trading Reference Links



But a Profit stop would overide the sell crossever wouldn't it?
Michael.

At 08:48 AM 11/10/2003 -0400, you wrote:
you
could also use a profit stop, if I'm udnerstanding what you're trying to
do.
 
dave


How does one reference the Opening position price for a long
trade?

I wish to make a sell condition based on the current gain.

ie

Buy=Cross(MA(C,2),MA(C,24));

cond1 =
Cross(MA(C,24),
MA(C,2));

cond2 = (BuyPrice /
Close)*100
> 104;

Sell = cond1 AND cond2;

Im not sure if this code is actuualy working correctly. (ie
buyprice).

Is it ok to use BuyPrice in this manner?

MSG.








Yahoo! Groups Sponsor


  ADVERTISEMENT 









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.