Your interactive trading laboratory!
7 users online
Create and Backtest your own Trading Models on the web, without coding

Create your Model

Use our drag and drop building blocks, or program your model in C# code for the ultimate in flexibility

Backtest your Model

Quantacula is the only web site that offers portfolio-level backtesting, with data that eliminates survivorship bias

Trade your Model

Use Quantacula Studio to automatically trade your model, or run your model here on the site and recieve your trade signals

Channel Breakout on EA
Trades: • Profit: • Avg Profit: • WIn Rate:
Market News
Stock News Today: Apple Hit Again As Dow Jones Slumps Nearly 600 Points
1 hour ago

Sellers had the upper hand in afternoon trading Tuesday. In stock news today, retail earnings reports were in focus. Oil prices fell sharply again.

Stocks Pare Some Losses As S&P 500 Holds Above This Key Level
3 hours ago

The stock market pared losses as the Dow and the S&P 500 today held above their October lows, while the Nasdaq fell below its prior low but rebounded back above it.

Nasdaq Cuts Day's Loss, While Dow Jones Sends Message
4 hours ago

The blue chip Dow Jones industrial average, large cap S&P 500 and small cap S&P 600 held above their Oct. 29 lows.

Stock Market Sell-Off Continues As Dow Falls More Than 500 Points
6 hours ago

The stock market sold off with heavy losses in morning trade Tuesday. Retail stock Target plunged after its earnings miss.

Stock Market Today: Track Market Trends And The Best Stocks To Watch
6 hours ago

Check the Stock Market Today column to spot changes in market trend and track the best stocks to buy and watch.

U.S. Stock Market News
6 hours ago

Track current U.S. stock market news, and get analysis of the latest trends on the S&P 500, Nasdaq composite and Dow Jones industrial average. Plus, get timely alerts to the best stocks to buy and watch.

Stocks Slide As Dow Dives 500 Points; Retail, Tech Stocks Crumble
7 hours ago

Tech stocks and retail names drove the market into an early dive Tuesday, as Netflix and Target joined Dow Jones stock Apple in heavy early selling.

Dow Jones Futures: Scared Yet? Futures Signal Stock Market Moving Closer To Correction Lows
8 hours ago

Stock futures: The Dow, S&P 500 and Nasdaq sold off Monday, led by Apple, FANG stocks and many other big techs. But two investor fear gauges remained calm. Time to be afraid?

Nasdaq Slides More Than 3% As These Dow Blue Chips Buck The Broad Sell-Off
23 hours ago

The Nasdaq got smacked with its biggest single-session loss in more than three weeks and nearly faced a test of the psychologically important 7000 level.

Dow Today Plunges 400 Points; Why Leading Stocks Are In A Bear Market
1 day ago

The Dow today plummeted more than 400 points in another beating for stocks and the technology sector in particular.

Stock Market News: Tesla Breakout Fades As FAANG Stocks Slammed Again
1 day ago

In stock market news Monday, software stocks and the FAANG stocks faced another round of selling pressure ahead of the Thanksgiving holiday.

What's New?
11/20/2018
  • You can now share Published Models to Facebook and Twitter.
11/19/2018
  • Released QStudio Q154 today with a new Model Result Viewer - Periodic Returns. View your Model's returns by Day, Week, Month, Quarter, or Year, and also see the Average Return by Day of Week or Month of Year.
  • Q154 also adds a new Price Component: AveragePriceHLCC.
  • Finally, Q154 adds static Series methods to all the standard indicators, as an alternative to using the new keyword to create indicators in code. This can lead to more natural coding for some indicator implementations.
11/18/2018
  • We now show the post count for Models in the Model tiles.
11/17/2018
  • We're beginning a phase of beefing up Quantacula Studio's live trading capability, the first fruits of this effort is the new Quotes & Price Triggers tool released in Q153.
New Model: Larry Connors VXX Trend Following
Published by Q Merlin 2 days ago

Stolen from Larry Connors Book "Buy The Fear, Sell The Greed – 7 Behavioral Quant Strategies for Traders". Here's a short description:

With VXX the goal is to get short at the proper time, climb aboard as it declines, and stay aboard as long as possible. We also want to exit early if there’s a change in trend because if there is we can safely be in cash. How do we do this? It’s fairly simple: with moving average crossovers. A moving average crossover simply takes two different period moving averages. When the shorter period crosses below the longer period moving average, you go short VXX. When it crosses above its longer-term moving average you exit and go into cash.

The rules are simple for the VXX Trend Strategy and the test results are solid, especially for a trend-following methodology.

  1. When the 10-period simple moving average (SMA) (we also tested an exponential moving average, EMA) crosses under its 30-period SMA, short VXX. (If you use the exponential moving average, short VXX when its 10-period EMA crosses under its 30-period EMA.)
  2. Stay short until the 10-period SMA (EMA) crosses above its 30-period SMA (EMA).

I have extend the System with a 15% Stop-Loss. Instead of shortening VXX, you can also go Long on SVXY or ZIV. I prefer VXX because the ETF has enough liquidity.

APR: 15.10% • WIn Rate: 54.55% • Sharpe: 0.91
New Forum Topic: New PriceComponent Constituents!
Q Glitch wrote 7 days ago

PriceComponents represent the available elements in a set of historical data, including open, high, low, close, and volume. They appear as indicators in the Building Block model builder, and appear in the drop down list when you edit an indicator's parameters. We just added 4 new PriceComponents to choose from:

  • AveragePriceOHLC (open + high + low + close) / 4

  • AveragePriceHLC (high + low + close) / 3

  • AveragePriceHL (high + low) / 2

  • AveragePriceOC (open + close) / 2

This addition will make life easier when implementing indicators that use these average prices as their default source data. Enjoy!

New Model: PFE Rotation
Published by Q Glitch 14 days ago

A rotation model that invests in 3 the stocks in the Nasdaq 100 with the lowest PFE (Polarized Fractal Efficiency) weighting, rebalanced daily.

APR: 29.02% • WIn Rate: 63.34% • Sharpe: 1.13
New Forum Topic: Rotation Model - Stops
Q Merlin wrote 14 hours ago

As far as i understood, a Rotational Mode let's me establish a weight factor, expressed using my own calculated custom indicator. I wonder if there's a way to set stops (or even a profit target) using a Rotational Model?

New Model: Monthly Index Cycles
Published by Q Merlin 2 days ago

Based on an Index study of a German Trading Portal, I have measured the monthly profit/loss, back to 1978. According to my findings, Mar-Apr and Oct-Dec are the strongest months on several Indexes (which doesn't surprise). The purpose of this system is to reduce the risk so that you are only in the market in those time-frames when the market historically shows an absolute out-performance.

APR: 4.63% • WIn Rate: 76.39% • Sharpe: 0.56
New Forum Topic: How to place 15% stop-loss for short position in code
Q Merlin wrote 8 days ago

Perhaps a silly question but how (and on which place) should i place a 15% stop-loss for a short position in code?

public override void Execute(BarHistory bars, int idx)
{	       	        
  int index = idx;
  Position shortPosition = FindOpenPosition(0);

  if (shortPosition == null)
  {
    if (smaFast.CrossesUnder(smaSlow, index))
    { 
      PlaceTrade(bars, TransactionType.Short, OrderType.Market, 0, 0);
      ClosePosition(shortPosition, OrderType.Stop, shortPosition.EntryPrice * 1.15);
    }
  }

  if (shortPosition != null)
  {
    if (smaFast.CrossesOver(smaSlow, index))
    {
      PlaceTrade(bars, TransactionType.Cover, OrderType.Market, 0, 0);
    }
  }
}
New Forum Topic: Cyclical monthly strategy on Dow Jones
Q Merlin wrote 19 days ago

Just got an interesting statistic from a German trading portal regarding the Dow Jones, back to 1896. They have measure the profit/loss by month. I made a quick back-test to check whether this is true or not. According to my findings, Jan/Apr/Jul/Dec are in deed the strongest months on the Dow Jones Index. That's what i could reproduce with my quick test back to 1978.

New Forum Topic: Williams Vix Fix calculation issue
Q Merlin wrote 2 days ago

Just having trouble with the Williams Vix Fix calculation in QS. The Fear Histogram in QS goes into the wrong direction (see below). Any ideas? QS

New Forum Topic: Scaling-In Feature request
Q Merlin wrote 7 days ago

How about another killing feature? I have a system which uses the fear and weakness of the other market participants (it’s also used by an institutional swiss investor). In general, I buy my assets into the weakness of the market, which works like this:

  1. If an instrument is the first time oversold, I buy the first 10% of my final investment.
  2. If the price goes further down, then I increase my position by another 20%.
  3. If the price falls again, I increase by another 30%.
  4. If there is actually a fourth discount, then I throw the remaining 40% into the market

Sounds cruel, but works great. So my question is: By today I’m handling this scaling-in fully in Ninja code, since Ninja doesn’t has a Position sizing feature. But QS has one. What about extending this with an option to scale-in a position over max. 4 steps? One condition is absolutely important: It should be possible drive the scaling-in feature within code.

New Dev Blog Post: Rotation Models – a Tool for Evaluating Technical Indicators
Q Glitch wrote 9 days ago

Modern portfolio theory outlined the concept of periodically rebalancing a portfolio to manage risk, and to safeguard against becoming overexposed to a particular asset type. Balanced portfolios always stay 100% invested, but periodically sell off shares of an asset that has outperformed, using the proceeds to purchase another asset whose weight in the portfolio has diminished.

New Extension: Morningstar
released 25 days ago

This historical data extension downloads daily data from Morningstar.com. The site offers a wide array of instruments from around the world. For a comprehensive list, please see Appendix 9.1 of the document below:

Morningstar Reference Guide