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

[amibroker] Applystop-Indicator-Chart does not show results



PureBytes Links

Trading Reference Links

I'm using Amibroker 4.9. I want to use an indicator to visually
display a trailing stop.  The "//Equity(0)" statement was an earlier
attempt to work this out.  The following code is used on ETF symbol MZZ:

Sell=0;
//Trailing Stop at 7% Loss
ApplyStop(2,1,7,1,False,1);
Equity(1,0);// THIS EVALUATES STOPS  
//Equity(0); 
Plot(Sell==4,"ApplyStop Sell",colorRed,4|styleOwnScale);//4 is for
trailing stops

The recent downturn in the ETF on 1/22/2008 and later dates does not
show a trailing stop. I did show buy signals on 1/16 and 1/17.  Under
Automatic Analysis, I have checked Activate Stops Immediately (Don't
know if this affects an indicator or not. )
Earlier trailing stops on 8/13, 11/14, and 1/10 displayed okay.  

What advice do you have on what to try next?



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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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