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.
[...] L)
{
H = lead; L = lead;
if( fifo.Count n ;
if( val > H ) H = val;
if( val ">61"> ah = new ArrayHolder[61 ;
for( int n = 12; n n = new ArrayHolder();
double domCycle = 0d;
string s = ds.Description + ")";
DataSeries ">61"> DB = new DataSeries[61 ;
DataSeries domCyc = new DataSeries(Bars, "DC(" + s);
domCycMdn = new DataSeries(Bars, "DomCyc(" + s);
snrSer = new DataSeries(Bars, [...]
[...] A = advancers, D = decliners, TI = total issues, UV = up volume, DV = down volume, V = volume, H = new highs, L = new lows Climax Indicator (CLX) CLX is the number of symbols with upside breakouts in their On Balance Volume minus the number of symbols having downside breakouts in OBV . It oscillates around a zero line; negative readings is the number of stocks dropping in price on large volume, and vice versa. Look for confirmations or non-confirmations of price moves by the CLX. For example, of CLX drops on a general up day in the "Basic [...]
[...] (futures, commodities, rates, stocks, indices, bonds, currencies...) free COT data (in legacy and new formats) free sentiment data (AAII, NYSE, NAAIM...) free historical U.S. Treasury yield curve rates subscription-based fundamental data by Zacks (up to 200 fundamental items, dividends, earnings esimates/surprises, analyst ratings) More instruments can be supported. Please suggest your candidates for inclusion in this forum thread: Visit the Quandl provider support thread Setting up
It's a must that before using the provider you obtain a so called Auth Token [...]
[...] close together, the group is largely in agreement. One of the differences made by author BC Low is that new trend starts when signaled by TAC-DMI clusters converging at an extreme and then reversing as a group. On the contrary, multiple moving averages tend to expand as a group, following a change in price direction. As the Strategy code below illustrates, the convergence pattern of triple ADX, DI+ or DI- can be formalized pretty easily in WealthScript. Our “Convergence” routine with configurable thresholds highlights each of the four events on a chart triggered by combining [...]
[...] TroughSeries()
public DataSeries TroughBarSeries()
public DataSeries PeakTroughSeries()
public void Draw(Color upColor, Color downColor, LineStyle style, int width)
public void PlotPeakTrough(Color plotColor, int width)
public Dictionary ZZs
ws A WealthScript reference. Pass this reversalAmount The amount of price reversal in percentage or points per the ptmode parameter that determines when a peak or trough as formed. initializeAsTrough Pass true or false to initialize the data series as a peak or a trough. [...]
[...] Execute()
{
if ( !Bars.IsIntraday )
{
DrawLabel( PricePane, "For use on intraday data", Color.Red );
Abort();
}
// Change scale to Daily
HideVolume();
SetScaleDaily();
Bars dailyBars = Bars;
DataSeries CompBar = new DataSeries(Bars, "Compressed Bar Numbers");
for (int bar = 0; bar bar = bar;
RestoreScale();
dailyBars = Synchronize(dailyBars);
DataSeries GetDailyBar = Synchronize(CompBar); // Initialize an instance of the CamarillaPoint class
Camarilla c = new [...]
[...] static void DrawLinRegChannel(this WealthScript obj, int bar, DataSeries ds, int period, double width, Color color, LineStyle style, int line)
public static void DrawLinRegChannel(this WealthScript obj, int bar, DataSeries series, int period, Color color, LineStyle style, int line)
public static void DrawLinRegChannel(this WealthScript obj, int bar, DataSeries series, int period, double width, Color color, LineStyle style, int [...]
[...] Free trial users can not access this content.
Introduction
This document explains how to create new static data adapters for Wealth-Lab.Net. A static data adapter allows Wealth-Lab to load, chart, and backtest historical bar/volume data. The static data adapter itself is a .Net class that derives from the StaticDataProvider base class, and resides in a .Net library assembly (dll). To build a Static Data Provider, perform the following steps: Create a Class Library project in Visual Studio that will contain one or more Static Data Adapters. Add a reference to the [...]
[...] percent = paramPercent.Value;
const string t = "\t"; string s = string.Empty;
ZZBuilder zz = new ZZBuilder( Bars, percent );
List lst = zz.ZigZags; bool[] BearishEngulfing; CandlePattern.BearishEngulfingLines(this, s, false, out BearishEngulfing);
bool[] BullishEngulfing; CandlePattern.BullishEngulfingLines(this, s, false, out BullishEngulfing);
bool[] BearishHarami; CandlePattern.BearishHarami(this, s, false, out BearishHarami);
bool[] BullishHarami; CandlePattern.BullishHarami(this, s, false, out BullishHarami);
HideVolume(); SetBarColors(
[...] Creating a Screener in the WealthScript Programming Guide), After that, you'll need to "Open Code in new Strategy Window" and make the following edit: // IS:
BuyAtLimit(bar + 1, High bar , ""); // CHANGE TO:
BuyAtStop(bar + 1, High bar + 0.10, "");
I'm not able to edit the optimization parameters (Default, Start, End, Increment) in the Optimization Control tab for rule-driven strategies. It's locked for rule-based strategies by design. You will have to "Convert to code-based strategy" or "Open Strategy code in new window". For advanced [...]
[...] WealthLab.Strategies
{
public class FibLucas : WealthScript
{
private StrategyParameter paramAmount;
int ">"> fib = new int[ {5,8,13,21,34,55,89,144,233,377,610,987,1597,2584,4181,6765};
int ">"> lucas = new int[ {3,4,7,11,18,29,47,76,123,199,322,521,843,1364,2207,3571};
Font font = new Font("Wingdings", 8, FontStyle.Bold);
Font font2 = new Font("Verdana", 7, FontStyle.Regular);
string upArrow = Convert.ToChar(0x00E9).ToString();
string dnArrow = Convert.ToChar(0x00EA).ToString();
[...]
[...] have to run the second script on the same symbol in the same scale. Script 2 will re-calculate the new value each day. Also, if you delete or change the position of the Trendline, you need to click "Go" again to remove/change the data for the Resistance Trendline in the file. Code
Script 1: Write Trendline Data to a file After you draw and name (or delete) your trendline named "Resistance", click "Go" to run this script, which writes the data to a file in your Wealth-Lab User \Data directory named MyTrendLineAlerts.txt . Repeat the process for any symbol and scale [...]
[...] CreateParameter("Gaussian Period",50,10,100,5);
donchPer = CreateParameter("Donchian Period",13,8,21,1);
rsiPer = CreateParameter("RSI Period",3,2,21,1);
smaPer = CreateParameter("SMA(RSI)Period",3,2,21,1);
}
protected override void Execute()
{
bool longSetup = false;
bool sellSetup = false;
Font font = new Font("Wingdings", 8, FontStyle.Bold);
string diamond = Convert.ToChar(0x0077).ToString();
// Create and Plot Indicators
[...]
Syntax
public static void PriceVolumeDist(this WealthScript obj, int Lookback, Color LineColor, Color FillColor) public void PriceVolumeDist( int Lookback, System.Color LineColor, System.Color FillColor );
Parameter Description Lookback Number of bars used in the distribution LineColor Outline color of the distribution bars. For no outline, pass the same color as FillColor FillColor Fill color [...]
[...] strategy in action applied to Natural Gas, continuous futures contract ( NG20_I0B , daily). Although the new oscillator implementation is pretty straightforward, the accompanying system rules have to function in different market regimes and cover such events as positive and negative price/oscillator divergences. The complexity of their implementation is hidden in additional library, " Community Components ", available for download to Wealth-Lab customers from our site ( Extensions section). Users can see the divergence lines drawn on a chart (the traditional way) and as [...]
[...] Bi-Weekly and Monthly scales contain 10 and 22 trading days (respectively), it doesn't look like the new scale would be that necessary to bring much difference from either Bi-Weekly or Monthly. Out of the box, Wealth-Lab does not support custom chart scales like Bi-Weekly or Half-Quarterly. Alhtough the scales like Bi-Weekly or Quarter Quarterly could be accomplished fairly easily using the EOD Scaling Provider (a Wealth-Lab addon), we felt it would make more sense if the voting process considered intraday data instead. As a result, our aggregate voting indicator polls [...]
[...] calculation
Description NewMax by DrKoch www.finantic.de 2004-06-22 This indicators finds new highs and new lows.
The value walks between -100 and +100.
If Price action reaches a new high relative to period Bars, the NewMax indicator is +100.
If Price action reaches a new low, the NewMax Indicator is -100.
Example This example illustrates how to plot the NewMax indicator and trade using it, based on a WL4 chartscript by Dr.Koch called "NewMax Trader". It enters a [...]
[...] Chande, indicates if a price is trending or in range trading. It can also reveal the beginning of a new trend, its strength and also allows you to anticipate changes from trading ranges to trends. AroonDown and the AroonUp indicators are used together and combined are called the Aroon indicator. AroonUp measures how long it has been since prices have recorded a new high within the specified period. If the current price is higher then the user defined number of periods before it, then the AroonUp value is %100. In other words, it's a
[...] class
AdaptiveLookback ap = AdaptiveLookback.Series( Bars, paramSwings.ValueInt, false );
DataSeries adaptiveRSI = new DataSeries( Bars, "Adaptive RSI" );
RSI rsi = RSI.Series(Close, 14);
// Build the adaptive RSI series
for (int bar = ap.FirstValidValue; bar bar = RSI.Series( Close, Math.Max( 1, (int)ap bar ) ) bar ; LineStyle solid = LineStyle.Solid;
ChartPane arPane = CreatePane( 50, true, true ); HideVolume();
PlotSeries( arPane, adaptiveRSI, Color.Blue, solid, 2 );
PlotSeries( arPane, rsi, Color.DarkBlue, [...]
[...] Zone Oscillator strategy in action applied to a Daily chart of Walt Disney Co. ( DIS ). Although the new complementary oscillator implementation is pretty straightforward, the accompanying system rules have to function in different market regimes and cover such events as positive and negative price/oscillator divergences. The complexity of their implementation is hidden in an additional library, "Community Components" , available for download to Wealth-Lab customers from our site www.wealth-lab.com ( "Extensions" section). On Figure 1, users can see the divergence lines [...]
[...] data only exists in your database (and can't be edited in WL) Supports Market Manager
Creating a new DataSet
To work with a database containing some data, you need to create a new static DataSet first. Pick the appropriate Provider from the list of available ones (e.g. System.Data.OleDb/ODBC for Excel, Access, text files and lots more, System.Data.SqlClient for SQL Server etc.), compose a connection string, and you're ready for the next step. Usually, this is a no-brainer for the database guys, but should you feel lost in connection [...]
[...] Wealth-Lab's Tools menu. For example, tools like Market Manager and Neuro-Lab are already using it. To use the new API, create a class derived from the base class MenuItemHook . The class has one method that needs to be overridden : public abstract void AddMenuItems(IMenuItemAdder adder); This method gives you an instance of a IMenuAdder interface (the "adder" variable). You can call adder.AddMenuItem to add a menu to WL6.x: public override void AddMenuItems(IMenuItemAdder adder)
{
adder.AddMenuItem("Mini App", "&Tools", "Index-Lab ®",
new [...]
[...] automatically by programming a simple peak/trough search and using the bar number results to obtain a new Midas indicator. Strategy Code Note! Requires TASCIndicators 1.0.2 or greater. using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;
using WealthLab.Indicators;
using TASCIndicators; namespace WealthLab.Strategies
{
public class MidasTouch : WealthScript
{
protected override void Execute()
{
const int c = 6;
const double pct = 7d;
Color ">c"> color [...]
[...] Vervoort is presented. Included Strategy demonstrates how to calculate all the traditional and the new pivot series using data compressed in the Daily scale and then save the information in the Intraday scale so that it can be charted. Figure 1 illustrates the usual “floor trader” pivots as well as the new “SvePivots”
Code using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;
using WealthLab.Indicators; namespace WealthLab.Strategies
{
public class SvePivots : WealthScript
{
private [...]
[...] - DIMinus.Series(Bars, 10);
var smi = SMI.Series(Bars, 8, 3, 3); PlotSeries( PricePane, hilo, Color.DarkGreen, LineStyle.Solid, 2);
PlotSeries( CreatePane( 30,false,true), dmi, Color.DarkGreen, LineStyle.Histogram, 3);
ChartPane sPane = CreatePane( 30,false,true);
PlotSeries( sPane, smi, Color.Fuchsia, LineStyle.Solid, 2);
DrawHorzLine( sPane, 40, Color.Green, LineStyle.Dashed, 1);
DrawHorzLine( sPane, -40, Color.Red, LineStyle.Dashed, [...]
[...] DataSeries cosine)
{
double twoPi = 2 * Math.PI;
// Initialize arrays
ArrayHolder ">51"> ah = new ArrayHolder[51 ;
for( int n = 8; n n = new ArrayHolder();
Color ">21"> color = new Color[21 ;
DataSeries ">51"> DB = new DataSeries[51 ;
double domCycle = 0d;
string name = ds.Description;
DataSeries result = Close [...]
[...] WealthScript
{
// Plots the percent change of the charted symbol and the benchmark symbols in a new pane
public void PlotBenchMarkPct(string ">"> bmSymbols, Color[ colors, DateTime fromDate)
{
int bar = Bars.ConvertDateToBar(fromDate, false);
SetBackgroundColor(bar, Color.Pink);
ChartPane cp = CreatePane(60, true, true);
DrawLabel(cp, "Percent Change since " + fromDate.ToShortDateString(), Color.Navy);
int c = 0;
foreach (string sym in bmSymbols)
{
Bars [...]
[...] available through our Wealth-Data provider - the advancing, declining and unchanged issues as well as new highs/lows for AMEX, NASDAQ and NYSE. Here are the symbols: Symbol Description $AMEX_ADVN AMEX Advancing Issues $AMEX_DECLN AMEX Declining Issues $AMEX_UNCHN AMEX Unchanged Issues $NASDAQ_ADVN NASDAQ Advancing Issues $NASDAQ_DECLN NASDAQ Declining Issues $NASDAQ_UNCHN NASDAQ Unchanged Issues $NYSE_ADVN NYSE Advancing Issues $NYSE_DECLN NYSE Declining Issues $NYSE_UNCHN NYSE Unchanged Issues $AMEX_newhi AMEX New Highs $AMEX_newlo [...]
Traders' Tip text
Below is the C# code for Wealth-Lab 6 that plots the indicators and does color highlighting used in Barbara Star's TMV template. The Strategy is available for instant download from Wealth-Lab's "Open Strategy" dialog. Keep in mind that the breakout and retracement opportunities suggested by the template are to be found in trending markets. Figure 1. A Wealth-Lab 6.3 chart showing the highlighting according to the TMV template using Daily data of Crude Oil futures contract. The bottom pane visualizes the Volume Oscillator (OscV) featured in [...]
[...] Library. In addition, the money management rule for not sharing profit or loss between symbols inspired a new MS123.PosSizer to be created for that purpose. The Equity Curve for the Portfolio Simulation with $100,000 starting equity is shown in Figure 1. As a reminder, Wealth-Lab users should install the CBOE Provider extension from Wealth-Lab.com to easily access and update Put/Call Ratio data directly from the CBOE website.
Figure 1. The strategy was able to avoid Buy & Hold’s large drawdown in 2008 (blue) by trading from the short side (red), which compensated [...]