PureBytes Links
Trading Reference Links
|
This is my scenario:
1-minute bars, historical property of tick analysis
I have the following code:
Buy next bar at market;
SetDollarTrailing(.25);
The next bar is this: Time=931, O=66.03, L=66.01, H=66.17, C=66.17
The following bar is this: Time=932, O=66.18, L =66.0, H=66.38, C=66.25
When I run the code, I get this in my trade log:
09:31 Buy 66.03
09:32 LExit 66.25
My question is why is the LExit at 66.25? I have a trailing stop, I have tick level resolution with tick data. According to my calculations, with a trailing stop of .25, and a high of 66.38, I should get a LExit of 66.13.
Thx,
Cash
From: "Jim Bronke" <jvbronke@xxxxxxxx>
To: <cash@xxxxxxxxxxx>, <omega-list@xxxxxxxxxx>
Subject: Re: SetTrailingStop question
Date sent: Sun, 19 Aug 2001 22:52:41 -0700
> Although I haven't used this command I expect that youcould only have one
> trailing stop. answer .50
>
> Jim Bronke
> Phoenix, AZ
>
>
>
> ----- Original Message -----
> From: <cash@xxxxxxxxxxx>
> To: <omega-list@xxxxxxxxxx>
> Sent: Sunday, August 19, 2001 9:33 PM
> Subject: SetTrailingStop question
>
>
> : I'm using an intraday 1-minute chart.
> :
> : If I use the command:
> : SetTrailingStop(.25);
> : I understand this will set a trailing stop at 25 cents.
> :
> : If 200 bars later (on the same day), I use the command:
> : SetTrailingStop(.50);
> : Will this change the trailing stop to 50 cents or will I now have 2
> : trailing stops, one at 25 cents and one at 50 cents.
> : If I have two stops now, how can I do this and only have one trailing
> : stop?
> :
> : Thanks,
> :
> : Cash
> :
> :
> : "It's a dog eat dog world out there and I'm wearing milkbone underwear"
> :
> :
>
"Buy Low, Sell High"
(If this statment is used for financial gain, I am entitled to 10% of all profits. ;) )
|