Rank: Member
Groups: Registered, Registered Users, Unverified Users Joined: 1/30/2012(UTC) Posts: 22 Location: Athens, Greece
|
Hi all
Usually when I use an expression like MOV(xx), the xx parameter represents a constand value.
What about when I want to use the MOV(yy), where yy is a formula variable?
The real issue is that I want to run a system tester several times with different values each time.
Since the expressions Function(xx) are many, I thought it would be good to have a formula containing only the variables I would like to change and then change them easily from there.
Any idea ?
Thanks in advance
George
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 7/25/2005(UTC) Posts: 1,042
Was thanked: 57 time(s) in 54 post(s)
|
Hi George Download and install the ForumDll_200
Normal
0
false
false
false
MicrosoftInternetExplorer4
(from the Files section) so that you can make use of the variable functions that it provides. If you don't want to do that and you don't mind numbingly slow execution then the following format should work for you in the Enhanced System Tester. This format makes the Periods parameter appear as a constant. Mov(C, LastValue(OPT1 + PREV*0) , E) Mov(C, LastValue(OPT1 + PREV - PREV) , E) LastValue() converts a variable into a constant, and +PREV*0 or +PREV-PREV makes MetaStock recalculate OPT1 on each data bar without affecting the value of OPT1. The second PREV format executes a little faster (not much), but the down side is that it will introduce small errors every so often with some functions. You just need to look at some of the MS 11 Adaptive functions for examples of that effect. Roy
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Unverified Users Joined: 1/30/2012(UTC) Posts: 22 Location: Athens, Greece
|
Thanks mstt,
I will download the ForumDll 200 and i will try it.
George
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.