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

Re: [EquisMetaStock Group] Re: Eliminating PREV and Signal Delay - Help Needed



PureBytes Links

Trading Reference Links

Hi Patrick
 
 
Does the ForumDll work with resets that are dependent on a set condition?
 
As an example, consider the following PREV-based trade latch set and reset conditions.
 
Set when entry conditions are met
 
Reset when price has risen 10% since entry, OR when price has fallen 5% since entry, OR price has fallen below the highest value of a trailing stop since entry.
 
I guess what I'm asking is if the dll can replace PREV-based latches as well as simple (independent exit) latches. Thanks.
 
 
Regards
 
Roy
 
 
 
 
----- Original Message -----
From: pnouvion
Sent: Wednesday, October 12, 2005 7:08 AM
Subject: [EquisMetaStock Group] Re: Eliminating PREV and Signal Delay - Help Needed

Why so much effort not to use a dll? Well not that I want everybody on
the planet to use the ForumDll for their latches, I just want to
understand the reasons ...

Patrick


--- In equismetastock@xxxxxxxxxxxxxxx, "Jose Silva" <josesilva22@x...>
wrote:
>
> Gary, take a look at the PREV-less & DLL-less MS latch code below,
> which includes signal delay and other options:
> http://www.metastocktools.com/MetaStock/TradeSignals.txt
>
>
> jose '-)
> http://www.metastocktools.com
>
>
>
> --- In equismetastock@xxxxxxxxxxxxxxx, "richr4ever" <richr4ever@xxxx>
> wrote:
> >
> > Hello to all:
> >
> > I have two questions here. One about eliminating the PREV and one on
> > signal delay.
> >
> > For PREV, I have the below codes:
> >
> > LE:=Condition A
> > SE:=Condition B
> > LX:=Condition C
> > SX:=Condition D
> > Trigger:=If( LE=1, 1, If(SE=1, -1, If((LX AND PREV=1) OR (SX AND
> > PREV=-1),0,PREV)));
> > LEEntry:=Cross(Trigger,0.5 );
> >
> > How can I perfect the above codes by removing the PREV function and
> > increase the codes efficiency, and without using any DLL?
> >
> > And for the signal delay, say the Long Exit's condtion is met on
> > current bar. But I want the Long Exit signal set to one bar delay to
> > next bar's open. I am currently using BarsSince() function but I
> > wonder if there a better way to code it. I don't want to use the
> > System Tester feature for this purpose.
> >
> > Many thanx in advance!
> >
> > Gary.
>






SPONSORED LINKS
Business finance course Business finance online course Business finance class
Small business finance Business finance schools Business finance small software


YAHOO! GROUPS LINKS