PureBytes Links
Trading Reference Links
|
... Damn you guys are greedy :D
Well I will think about it and the next version of the dll might a
solution for that ...
Patrick
--- In equismetastock@xxxxxxxxxxxxxxx, "Jose Silva" <josesilva22@xxxx>
wrote:
>
> Patrick, the problem with having a second latch referencing the first
> one (and when the exit needs to reference the entry signal), is this:
> if the first entry-based exit is triggered, the first latch will
> filter-out re-entry signals needed by the 2nd trade latch.
>
> I only know of PREV-based code to get around this self-referencing
> problem, although there maybe a solution lurking in there somewhere
> with Richard Dale's Adv Trailing Stop dll.
> http://www.tradernexus.com/advancedstop/advancedstop.html
>
>
> jose '-)
>
>
>
> --- In equismetastock@xxxxxxxxxxxxxxx, pnouvion <no_reply@xxxx> wrote:
> >
> > Jose,
> > Point taken, I was affraid there for a second that there was
> > something I should know about ... You know kinda a like a phobia of
> > the dll :D
> >
> >
> > Roy,
> > Well my answer may be dumb, I have not tested this but here is the
> > idea:
> >
> > You are not limited to use the dll function once ...
> >
> > here is an example :
> >
> > LE:=Condition1;
> > LX:=Condition2;
> > SE:=0;
> > SX:=0;
> > FirstSet:=extFml("ForumDll",LE,LX,SE,SX);
> >
> > LE:=FirstSet=1 and Ref(FirstSet,-1) = 0;
> > LX:=
> > (FirstSet = 0 and Ref(FirstSet,-1) = 1) or
> > price has risen 10% since FirstSet=1 and Ref(FirstSet,-1) = 0 or
> > price has fallen 5% since FirstSet=1 and Ref(FirstSet,-1) = 0;
> > SE:=0;
> > SX=:0;
> > FinalLatch:=extFml("ForumDll",LE,LX,SE,SX);
> > ...
> >
> > Patrick
> >
> >
> >
> > --- In equismetastock@xxxxxxxxxxxxxxx, "Roy Larsen" <rlarsen@xxxx>
> > wrote:
> >
> > 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
> > www.metastocktips.co.nz
> >
> >
> >
> >
> > ----- Original Message -----
> > From: pnouvion
> > To: equismetastock@xxxxxxxxxxxxxxx
> > 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@xxxx> 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.
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/BefplB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> 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/
|