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

[amibroker] Re: Sell after certain Percentage Gain Question?



PureBytes Links

Trading Reference Links


Is it like this:

Sell = ApplyStop(); // Of course I would fill in the required info 
between the brackets...

--- In amibroker@xxxxxxxxxxxxxxx, "Fred" <ftonetti@xxxx> wrote:
> 
> ApplyStop
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "alannortham" <anortham@xxxx> 
> wrote:
> > 
> > When backtesting and my setup conditions triggers a BUY how do I 
> > write the AFL code so that my trade gets closed after it has 
> gained 
> > say 10%?
> > 
> > 
> > Sell = ?;
> > 
> > 
> > Thanks,
> > Alan





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