PureBytes Links
Trading Reference Links
|
Nicholas,
I saw this solution to close a trade after a specific number of days from
Equis in a previous post.
Ian
Your email was responded to by:
George
Equis Customer Support
http://www.equis.com
George's response is below the following line.
-----------------------------------------------------------------------
Use an inactivity stop to close the trade in 5 days. You do
this as follows:
Start MetaStock.
Display the chart you want to test.
Click Tools|System Tester.
Highlight the System Test you want to use and click the Edit
button.
Click the Stops button.
Click the Inactivity tab.
Select Long or Shorts or both for Positions.
Type 5 into the Periods field.
Type a very large number into the Minimum Change field, maybe
100,000.
You want to use a number so large that the price of the stock
could not possibly move that much in 5 days. In this case you are telling
the test to close your trade if the security price does not move $100,000 in
5 days.
Click OK to save this change and run the test.
>From: "Nicholas Kormanik" <nkormanik@xxxxxxxxxx>
>Reply-To: metastock@xxxxxxxxxxxxx
>To: <metastock@xxxxxxxxxxxxx>
>Subject: iamken, Inactivity Stop
>Date: Wed, 17 May 2000 16:38:45 -0600
>
>
>Please post the code that you found to work. You posted the ones that
>*didn't* work, and said that the Inactivity Stop got you out after X number
>of days, but you didn't post *that* code.
>
>Thanks,
>Nicholas
>
>
>==================================
>
>Here's the little "test" I just tried:
>
>Enter Long:
>H>Ref(H,-1)
>
>The following doesn't exit where I want because of the frequency of the
>Enter
>Long condition:
>Close Long:
>BarsSince(H>Ref(H,-1))=10
>
>.....nor does this:
>Close Long:
>Ref(H>Ref(H,-1) ,-10)
>
>But using the Inactivity Stop still does the trick. Thanks for bringing
>this
>up.
>
>Ken
>
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
|