Redrolfe |
Gold User, Member, TeleChart
|
Registered User |
|
|
|
|
Unsure |
|
Saturday, March 26, 2005 |
Friday, January 14, 2011 8:30:12 PM |
7 [0.00% of all post / 0.00 posts per day] |
|
|
After copying the Real Code given in Worden's Trader's Tips suggestion and saving it in my paint scheme library, I am unable to get the colors displayed in the charts.
Red Rolfe
|
I have succeeded in entering the Real Code paint scheme provided in Trader's Tips, p. 75. It is now in my paint scheme library. BUT I cannot get any of the colors in the code to display on the chart.
Redrolfe
|
|
After copying the Real Code for the Clear Method (given by Worden Brothers in Stocks and Commodities, Sept. 2010, p.75). the following two error messages appeared:
'Line" statements are no longer supported. File 1/0 functionally is availiable as 'Microsoft VisualBasic.FileSystem..LineInput' and the . . . [remainder of message was not visable]
Name 'PlotColor' is not declared
I am not a programer, so I will need help in correcting the code and removing the errors.
redrolfe
|
It would seem that I should be able to backscan for two rules in combination, that is, to test for those bars when both rules are met, but I have not been able to get accurate results. Both rules were set to buy at the next day open. The trade-based rule was to exit at the open the day after the buys were entered. I have tried all possible priority combinations of Buy for Rule 1, Buy for Rule 2 and the trade-based exit rule set to 0 days, but none yield accurate results. What am I doing wrong here?
|
Backtesting has yielded incorrect results for me. An example:
I created an indicator to locate five consecutive declines in "average price" ((high+low+close)/3), using daily bars. These events were correctly displayed on the charts. But in backtesting this is what occured for the period January 2, 2009 to the present for the Stardard and Poor 100 watchlist:
For the trading rules of (1) buy at the next open following the signal day and (2) sell at the open the day after that, the backtesting results for many, if not most, of the trades had bars-per-trade in the hundreds, in many instances exceeding even the number of days in the test period. The bars-per-trade, of course, should have equaled 1 for each trade. Reversing the order of the trading rules, listing the sell rule before listing the buy, yielded a report of no trades at all.
Rich (email removed by moderator)
|
|