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

[amibroker] Re: Sell question



PureBytes Links

Trading Reference Links


If you you've coded your Buy conditions well enough, you might have 
done the same for your sell conditions.  I would move on to check 
your AA (Automatic Anlaysis) settings.  Look at the Stops, Buy/Sell 
delays, "exit on same bar" etc.  If you are very new to AB, you 
*must* really go through those settings to make sure you are 
backtesting to what you think you are.

Could be there...

- chris

--- In amibroker@xxxxxxxxxxxxxxx, Steve Johnston <seacove@xxxx> wrote:
> Hello
> 
> I am very new to Amibroker and have written a formula that is 
faultless in executing  buy signals but won't sell properly. All it 
ever wants to do is sell at the close of the next day or sells the 
same day which is not real as my intent is to use an End of Day buy. 
I'm really trying to understand Amibroker AFL so any information of 
how the Sell works or where I should look  would be appreciated. 
> What I want to do is sell at a profit target the next day but if 
the open is greater than the profit target of course I'm going to 
take that. If I don't meet the profit target I want to wait till the 
second day after the buy and if the open is greater than the buy I'll 
take that and if that doesn't work I want to sell at the buy and if 
all else fails I want to close out the trade at the end of the second 
day after the buy. So, sell the next day if the open is greater than 
profit target (if not met) at the profit target (if not met) the next 
day if the open is greater than the buy (if not met) sell at the buy 
price (if not met) sell at Close to finish the trade.  Odiously a 
walk in the park for a lot you guys but a real puzzler for me. I'd 
include the many variations of what I have written but I think you 
guys would just laugh as I am so new.
> 
> Steve J
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.8.0 - Release Date: 
27/01/2005





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