Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

suby

Backtesting TA Strategies - Discretionary Trading and The Wyckoff Way

Recommended Posts

I have checked through the forums in attempts to learn a bit more on backtesting and I can't deem what is on here as valid.

 

I realize that this should probably be posted in automated trading but as a discretionary trader who uses Technical Analysis I figured this would be the best spot.

 

I was wondering if other discretionary traders on here who follow Technical Analysis backtest...

 

If so, what do you often test for?

 

Specifically in regards to trading with the Price to Volume relationship and the teachings of Wyckoff

 

Suby

Share this post


Link to post
Share on other sites
I have checked through the forums in attempts to learn a bit more on backtesting and I can't deem what is on here as valid.

 

I realize that this should probably be posted in automated trading but as a discretionary trader who uses Technical Analysis I figured this would be the best spot.

 

I was wondering if other discretionary traders on here who follow Technical Analysis backtest...

 

If so, what do you often test for?

 

Specifically in regards to trading with the Price to Volume relationship and the teachings of Wyckoff

 

Suby

 

Backtesting allows you to test a specific hypothesis on an historical data set that may hopefully be representative of future market behaviour.

 

Before you can arrive at a specific hypothesis you need to derive more general tendencies from the data.

 

"I can profitably fade any price cross of a 4 period SMA back in the direction of the slope of a 200 period EMA when the ADX is below 30" . . . Is an example of a specific hypothesis that one could backtest.

 

"I can profitably fade small countertrend movements back in the direction of a longer term trend when the market is showing a lack of trending capability in the intermediate term" . . . Is an example of a conjugation of more generalised tendencies which, if generally held to be true, might inspire a specific hypothesis such as the one above.

 

So the first thing that I would do is to mine the available data to try and establish some general tendencies that you can build upon. Once you have these you can begin to select more specific tools (such as indicators) to exploit these tendencies within a back-testable strategy.

 

Most back-testing software will allow you to carry out a data-mining styled exercise.

 

Here is an example of the sort of thing you might like to know:

 

Do most short term highs occur on higher or lower volume?

 

The trick here is that you'll need to test across a variety of definitions of short term high. These might range from a three day high to a twenty day high. You might find that 100% of all 17 day highs in your test occur with volume that is higher than the previous period. Unfortunately this isn't much help - what you need to know is whether short term highs in general occur on higher volume than the previous period. For all your tests, then, you might average out the percentage of short term highs that occur on higher volume. If this percentage comes out at, say, 78%, then you might conclude (assuming that your data set is large enough and sufficiently representative) that this general tendency will hold to a reasonable degree regardless of the specific periodicity reference used for the high within the strategy you subsequently devise.

 

Hope that helps - anything I was unclear about then just ask!

 

BlueHorseshoe

Share this post


Link to post
Share on other sites
Backtesting allows you to test a specific hypothesis on an historical data set that may hopefully be representative of future market behaviour.

 

Before you can arrive at a specific hypothesis you need to derive more general tendencies from the data.

 

"I can profitably fade any price cross of a 4 period SMA back in the direction of the slope of a 200 period EMA when the ADX is below 30" . . . Is an example of a specific hypothesis that one could backtest.

 

"I can profitably fade small countertrend movements back in the direction of a longer term trend when the market is showing a lack of trending capability in the intermediate term" . . . Is an example of a conjugation of more generalised tendencies which, if generally held to be true, might inspire a specific hypothesis such as the one above.

 

So the first thing that I would do is to mine the available data to try and establish some general tendencies that you can build upon. Once you have these you can begin to select more specific tools (such as indicators) to exploit these tendencies within a back-testable strategy.

 

Most back-testing software will allow you to carry out a data-mining styled exercise.

 

Here is an example of the sort of thing you might like to know:

 

Do most short term highs occur on higher or lower volume?

 

The trick here is that you'll need to test across a variety of definitions of short term high. These might range from a three day high to a twenty day high. You might find that 100% of all 17 day highs in your test occur with volume that is higher than the previous period. Unfortunately this isn't much help - what you need to know is whether short term highs in general occur on higher volume than the previous period. For all your tests, then, you might average out the percentage of short term highs that occur on higher volume. If this percentage comes out at, say, 78%, then you might conclude (assuming that your data set is large enough and sufficiently representative) that this general tendency will hold to a reasonable degree regardless of the specific periodicity reference used for the high within the strategy you subsequently devise.

 

Hope that helps - anything I was unclear about then just ask!

 

BlueHorseshoe

 

First time behind the computer this weekend, but thank you for the detailed reply BlueHorseshoe!

 

I can't think of anything too indepth at this point of time just two questions for you

 

1) How/what do you use to backtest? What is your Opinion on Trading Blox?

 

2) Where do you obtain your data from?

Share this post


Link to post
Share on other sites
First time behind the computer this weekend, but thank you for the detailed reply BlueHorseshoe!

 

I can't think of anything too indepth at this point of time just two questions for you

 

1) How/what do you use to backtest? What is your Opinion on Trading Blox?

 

2) Where do you obtain your data from?

 

Hi Suby,

 

Glad my reply was helpful - if it only gets you thinking then that's a great start because like pretty much anything in trading, backtesting can be both a massive help and a huge hindrance.

 

Nowadays I do everything in TradeStation, and this is also where my data comes from. I think TradeStation is absolutely fantastic, but I have very limited experience with other platforms, so that's by no means an objective recommendation. I think that it might be worth posting this as a seperate thread question and seeing what response you get.

 

I have never used TradingBlox, but it certainly used to be very highly regarded, as it offered portfolio analysis capabilities before most other retail platforms (TradingRecipes was another MSDOS pioneer in this area). I know nothing about the costs associated with TradingBlox, or the extent of your requirements, but you may possibly get all that you actually need for free from elsewhere, especially if you have no need of portfolio analysis.

 

As a recommendation of a platform that I do have substantial backtesting experience with, is completely streamed (no download or software install), offers great end of day charting for free, and allows you to sign up for a free trial of intraday data, try http://www.prorealtime.com. It doesn't seem well known in the US, but I think it's pretty damn good as far as free stuff goes.

 

Overall though, I'd recommend you ask around - I just stumbled upon something I liked and stuck with it, so can't really offer an objective viewpoint.

 

Pretty much the classic guide for backtesting and optimisation, I think, is Thomas Stridsman's 'Trading Strategies that Work' - this gives a pretty balanced view of exactly what you can and can't expect to achieve with backtests.

 

Regards,

 

BlueHorseshoe

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Topics

  • Posts

    • LZ LegalZoomcom stock, watch for a bull flag breakout at https://stockconsultant.com/?LZ
    • XMTR Xometry stock, watch for a local breakout above 37.5, target 44 area at https://stockconsultant.com/?XMTR
    • INTC Intel stock, nice bounce off the lower 19.12 triple+ support area at https://stockconsultant.com/?INTC
    • Date: 11th February 2025.   Market Update: Tariffs, Inflation, and Investor Sentiment Shape Global Markets.   Asian equities and US stock index futures experienced declines. At the same time, gold surged to a record high, reflecting investor caution following President Donald Trump’s announcement of new tariffs on US imports of steel and aluminium. Stock markets in Hong Kong and mainland China faced selling pressure, contributing to a regional downturn. Futures contracts for the S&P 500, Nasdaq 100, and Euro Stoxx 50 also traded lower. Meanwhile, Japanese markets remained closed due to a public holiday. Gold, often seen as a safe-haven asset duringeconomic uncertainty, extended its rally for a third consecutive session, briefly surpassing $2,942 before paring some gains. The US dollar index maintained its Monday gains, signalling sustained strength amid market volatility. The precious metal has surged about 11% this year, setting successive records as Trump’s disruptive moves on trade and geopolitics reinforce its role as a store of value in uncertain times. US Steel and Metals Sector Reacts to Tariffs Shares of US Steel Corporation surged as much as 6% following Trump’s announcement, as domestic metals producers saw a boost from the prospect of increased business and stronger pricing power. Canada, Brazil, and Mexico, the top steel suppliers to the US, are expected to be significantly impacted by these trade restrictions. Trump stated that the new tariffs, effective in March, aim to revitalize domestic production and job growth. However, he also suggested the possibility of further tariff increases, adding to market uncertainty.     Investor Concerns Over Tariffs and Trade War Escalation Investors are grappling with the implications of Trump’s tariffs, particularly in distinguishing between policy announcements and concrete actions. The uncertainty surrounding additional levies and potential retaliatory measures has reignited fears of an intensifying global trade war. Tariffs on Chinese goods are already in effect, and concerns persist about further economic fallout. According to Christian Mueller-Glissmann, head of asset allocation research at Goldman Sachs, the key challenge in portfolio strategy now lies in identifying assets that can effectively hedge against tariff risks. Speaking to Bloomberg Television, he noted, “The big challenge is that this is going to be much more difficult from here because the tariffs are very specific.” Key Economic Data and Federal Reserve Testimony in Focus Beyond trade tensions, investors are closely watching this week’s critical economic reports and statements from Federal Reserve officials. Fed Chair Jerome Powell is set to testify before Congress, while fresh inflation data will provide further insight into price trends. According to the New York Federal Reserve’s Survey of Consumer Expectations, inflation expectations for both the one-year and three-year outlooks remained steady at 3% in January. Short-term US inflation expectations have now risen above longer-term projections to their widest gap since 2023, signalling potential shifts in monetary policy. Inflation data, Powell’s congressional testimony, and tariffs are poised to drive the market today. A reprieve from negative surprises, such as the impact of DeepSeek, ongoing tariffs, and consumer sentiment concerns, could push S&P 500 to break out of its two-month consolidation.     Currency and Commodity Markets React The currency market also reflected shifting investor sentiment. The Japanese Yen remained largely unchanged. Meanwhile, the British Pound weakened after a report from the Financial Times cited Bank of England policymaker Catherine Mann’s concerns that weakening demand is beginning to outweigh inflationary risks. Gold’s continued ascent has been accompanied by significant inflows into bullion-backed exchange-traded funds. Global holdings have risen in six of the past seven weeks, reaching their highest levels since November. Banks have forecast that gold could test the $3,000 mark, with Citigroup predicting it could hit that level within three months and J.P. Morgan Private Bank projecting a year-end target of $3,150. Market Resilience Amid Trade Uncertainty Despite ongoing tariff tensions, equities have demonstrated resilience, leading some analysts to caution that further trade escalations could trigger renewed market pullbacks. Strategists at Deutsche Bank AG, including Binky Chadha, suggested that historical patterns indicate sharp but short-lived equity selloffs during geopolitical events, with markets typically rebounding before any formal de-escalation occurs. They projected that, in such scenarios, equity markets could decline by 6%-8% over a three-week period before recovering in a similar timeframe. China’s Growing Gold Reserves and Market Influence China’s central bank expanded its gold reserves for the third consecutive month in January, signalling an ongoing commitment to diversifying its holdings despite record-high prices. In addition, China introduced a pilot program allowing 10 major insurers to invest up to 1% of their assets in bullion for the first time. This initiative could translate into as much as 200 billion Yuan ($27.4 billion) in potential gold investments. Key Market Events to Watch This Week Fed Chair Jerome Powell’s semiannual testimony before the Senate Banking Committee today Speeches by Fed officials Beth Hammack, John Williams, and Michelle Bowman today US Consumer Price Index (CPI) report, Wednesday As global markets continue to navigate economic uncertainties, investors remain watchful of trade developments, monetary policy signals, and inflation trends that could shape the financial landscape in the coming weeks.   Always trade with strict risk management. Your capital is the single most important aspect of your trading business.   Please note that times displayed based on local time zone and are from time of writing this report.   Click HERE to access the full HFM Economic calendar.   Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding of how markets work. Click HERE to register for FREE!   Click HERE to READ more Market news.   Andria Pichidi HFMarkets   Disclaimer: This material is provided as a general marketing communication for information purposes only and does not constitute an independent investment research. Nothing in this communication contains, or should be considered as containing, an investment advice or an investment recommendation or a solicitation for the purpose of buying or selling of any financial instrument. All information provided is gathered from reputable sources and any information containing an indication of past performance is not a guarantee or reliable indicator of future performance. Users acknowledge that any investment in Leveraged Products is characterized by a certain degree of uncertainty and that any investment of this nature involves a high level of risk for which the users are solely responsible and liable. We assume no liability for any loss arising from any investment made based on the information provided in this communication. This communication must not be reproduced or further distributed without our prior written permission.
    • KAR Openlane stock breakout at https://stockconsultant.com/?KAR
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.