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

[amibroker] exit at stop problem



PureBytes Links

Trading Reference Links


Hello,

Does anybody know why this stop NEVER activated?

SetOption("ActivateStopsImmediately",1);
SetOption("AllowSameBarExit",1);
ShortPrice=Open;
CoverPrice=Close;
SetTradeDelays(0,0,0,0);
ApplyStop(stopTypeLoss, stopModePercent, 0.5, True);
Short=.....;
Cover=Short;

How can I organize entering on open and exit on close of the same bar 
with activating stops inside this bar?

Many thanks in advance, Dmitri





------------------------ 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/