[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with Easylanguage trade orders



PureBytes Links

Trading Reference Links

Test "open tomorrow", like:
If Open Tomorrow < EntryPrice Then Sell next bar at EntryPrice limit;

For some (te me) unknow reason TS does not allow you to mix "market" orders
with orders that somehow test "open tomorrow".
In that case I always setup a second signal and use "IncludeSignal" to merge
it back in.
Good luck
Robert

ps. I understand TS6 will shortly have a feature to automatically transform
limit orders into market orders after XXX timeout (with limit orders you
never know if you got a fill for all the shares). I wonder if they charge
you commission for "2 orders" ?
===============================
Robert Linders
Orlando, FL
email: mugsnug@xxxxxxxxx
===============================
----- Original Message -----
From: "Ted Hearne" <ted@xxxxxxxxxxx>
To: <omega-list@xxxxxxxxxx>
Sent: Thursday, November 29, 2001 7:20 AM
Subject: Help with Easylanguage trade orders


>
> I want to place an order to sell at the next bar at my price
ShortEntryPrice
> if and only if price reaches ShortEntryPrice in the next bar. In other
> words, if ShortEntryPrice is touched, sell at that price. Right now I have
> the line:
>
>   Sell the next bar at ShortEntryPrice stop;
>
> Problem is, if the open of the next bar is below ShortEntryPrice, I get
> filled at the open of the next bar. In some cases, the price of that next
> bar never even touches my ShortEntryPrice but still I'm filled at the
open.
>
> I also tried using a Limit order but then the reverse problem happens. How
> do I code the entry to fill at a specified price on the next bar if that
> price is touched?
>
> Also along the same vein, how do I put in a stop for the same bar at an
> exact price or higher? The same thing is happening in that I'm being
> stopped out at the open of the same bar that I'm entering the trade.
>
> Any assistance would be great appreciated.
>
> Thanks!
>
> Ted
>
>