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

Re:Anchoring price to entry bar



PureBytes Links

Trading Reference Links

This works for us not low[1] just low ex.
 ExitLong ("StopLoss") from entry ("longentry") At$ Low  - .0625  stop;


____________________Reply Separator____________________
Subject: Anchoring price to entry bar
Author: robert
Date:  7/1/98 4:44 AM

 Would someone help me out with a bit of EL code?

I'm trying to set my initial stop to below the Low of a swinglow bar which
occurred the day before I enter long. I thought the code AT$ before a price
would indicate that price for the entry day.

I've tried this (but TS4 ignores my command to exit):

If C>Average(C,20) and C<C[1] and C[1]<C[2] then

         Buy("Entry1") tomorrow at H{of today} + 1 point stop;

If MarketPosition= 1 then exitlong("EntryStop") from entry("Entry1") AT$
Low[1] Stop;


Thankyou for any help you can offer.