Hello, This should be the simplest thing and I am simply running in circles with AFL not being able to give me what I want. Here's what I want in simple terms:
Buy on MACD crossing (buy at Open the following day). Sell at 3% profit or at 10% loss. Period. That's all. The problem I am having is in "keeping" the purchase price at hand. Yes, I know about "ValueWhen" function, but I can't get it to work because I can easily have multiple buy signals before the sell occurs and a new Buy gives me a new BuyPrice that throws off all my profit and loss targets. Please advise. Thanks, Andre Perman ------------------------ Yahoo! Groups Sponsor --------------------~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
