Log in to see Cloud of Tags

Wealth-Lab Wiki

Search Engine

Here you can search through the pages of this Namespace, their attachments and the files uploaded to the system.
Note: the results will only display the items you have permissions to read.



Filter by Category

















This search, performed through 3.85 MB (775 documents, 11907 words), completed in 0.0 seconds and yielded 30 results.

TASC 2009-07 | Tr&nd Stop (Vervoort) — 11.7%

[...] 0.2); period = CreateParameter("Period", 10, 2, 100, 2); } public DataSeries TrndsStop(Bars b, int period, double factor ) { DataSeries loss = factor * TASCIndicators.ATRModified.Series(b, period); DataSeries resistance = b.Close + loss; DataSeries support = new DataSeries(b, "Support(" + period + "," + factor + ")"); DataSeries trends = new DataSeries(b, "TrendsStop(" + period + "," + factor + ")"); for (int bar = 0; bar [...]

TASC 2010-05 | Smoothing the Bollinger %b (Vervoort) — 5.8%

Traders' Tip text We took this opportunity to add both the Bollinger %b and the Sylvain Vervoort’s smoothed version to Wealth-Lab’s TASCIndicator library for Version 6. The WealthScript code shows how to access and plot both indicators, their standard deviation bands and parameter sliders. We have to wait for the author’s follow-up article for the indicator’s suggested use in a trading strategy; meanwhile, we look for price divergence as one would with the traditional %b indicator. At the time this went to print, the Nasdaq 100 appears [...]

TASC 2011-07 | A Color-Based System For Short-Term Trading (Kraut) — 5.8%

[...] int lookback ) { Color c = Color.Transparent; if( Bars.Count > lookback ) { int b = bar-lookback; bool green = (Close bar > Close b [...]

TASC 2020-08 | Tracking Relative Strength In Four Dimensions (RS4r) (Garofallou) — 5.2%

[...] 100; var rp5 = CreatePane(20, false, true); PlotSeries(rp5, R5, Color.Red, ls, 2, "R5"); int b [...]

Ichimoku — 4.5%

[...] Ichimoku contains comprised five lines called the Tenkan Sen, Kijun Sen, Senkou Span A, Senkou Span B and Chickou Span, and is devised like an "all-in-one" indicator that helps gauge an market's trend, momentum and support and resistance points at the same time. References: Senkou Span A , Senkou Span B , Tenkan Sen , Kijun Sen , Chikou Span . Ichimoku Cloud Filters Information Storm Example This example nicely plots the Senkou Span A and Senkou Span B indicators as a dual fill band: using System; using [...]

BollingerPctBSmoothed - Bollinger %b Smoothed — 3.2%

[...] Description Bars The symbol's Bars object pctbPeriod The period for Bollinger %b smoothPeriod The smoothing period sdCalc StdDevCalculation Enum: Population or Sample Description Bollinger %b Smoothed from the May 2010 issue of Stocks & Commodities magazine. Calculation (See open source) [...]

WilsonRSIChannel — 3.2%

[...] RSI.Series(Close, rsiPer), Color.Blue, LineStyle.Solid, 2); SetPaneMinMax( rsiPane, 30, 80 ); int b = Bars.Count - 1; double[] rect = { b, 55, b, 70, 0, 70, 0, [...]

TASC 2015-10 | The Money Flow Oscillator (Apirine) — 2.6%

[...] ) // LastPosition.Priority = Close bar ; /* Highlight divergence */ for (int b = peakBar; b peakBar , bar-1, High bar-1 , Color.Red, solid, 2 ); DrawLine( mfoPane, peakBar, mfo peakBar , bar-1, mfo bar-1 , Color.Blue, solid, 2 ); } } /* 1st trough: both price and indicator */ if( trough == false ) { if( ( Low bar-1 == Lowest.Series( Low, low ) bar-1 ) & ( mfo bar-1 == Lowest.Series( mfo, low ) bar-1 ) & TurnUp( bar, Low ) & TurnUp( bar, mfo ) ) { trough [...]

TASC 2017-02 | Exponential Standard Deviation Bands (Apirine) — 2.6%

[...] suggests a flat trend. To illustrate their application we've included a simple system that is based on a %b indicator that depicts how the price relates to the bands as well as to what degree it is above or below any of the bands. If the price is equal to the upper band, %b [...]

FAQ | Position Sizing, Extensions, Miscellaneous — 2.6%

[...] insufficient funds. Why? It is possible in Raw Profit mode when a) Fixed Dollar sizing is selected and b) the selected position size is not enough to purchase even one share of the instrument. It can happen with with higher-priced instruments such as indices. Consider this example: your position size is $1,000 Fixed Dollar, and at the time of entry the security's price exceeds the position size e.g. is $1,100. There are two options: switch to Fixed Shares or increase the Fixed Dollar position size. How do I implement volatility position sizing? Position sizing based [...]

BollingerPctB - Bollinger %b — 2.6%

[...] Description Bars The symbol's Bars object period The period for Bollinger %b StdDevCalculation The StdDevCalculation Enum: Population or Sample Description Bollinger %b [...]

TASC 2017-12 | Weekly & Daily MACD (Apirine) — 2.6%

[...] false; ShortAtMarket( bar+1 ); /* Highlight divergence */ for (int b = peakBar; b peakBar , bar-1, High bar-1 , Color.Red, solid, 2 ); DrawLine( paneWDMACDPane1, peakBar, WM peakBar , bar-1, WM bar-1 , Color.Blue, solid, 2 ); } } /* 1st trough: both price and indicator */ if( trough == false ) { if( ( Low bar-1 == Lowest.Series( Low, low ) bar-1 ) & ( WM bar-1 == Lowest.Series( WM, low ) bar-1 ) & TurnUp( bar, Low ) & TurnUp( bar, WM ) ) { trough [...]

GetAllDataForSymbol — 2.6%

[...] the test period to build indicators, known as "Lead Bars" in legacy versions of Wealth-Lab, affects B&H comparisons and performance metrics sensitive to changes in start/end dates. Imagine an indicator that takes a while to build up - like a 200-day moving average. The Buy & Hold starts immediately while the Strategy has to wait for at least 200 bars. Should Lead Bars exist, they would provide a slightly more accurate statement of performance over the test period when backtesting such Strategy. Fortunately, there's a script-based workaround for situations when there's [...]

TASC 2018-10 | Probability - Probably A Good Thing To Know (Ehlers) — 2.6%

[...] "Occurences"; chart.Series.Add(name); chart.Series name .ChartType = SeriesChartType.Column; for(int b = [...]

SystemResults — 1.9%

[...] beginning of a month using ConvertDateToBar: double MonthStartEquity = EquityCurve 0 ; DateTime b = bars.Date bar ; DateTime tmp = new DateTime(

TASC 2010-04 | Volume-Price Trend Indictor (Hawkins) — 1.9%

[...] DrawLabel(PricePane, "Please switch to Bar (OHLC) Chart Style", Color.Red); return; } int b = bcs.LeftEdgeBar; DataSeries mVPT = new DataSeries(Bars, "Modified VPT"); DataSeries avg4 = (Open + High + Low + Close) / 4d; _level.Value = avg4 b ; DataSeries avg4_1 = avg4 >> 1; DataSeries change = (avg4 - avg4_1) / avg4_1; // changed from *= (Volume / 50000d); // to compensate a little for diverse ranges of Volume change *= ( Volume / Math.Pow(10, Math.Log10(SMA.Value(Bars.Count [...]

BressertDSS — 1.9%

[...] Execute() { //A system based on BressertDSS Levels var r = 13; var n = 8; var b = BressertDSS.Series(Bars, r, n); ChartPane bp = CreatePane(30,false,true); PlotSeries(bp,b,Color.CadetBlue,LineStyle.Solid,2); DrawHorzLine(bp,20,Color.Red,LineStyle.Dashed,1); DrawHorzLine(bp,80,Color.Blue,LineStyle.Dashed,1); for(int bar = GetTradingLoopStartBar(r); [...]

TASC 2013-07 | The Step Candle Pattern (Vervoort) — 1.3%

[...] percent { get; private set; } public List ZigZags { get; private set; } public ZZBuilder( Bars b, double pct ) { this.bars = b; this.percent [...]

TASC 2008-02 | Trading Divergences (Vervoot) — 1.3%

[...] Color.Red, LineStyle.Solid, 2); if (Math.Sign(price pb1 - price pb2 ) == 1) for (int b = pb2; b [...]

TASC 2008-07 | Leader Of The MACD (Siligardos) — 1.3%

[...] false; ShortAtClose( bar ); /* Highlight divergence */ for (int b = peakBar; b [...]

TASC 2013-06 | The 1-2-3 Wave Count (Vervoort) — 1.3%

[...] percent { get; private set; } public List ZigZags { get; private set; } public ZZBuilder( Bars b, double pct ) { this.bars = b; this.percent [...]

TASC 2011-11 | Put/Call Ratio Indicators (Vervoort) — 1.3%

[...] Scale)"; if (Math.Abs(a1 - a2) > 0.00001) { double a = (b1 - b2)/(a1 - a2); double b = (b2 * a1 - a2 * b1)/(a1 - a2); DataSeries s = ds * a; s += b; s.Description [...]

TASC 2019-11 | The Stochastic MACD Oscillator (Apirine) — 1.3%

[...] Color.Red, LineStyle.Solid, 2); if (Math.Sign(price pb1 - price pb2 ) == 1) for (int b = pb2; b [...]

TASC 2008-10 | Asymmetric RSI, ARSI (Vervoort) — 1.3%

[...] false; BuyAtMarket( bar+1 ); /* Highlight divergence */ for (int b = troughBar; b [...]

TASC 2016-05 | Zero In On The MACD (Star) — 1.3%

[...] Color.Red, LineStyle.Solid, 2); if (Math.Sign(price pb1 - price pb2 ) == 1) for (int b = pb2; b [...]

TASC 2009-06 | Modified ATR Trailing Stop (Vervoort) — 1.3%

[...] private bool longPosition; private DataSeries atrMod; public ATRTrail(WealthScript wL, Bars b, bool positionLong, double initialStop, int period, double factor ) { ws = wL; bars = b; [...]

TASC 2012-06 | Trading High Yield (B. Gardner) — 1.3%

Traders' Tip text Since trading high-yield bonds was a simplistic monthly-based strategy, I thought it would be interesting to see how it performed by varying the monthly period by day of month. To do it, I setup of an optimization that calculates the monthly moving average based on the NAV price [...]

TASC 2012-03 | Swami Stochastics Heat Map (Ehlers) — 1.3%

[...] public void SwamiStochHeatMap(DataSeries ds, int plotThickness) { int r = 0; int g = 0; int b = 0; string s = ds.Description + ")"; DataSeries swStoch = new DataSeries(ds, "SwamiStoch(" + s); DataSeries ">49"> swamistoch = new DataSeries[49 ; // Initialize array ArrayHolder ">49"> ah = new ArrayHolder[49 ; for( int n = 4; n n = new ArrayHolder(); // Create and plot the heatmap series (change bar colors later) HideVolume(); HidePaneLines(); ChartPane swPane = CreatePane(50, false, false ); for( [...]

Intraday / Multi-Time Frame | GetIntradayBar and the similar functions — 1.3%

[...] "function") DataSeries GetIntradayBar = Synchronize(CompBar); for(int bar = 0; bar bar ; AnnotateBar(b.ToString("0"), bar, true, Color.Black, Color.Transparent, font); AnnotateBar(CompressedClose b [...]

Wealth-Lab 6 Open Issues — 1.3%

[...] when using "Fixed Bars" Workaround: Use Most Recent (months, days etc.) option (192679) Benchmark B&H Throws "Error processing symbol [last in DataSet]" If no data exists for the first symbol in the DataSet for a Multi-symbol Backtest (Portfolio Simulation mode) and Benchmark B&H [...]

Important Disclaimer: The information provided by Wealth-Lab is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.  The owner of Wealth-Lab.com assumes no liability resulting from the use of the material contained herein for investment purposes. By using this web site, you agree to the terms of this disclaimer and our Terms of Use.


ScrewTurn Wiki. Some of the icons created by FamFamFam.