PureBytes Links
Trading Reference Links
|
Hello,
I'm very new to Metastock, but have some programming background.
(Basic & Foxpro 2.6) I'm troubled by my inability to assign
variables with in the System Tester. Let me first tell you in plain
English what I hope to accomplish. My buy trigger is to buy above
yesterday's high. I then want to put a 4% GTC stop loss order in
the first day. After the 1st day, I want to take profit at +4%
from my buy point unless the price is higher than my 4% profit
stop. If the price is over my 4% stop gain, then I only want to
exit the position when any one days low is less than the previous
days low. (kind of like a trailing stop at the lows) If I assign
a variable to hold my buy price in the buy tab of the system tester
it is not remembered in the sell tab of the system tester. I then
tried to capture my buy price within the sell tab of the S.tester.
I've tried using the valuewhen( , , ) function, but I struggle with
these functions. I get a lot of "must be a constant" errors when
trying to use the function. I have to try to trick the function to
do what I want it to do…. There must be an easier way…. I see a lot
of complicated code being shared with the group, so I'm wondering
where and how did these people learn to program this language with
what I perceive to be so little support. Does anyone have a simple
solution to this seemingly very simple problem???
Thanks,
Mike
------------------------ 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/
|