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 4.04 MB (775 documents, 11955 words), completed in 0.0 seconds and yielded 30 results.

TASC 2008-11 | Corona Charts (Ehlers) — 5.8%

[...] lead; L = lead; if ( fifo.Count < cntMax ) fifo.Add(lead); else { fifo.RemoveAt(0); fifo.Add(lead); } for ( int n = 0; n < fifo.Count - 1; n++) { double val = ( double )fifo[n]; if ( val > H ) H = val; if ( val < L ) L = val; } } public void SuperIndicators(DataSeries ds, out DataSeries domCycMdn, out DataSeries snrSer, out DataSeries psnSer, out DataSeries tvSer) { // Initialize arrays ArrayHolder[] ah = new ArrayHolder[61]; for ( int n = 12; n < 61; [...]

TASC 2016-09 | Measuring Market Cycles (Ehlers) — 3.0%

[...] paramEnhance; public TASC201609() { paramEnhance = CreateParameter( "Enhance Resolution" , 0, 0, 1, 1); } protected override void Execute() { bool EnhanceResolution = paramEnhance.ValueInt == 0 ? false : true ; DataSeries HP = new DataSeries( Bars , "HP" ); DataSeries Filt = new DataSeries( Bars , "Filt" ); DataSeries DominantCycle = new DataSeries( Bars , "DominantCycle" ); double Deg2Rad = Math.PI / 180.0; double cosInDegrees = Math.Cos((.707 [...]

TASC 2014-06 | Slope Divergence: Capitalizing On Uncertainty (Kaufman) — 2.6%

[...] using WealthLab.Indicators; namespace WealthLab.Strategies { enum Side { Buy = 1, Sell = -1, NA = 0 } public class TASC201406_Kaufman : WealthScript { Side SingleDivergence( int bar, int period, int momperiod, DataSeries ps, DataSeries ms, out bool trendup, out bool trenddn, out int p, out int m ) { trendup = (ps[bar] > 0 && ms[bar] > 0); trenddn = (ps[bar] < 0 && ms[bar] < 0); p = ps[bar] >= [...]

Errors | General — 1.9%

[...] help, then the problem is caused by a documented bug with proxy authentication in Microsoft .NET 2.0. It has been patched but the patch is actually in the .NET 3.5 installation. Please install the following .NET 3.5 patch from Microsoft to fix the problem Microsoft .NET Framework 3.5 Service Pack 1 One more workaround to try: Download this Zip file containing patched version of the WealthLabDev.exe.config file. Close WLD6. Unpack this file to \Program Files\MS123\Wealth-Lab Developer 6\ , replacing existing WealthLabDev.exe.config. Start WLD6 and try again. If nothing [...]

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

[...] paramLookbackForStepPattern; public IRSTS_StepPattern() { paramPercent = CreateParameter( "Reversal %" , 10.0, 1.0, 50.0, 1.0); paramLookbackForStepPattern = CreateParameter( "Lookback" , 3, 1, 20, 1); } bool isInsideBody( int bar, double price ) { return price <= Math.Max( Open [bar], Close [bar]) && price >= Math.Min( Open [bar], Close [bar]); } bool Upstep( int bar, int lookback ) { bool result = false ; bool way1 = ( Open [bar] > Close [...]

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

[...] StrategyParameter paramSL; public IRSTS123Strategy() { paramPercent = CreateParameter( "Reversal %" ,5.0, 1.0, 50.0, 1.0); paramPT = CreateParameter( "Profit Target %" ,20.0,1.0,50.0,1.0); paramSL = CreateParameter( "Stop Loss %" ,5.0,1.0,20.0,1.0); } [...]

TASC 2013-03 | Camarilla Points (Bobrowski) — 1.5%

[...] Camarilla() { Clear(); } public void FindPivotLevels( double high, double low, double close ) { R1 = 0; R2 = 0; R3 = 0; R4 = 0; R5 = 0; S1 = 0; S2 = 0; S3 = 0; S4 = 0; S5 = 0; double Range = high - low; R5 = ( high / low ) * close; R4 = close + Range * 1.1 / 2; R3 = close + Range * 1.1 [...]

TASC 2008-03 | Measuring Cycle Periods (Ehlers) — 1.5%

[...] 6); } // Convert decibels to RGB color for display for ( int n = 0; n <= 10; n++ ) // yellow to red: 0 to 10 dB color[n] = Color.FromArgb(255, ( int )(255 - (255 * n / 10)), 0); for ( int n = 11; n <= 20; n++ ) // red to black: 11 to 20 db color[n] = Color.FromArgb( ( int )(255 * (20 - n)/10 ), 0, 0); // Detrend data by High Pass Filtering with a 40 Period cutoff DataSeries [...]

Swing Functions — 1.3%

[...] StrategyParameter sliBoxedSeries; public MyStrategy() { sliLeft = CreateParameter( "left bars" , 13, 0, 30, 1); sliLeftPrice = CreateParameter( "left price" , 3.5, 0, 100, 0.001); sliRight = CreateParameter( "right bars" , 5, 1, 30, 1); sliRightPrice = CreateParameter( "right price" , 1.5, 0, 100, 0.001); sliPercent = CreateParameter( "use percent chg" , 1, 0, 1, 1); sliOccur = CreateParameter( "occurence" , [...]

TASC 2008-08 | Premier Stochastic Oscillator (Leibfarth) — 1.3%

[...] Stochastic strategy available in WL Developer 5.1. Long trades: Premier stochastic crosses below 0.90, Premier stochastic crosses below 0.20 Short trades: Premier stochastic crosses above -0.90, Premier stochastic crosses above -0.20 Strategy Code using System; using System.Collections.Generic; using System.Text; using System.Drawing; using WealthLab; using WealthLab.Indicators; namespace WealthLab.Strategies { // Premier Stochastic public class PremierStochastic [...]

Import real (historical) trades — 1.3%

[...] time,Entry name,Exit name,Profit,Cum. profit,Commission,MAE,MFE,ETD,Bars, 1,$AUDUSD,Backtest,ACE,Long,30000,

TASC 2019-09 | A Simple Way To Trade Seasonality (Kaufman) — 1.2%

[...] then "Other Assemblies..." > "Add a reference" //2. In "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\" (or "Framework" on 32-bit systems), //choose and okay "System.Windows.Forms.DataVisualization.dll" namespace WealthLab.Strategies { public class SC_2019_09_KaufmanSeasonality : WealthScript { private StrategyParameter paramYears; private StrategyParameter paramPrice; private StrategyParameter paramThresholdHigh; private StrategyParameter paramThresholdLow; public SC_2019_09_KaufmanSeasonality() { paramYears = CreateParameter( "Average, [...]

Errors | Data — 1.2%

[...] AsciiConfig.xml and start Wealth-Lab: C:\Users\ Your User Name \AppData\Roaming\ WealthLabPro or WealthLabDev \1.0.0.0\Data\ Incorrect number of fields or incorrect fields separator Symptoms: You are not able to parse your data because the parser throws an exception: "Incorrect number of fields or incorrect fields separator". You are sure that the selected data format is correct. Solution: Of course, this usually happens when selected format options were incorrect, but there's one special case you should know. It happens [...]

TASC 2013-01 | The DMI Stochastic (Star) — 1.1%

[...] adding prejudice. Entry rules Pullback entry: Buy at open next bar if the DMI Oscillator is above 0 and the DMI Stochastic crosses above 10. Short at open next bar if the DMI Oscillator is below 0 and the DMI Stochastic crosses below 90. Countertrend entry: Short at open next bar if the DMI Oscillator crosses under -20. Buy at open next bar if the DMI Oscillator crosses above 20. Exit rules Fixed bars: exit at open next bar when the specified number of days has been reached. Profitable and Losing closes (profitable close is a [...]

TASC 2014-12 | Detecting Flags In Intraday Charts (Katsanos) — 1.1%

[...] CreateParameter( "Pole Timeout" , 23, 10, 50, 1); paramPoleHeight = CreateParameter( "Pole Height" , 5.5, 1.0, 10, 0.5); paramUptrendBeforePole = CreateParameter( "Uptrend Before Pole" , 70, 10, 100, 10); paramSMAPeriod = CreateParameter( "SMA Period" , 50, 10, 100, 5); paramFlagHeight = CreateParameter( "Flag Height" , 2.5, 0.5, 5.0, 0.5); paramFlagTimeout = CreateParameter( "Flag Timeout" , 15, 3, 30, 1); paramMinFlagDuration = CreateParameter( [...]

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

[...] period = 10, bool plotSeries = false ) { var rs = new DataSeries(ds, string .Format( "RS2t({0},{1},{2}" , ds.Description, index, period)); var extSym = GetExternalSymbol (index, true ); var RS1 = ds / extSym. Close ; var Fast = EMAModern.Series(RS1, period); //Fast MA: Orange var Med = SMA.Series(Fast, 7); //Medium MA: Green var Slow = SMA.Series(Fast, 15); //Slow MA: Red var Vslow = SMA.Series(Slow, 30); //V Slow MA: Blue int Tier1 = 0, Tier2 = 0, Tier3 = [...]

Balancing PosSizer — 0.8%

[...] RebalanceStrategy() { entry1portion = CreateParameter(entry1symbol + " portfolio percentage" , 30, 0, 100, 5); entry2portion = CreateParameter(entry2symbol + " portfolio percentage" , 30, 0, 100, 5); entry3portion = CreateParameter(entry3symbol + " portfolio percentage" , 30, 0, 100, 5); holdingPeriod = CreateParameter( "holding period" , 60, 5, 200, 5); symInfos = new Tuple< string , double >[numEntries]; MS123.PosSizers.BalancingPosSizer.SymInfos = symInfos; } private [...]

TASC 2018-08 | Portfolio Strategy Based On Accumulation/Distribution (D'Errico) — 0.8%

[...] paramEntryBreakout ; public TASC_2018_08() { paramMode = CreateParameter( "A/D/ ATR/ ADX" , 0, 0, 2, 1); paramLength = CreateParameter( "Length" , 4, 4, 10, 2); paramADX = CreateParameter( "ADX Trigger" , 30, 5, 40, 5); paramConsTimeout = CreateParameter( "Cons. timeout" , 4, 2, 20, 2); paramConsFactor = CreateParameter( "Cons. factor" , 0.75, 0.25, 0.75, 0.25); paramEntryBreakout = CreateParameter( "Brkout/Pullback" [...]

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

[...] new Queue(); // FIFO queue private double AverageQueue() { if (_priceQueue.Count == 0) return 0; double sum = 0; foreach (Object obj in _priceQueue) sum += ( double )obj; return sum / _priceQueue.Count; } public void SetNextMonth() { if (_dayOfMonth.ValueInt == 0) return ; int y = _endofMonth.Year; int m = _endofMonth.Month; m++; if (m > 12) { m = 1; y++; } _endofMonth = new DateTime(y, m, _dayOfMonth.ValueInt); } [...]

Parabolic — 0.8%

[...] current bar AF = Acceleration Factor EP = Extreme Point for current trade The AF used by Wilder is 0.02. This means move the stop 2 percent of distance between EP and the original stop. Each time the EP changes, the AF increases by 0.02 up to the maximum acceleration, 0.2 in Wilders' case. Practical values are: AF range 0.01 to 0.025, and AFmax range of 0.1 to 0.25. If long then EP is the highest [...]

TASC 2017-01 | Mean-Reversion Swing Trading (Calhoun) — 0.8%

[...] CreateParameter( "Expires after" , 10, 5, 20, 5); paramSecondEntry = CreateParameter( "Second entry?" , 1, 0, 1, 1); } protected override void Execute() { bool runup = false , reversion = false , pullback = false , secondEntry = paramSecondEntry.ValueInt == 1; int runupBar = -1, pBar = -1, reversionBar = -1, uptrendDays = paramUptrendDays.ValueInt; double runupStart = 0, runupHigh = 0, runupRange = 0, pivotPrice = 0, reversionThreshold [...]

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

[...] Denom; } 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[] swamistoch = new DataSeries[49]; // Initialize array ArrayHolder[] ah = new ArrayHolder[49]; for ( int n = 4; n < 49; n++ ) ah[n] = new ArrayHolder(); // Create and plot the heatmap series (change bar colors later) [...]

TASC 2009-11 | Seasonal System for Soybean Futures (Katsanos) — 0.7%

[...] stop as the only exit criteria with an arbitrary Fibonacci period of 55 and an ATR coefficient of 3.0 increased profitability of trading 1 contract (8.1% vs. 6.7% APR) and win rate (63.5% vs. 52.1%) while decreasing number of trades (63 vs. 71) and drawdown (6.13% vs. 6.55% based on $100K Starting Equity). Figure 1 illustrates how the new exit strategy generally helped to keep trades active longer with a well-defined risk. Figure 1. The strategy that used the Chandelier exit (top) often gave trades the wiggle room they needed for increased profitability, particularly [...]

TASC 2011-06 | Entering The Price Zone (Khalil, Steckler) — 0.6%

[...] EMACalculation.Modern ); for ( int bar = period; bar < Bars .Count; bar++) { if ( TV[bar] ! = 0 ) PZO[bar] = 100 * VP[bar] / TV[bar]; } ChartPane pzoPane = CreatePane ( 30, true , true ); PlotSeriesOscillator ( pzoPane, PZO, 60, -60, Color.Red, Color.Blue, Color.Black, LineStyle.Solid, 1 ); DrawHorzLine ( pzoPane, 60, Color.DarkGreen, LineStyle.Dotted, 2 ); DrawHorzLine ( pzoPane, -60, Color.Red, LineStyle.Dotted, 2 ); DrawHorzLine ( pzoPane, 40, Color.DarkGreen, LineStyle.Solid, 1 ); DrawHorzLine ( pzoPane, -40, Color.Red, [...]

TASC 2011-05 | Volume Zone Oscillator (Khalil, Steckler) — 0.6%

[...] EMACalculation.Modern ); for ( int bar = period; bar < Bars .Count; bar++) { if ( TV[bar] ! = 0 ) VZO[bar] = 100 * VP[bar] / TV[bar]; } ChartPane vzoPane = CreatePane ( 30, true , true ); PlotSeriesOscillator ( vzoPane, VZO, 60, -60, Color.Red, Color.Blue, Color.Black, LineStyle.Solid, 1 ); DrawHorzLine ( vzoPane, 60, Color.DarkGreen, LineStyle.Dotted, 2 ); DrawHorzLine ( vzoPane, -60, Color.Red, LineStyle.Dotted, 2 ); DrawHorzLine ( vzoPane, 40, Color.DarkGreen, LineStyle.Solid, 1 ); DrawHorzLine ( vzoPane, -40, Color.Red, [...]

TASC 2017-08 | Artificial Intelligence For System Development (D’Errico & Trombetta) — 0.6%

[...] StrategyParameter paramGap; public TASC201708() { paramLookback1 = CreateParameter( "AP bars" ,1,0,4,1); paramLookback2 = CreateParameter( "MP1 bars" ,3,0,4,1); paramLookback3 = CreateParameter( "MBP1 bars" ,0,0,4,1); paramLookback21 = CreateParameter( "MP2 bars" ,2,0,4,1); paramLookback31 = CreateParameter( "MBP2 bars" ,1,0,4,1); paramLookback32 = CreateParameter( "MBP3 bars" ,2,0,4,1); paramExitAfter [...]

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

[...] paramUseWarnings; public TASCMay2016_Crossovers() { paramUseWarnings = CreateParameter( "Filter Warnings" ,0,0,1,1); } protected override void Execute() { var wma = WMA.Series( Close ,34); var ema = EMA.Series( Close ,55,EMACalculation.Modern); var macd = MACD.Series( Close ); bool avoidWarningBars = paramUseWarnings.ValueInt == 1 ? true : false ; macd.Description = "MACD as Histogram" ; ChartPane MACDPane = CreatePane (25, true , true ); PlotSeries (MACDPane, macd, Color.Red, LineStyle.Histogram, 2); [...]

Black Scholes formula — 0.6%

[...] public class MyStrategy : WealthScript { private string str ( double s) { return String.Format( "{0:0.00}" , s); } protected override void Execute() { double price = Bars . Close [ Bars .Count-1]; if ( price < 10 ) Abort (); double call = price.BlackScholes( price + 5.0d, 60, 1d, 20.0, CalcEx.CallPutFlag.Call ); // days=60, rate=1%, volatility=20%=0.20 double put = price.BlackScholes( price - 5.0d, 60, 1d, 20.0, [...]

Divergence Between Two DataSeries (Detect, Plot) — 0.6%

[...] RSI.Series( Close ,period.ValueInt); PlotSeriesOscillator (rsiPane,rsi,70,30,Color.FromArgb(63,0,0,255),Color.FromArgb(63,255,0,0),Color.FromArgb(255,0,0,128),LineStyle.Solid,2); DataSeries pd = this .PlotPeakDivergence(6, PricePane , High , 10d, rsiPane, rsi, 15d); PlotSeries (divPane, pd, Color.Blue, LineStyle.Solid, 2); DataSeries td = this .PlotTroughDivergence(6, PricePane , Low , 10d, rsiPane, [...]

IQFeed Streaming, Static, and Fundamental Data Provider — 0.6%

[...] auto;-webkit-overflow-scrolling: touch;}} Index (6.1) Field Name Return Type Description of field 0 F string The character F, indicating a fundamental data message 1 Symbol string The Symbol ID to match with watch request 2 Exchange ID int This is the Exchange Group ID. Converted from hex to decimal - use the Listed Markets lookup to decode this value. 3 PE double Price/Earnings ratio 4 Average Volume int Average daily volume in 1000's of shares (4 week average) 5 52 Week High double Highest price of the last 52 weeks. [...]

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.