PureBytes Links
Trading Reference Links
|
Hi Eric
Typically you would need to construct a "latch" that sets with an entry signal and resets with any exit signal. This would allow you to filter out secondary entry signals. There are several models you could use for a latch, and which one you choose would probably depend on the way your system is presently constructed. I'd need much more information before making any specific suggestions.
Regards
Roy
----- Original Message -----
From: eric chamberlain
To: equismetastock@xxxxxxxxxxxxxxx
Sent: Friday, March 30, 2007 8:25 AM
Subject: Re: [EquisMetaStock Group] TradeSim-Age filter?
Thanks Roy!
Metastock also has a "Simulation.CurrentPositionAge"
functions that I would like to use in TradeSim, but it
won't work in the explorer.
What command may I use in TradeSim to recognize the
age of my position? Or, is there code I can write to
count the days from my entry trigger?
Any suggestions?
Eric
--- Roy Larsen <rlarsen_quik@xxxxxxxxxx> wrote:
> Hi Eric
>
>
> I suspect that the problem is not with TradeSim but
> with the number of bars included in your Exploration
> for TradeSim. ValueWhen() and BarsSince() functions
> (and a few others) cannot perform fully as intended
> unless provided with sufficient data. Many functions
> force the Explorer to load sufficient data to
> generate an accurate result. Sadly that is not the
> case with ValueWhen(), BarsSince() and Alert() etc -
> these functions do not force a useful or appropriate
> look-back range so it's up to the user to set the
> "load records" number to what is needed.
>
> Regards
>
> Roy
>
>
> ----- Original Message -----
> From: erc90
> To: equismetastock@xxxxxxxxxxxxxxx
> Sent: Friday, March 30, 2007 7:11 AM
> Subject: [EquisMetaStock Group] TradeSim-Age filter?
>
>
> In Metastock there is a function called "barssince"
> that will allow one
> to set an age restriction. I however am having
> problems using that
> particular function in the explorer when I mix and
> mingle it with
> TradeSim functions.
>
> Does anyone know of a function in TradeSim that is
> very similar
> to "barssince" in Metastock?
>
> Thanks,
> Eric
>
>
>
>
>
> [Non-text portions of this message have been
> removed]
>
>
__________________________________________________________
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|