| 
 PureBytes Links 
Trading Reference Links 
 | 
I have the following in my code
ApplyStop(stopTypeTrailing, stopModePoint,2.5*ATR(atrPeriod),1, 
volatile = True, ReEntryDelay = 0 ); 
When I am short the apply stop is still below the price and caused 
an exit. Since the price was down it should not have activated the 
stop. Shouldn't a trailing stop switch to above the price when I am 
short and be below the price when I am long? Is that assumption 
correct? I don't see anything in the help for ApplyStop that 
indicates direction so I just assumed it switched automatically. If 
not, how do you code it so it is direction sensitive?
Thanks,
Barry
------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links
<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
 |