Home    |    Trading Alchemy Indicator Manual    |    Trading Alchemy Strategies Manual

Alchemy Functions Index:

For function definitions, click on the corresponding function:

Alchemy2LineCross

Alchemy2LineCross is a multiple-output function that returns different values based on the relation between 2 lines.  The value of the slow line is passed by reference back to the variable oEntryLimit.

Alchemy3LineCross

Alchemy3LineCross is a multiple-output function that returns different values based on the relation between a fast line and 2 slow lines.  The value of a specified slow line is passed by reference back to the variable oEntryLimit.

AlchemyBearEngulfmnt

AlchemyBearEngulfmnt identifies a bearish engulfment bar.  If the criteria of a bearish engulfment bar is met, the AlchemyBearEngulfmnt function returns 1, otherwise a -1 will be returned.

AlchemyBearishBar

AlchemyBearishBar identifies a bearish bar.  If the criteria of a bearish bar is met, the AlchemyBearishBar function returns 1, otherwise a -1 will be returned.

AlchemyBearishDiverg

AlchemyBearishDiverg function searches for and finds occurrences of highs in prices (i.e., High, Close, etc.) not accompanied by highs in an oscillator (i.e., RSI, Percent R, SlowD). If the criteria of the Bearish Divergence function is met, a +1 will be returned; if it has not been met, a 0 will be returned.

AlchemyBearReversal

AlchemyBearReversal identifies a bearish reversal bar.  If the criteria of a bearish reversal bar is met, the AlchemyBearReversal function returns 1, otherwise a -1 will be returned.

AlchemyBearStrength

AlchemyBearStrength function returns the market's bearish strength based on the Keltner Channel's downside running pattern.  A Keltner Channel downside running pattern is defined as a downside penetration of the lower Keltner band by a minimum number of bars.

AlchemyBreakout

AlchemyBreakout is a multiple-output function that returns all of the values of the Alchemy Breakout Indicator.

AlchemyBreakStartEnd AlchemyBreakStartEnd is a function that returns true when an intra-day bar is outside a specified start and end time period and it returns false when an intra-day bar is within a specified start and end time period.

AlchemyBullEngulfmnt

AlchemyBullEngulfmnt identifies a bullish engulfment bar.  If the criteria of a bullish engulfment bar is met, the AlchemyBullEngulfmnt function returns 1, otherwise a -1 will be returned.

AlchemyBullishBar

AlchemyBullishBar identifies a bullish bar.  If the criteria of a bullish bar is met, the AlchemyBullishBar function returns 1, otherwise a -1 will be returned.

AlchemyBullishDiverg

AlchemyBullishDiverg function searches for and finds occurrences of lows in prices (i.e., Low, Close, etc.) not accompanied by lows in an oscillator (i.e., RSI, Percent R, SlowD). If the criteria of the Bullish Divergence function is met, a +1 will be returned; if it has not been met, a 0 will be returned.

AlchemyBullReversal

AlchemyBullReversal identifies a bullish reversal bar.  If the criteria of a bullish reversal bar is met, the AlchemyBullReversal function returns 1, otherwise a -1 will be returned.

AlchemyBullStrength

AlchemyBullStrength function returns the market's bullish strength based on the Keltner Channel's upside running pattern.  A Keltner Channel upside running pattern is defined as an upside penetration of the upper Keltner band by a minimum number of bars.

AlchemyChaikinOsc AlchemyChaikinOsc is a function that returns the Chaikin Oscillator value for the Alchemy Chaikin Oscillator indicator (Alchemy ChaikinOsc).

AlchemyDailyAccumPLEx

AlchemyDailyAccumPLEx is a multiple-output function that returns true when a specified maximum daily accumulated position profit or loss is reached.  This function is used in the Alchemy Daily Accumulated Profit-Loss Exit Strategy (AlchemyDailyAccumProfitLossExit).

AlchemyDailyRes

AlchemyDailyRes is a multiple-output function that returns the value of the next higher daily resistance that has not been violated yet.  The value for the date of this daily high is passed by reference back to the variable oResDate.

AlchemyDailySupport

AlchemyDailySupport is a multiple-output function that returns the value of the next lower daily support that has not been violated yet.  The value for the date of this daily low is passed by reference back to the variable oSupportDate.

AlchemyDivergence

AlchemyDivergence function searches for and finds divergence.  It returns +1 for bullish divergence, -1 for bearish divergence, otherwise it returns 0.

AlchemyDivergeUniver  

AlchemyDivergeUniver is a multiple-output function that provides the calculation of bearish and bullish divergence of the Alchemy UniverDiverg indicator.

AlchemyDivergeUniver02 

AlchemyDivergeUniv02 is a multiple-output function that returns the divergence values of our Alchemy Ultimate Divergence indicators within its multiple output variables.  The function returns 1 when the multiple output variable oBullDiv is true, the function returns -1 when the multiple output variable oBearDiv is true and otherwise, the function returns 0.

AlchemyDoubleHighBar

AlchemyDoubleHighBar identifies a double top bar.  If the criteria of a double top bar is met, the AlchemyDoubleHighBar function returns 1, otherwise a -1 will be returned.

AlchemyDoubleLowBar

AlchemyDoubleLowBar identifies a double bottom bar.  If the criteria of a double bottom bar is met, the AlchemyDoubleLowBar function returns 1, otherwise a -1 will be returned.

AlchemyDualBearDiv

AlchemyDualBearDiv function searches for and finds occurrences of highs in prices (i.e., High, Close, etc.) not accompanied by highs in an oscillator (i.e., RSI, Percent R, SlowD). If the criteria of the Bearish Divergence function is met, a +1 will be returned; if it has not been met, a 0 will be returned.  This function contains the feature of being able to spot either regular divergence or reverse divergence.

AlchemyDualBullDiv

AlchemyDualBullDiv function searches for and finds occurrences of lows in prices (i.e., Low, Close, etc.) not accompanied by lows in an oscillator (i.e., RSI, Percent R, SlowD). If the criteria of the Bullish Divergence function is met, a +1 will be returned; if it has not been met, a 0 will be returned.  This function contains the feature of being able to spot either regular divergence or reverse divergence.

AlchemyDualDiverge AlchemyDualDiverge function searches for and finds occurrences of lows in prices (i.e., Low, Close, etc.) not accompanied by lows in an oscillator (i.e., RSI, Percent R, SlowD). If the criteria of the Bullish Divergence function is met, a +1 will be returned; if it has not been met, a 0 will be returned.  Vice versa, the function searches for and finds occurrences of highs in prices (i.e., High, Close, etc.) not accompanied by highs in an oscillator (i.e., RSI, Percent R, SlowD). If the criteria of the Bearish Divergence function is met, a -1 will be returned; if it has not been met, a 0 will be returned.  This function contains the feature of being able to spot either regular divergence or reverse divergence.

AlchemyExpandedRange

AlchemyExpandedRange identifies an expanded range bar.  If the criteria of an expanded range bar is met, the AlchemyExpandedRange function returns 1, otherwise a -1 will be returned.

AlchemyFibExtension

AlchemyFibExtension is a multiple-output function that provides the swing high, swing low, retracement point and its corresponding Fibonacci extensions of a pre-determined swing.

AlchemyFibRetrace

AlchemyFibRetrace is a multiple-output function that provides the swing high, swing low, and its corresponding Fibonacci retracements of a pre-determined swing.

AlchemyFTP

AlchemyFTP is a multiple-output function that provides the pivots for P, R1, R2, S1 and S2 of the traditional Floor Traders Pivots calculations.

AlchemyFTPivots

AlchemyFTPivots is a multiple-output function that provides the pivots for P, R1, R2, R3, S1, S2 and S3 of the Alchemy Floor Traders Pivots indicator.

AlchemyHeikinAshiBpW

AlchemyHeikinAshiBpW is a multiple-output function that returns the price values of our Alchemy HeikinAshi indicator within its multiple output variables.

The function returns 1 when the Alchemy HeikinAshi indicator is in an up trend and the function returns -1 when the Alchemy HeikinAshi indicator is in a down trend.

AlchemyHeikinAshiEntry

AlchemyHeikinAshiEntry returns the entry signals of our AlchemyHeikinAshiEntry strategy.

AlchemyHeikinAshiExit

AlchemyHeikinAshiExit returns the exit signals of our AlchemyHeikinAshiExit strategy.

AlchemyHookPivot

AlchemyHookPivot is a multiple-output function that returns the values of a pivot point that is associated with a hook

AlchemyInsideBar

AlchemyInsideBar identifies an inside bar.  If the criteria of an inside bar is met, the AlchemyInsideBar function returns 1, otherwise a -1 will be returned.

AlchemyLowerKeltner

AlchemyLowerKeltner function returns the lower band of the Keltner Channel.  Keltner Channel is a channel that is based on a multiple of average true ranges above and below a moving average. KeltnerChannel is most commonly used with studies or strategies that measure or take advantage of market volatility. It is similar in concept to the BollingerBand function.

AlchemyMACD

AlchemyMACD returns the difference between a fast and slow exponential or simple moving average based on the same Price, using either number of trailing bars or a smoothing factor percen

AlchemyMajorHigh

AlchemyMajorHigh is a multiple-output function that returns the value of the next higher major high that has not been violated yet.  The value for the bar number of this major high is passed by reference back to the variable oHighBar

AlchemyMajorLow

AlchemyMajorLow is a multiple-output function that returns the value of the next lower major low that has not been violated yet.  The value for the bar number of this major low is passed by reference back to the variable oLowBar.

AlchemyMCD

AlchemyMCD returns the difference between a fast and slow exponential moving average based on the same Price, using either number of trailing bars or a smoothing factor percentage. 

AlchemyMidKeltner

AlchemyMidKeltner function returns the Mid Keltner.  Keltner Channel is a channel that is based on a multiple of average true ranges above and below a moving average. KeltnerChannel is most commonly used with studies or strategies that measure or take advantage of market volatility. It is similar in concept to the BollingerBand function. 

AlchemyMomentumTrigger AlchemyMomentumTrigger is a multiple-output function that provides the plot values for the indicator Alchemy MomentumTrig.

AlchemyMultOscDiv

AlchemyMultOscDiv is a multiple-output function that provides the calculation of Bearish and Bullish Divergence between price and 2 oscillators.  The first oscillator can be specified to require a minimum hook slope.

AlchemyMultOscHkDiv

AlchemyMultOscHkDiv is a multiple-output function that provides the calculation of Bearish and Bullish Divergence between price and 2 oscillators.  The first oscillator can be specified to require a minimum hook slope.  Additionally to the AlchemyMultOscDiv function, AlchemyMultOscHkDiv also passes the hook bar numbers.

AlchemyOHLC AlchemyOHLC is a multiple-output function that provides the session open, high, low and closing prices as well as the session open, high, low and closing bar numbers.

AlchemyOutsideBar

AlchemyOutsideBar identifies an outside bar.  If the criteria of an outside bar is met, the AlchemyOutsideBar function returns 1, otherwise a -1 will be returned

AlchemyPercentD

The Stochastic oscillators indicate overbought and oversold areas in the market, based upon momentum or price velocity. AlchemyPercentD returns the values for the Stochastics D line.

AlchemyPercentDSlow

This is a Stochastic function, smoothed by use of a moving average technique. The value returned represents the D line in the Stochastic indicator.  AlchemyPercentDSlow returns the values for the Stochastics DSlow line on multiple data series.

AlchemyPercentDSlowS This is a Stochastic function, smoothed by use of a moving average technique. The value returned represents the D line in the Stochastic indicator.  AlchemyPercentDSlowS returns the value for the Stochastics Type 1 Stochastic DSlow line of the Alchemy %DsHook indicator.

AlchemyPercentK

This is a Stochastic function. Stochastics are oscillators that are used to indicate overbought and oversold conditions in the market based on the premise that during periods of price decreases, bar closes tend to accumulate near the Low of the bar, and during periods of price increases, bar closes tend to accumulate near the High of the bar.  AlchemyPercentK returns the values for the Stochastics %K line.

AlchemyPercentTrlSt

AlchemyPercentTrlSt is a multiple-output function to be used with strategies.  It detects if the current position is either long or short and calculates a percent trailing stop from the entry point forward.  The function returns the percent trailing stop value for the current position.  The value for the position high in a long position and the position low in a short position is passed by reference back to the variable PosHi.

AlchemyPivDiverge

AlchemyPivDiverge is a multiple-output function that provides the calculation of Bearish and Bullish Divergence between price and a specified indicator.  It also passes the previous pivot high/low and the number of bars ago when this previous pivot high/low occured.

AlchemyPivDivergence

AlchemyPivDivergence is a multiple-output function that provides the calculation of Bearish and Bullish Divergence between price and a specified indicator.

AlchemyPivotStop

AlchemyPivotStop is a multiple-output function that provides the real time swing high, swing low, trend and pivot stop of the Alchemy PivotStop indicator.

AlchemyPivotStopFC

AlchemyPivotStopFC is a multiple-output fast calculation function that provides the real time swing high, swing low, trend and pivot stop of the Alchemy PivotStop indicator.

AlchemyPivRetrace

AlchemyPivRetrace is a multiple-output function that provides the real time swing high, swing low and its corresponding Fibonacci retracements based on the swing calculations of the Alchemy PivotRetrace indicator.

AlchemyPriceRatio

AlchemyPriceRatio returns the price ratio between 2 data series applied on the same chart by dividing the specified dividend price by the specified divisor price.

AlchemyPriceRatioS

AlchemyPriceRatioS returns the price ratio between the close of data series 1 and the close of data series 2.

AlchemyPRTTrlSt

AlchemyPRTTrlSt is a multiple-output function to be used for trailing stop strategies.  It detects if the current position is either long or short and calculates retracement pivots from the entry point forward.  It returns a +1 if the PivotRetracementTrend is up and a -1 if the PivotRetracementTrend is down.  The value for the swing trend is passed by reference back to the variable oTrend.  The value for the swing high is passed by reference back to the variable oPRTHigh.  The value for the swing high bar number is passed by reference back to the variable oPRTHighBar.  The value for the swing low is passed by reference back to the variable oPRTLow.  The value for the swing low bar number is passed by reference back to the variable oPRTLowBar.  The value for the retracement high is passed by reference back to the variable oRetraceHigh.  The value for the retracement high bar number is passed by reference back to the variable oRHBar.  The value for the retracement low is passed by reference back to the variable oRetraceLow.  The value for the retracement low bar number is passed by reference back to the variable oRLBar.

AlchemyRollingPivots

AlchemyRollingPivots is a multiple-output function that provides the pivots for P, R1, R2, R2, S1, S2 and S3 of the Alchemy Rolling Pivots indicator.

AlchemyRSI

AlchemyRSI returns the Relative Strength index as defined by Welles Wider.

AlchemySignalLine

AlchemySignalLine returns the exponential moving average of the Mov Avg Convergence Divergence, using either number of trailing bars or a smoothing factor percentage.

AlchemyStartEndTimes

AlchemyStartEndTimes is a function that returns true when an intra-day bar is within a specified start and end time period and it returns false when an intra-day bar is outside a specified start and end time period.

AlchemyStochastics

The Stochastic oscillators indicate overbought and oversold areas in the market, based upon momentum or price velocity. AlchemyStochastics returns the values for the Stochastics line.

AlchemyStrngTrndOrig

The AlchemyStrngTrndOrig function is a multiple-output function that provides all of the values of Alchemy Strong Trend Indicators.

AlchemyStrongTrend

AlchemyStrongTrend is a multiple-output function that returns the strong trend paint bar and entry zone values of the Alchemy Strong Trend indicators .

AlchemyStrongTrend201111

The AlchemyStrongTrend201111 function is a multiple-output function that returns the strong trend paint bar and entry zone values of the Alchemy TrendCatcher (Alchemy TrendCatcherComplete) indicator.

AlchemyTrendBuy

AlchemyTrendBuy function returns values representing buy signals based on the Keltner Channel's upside running pattern.  A Keltner Channel upside running pattern is defined as an upside penetration of the upper Keltner band by a minimum number of bars.

AlchemyTrendCatcher

AlchemyTrendCatcher is a multiple-output function that returns the values of the Alchemy TrendDirection (Alchemy TrendDirection) indicator.

AlchemyTrendDirection

AlchemyTrendDirection is a multiple-output function that returns the trailing stop value of the primary TrendDirection stop of the Alchemy TrendCatcher (Alchemy TrendCatcherComplete) indicator.

AlchemyTrendDirectionOOEL

AlchemyTrendDirectionOOEL is a multiple-output function that returns the trailing stop value of the secondary TrendDirection stop of the Alchemy TrendCatcher (Alchemy TrendCatcherComplete) indicator.

AlchemyTrender

The AlchemyTrender is a multiple-output function that provides the trailing stop value, trend direction and the highest high or lowest low of the Alchemy Trender indicator.

AlchemyTrendSell

AlchemyTrendSell function returns values representing sell signals based on the Keltner Channel's downside running pattern.  A Keltner Channel downside running pattern is defined as a downside penetration of the lower Keltner band by a minimum number of bars.

AlchemyTripleHighBar

AlchemyTripleHighBar identifies a triple top bar.  If the criteria of a triple top bar is met, the AlchemyTripleHighBar function returns 1, otherwise a -1 will be returned.

AlchemyTripleLowBar

AlchemyTripleLowBar identifies a triple bottom bar.  If the criteria of a triple bottom bar is met, the AlchemyTripleLowBar function returns 1, otherwise a -1 will be returned.

AlchemyUniversalPiv

AlchemyUniversalPiv is a multiple-output function that provides a previous pivot's high/low price and its corresponding bar numbers.

AlchemyUpperKeltner

AlchemyUpperKeltner function returns the upper band of the Keltner Channel.  Keltner Channel is a channel that is based on a multiple of average true ranges above and below a moving average. KeltnerChannel is most commonly used with studies or strategies that measure or take advantage of market volatility. It is similar in concept to the BollingerBand function.

AlchemyVolatileTrlIn

The AlchemyVolatileTrlIn function returns the volatility trailing stop value starting from an entry point on the chart as determined by its entry inputs.

AlchemyVolatileTrlSt

AlchemyVolatileTrlSt is a multiple-output function to be used with strategies.  It detects if the current position is either long or short and calculates a volatility trailing stop from the entry point forward.  The function returns the volatility trailing stop value for the current position.  The value for the position high in a long position and the position low in a short position is passed by reference back to the variable PosHi.

AlchemyVolatility AlchemyVolatility is a multiple-output function that provides the trailing stop value, trend direction and the highest high or lowest low for the older version of the Alchemy Automatic Volatility Stop indicator (Alchemy VolatStpAuto).
AlchemyVolatilityPrice AlchemyVolatilityPrice is a multiple-output function that provides the trailing stop value, trend direction and the highest high or lowest low for the newest version of the Alchemy Automatic Volatility Stop indicator (Alchemy VolatStpAuto).
AlchemyVolatilitySignal AlchemyVolatilitySignal is a multiple-output function that provides the entry signals of the AlchemyVolatilityEntryExit strategies.
AlchemyVolatilityStp The AlchemyVolatilityStp is a multiple-output function that provides the trailing stop value, trend direction and the highest high or lowest low of the Alchemy Automatic Volatility Stop indicator.

AlchemyWeakInsideBar

AlchemyWeakInsideBar identifies a weak inside bar.  If the criteria of a weak inside bar is met, the AlchemyWeakInsideBar function returns 1, otherwise a -1 will be returned.

AlchemyWeakRangeBar

AlchemyWeakRangeBar identifies an weak range bar.  If the criteria of a weak range bar is met, the AlchemyWeakRangeBar function returns 1, otherwise a -1 will be returned

AlchemyXFactoredAvg

AlchemyXFactoredAvg function is a weighted moving average of the prices of the last length bars. This function returns the current value of the exponentially smoothed moving average using either number of trailing bars or a smoothing factor percentage.

AlchemyZigZagPnts

AlchemyZigZagPnts function returns the values for the Alchemy TrendVolumeZigZagPnts indicator.

AlchemyZigZagPntsOOEL

AlchemyZigZagPntsOOEL function returns the values for the Alchemy TrendVolumeZigZagPntsOOEL indicator.

Home    |    Trading Alchemy Indicator Manual    |    Trading Alchemy Strategies Manual