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

[amibroker] Was ...Turtle trade... Now: Why doesn't this ApplyStop work right??



PureBytes Links

Trading Reference Links

HIrange = 55;
LOrange= 40; 

stop=1;

/* find out channel borders */
channeltop = Ref( HHV( High, HIrange ), -1 );
channelbottom = Ref( LLV( Low, LOrange ), -1 );

Buy = High > channeltop;
Sell=Low<Channelbottom;
ApplyStop(0,2,stop,0,0);


What it's supposed to do: Stop out if the price drops 1 point below 
the high on the day of the buy.

What it does: Stop out any time the price drops 1 point below it's 
previous highest high.

I thought the volatile=false (5th parameter in Applystop) would fix 
this, but it didn't.  Do I have something wrong with my Buy signal 
that causes it to keep buying... or what?

I'm new, I'm trying, but 2 days I've been working on this and I 
still don't get it.

Thanks, Balin 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/