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

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



PureBytes Links

Trading Reference Links

Patrick, before the MetaStock dll era came along, there was something 
called MetaStock Formula Language.  MS users would burn the midnight 
candle to crack a coding problem, or even to understand the basic 
condition/principle behind some posted code.

Now with the brave new world of MS DLLs, it's only a matter of time 
before every process becomes so automated that we won't need to think 
for ourselves anymore.  Wouldn't that be a boring world, eh?  ;)


jose '-)
http://forum.equis.com/viewtopic.php?t=2186



--- In equismetastock@xxxxxxxxxxxxxxx, pnouvion <no_reply@xxxx> wrote:
>
> 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@xx
..> 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/