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

RE: [amibroker] Re: S&C's latest - Volume Flow Indicator



PureBytes Links

Trading Reference Links

hello,

I hope some one else tried to code this method of Welles Wilder. I just
finsihed it and it seems the bugs are out ...... The concept of this system
is not too hard to understand but the writing of the code took me a couple
of days ...... (and 1250 lines of code .....)

The problem I have is the following. This system can give multiple signals
in one day. It could start of with a Buy then it could be forced to Sell on
the same day and go Short. All these signals are put in the
Buy-Sell-Cover-Short arrays whenever they occur. However, when I use the
backtest button of the Automatic Analysis window and look at the trades it
makes it does not see all these trades.

Thinking about this .... it makes sense to me because how could Amibroker
know what the sequense of all these signals are within one day. If a
sequence occurs: Buy - Sell - Short during one day the backtester only uses
the Buy signal.

Is the only solution to calculate the Equity array by myself? I am sure
similar problems occur with other systems. What is generally done with such
a problem? Maybe this system can only be tested without writing extra code
to calculate the Equity function if I use intraday data?

thanks,

rgds, Ed



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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/