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

[EquisMetaStock Group] Re: Referencing the most recent occurrence



PureBytes Links

Trading Reference Links

--- In equismetastock@xxxxxxxxxxxxxxx, "timinwaedi" <timinwaedi@xxxx> 
wrote:
> Can anyone suggest how I can reference the price at which a the 
most 
> recent occurrence of a long entry took place. I need to know this 
> price in order to define a stop loss or stop profit exit.
> 
> Would be grateful for any input
> 
> Tim

Tim, if this is for the System Tester then this should work:

stop:={stop value};
profit:={stop value};
Trade:=ValueWhen(1,{your long entry formula here},C);

(trade*(1-stop))>=c
OR
(trade*(1+profit))<=c

If for an Expert, then you will need more.

Bob



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/uetFAA/BefplB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/