/* TA-LIB Copyright (c) 1999-2007, Mario Fortier * All rights reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * * - Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * - Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * - Neither name of author nor the names of its contributors * may be used to endorse or promote products derived from this * software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* List of contributors: * * Initial Name/description * ------------------------------------------------------------------- * MF Mario Fortier * PSG Przemyslaw Grodzki (pgrodzki@ki.net.pl) * RM Robert Meier (talib@meierlim.com http://www.meierlim.com) * * MMDDYY BY Description * ------------------------------------------------------------------- * 050703 MF First version with all the TA functions. * 112304 PSG Fix #1072276 for TA_CandleDefaultSettings size. * 123004 RM,MF Adapt code to work with Visual Studio 2005 * 112605 MF New TA_BOP (Balance Of Power) function. */ #pragma once using namespace System; using namespace System::Runtime::InteropServices; namespace TicTacTec { namespace TA { namespace Library { #if defined( USE_SUBARRAY ) public ref class SubArray sealed { public: cli::array^ mDataArray; int mOffset; SubArray( cli::array^ dataArray, int offset ) { mDataArray = dataArray; mOffset = offset; } property double default[int] { public: double get(int offset) { return mDataArray[mOffset+offset]; } /* void set(String^ s, int age) { h->Add(s,age); }*/ } }; #endif public ref class Core abstract sealed { public: #include "ta_defs.h" private: ref class CandleSetting sealed { public: enum class CandleSettingType settingType; enum class RangeType rangeType; int avgPeriod; double factor; }; ref class GlobalsType sealed { public: GlobalsType() { unstablePeriod = gcnew cli::array((int)FuncUnstId::FuncUnstAll); compatibility = Compatibility::Default; for( int i=0; i < (int)FuncUnstId::FuncUnstAll; i++ ) unstablePeriod[i] = 0; candleSettings = gcnew cli::array((int)CandleSettingType::AllCandleSettings); for( int j=0; j < candleSettings->Length; j++ ) { candleSettings[j] = gcnew CandleSetting(); } } /* For handling the compatibility with other software */ Compatibility compatibility; /* For handling the unstable period of some TA function. */ cli::array^ unstablePeriod; /* For handling the candlestick global settings */ cli::array^ candleSettings; }; static GlobalsType^ Globals; #if defined( USE_SUBARRAY ) static enum class RetCode TA_INT_EMA( int startIdx, int endIdx, SubArray^ inReal_0, int optInTimePeriod_0, double optInK_1, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outReal_0); static enum class RetCode TA_INT_EMA( int startIdx, int endIdx, cli::array^ inReal_0, int optInTimePeriod_0, double optInK_1, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outReal_0) { return TA_INT_EMA( startIdx, endIdx, gcnew SubArray(inReal_0,0), optInTimePeriod_0, optInK_1, outBegIdx, outNbElement, outReal_0 ); } #else static enum class RetCode TA_INT_EMA( int startIdx, int endIdx, cli::array^ inReal_0, int optInTimePeriod_0, double optInK_1, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outReal_0); #endif static enum class RetCode TA_INT_EMA( int startIdx, int endIdx, cli::array^ inReal_0, int optInTimePeriod_0, double optInK_1, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outReal_0); #if defined( USE_SUBARRAY ) static enum class RetCode TA_INT_SMA( int startIdx, int endIdx, SubArray^ inReal_0, int optInTimePeriod_0, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outReal_0); static enum class RetCode TA_INT_SMA( int startIdx, int endIdx, cli::array^ inReal_0, int optInTimePeriod_0, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outReal_0) { return TA_INT_SMA( startIdx, endIdx, gcnew SubArray(inReal_0,0), optInTimePeriod_0, outBegIdx, outNbElement, outReal_0 ); } #else static enum class RetCode TA_INT_SMA( int startIdx, int endIdx, cli::array^ inReal_0, int optInTimePeriod_0, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outReal_0); #endif static enum class RetCode TA_INT_SMA( int startIdx, int endIdx, cli::array^ inReal_0, int optInTimePeriod_0, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outReal_0 ); #if defined( USE_SUBARRAY ) static enum class RetCode TA_INT_MACD( int startIdx, int endIdx, SubArray^ inReal_0, int optInFastPeriod_0, /* 0 is fix 12 */ int optInSlowPeriod_1, /* 0 is fix 26 */ int optInSignalPeriod_2, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outMACD_0, cli::array^ outMACDSignal_1, cli::array^ outMACDHist_2 ); static enum class RetCode TA_INT_MACD( int startIdx, int endIdx, cli::array^ inReal_0, int optInFastPeriod_0, /* 0 is fix 12 */ int optInSlowPeriod_1, /* 0 is fix 26 */ int optInSignalPeriod_2, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outMACD_0, cli::array^ outMACDSignal_1, cli::array^ outMACDHist_2 ) { return TA_INT_MACD( startIdx, endIdx, gcnew SubArray(inReal_0,0), optInFastPeriod_0, optInSlowPeriod_1, optInSignalPeriod_2, outBegIdx, outNbElement, outMACD_0, outMACDSignal_1, outMACDHist_2 ); } #else static enum class RetCode TA_INT_MACD( int startIdx, int endIdx, cli::array^ inReal_0, int optInFastPeriod_0, /* 0 is fix 12 */ int optInSlowPeriod_1, /* 0 is fix 26 */ int optInSignalPeriod_2, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outMACD_0, cli::array^ outMACDSignal_1, cli::array^ outMACDHist_2 ); #endif static enum class RetCode TA_INT_MACD( int startIdx, int endIdx, cli::array^ inReal_0, int optInFastPeriod_0, /* 0 is fix 12 */ int optInSlowPeriod_1, /* 0 is fix 26 */ int optInSignalPeriod_2, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outMACD_0, cli::array^ outMACDSignal_1, cli::array^ outMACDHist_2 ); #if defined( USE_SUBARRAY ) static enum class RetCode TA_INT_PO( int startIdx, int endIdx, SubArray^ inReal_0, int optInFastPeriod_0, int optInSlowPeriod_1, MAType optInMethod_2, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outReal_0, cli::array^ tempBuffer, int doPercentageOutput ); static enum class RetCode TA_INT_PO( int startIdx, int endIdx, cli::array^ inReal_0, int optInFastPeriod_0, int optInSlowPeriod_1, MAType optInMethod_2, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outReal_0, cli::array^ tempBuffer, int doPercentageOutput ) { return TA_INT_PO( startIdx, endIdx, gcnew SubArray(inReal_0,0), optInFastPeriod_0, optInSlowPeriod_1, optInMethod_2, outBegIdx, outNbElement, outReal_0, tempBuffer, doPercentageOutput ); } #else static enum class RetCode TA_INT_PO( int startIdx, int endIdx, cli::array^ inReal_0, int optInFastPeriod_0, int optInSlowPeriod_1, MAType optInMethod_2, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outReal_0, cli::array^ tempBuffer, int doPercentageOutput ); #endif static enum class RetCode TA_INT_PO( int startIdx, int endIdx, cli::array^ inReal_0, int optInFastPeriod_0, int optInSlowPeriod_1, MAType optInMethod_2, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outReal_0, cli::array^ tempBuffer, int doPercentageOutput ); #if defined( USE_SUBARRAY ) static enum class RetCode TA_INT_VAR( int startIdx, int endIdx, SubArray^ inReal_0, int optInTimePeriod_0, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outReal_0); static enum class RetCode TA_INT_VAR( int startIdx, int endIdx, cli::array^ inReal_0, int optInTimePeriod_0, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outReal_0) { return TA_INT_VAR( startIdx, endIdx, gcnew SubArray(inReal_0,0), optInTimePeriod_0, outBegIdx, outNbElement, outReal_0 ); } #else static enum class RetCode TA_INT_VAR( int startIdx, int endIdx, cli::array^ inReal_0, int optInTimePeriod_0, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outReal_0); #endif static enum class RetCode TA_INT_VAR( int startIdx, int endIdx, cli::array^ inReal_0, int optInTimePeriod_0, [Out]int% outBegIdx, [Out]int% outNbElement, cli::array^ outReal_0); #if defined( USE_SUBARRAY ) static void TA_INT_stddev_using_precalc_ma( SubArray^ inReal, cli::array^ inMovAvg, int inMovAvgBegIdx, int inMovAvgNbElement, int timePeriod, cli::array^ output ); static void TA_INT_stddev_using_precalc_ma( cli::array^ inReal, cli::array^ inMovAvg, int inMovAvgBegIdx, int inMovAvgNbElement, int timePeriod, cli::array^ output ) { return TA_INT_stddev_using_precalc_ma(gcnew SubArray(inReal,0), inMovAvg, inMovAvgBegIdx, inMovAvgNbElement, timePeriod, output ); } #else static void TA_INT_stddev_using_precalc_ma( cli::array^ inReal, cli::array^ inMovAvg, int inMovAvgBegIdx, int inMovAvgNbElement, int timePeriod, cli::array^ output ); #endif static void TA_INT_stddev_using_precalc_ma( cli::array^ inReal, cli::array^ inMovAvg, int inMovAvgBegIdx, int inMovAvgNbElement, int timePeriod, cli::array^ output); public: static Core() { // Initialize global settings Globals = gcnew GlobalsType; /* Set the default value to global variables */ RestoreCandleDefaultSettings( CandleSettingType::AllCandleSettings ); } static enum class RetCode SetUnstablePeriod( enum class FuncUnstId id, unsigned int unstablePeriod ); static unsigned int GetUnstablePeriod( FuncUnstId id ); static enum class RetCode SetCompatibility( enum class Compatibility value ); static enum class Compatibility GetCompatibility( void ); static enum class RetCode SetCandleSettings( enum class CandleSettingType settingType, enum class RangeType rangeType, int avgPeriod, double factor ) { if( settingType >= CandleSettingType::AllCandleSettings ) { return RetCode::BadParam; } Globals->candleSettings[(int)settingType]->settingType = settingType; Globals->candleSettings[(int)settingType]->rangeType = rangeType; Globals->candleSettings[(int)settingType]->avgPeriod = avgPeriod; Globals->candleSettings[(int)settingType]->factor = factor; return RetCode::Success; } static enum class RetCode RestoreCandleDefaultSettings( CandleSettingType settingType ) { switch( settingType ) { case CandleSettingType::BodyLong: SetCandleSettings( CandleSettingType::BodyLong, RangeType::RealBody, 10, 1.0 ); break; case CandleSettingType::BodyVeryLong: SetCandleSettings( CandleSettingType::BodyVeryLong, RangeType::RealBody, 10, 3.0 ); break; case CandleSettingType::BodyShort: SetCandleSettings( CandleSettingType::BodyShort, RangeType::RealBody, 10, 1.0 ); break; case CandleSettingType::BodyDoji: SetCandleSettings( CandleSettingType::BodyDoji, RangeType::HighLow, 10, 0.1 ); break; case CandleSettingType::ShadowLong: SetCandleSettings( CandleSettingType::ShadowLong, RangeType::RealBody, 0, 1.0 ); break; case CandleSettingType::ShadowVeryLong: SetCandleSettings( CandleSettingType::ShadowVeryLong, RangeType::RealBody, 0, 2.0 ); break; case CandleSettingType::ShadowShort: SetCandleSettings( CandleSettingType::ShadowShort, RangeType::Shadows, 10, 1.0 ); break; case CandleSettingType::ShadowVeryShort: SetCandleSettings( CandleSettingType::ShadowVeryShort, RangeType::HighLow, 10, 0.1 ); break; case CandleSettingType::Near: SetCandleSettings( CandleSettingType::Near, RangeType::HighLow, 5, 0.2 ); break; case CandleSettingType::Far: SetCandleSettings( CandleSettingType::Far, RangeType::HighLow, 5, 0.6 ); break; case CandleSettingType::Equal: SetCandleSettings( CandleSettingType::Equal, RangeType::HighLow, 5, 0.05); break; case CandleSettingType::AllCandleSettings: SetCandleSettings( CandleSettingType::BodyLong, RangeType::RealBody, 10, 1.0 ); SetCandleSettings( CandleSettingType::BodyVeryLong, RangeType::RealBody, 10, 3.0 ); SetCandleSettings( CandleSettingType::BodyShort, RangeType::RealBody, 10, 1.0 ); SetCandleSettings( CandleSettingType::BodyDoji, RangeType::HighLow, 10, 0.1 ); SetCandleSettings( CandleSettingType::ShadowLong, RangeType::RealBody, 0, 1.0 ); SetCandleSettings( CandleSettingType::ShadowVeryLong, RangeType::RealBody, 0, 2.0 ); SetCandleSettings( CandleSettingType::ShadowShort, RangeType::Shadows, 10, 1.0 ); SetCandleSettings( CandleSettingType::ShadowVeryShort, RangeType::HighLow, 10, 0.1 ); SetCandleSettings( CandleSettingType::Near, RangeType::HighLow, 5, 0.2 ); SetCandleSettings( CandleSettingType::Far, RangeType::HighLow, 5, 0.6 ); SetCandleSettings( CandleSettingType::Equal, RangeType::HighLow, 5, 0.05); break; } return RetCode::Success; } /**** START GENCODE SECTION 1 - DO NOT DELETE THIS LINE ****/ static int AcosLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Acos( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Acos( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Acos( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Acos( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Acos( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_ACOS Core::Acos #define TA_ACOS_Lookback Core::AcosLookback static int AdLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Ad( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, SubArray^ inVolume, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Ad( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, cli::array^ inVolume, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Ad( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , gcnew SubArray(inVolume,0) , outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Ad( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, cli::array^ inVolume, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Ad( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, cli::array^ inVolume, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_AD Core::Ad #define TA_AD_Lookback Core::AdLookback static int AddLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Add( int startIdx, int endIdx, SubArray^ inReal0, SubArray^ inReal1, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Add( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Add( startIdx, endIdx, gcnew SubArray(inReal0,0), gcnew SubArray(inReal1,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Add( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Add( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_ADD Core::Add #define TA_ADD_Lookback Core::AddLookback static int AdOscLookback( int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode AdOsc( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, SubArray^ inVolume, int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode AdOsc( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, cli::array^ inVolume, int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return AdOsc( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , gcnew SubArray(inVolume,0) , optInFastPeriod, /* From 2 to 100000 */ optInSlowPeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode AdOsc( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, cli::array^ inVolume, int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode AdOsc( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, cli::array^ inVolume, int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_ADOSC Core::AdOsc #define TA_ADOSC_Lookback Core::AdOscLookback static int AdxLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Adx( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Adx( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Adx( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Adx( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Adx( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_ADX Core::Adx #define TA_ADX_Lookback Core::AdxLookback static int AdxrLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Adxr( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Adxr( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Adxr( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Adxr( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Adxr( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_ADXR Core::Adxr #define TA_ADXR_Lookback Core::AdxrLookback static int ApoLookback( int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ MAType optInMAType ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Apo( int startIdx, int endIdx, SubArray^ inReal, int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Apo( int startIdx, int endIdx, cli::array^ inReal, int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Apo( startIdx, endIdx, gcnew SubArray(inReal,0), optInFastPeriod, /* From 2 to 100000 */ optInSlowPeriod, /* From 2 to 100000 */ optInMAType, outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Apo( int startIdx, int endIdx, cli::array^ inReal, int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Apo( int startIdx, int endIdx, cli::array^ inReal, int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_APO Core::Apo #define TA_APO_Lookback Core::ApoLookback static int AroonLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Aroon( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outAroonDown, cli::array^ outAroonUp ); static enum class RetCode Aroon( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outAroonDown, cli::array^ outAroonUp ) { return Aroon( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outAroonDown , outAroonUp ); } #elif defined( _MANAGED ) static enum class RetCode Aroon( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outAroonDown, cli::array^ outAroonUp ); #endif static enum class RetCode Aroon( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outAroonDown, cli::array^ outAroonUp ); #define TA_AROON Core::Aroon #define TA_AROON_Lookback Core::AroonLookback static int AroonOscLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode AroonOsc( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode AroonOsc( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return AroonOsc( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode AroonOsc( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode AroonOsc( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_AROONOSC Core::AroonOsc #define TA_AROONOSC_Lookback Core::AroonOscLookback static int AsinLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Asin( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Asin( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Asin( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Asin( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Asin( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_ASIN Core::Asin #define TA_ASIN_Lookback Core::AsinLookback static int AtanLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Atan( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Atan( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Atan( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Atan( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Atan( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_ATAN Core::Atan #define TA_ATAN_Lookback Core::AtanLookback static int AtrLookback( int optInTimePeriod ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Atr( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Atr( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Atr( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInTimePeriod, /* From 1 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Atr( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Atr( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_ATR Core::Atr #define TA_ATR_Lookback Core::AtrLookback static int AvgPriceLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode AvgPrice( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode AvgPrice( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return AvgPrice( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode AvgPrice( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode AvgPrice( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_AVGPRICE Core::AvgPrice #define TA_AVGPRICE_Lookback Core::AvgPriceLookback static int BbandsLookback( int optInTimePeriod, /* From 2 to 100000 */ double optInNbDevUp, /* From TA_REAL_MIN to TA_REAL_MAX */ double optInNbDevDn, /* From TA_REAL_MIN to TA_REAL_MAX */ MAType optInMAType ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Bbands( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ double optInNbDevUp, /* From TA_REAL_MIN to TA_REAL_MAX */ double optInNbDevDn, /* From TA_REAL_MIN to TA_REAL_MAX */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outRealUpperBand, cli::array^ outRealMiddleBand, cli::array^ outRealLowerBand ); static enum class RetCode Bbands( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ double optInNbDevUp, /* From TA_REAL_MIN to TA_REAL_MAX */ double optInNbDevDn, /* From TA_REAL_MIN to TA_REAL_MAX */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outRealUpperBand, cli::array^ outRealMiddleBand, cli::array^ outRealLowerBand ) { return Bbands( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ optInNbDevUp, /* From TA_REAL_MIN to TA_REAL_MAX */ optInNbDevDn, /* From TA_REAL_MIN to TA_REAL_MAX */ optInMAType, outBegIdx, outNBElement, outRealUpperBand , outRealMiddleBand , outRealLowerBand ); } #elif defined( _MANAGED ) static enum class RetCode Bbands( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ double optInNbDevUp, /* From TA_REAL_MIN to TA_REAL_MAX */ double optInNbDevDn, /* From TA_REAL_MIN to TA_REAL_MAX */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outRealUpperBand, cli::array^ outRealMiddleBand, cli::array^ outRealLowerBand ); #endif static enum class RetCode Bbands( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ double optInNbDevUp, /* From TA_REAL_MIN to TA_REAL_MAX */ double optInNbDevDn, /* From TA_REAL_MIN to TA_REAL_MAX */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outRealUpperBand, cli::array^ outRealMiddleBand, cli::array^ outRealLowerBand ); #define TA_BBANDS Core::Bbands #define TA_BBANDS_Lookback Core::BbandsLookback static int BetaLookback( int optInTimePeriod ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Beta( int startIdx, int endIdx, SubArray^ inReal0, SubArray^ inReal1, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Beta( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Beta( startIdx, endIdx, gcnew SubArray(inReal0,0), gcnew SubArray(inReal1,0), optInTimePeriod, /* From 1 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Beta( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Beta( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_BETA Core::Beta #define TA_BETA_Lookback Core::BetaLookback static int BopLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Bop( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Bop( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Bop( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Bop( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Bop( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_BOP Core::Bop #define TA_BOP_Lookback Core::BopLookback static int CciLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Cci( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Cci( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Cci( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Cci( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Cci( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_CCI Core::Cci #define TA_CCI_Lookback Core::CciLookback static int Cdl2CrowsLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Cdl2Crows( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode Cdl2Crows( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return Cdl2Crows( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode Cdl2Crows( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode Cdl2Crows( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDL2CROWS Core::Cdl2Crows #define TA_CDL2CROWS_Lookback Core::Cdl2CrowsLookback static int Cdl3BlackCrowsLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Cdl3BlackCrows( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode Cdl3BlackCrows( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return Cdl3BlackCrows( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode Cdl3BlackCrows( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode Cdl3BlackCrows( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDL3BLACKCROWS Core::Cdl3BlackCrows #define TA_CDL3BLACKCROWS_Lookback Core::Cdl3BlackCrowsLookback static int Cdl3InsideLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Cdl3Inside( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode Cdl3Inside( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return Cdl3Inside( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode Cdl3Inside( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode Cdl3Inside( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDL3INSIDE Core::Cdl3Inside #define TA_CDL3INSIDE_Lookback Core::Cdl3InsideLookback static int Cdl3LineStrikeLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Cdl3LineStrike( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode Cdl3LineStrike( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return Cdl3LineStrike( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode Cdl3LineStrike( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode Cdl3LineStrike( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDL3LINESTRIKE Core::Cdl3LineStrike #define TA_CDL3LINESTRIKE_Lookback Core::Cdl3LineStrikeLookback static int Cdl3OutsideLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Cdl3Outside( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode Cdl3Outside( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return Cdl3Outside( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode Cdl3Outside( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode Cdl3Outside( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDL3OUTSIDE Core::Cdl3Outside #define TA_CDL3OUTSIDE_Lookback Core::Cdl3OutsideLookback static int Cdl3StarsInSouthLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Cdl3StarsInSouth( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode Cdl3StarsInSouth( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return Cdl3StarsInSouth( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode Cdl3StarsInSouth( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode Cdl3StarsInSouth( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDL3STARSINSOUTH Core::Cdl3StarsInSouth #define TA_CDL3STARSINSOUTH_Lookback Core::Cdl3StarsInSouthLookback static int Cdl3WhiteSoldiersLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Cdl3WhiteSoldiers( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode Cdl3WhiteSoldiers( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return Cdl3WhiteSoldiers( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode Cdl3WhiteSoldiers( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode Cdl3WhiteSoldiers( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDL3WHITESOLDIERS Core::Cdl3WhiteSoldiers #define TA_CDL3WHITESOLDIERS_Lookback Core::Cdl3WhiteSoldiersLookback static int CdlAbandonedBabyLookback( double optInPenetration ); /* From 0 to TA_REAL_MAX */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlAbandonedBaby( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlAbandonedBaby( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlAbandonedBaby( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInPenetration, /* From 0 to TA_REAL_MAX */ outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlAbandonedBaby( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlAbandonedBaby( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLABANDONEDBABY Core::CdlAbandonedBaby #define TA_CDLABANDONEDBABY_Lookback Core::CdlAbandonedBabyLookback static int CdlAdvanceBlockLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlAdvanceBlock( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlAdvanceBlock( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlAdvanceBlock( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlAdvanceBlock( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlAdvanceBlock( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLADVANCEBLOCK Core::CdlAdvanceBlock #define TA_CDLADVANCEBLOCK_Lookback Core::CdlAdvanceBlockLookback static int CdlBeltHoldLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlBeltHold( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlBeltHold( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlBeltHold( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlBeltHold( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlBeltHold( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLBELTHOLD Core::CdlBeltHold #define TA_CDLBELTHOLD_Lookback Core::CdlBeltHoldLookback static int CdlBreakawayLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlBreakaway( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlBreakaway( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlBreakaway( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlBreakaway( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlBreakaway( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLBREAKAWAY Core::CdlBreakaway #define TA_CDLBREAKAWAY_Lookback Core::CdlBreakawayLookback static int CdlClosingMarubozuLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlClosingMarubozu( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlClosingMarubozu( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlClosingMarubozu( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlClosingMarubozu( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlClosingMarubozu( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLCLOSINGMARUBOZU Core::CdlClosingMarubozu #define TA_CDLCLOSINGMARUBOZU_Lookback Core::CdlClosingMarubozuLookback static int CdlConcealBabysWallLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlConcealBabysWall( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlConcealBabysWall( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlConcealBabysWall( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlConcealBabysWall( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlConcealBabysWall( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLCONCEALBABYSWALL Core::CdlConcealBabysWall #define TA_CDLCONCEALBABYSWALL_Lookback Core::CdlConcealBabysWallLookback static int CdlCounterAttackLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlCounterAttack( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlCounterAttack( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlCounterAttack( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlCounterAttack( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlCounterAttack( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLCOUNTERATTACK Core::CdlCounterAttack #define TA_CDLCOUNTERATTACK_Lookback Core::CdlCounterAttackLookback static int CdlDarkCloudCoverLookback( double optInPenetration ); /* From 0 to TA_REAL_MAX */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlDarkCloudCover( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlDarkCloudCover( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlDarkCloudCover( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInPenetration, /* From 0 to TA_REAL_MAX */ outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlDarkCloudCover( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlDarkCloudCover( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLDARKCLOUDCOVER Core::CdlDarkCloudCover #define TA_CDLDARKCLOUDCOVER_Lookback Core::CdlDarkCloudCoverLookback static int CdlDojiLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlDoji( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlDoji( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlDoji( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlDoji( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlDoji( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLDOJI Core::CdlDoji #define TA_CDLDOJI_Lookback Core::CdlDojiLookback static int CdlDojiStarLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlDojiStar( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlDojiStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlDojiStar( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlDojiStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlDojiStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLDOJISTAR Core::CdlDojiStar #define TA_CDLDOJISTAR_Lookback Core::CdlDojiStarLookback static int CdlDragonflyDojiLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlDragonflyDoji( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlDragonflyDoji( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlDragonflyDoji( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlDragonflyDoji( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlDragonflyDoji( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLDRAGONFLYDOJI Core::CdlDragonflyDoji #define TA_CDLDRAGONFLYDOJI_Lookback Core::CdlDragonflyDojiLookback static int CdlEngulfingLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlEngulfing( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlEngulfing( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlEngulfing( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlEngulfing( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlEngulfing( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLENGULFING Core::CdlEngulfing #define TA_CDLENGULFING_Lookback Core::CdlEngulfingLookback static int CdlEveningDojiStarLookback( double optInPenetration ); /* From 0 to TA_REAL_MAX */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlEveningDojiStar( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlEveningDojiStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlEveningDojiStar( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInPenetration, /* From 0 to TA_REAL_MAX */ outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlEveningDojiStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlEveningDojiStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLEVENINGDOJISTAR Core::CdlEveningDojiStar #define TA_CDLEVENINGDOJISTAR_Lookback Core::CdlEveningDojiStarLookback static int CdlEveningStarLookback( double optInPenetration ); /* From 0 to TA_REAL_MAX */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlEveningStar( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlEveningStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlEveningStar( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInPenetration, /* From 0 to TA_REAL_MAX */ outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlEveningStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlEveningStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLEVENINGSTAR Core::CdlEveningStar #define TA_CDLEVENINGSTAR_Lookback Core::CdlEveningStarLookback static int CdlGapSideSideWhiteLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlGapSideSideWhite( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlGapSideSideWhite( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlGapSideSideWhite( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlGapSideSideWhite( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlGapSideSideWhite( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLGAPSIDESIDEWHITE Core::CdlGapSideSideWhite #define TA_CDLGAPSIDESIDEWHITE_Lookback Core::CdlGapSideSideWhiteLookback static int CdlGravestoneDojiLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlGravestoneDoji( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlGravestoneDoji( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlGravestoneDoji( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlGravestoneDoji( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlGravestoneDoji( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLGRAVESTONEDOJI Core::CdlGravestoneDoji #define TA_CDLGRAVESTONEDOJI_Lookback Core::CdlGravestoneDojiLookback static int CdlHammerLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlHammer( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlHammer( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlHammer( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlHammer( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlHammer( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLHAMMER Core::CdlHammer #define TA_CDLHAMMER_Lookback Core::CdlHammerLookback static int CdlHangingManLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlHangingMan( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlHangingMan( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlHangingMan( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlHangingMan( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlHangingMan( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLHANGINGMAN Core::CdlHangingMan #define TA_CDLHANGINGMAN_Lookback Core::CdlHangingManLookback static int CdlHaramiLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlHarami( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlHarami( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlHarami( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlHarami( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlHarami( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLHARAMI Core::CdlHarami #define TA_CDLHARAMI_Lookback Core::CdlHaramiLookback static int CdlHaramiCrossLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlHaramiCross( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlHaramiCross( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlHaramiCross( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlHaramiCross( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlHaramiCross( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLHARAMICROSS Core::CdlHaramiCross #define TA_CDLHARAMICROSS_Lookback Core::CdlHaramiCrossLookback static int CdlHignWaveLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlHignWave( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlHignWave( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlHignWave( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlHignWave( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlHignWave( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLHIGHWAVE Core::CdlHignWave #define TA_CDLHIGHWAVE_Lookback Core::CdlHignWaveLookback static int CdlHikkakeLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlHikkake( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlHikkake( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlHikkake( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlHikkake( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlHikkake( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLHIKKAKE Core::CdlHikkake #define TA_CDLHIKKAKE_Lookback Core::CdlHikkakeLookback static int CdlHikkakeModLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlHikkakeMod( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlHikkakeMod( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlHikkakeMod( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlHikkakeMod( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlHikkakeMod( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLHIKKAKEMOD Core::CdlHikkakeMod #define TA_CDLHIKKAKEMOD_Lookback Core::CdlHikkakeModLookback static int CdlHomingPigeonLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlHomingPigeon( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlHomingPigeon( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlHomingPigeon( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlHomingPigeon( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlHomingPigeon( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLHOMINGPIGEON Core::CdlHomingPigeon #define TA_CDLHOMINGPIGEON_Lookback Core::CdlHomingPigeonLookback static int CdlIdentical3CrowsLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlIdentical3Crows( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlIdentical3Crows( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlIdentical3Crows( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlIdentical3Crows( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlIdentical3Crows( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLIDENTICAL3CROWS Core::CdlIdentical3Crows #define TA_CDLIDENTICAL3CROWS_Lookback Core::CdlIdentical3CrowsLookback static int CdlInNeckLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlInNeck( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlInNeck( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlInNeck( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlInNeck( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlInNeck( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLINNECK Core::CdlInNeck #define TA_CDLINNECK_Lookback Core::CdlInNeckLookback static int CdlInvertedHammerLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlInvertedHammer( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlInvertedHammer( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlInvertedHammer( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlInvertedHammer( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlInvertedHammer( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLINVERTEDHAMMER Core::CdlInvertedHammer #define TA_CDLINVERTEDHAMMER_Lookback Core::CdlInvertedHammerLookback static int CdlKickingLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlKicking( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlKicking( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlKicking( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlKicking( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlKicking( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLKICKING Core::CdlKicking #define TA_CDLKICKING_Lookback Core::CdlKickingLookback static int CdlKickingByLengthLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlKickingByLength( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlKickingByLength( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlKickingByLength( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlKickingByLength( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlKickingByLength( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLKICKINGBYLENGTH Core::CdlKickingByLength #define TA_CDLKICKINGBYLENGTH_Lookback Core::CdlKickingByLengthLookback static int CdlLadderBottomLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlLadderBottom( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlLadderBottom( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlLadderBottom( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlLadderBottom( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlLadderBottom( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLLADDERBOTTOM Core::CdlLadderBottom #define TA_CDLLADDERBOTTOM_Lookback Core::CdlLadderBottomLookback static int CdlLongLeggedDojiLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlLongLeggedDoji( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlLongLeggedDoji( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlLongLeggedDoji( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlLongLeggedDoji( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlLongLeggedDoji( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLLONGLEGGEDDOJI Core::CdlLongLeggedDoji #define TA_CDLLONGLEGGEDDOJI_Lookback Core::CdlLongLeggedDojiLookback static int CdlLongLineLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlLongLine( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlLongLine( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlLongLine( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlLongLine( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlLongLine( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLLONGLINE Core::CdlLongLine #define TA_CDLLONGLINE_Lookback Core::CdlLongLineLookback static int CdlMarubozuLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlMarubozu( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlMarubozu( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlMarubozu( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlMarubozu( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlMarubozu( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLMARUBOZU Core::CdlMarubozu #define TA_CDLMARUBOZU_Lookback Core::CdlMarubozuLookback static int CdlMatchingLowLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlMatchingLow( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlMatchingLow( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlMatchingLow( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlMatchingLow( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlMatchingLow( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLMATCHINGLOW Core::CdlMatchingLow #define TA_CDLMATCHINGLOW_Lookback Core::CdlMatchingLowLookback static int CdlMatHoldLookback( double optInPenetration ); /* From 0 to TA_REAL_MAX */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlMatHold( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlMatHold( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlMatHold( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInPenetration, /* From 0 to TA_REAL_MAX */ outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlMatHold( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlMatHold( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLMATHOLD Core::CdlMatHold #define TA_CDLMATHOLD_Lookback Core::CdlMatHoldLookback static int CdlMorningDojiStarLookback( double optInPenetration ); /* From 0 to TA_REAL_MAX */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlMorningDojiStar( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlMorningDojiStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlMorningDojiStar( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInPenetration, /* From 0 to TA_REAL_MAX */ outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlMorningDojiStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlMorningDojiStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLMORNINGDOJISTAR Core::CdlMorningDojiStar #define TA_CDLMORNINGDOJISTAR_Lookback Core::CdlMorningDojiStarLookback static int CdlMorningStarLookback( double optInPenetration ); /* From 0 to TA_REAL_MAX */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlMorningStar( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlMorningStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlMorningStar( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInPenetration, /* From 0 to TA_REAL_MAX */ outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlMorningStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlMorningStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, double optInPenetration, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLMORNINGSTAR Core::CdlMorningStar #define TA_CDLMORNINGSTAR_Lookback Core::CdlMorningStarLookback static int CdlOnNeckLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlOnNeck( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlOnNeck( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlOnNeck( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlOnNeck( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlOnNeck( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLONNECK Core::CdlOnNeck #define TA_CDLONNECK_Lookback Core::CdlOnNeckLookback static int CdlPiercingLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlPiercing( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlPiercing( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlPiercing( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlPiercing( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlPiercing( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLPIERCING Core::CdlPiercing #define TA_CDLPIERCING_Lookback Core::CdlPiercingLookback static int CdlRickshawManLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlRickshawMan( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlRickshawMan( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlRickshawMan( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlRickshawMan( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlRickshawMan( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLRICKSHAWMAN Core::CdlRickshawMan #define TA_CDLRICKSHAWMAN_Lookback Core::CdlRickshawManLookback static int CdlRiseFall3MethodsLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlRiseFall3Methods( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlRiseFall3Methods( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlRiseFall3Methods( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlRiseFall3Methods( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlRiseFall3Methods( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLRISEFALL3METHODS Core::CdlRiseFall3Methods #define TA_CDLRISEFALL3METHODS_Lookback Core::CdlRiseFall3MethodsLookback static int CdlSeperatingLinesLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlSeperatingLines( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlSeperatingLines( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlSeperatingLines( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlSeperatingLines( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlSeperatingLines( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLSEPARATINGLINES Core::CdlSeperatingLines #define TA_CDLSEPARATINGLINES_Lookback Core::CdlSeperatingLinesLookback static int CdlShootingStarLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlShootingStar( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlShootingStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlShootingStar( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlShootingStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlShootingStar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLSHOOTINGSTAR Core::CdlShootingStar #define TA_CDLSHOOTINGSTAR_Lookback Core::CdlShootingStarLookback static int CdlShortLineLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlShortLine( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlShortLine( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlShortLine( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlShortLine( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlShortLine( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLSHORTLINE Core::CdlShortLine #define TA_CDLSHORTLINE_Lookback Core::CdlShortLineLookback static int CdlSpinningTopLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlSpinningTop( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlSpinningTop( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlSpinningTop( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlSpinningTop( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlSpinningTop( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLSPINNINGTOP Core::CdlSpinningTop #define TA_CDLSPINNINGTOP_Lookback Core::CdlSpinningTopLookback static int CdlStalledPatternLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlStalledPattern( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlStalledPattern( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlStalledPattern( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlStalledPattern( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlStalledPattern( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLSTALLEDPATTERN Core::CdlStalledPattern #define TA_CDLSTALLEDPATTERN_Lookback Core::CdlStalledPatternLookback static int CdlStickSandwhichLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlStickSandwhich( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlStickSandwhich( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlStickSandwhich( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlStickSandwhich( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlStickSandwhich( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLSTICKSANDWICH Core::CdlStickSandwhich #define TA_CDLSTICKSANDWICH_Lookback Core::CdlStickSandwhichLookback static int CdlTakuriLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlTakuri( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlTakuri( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlTakuri( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlTakuri( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlTakuri( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLTAKURI Core::CdlTakuri #define TA_CDLTAKURI_Lookback Core::CdlTakuriLookback static int CdlTasukiGapLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlTasukiGap( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlTasukiGap( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlTasukiGap( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlTasukiGap( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlTasukiGap( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLTASUKIGAP Core::CdlTasukiGap #define TA_CDLTASUKIGAP_Lookback Core::CdlTasukiGapLookback static int CdlThrustingLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlThrusting( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlThrusting( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlThrusting( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlThrusting( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlThrusting( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLTHRUSTING Core::CdlThrusting #define TA_CDLTHRUSTING_Lookback Core::CdlThrustingLookback static int CdlTristarLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlTristar( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlTristar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlTristar( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlTristar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlTristar( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLTRISTAR Core::CdlTristar #define TA_CDLTRISTAR_Lookback Core::CdlTristarLookback static int CdlUnique3RiverLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlUnique3River( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlUnique3River( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlUnique3River( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlUnique3River( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlUnique3River( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLUNIQUE3RIVER Core::CdlUnique3River #define TA_CDLUNIQUE3RIVER_Lookback Core::CdlUnique3RiverLookback static int CdlUpsideGap2CrowsLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlUpsideGap2Crows( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlUpsideGap2Crows( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlUpsideGap2Crows( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlUpsideGap2Crows( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlUpsideGap2Crows( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLUPSIDEGAP2CROWS Core::CdlUpsideGap2Crows #define TA_CDLUPSIDEGAP2CROWS_Lookback Core::CdlUpsideGap2CrowsLookback static int CdlXSideGap3MethodsLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode CdlXSideGap3Methods( int startIdx, int endIdx, SubArray^ inOpen, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode CdlXSideGap3Methods( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return CdlXSideGap3Methods( startIdx, endIdx, gcnew SubArray(inOpen,0) , gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode CdlXSideGap3Methods( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode CdlXSideGap3Methods( int startIdx, int endIdx, cli::array^ inOpen, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_CDLXSIDEGAP3METHODS Core::CdlXSideGap3Methods #define TA_CDLXSIDEGAP3METHODS_Lookback Core::CdlXSideGap3MethodsLookback static int CeilLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Ceil( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Ceil( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Ceil( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Ceil( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Ceil( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_CEIL Core::Ceil #define TA_CEIL_Lookback Core::CeilLookback static int CmoLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Cmo( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Cmo( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Cmo( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Cmo( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Cmo( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_CMO Core::Cmo #define TA_CMO_Lookback Core::CmoLookback static int CorrelLookback( int optInTimePeriod ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Correl( int startIdx, int endIdx, SubArray^ inReal0, SubArray^ inReal1, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Correl( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Correl( startIdx, endIdx, gcnew SubArray(inReal0,0), gcnew SubArray(inReal1,0), optInTimePeriod, /* From 1 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Correl( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Correl( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_CORREL Core::Correl #define TA_CORREL_Lookback Core::CorrelLookback static int CosLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Cos( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Cos( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Cos( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Cos( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Cos( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_COS Core::Cos #define TA_COS_Lookback Core::CosLookback static int CoshLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Cosh( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Cosh( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Cosh( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Cosh( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Cosh( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_COSH Core::Cosh #define TA_COSH_Lookback Core::CoshLookback static int DemaLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Dema( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Dema( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Dema( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Dema( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Dema( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_DEMA Core::Dema #define TA_DEMA_Lookback Core::DemaLookback static int DivLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Div( int startIdx, int endIdx, SubArray^ inReal0, SubArray^ inReal1, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Div( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Div( startIdx, endIdx, gcnew SubArray(inReal0,0), gcnew SubArray(inReal1,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Div( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Div( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_DIV Core::Div #define TA_DIV_Lookback Core::DivLookback static int DxLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Dx( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Dx( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Dx( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Dx( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Dx( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_DX Core::Dx #define TA_DX_Lookback Core::DxLookback static int EmaLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Ema( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Ema( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Ema( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Ema( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Ema( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_EMA Core::Ema #define TA_EMA_Lookback Core::EmaLookback static int ExpLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Exp( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Exp( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Exp( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Exp( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Exp( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_EXP Core::Exp #define TA_EXP_Lookback Core::ExpLookback static int FloorLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Floor( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Floor( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Floor( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Floor( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Floor( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_FLOOR Core::Floor #define TA_FLOOR_Lookback Core::FloorLookback static int HtDcPeriodLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode HtDcPeriod( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode HtDcPeriod( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return HtDcPeriod( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode HtDcPeriod( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode HtDcPeriod( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_HT_DCPERIOD Core::HtDcPeriod #define TA_HT_DCPERIOD_Lookback Core::HtDcPeriodLookback static int HtDcPhaseLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode HtDcPhase( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode HtDcPhase( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return HtDcPhase( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode HtDcPhase( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode HtDcPhase( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_HT_DCPHASE Core::HtDcPhase #define TA_HT_DCPHASE_Lookback Core::HtDcPhaseLookback static int HtPhasorLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode HtPhasor( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInPhase, cli::array^ outQuadrature ); static enum class RetCode HtPhasor( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInPhase, cli::array^ outQuadrature ) { return HtPhasor( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outInPhase , outQuadrature ); } #elif defined( _MANAGED ) static enum class RetCode HtPhasor( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInPhase, cli::array^ outQuadrature ); #endif static enum class RetCode HtPhasor( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInPhase, cli::array^ outQuadrature ); #define TA_HT_PHASOR Core::HtPhasor #define TA_HT_PHASOR_Lookback Core::HtPhasorLookback static int HtSineLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode HtSine( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outSine, cli::array^ outLeadSine ); static enum class RetCode HtSine( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outSine, cli::array^ outLeadSine ) { return HtSine( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outSine , outLeadSine ); } #elif defined( _MANAGED ) static enum class RetCode HtSine( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outSine, cli::array^ outLeadSine ); #endif static enum class RetCode HtSine( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outSine, cli::array^ outLeadSine ); #define TA_HT_SINE Core::HtSine #define TA_HT_SINE_Lookback Core::HtSineLookback static int HtTrendlineLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode HtTrendline( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode HtTrendline( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return HtTrendline( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode HtTrendline( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode HtTrendline( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_HT_TRENDLINE Core::HtTrendline #define TA_HT_TRENDLINE_Lookback Core::HtTrendlineLookback static int HtTrendModeLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode HtTrendMode( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode HtTrendMode( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return HtTrendMode( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode HtTrendMode( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode HtTrendMode( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_HT_TRENDMODE Core::HtTrendMode #define TA_HT_TRENDMODE_Lookback Core::HtTrendModeLookback static int KamaLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Kama( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Kama( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Kama( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Kama( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Kama( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_KAMA Core::Kama #define TA_KAMA_Lookback Core::KamaLookback static int LinearRegLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode LinearReg( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode LinearReg( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return LinearReg( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode LinearReg( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode LinearReg( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_LINEARREG Core::LinearReg #define TA_LINEARREG_Lookback Core::LinearRegLookback static int LinearRegAngleLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode LinearRegAngle( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode LinearRegAngle( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return LinearRegAngle( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode LinearRegAngle( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode LinearRegAngle( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_LINEARREG_ANGLE Core::LinearRegAngle #define TA_LINEARREG_ANGLE_Lookback Core::LinearRegAngleLookback static int LinearRegInterceptLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode LinearRegIntercept( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode LinearRegIntercept( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return LinearRegIntercept( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode LinearRegIntercept( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode LinearRegIntercept( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_LINEARREG_INTERCEPT Core::LinearRegIntercept #define TA_LINEARREG_INTERCEPT_Lookback Core::LinearRegInterceptLookback static int LinearRegSlopeLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode LinearRegSlope( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode LinearRegSlope( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return LinearRegSlope( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode LinearRegSlope( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode LinearRegSlope( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_LINEARREG_SLOPE Core::LinearRegSlope #define TA_LINEARREG_SLOPE_Lookback Core::LinearRegSlopeLookback static int LnLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Ln( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Ln( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Ln( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Ln( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Ln( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_LN Core::Ln #define TA_LN_Lookback Core::LnLookback static int Log10Lookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Log10( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Log10( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Log10( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Log10( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Log10( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_LOG10 Core::Log10 #define TA_LOG10_Lookback Core::Log10Lookback static int MovingAverageLookback( int optInTimePeriod, /* From 1 to 100000 */ MAType optInMAType ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode MovingAverage( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 1 to 100000 */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode MovingAverage( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return MovingAverage( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 1 to 100000 */ optInMAType, outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode MovingAverage( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode MovingAverage( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_MA Core::MovingAverage #define TA_MA_Lookback Core::MovingAverageLookback static int MacdLookback( int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ int optInSignalPeriod ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Macd( int startIdx, int endIdx, SubArray^ inReal, int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ int optInSignalPeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMACD, cli::array^ outMACDSignal, cli::array^ outMACDHist ); static enum class RetCode Macd( int startIdx, int endIdx, cli::array^ inReal, int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ int optInSignalPeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMACD, cli::array^ outMACDSignal, cli::array^ outMACDHist ) { return Macd( startIdx, endIdx, gcnew SubArray(inReal,0), optInFastPeriod, /* From 2 to 100000 */ optInSlowPeriod, /* From 2 to 100000 */ optInSignalPeriod, /* From 1 to 100000 */ outBegIdx, outNBElement, outMACD , outMACDSignal , outMACDHist ); } #elif defined( _MANAGED ) static enum class RetCode Macd( int startIdx, int endIdx, cli::array^ inReal, int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ int optInSignalPeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMACD, cli::array^ outMACDSignal, cli::array^ outMACDHist ); #endif static enum class RetCode Macd( int startIdx, int endIdx, cli::array^ inReal, int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ int optInSignalPeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMACD, cli::array^ outMACDSignal, cli::array^ outMACDHist ); #define TA_MACD Core::Macd #define TA_MACD_Lookback Core::MacdLookback static int MacdExtLookback( int optInFastPeriod, /* From 2 to 100000 */ MAType optInFastMAType, int optInSlowPeriod, /* From 2 to 100000 */ MAType optInSlowMAType, int optInSignalPeriod, /* From 1 to 100000 */ MAType optInSignalMAType ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode MacdExt( int startIdx, int endIdx, SubArray^ inReal, int optInFastPeriod, /* From 2 to 100000 */ MAType optInFastMAType, int optInSlowPeriod, /* From 2 to 100000 */ MAType optInSlowMAType, int optInSignalPeriod, /* From 1 to 100000 */ MAType optInSignalMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMACD, cli::array^ outMACDSignal, cli::array^ outMACDHist ); static enum class RetCode MacdExt( int startIdx, int endIdx, cli::array^ inReal, int optInFastPeriod, /* From 2 to 100000 */ MAType optInFastMAType, int optInSlowPeriod, /* From 2 to 100000 */ MAType optInSlowMAType, int optInSignalPeriod, /* From 1 to 100000 */ MAType optInSignalMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMACD, cli::array^ outMACDSignal, cli::array^ outMACDHist ) { return MacdExt( startIdx, endIdx, gcnew SubArray(inReal,0), optInFastPeriod, /* From 2 to 100000 */ optInFastMAType, optInSlowPeriod, /* From 2 to 100000 */ optInSlowMAType, optInSignalPeriod, /* From 1 to 100000 */ optInSignalMAType, outBegIdx, outNBElement, outMACD , outMACDSignal , outMACDHist ); } #elif defined( _MANAGED ) static enum class RetCode MacdExt( int startIdx, int endIdx, cli::array^ inReal, int optInFastPeriod, /* From 2 to 100000 */ MAType optInFastMAType, int optInSlowPeriod, /* From 2 to 100000 */ MAType optInSlowMAType, int optInSignalPeriod, /* From 1 to 100000 */ MAType optInSignalMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMACD, cli::array^ outMACDSignal, cli::array^ outMACDHist ); #endif static enum class RetCode MacdExt( int startIdx, int endIdx, cli::array^ inReal, int optInFastPeriod, /* From 2 to 100000 */ MAType optInFastMAType, int optInSlowPeriod, /* From 2 to 100000 */ MAType optInSlowMAType, int optInSignalPeriod, /* From 1 to 100000 */ MAType optInSignalMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMACD, cli::array^ outMACDSignal, cli::array^ outMACDHist ); #define TA_MACDEXT Core::MacdExt #define TA_MACDEXT_Lookback Core::MacdExtLookback static int MacdFixLookback( int optInSignalPeriod ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode MacdFix( int startIdx, int endIdx, SubArray^ inReal, int optInSignalPeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMACD, cli::array^ outMACDSignal, cli::array^ outMACDHist ); static enum class RetCode MacdFix( int startIdx, int endIdx, cli::array^ inReal, int optInSignalPeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMACD, cli::array^ outMACDSignal, cli::array^ outMACDHist ) { return MacdFix( startIdx, endIdx, gcnew SubArray(inReal,0), optInSignalPeriod, /* From 1 to 100000 */ outBegIdx, outNBElement, outMACD , outMACDSignal , outMACDHist ); } #elif defined( _MANAGED ) static enum class RetCode MacdFix( int startIdx, int endIdx, cli::array^ inReal, int optInSignalPeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMACD, cli::array^ outMACDSignal, cli::array^ outMACDHist ); #endif static enum class RetCode MacdFix( int startIdx, int endIdx, cli::array^ inReal, int optInSignalPeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMACD, cli::array^ outMACDSignal, cli::array^ outMACDHist ); #define TA_MACDFIX Core::MacdFix #define TA_MACDFIX_Lookback Core::MacdFixLookback static int MamaLookback( double optInFastLimit, /* From 0.01 to 0.99 */ double optInSlowLimit ); /* From 0.01 to 0.99 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Mama( int startIdx, int endIdx, SubArray^ inReal, double optInFastLimit, /* From 0.01 to 0.99 */ double optInSlowLimit, /* From 0.01 to 0.99 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMAMA, cli::array^ outFAMA ); static enum class RetCode Mama( int startIdx, int endIdx, cli::array^ inReal, double optInFastLimit, /* From 0.01 to 0.99 */ double optInSlowLimit, /* From 0.01 to 0.99 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMAMA, cli::array^ outFAMA ) { return Mama( startIdx, endIdx, gcnew SubArray(inReal,0), optInFastLimit, /* From 0.01 to 0.99 */ optInSlowLimit, /* From 0.01 to 0.99 */ outBegIdx, outNBElement, outMAMA , outFAMA ); } #elif defined( _MANAGED ) static enum class RetCode Mama( int startIdx, int endIdx, cli::array^ inReal, double optInFastLimit, /* From 0.01 to 0.99 */ double optInSlowLimit, /* From 0.01 to 0.99 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMAMA, cli::array^ outFAMA ); #endif static enum class RetCode Mama( int startIdx, int endIdx, cli::array^ inReal, double optInFastLimit, /* From 0.01 to 0.99 */ double optInSlowLimit, /* From 0.01 to 0.99 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMAMA, cli::array^ outFAMA ); #define TA_MAMA Core::Mama #define TA_MAMA_Lookback Core::MamaLookback static int MovingAverageVariablePeriodLookback( int optInMinPeriod, /* From 2 to 100000 */ int optInMaxPeriod, /* From 2 to 100000 */ MAType optInMAType ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode MovingAverageVariablePeriod( int startIdx, int endIdx, SubArray^ inReal, SubArray^ inPeriods, int optInMinPeriod, /* From 2 to 100000 */ int optInMaxPeriod, /* From 2 to 100000 */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode MovingAverageVariablePeriod( int startIdx, int endIdx, cli::array^ inReal, cli::array^ inPeriods, int optInMinPeriod, /* From 2 to 100000 */ int optInMaxPeriod, /* From 2 to 100000 */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return MovingAverageVariablePeriod( startIdx, endIdx, gcnew SubArray(inReal,0), gcnew SubArray(inPeriods,0), optInMinPeriod, /* From 2 to 100000 */ optInMaxPeriod, /* From 2 to 100000 */ optInMAType, outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode MovingAverageVariablePeriod( int startIdx, int endIdx, cli::array^ inReal, cli::array^ inPeriods, int optInMinPeriod, /* From 2 to 100000 */ int optInMaxPeriod, /* From 2 to 100000 */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode MovingAverageVariablePeriod( int startIdx, int endIdx, cli::array^ inReal, cli::array^ inPeriods, int optInMinPeriod, /* From 2 to 100000 */ int optInMaxPeriod, /* From 2 to 100000 */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_MAVP Core::MovingAverageVariablePeriod #define TA_MAVP_Lookback Core::MovingAverageVariablePeriodLookback static int MaxLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Max( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Max( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Max( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Max( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Max( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_MAX Core::Max #define TA_MAX_Lookback Core::MaxLookback static int MaxIndexLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode MaxIndex( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode MaxIndex( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return MaxIndex( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode MaxIndex( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode MaxIndex( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_MAXINDEX Core::MaxIndex #define TA_MAXINDEX_Lookback Core::MaxIndexLookback static int MedPriceLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode MedPrice( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode MedPrice( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return MedPrice( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode MedPrice( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode MedPrice( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_MEDPRICE Core::MedPrice #define TA_MEDPRICE_Lookback Core::MedPriceLookback static int MfiLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Mfi( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, SubArray^ inVolume, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Mfi( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, cli::array^ inVolume, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Mfi( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , gcnew SubArray(inVolume,0) , optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Mfi( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, cli::array^ inVolume, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Mfi( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, cli::array^ inVolume, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_MFI Core::Mfi #define TA_MFI_Lookback Core::MfiLookback static int MidPointLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode MidPoint( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode MidPoint( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return MidPoint( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode MidPoint( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode MidPoint( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_MIDPOINT Core::MidPoint #define TA_MIDPOINT_Lookback Core::MidPointLookback static int MidPriceLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode MidPrice( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode MidPrice( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return MidPrice( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode MidPrice( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode MidPrice( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_MIDPRICE Core::MidPrice #define TA_MIDPRICE_Lookback Core::MidPriceLookback static int MinLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Min( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Min( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Min( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Min( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Min( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_MIN Core::Min #define TA_MIN_Lookback Core::MinLookback static int MinIndexLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode MinIndex( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); static enum class RetCode MinIndex( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ) { return MinIndex( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outInteger ); } #elif defined( _MANAGED ) static enum class RetCode MinIndex( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #endif static enum class RetCode MinIndex( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outInteger ); #define TA_MININDEX Core::MinIndex #define TA_MININDEX_Lookback Core::MinIndexLookback static int MinMaxLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode MinMax( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMin, cli::array^ outMax ); static enum class RetCode MinMax( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMin, cli::array^ outMax ) { return MinMax( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outMin , outMax ); } #elif defined( _MANAGED ) static enum class RetCode MinMax( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMin, cli::array^ outMax ); #endif static enum class RetCode MinMax( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMin, cli::array^ outMax ); #define TA_MINMAX Core::MinMax #define TA_MINMAX_Lookback Core::MinMaxLookback static int MinMaxIndexLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode MinMaxIndex( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMinIdx, cli::array^ outMaxIdx ); static enum class RetCode MinMaxIndex( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMinIdx, cli::array^ outMaxIdx ) { return MinMaxIndex( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outMinIdx , outMaxIdx ); } #elif defined( _MANAGED ) static enum class RetCode MinMaxIndex( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMinIdx, cli::array^ outMaxIdx ); #endif static enum class RetCode MinMaxIndex( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outMinIdx, cli::array^ outMaxIdx ); #define TA_MINMAXINDEX Core::MinMaxIndex #define TA_MINMAXINDEX_Lookback Core::MinMaxIndexLookback static int MinusDILookback( int optInTimePeriod ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode MinusDI( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode MinusDI( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return MinusDI( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInTimePeriod, /* From 1 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode MinusDI( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode MinusDI( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_MINUS_DI Core::MinusDI #define TA_MINUS_DI_Lookback Core::MinusDILookback static int MinusDMLookback( int optInTimePeriod ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode MinusDM( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode MinusDM( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return MinusDM( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , optInTimePeriod, /* From 1 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode MinusDM( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode MinusDM( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_MINUS_DM Core::MinusDM #define TA_MINUS_DM_Lookback Core::MinusDMLookback static int MomLookback( int optInTimePeriod ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Mom( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Mom( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Mom( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 1 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Mom( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Mom( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_MOM Core::Mom #define TA_MOM_Lookback Core::MomLookback static int MultLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Mult( int startIdx, int endIdx, SubArray^ inReal0, SubArray^ inReal1, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Mult( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Mult( startIdx, endIdx, gcnew SubArray(inReal0,0), gcnew SubArray(inReal1,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Mult( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Mult( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_MULT Core::Mult #define TA_MULT_Lookback Core::MultLookback static int NatrLookback( int optInTimePeriod ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Natr( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Natr( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Natr( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInTimePeriod, /* From 1 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Natr( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Natr( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_NATR Core::Natr #define TA_NATR_Lookback Core::NatrLookback static int ObvLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Obv( int startIdx, int endIdx, SubArray^ inReal, SubArray^ inVolume, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Obv( int startIdx, int endIdx, cli::array^ inReal, cli::array^ inVolume, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Obv( startIdx, endIdx, gcnew SubArray(inReal,0), gcnew SubArray(inVolume,0) , outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Obv( int startIdx, int endIdx, cli::array^ inReal, cli::array^ inVolume, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Obv( int startIdx, int endIdx, cli::array^ inReal, cli::array^ inVolume, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_OBV Core::Obv #define TA_OBV_Lookback Core::ObvLookback static int PlusDILookback( int optInTimePeriod ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode PlusDI( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode PlusDI( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return PlusDI( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInTimePeriod, /* From 1 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode PlusDI( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode PlusDI( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_PLUS_DI Core::PlusDI #define TA_PLUS_DI_Lookback Core::PlusDILookback static int PlusDMLookback( int optInTimePeriod ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode PlusDM( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode PlusDM( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return PlusDM( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , optInTimePeriod, /* From 1 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode PlusDM( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode PlusDM( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_PLUS_DM Core::PlusDM #define TA_PLUS_DM_Lookback Core::PlusDMLookback static int PpoLookback( int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ MAType optInMAType ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Ppo( int startIdx, int endIdx, SubArray^ inReal, int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Ppo( int startIdx, int endIdx, cli::array^ inReal, int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Ppo( startIdx, endIdx, gcnew SubArray(inReal,0), optInFastPeriod, /* From 2 to 100000 */ optInSlowPeriod, /* From 2 to 100000 */ optInMAType, outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Ppo( int startIdx, int endIdx, cli::array^ inReal, int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Ppo( int startIdx, int endIdx, cli::array^ inReal, int optInFastPeriod, /* From 2 to 100000 */ int optInSlowPeriod, /* From 2 to 100000 */ MAType optInMAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_PPO Core::Ppo #define TA_PPO_Lookback Core::PpoLookback static int RocLookback( int optInTimePeriod ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Roc( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Roc( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Roc( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 1 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Roc( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Roc( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_ROC Core::Roc #define TA_ROC_Lookback Core::RocLookback static int RocPLookback( int optInTimePeriod ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode RocP( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode RocP( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return RocP( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 1 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode RocP( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode RocP( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_ROCP Core::RocP #define TA_ROCP_Lookback Core::RocPLookback static int RocRLookback( int optInTimePeriod ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode RocR( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode RocR( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return RocR( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 1 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode RocR( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode RocR( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_ROCR Core::RocR #define TA_ROCR_Lookback Core::RocRLookback static int RocR100Lookback( int optInTimePeriod ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode RocR100( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode RocR100( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return RocR100( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 1 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode RocR100( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode RocR100( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_ROCR100 Core::RocR100 #define TA_ROCR100_Lookback Core::RocR100Lookback static int RsiLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Rsi( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Rsi( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Rsi( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Rsi( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Rsi( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_RSI Core::Rsi #define TA_RSI_Lookback Core::RsiLookback static int SarLookback( double optInAcceleration, /* From 0 to TA_REAL_MAX */ double optInMaximum ); /* From 0 to TA_REAL_MAX */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Sar( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, double optInAcceleration, /* From 0 to TA_REAL_MAX */ double optInMaximum, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Sar( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, double optInAcceleration, /* From 0 to TA_REAL_MAX */ double optInMaximum, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Sar( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , optInAcceleration, /* From 0 to TA_REAL_MAX */ optInMaximum, /* From 0 to TA_REAL_MAX */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Sar( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, double optInAcceleration, /* From 0 to TA_REAL_MAX */ double optInMaximum, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Sar( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, double optInAcceleration, /* From 0 to TA_REAL_MAX */ double optInMaximum, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_SAR Core::Sar #define TA_SAR_Lookback Core::SarLookback static int SarExtLookback( double optInStartValue, /* From TA_REAL_MIN to TA_REAL_MAX */ double optInOffsetOnReverse, /* From 0 to TA_REAL_MAX */ double optInAccelerationInitLong, /* From 0 to TA_REAL_MAX */ double optInAccelerationLong, /* From 0 to TA_REAL_MAX */ double optInAccelerationMaxLong, /* From 0 to TA_REAL_MAX */ double optInAccelerationInitShort, /* From 0 to TA_REAL_MAX */ double optInAccelerationShort, /* From 0 to TA_REAL_MAX */ double optInAccelerationMaxShort ); /* From 0 to TA_REAL_MAX */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode SarExt( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, double optInStartValue, /* From TA_REAL_MIN to TA_REAL_MAX */ double optInOffsetOnReverse, /* From 0 to TA_REAL_MAX */ double optInAccelerationInitLong, /* From 0 to TA_REAL_MAX */ double optInAccelerationLong, /* From 0 to TA_REAL_MAX */ double optInAccelerationMaxLong, /* From 0 to TA_REAL_MAX */ double optInAccelerationInitShort, /* From 0 to TA_REAL_MAX */ double optInAccelerationShort, /* From 0 to TA_REAL_MAX */ double optInAccelerationMaxShort, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode SarExt( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, double optInStartValue, /* From TA_REAL_MIN to TA_REAL_MAX */ double optInOffsetOnReverse, /* From 0 to TA_REAL_MAX */ double optInAccelerationInitLong, /* From 0 to TA_REAL_MAX */ double optInAccelerationLong, /* From 0 to TA_REAL_MAX */ double optInAccelerationMaxLong, /* From 0 to TA_REAL_MAX */ double optInAccelerationInitShort, /* From 0 to TA_REAL_MAX */ double optInAccelerationShort, /* From 0 to TA_REAL_MAX */ double optInAccelerationMaxShort, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return SarExt( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , optInStartValue, /* From TA_REAL_MIN to TA_REAL_MAX */ optInOffsetOnReverse, /* From 0 to TA_REAL_MAX */ optInAccelerationInitLong, /* From 0 to TA_REAL_MAX */ optInAccelerationLong, /* From 0 to TA_REAL_MAX */ optInAccelerationMaxLong, /* From 0 to TA_REAL_MAX */ optInAccelerationInitShort, /* From 0 to TA_REAL_MAX */ optInAccelerationShort, /* From 0 to TA_REAL_MAX */ optInAccelerationMaxShort, /* From 0 to TA_REAL_MAX */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode SarExt( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, double optInStartValue, /* From TA_REAL_MIN to TA_REAL_MAX */ double optInOffsetOnReverse, /* From 0 to TA_REAL_MAX */ double optInAccelerationInitLong, /* From 0 to TA_REAL_MAX */ double optInAccelerationLong, /* From 0 to TA_REAL_MAX */ double optInAccelerationMaxLong, /* From 0 to TA_REAL_MAX */ double optInAccelerationInitShort, /* From 0 to TA_REAL_MAX */ double optInAccelerationShort, /* From 0 to TA_REAL_MAX */ double optInAccelerationMaxShort, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode SarExt( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, double optInStartValue, /* From TA_REAL_MIN to TA_REAL_MAX */ double optInOffsetOnReverse, /* From 0 to TA_REAL_MAX */ double optInAccelerationInitLong, /* From 0 to TA_REAL_MAX */ double optInAccelerationLong, /* From 0 to TA_REAL_MAX */ double optInAccelerationMaxLong, /* From 0 to TA_REAL_MAX */ double optInAccelerationInitShort, /* From 0 to TA_REAL_MAX */ double optInAccelerationShort, /* From 0 to TA_REAL_MAX */ double optInAccelerationMaxShort, /* From 0 to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_SAREXT Core::SarExt #define TA_SAREXT_Lookback Core::SarExtLookback static int SinLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Sin( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Sin( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Sin( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Sin( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Sin( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_SIN Core::Sin #define TA_SIN_Lookback Core::SinLookback static int SinhLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Sinh( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Sinh( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Sinh( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Sinh( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Sinh( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_SINH Core::Sinh #define TA_SINH_Lookback Core::SinhLookback static int SmaLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Sma( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Sma( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Sma( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Sma( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Sma( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_SMA Core::Sma #define TA_SMA_Lookback Core::SmaLookback static int SqrtLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Sqrt( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Sqrt( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Sqrt( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Sqrt( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Sqrt( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_SQRT Core::Sqrt #define TA_SQRT_Lookback Core::SqrtLookback static int StdDevLookback( int optInTimePeriod, /* From 2 to 100000 */ double optInNbDev ); /* From TA_REAL_MIN to TA_REAL_MAX */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode StdDev( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ double optInNbDev, /* From TA_REAL_MIN to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode StdDev( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ double optInNbDev, /* From TA_REAL_MIN to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return StdDev( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ optInNbDev, /* From TA_REAL_MIN to TA_REAL_MAX */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode StdDev( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ double optInNbDev, /* From TA_REAL_MIN to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode StdDev( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ double optInNbDev, /* From TA_REAL_MIN to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_STDDEV Core::StdDev #define TA_STDDEV_Lookback Core::StdDevLookback static int StochLookback( int optInFastK_Period, /* From 1 to 100000 */ int optInSlowK_Period, /* From 1 to 100000 */ MAType optInSlowK_MAType, int optInSlowD_Period, /* From 1 to 100000 */ MAType optInSlowD_MAType ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Stoch( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, int optInFastK_Period, /* From 1 to 100000 */ int optInSlowK_Period, /* From 1 to 100000 */ MAType optInSlowK_MAType, int optInSlowD_Period, /* From 1 to 100000 */ MAType optInSlowD_MAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outSlowK, cli::array^ outSlowD ); static enum class RetCode Stoch( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInFastK_Period, /* From 1 to 100000 */ int optInSlowK_Period, /* From 1 to 100000 */ MAType optInSlowK_MAType, int optInSlowD_Period, /* From 1 to 100000 */ MAType optInSlowD_MAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outSlowK, cli::array^ outSlowD ) { return Stoch( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInFastK_Period, /* From 1 to 100000 */ optInSlowK_Period, /* From 1 to 100000 */ optInSlowK_MAType, optInSlowD_Period, /* From 1 to 100000 */ optInSlowD_MAType, outBegIdx, outNBElement, outSlowK , outSlowD ); } #elif defined( _MANAGED ) static enum class RetCode Stoch( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInFastK_Period, /* From 1 to 100000 */ int optInSlowK_Period, /* From 1 to 100000 */ MAType optInSlowK_MAType, int optInSlowD_Period, /* From 1 to 100000 */ MAType optInSlowD_MAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outSlowK, cli::array^ outSlowD ); #endif static enum class RetCode Stoch( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInFastK_Period, /* From 1 to 100000 */ int optInSlowK_Period, /* From 1 to 100000 */ MAType optInSlowK_MAType, int optInSlowD_Period, /* From 1 to 100000 */ MAType optInSlowD_MAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outSlowK, cli::array^ outSlowD ); #define TA_STOCH Core::Stoch #define TA_STOCH_Lookback Core::StochLookback static int StochFLookback( int optInFastK_Period, /* From 1 to 100000 */ int optInFastD_Period, /* From 1 to 100000 */ MAType optInFastD_MAType ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode StochF( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, int optInFastK_Period, /* From 1 to 100000 */ int optInFastD_Period, /* From 1 to 100000 */ MAType optInFastD_MAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outFastK, cli::array^ outFastD ); static enum class RetCode StochF( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInFastK_Period, /* From 1 to 100000 */ int optInFastD_Period, /* From 1 to 100000 */ MAType optInFastD_MAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outFastK, cli::array^ outFastD ) { return StochF( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInFastK_Period, /* From 1 to 100000 */ optInFastD_Period, /* From 1 to 100000 */ optInFastD_MAType, outBegIdx, outNBElement, outFastK , outFastD ); } #elif defined( _MANAGED ) static enum class RetCode StochF( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInFastK_Period, /* From 1 to 100000 */ int optInFastD_Period, /* From 1 to 100000 */ MAType optInFastD_MAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outFastK, cli::array^ outFastD ); #endif static enum class RetCode StochF( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInFastK_Period, /* From 1 to 100000 */ int optInFastD_Period, /* From 1 to 100000 */ MAType optInFastD_MAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outFastK, cli::array^ outFastD ); #define TA_STOCHF Core::StochF #define TA_STOCHF_Lookback Core::StochFLookback static int StochRsiLookback( int optInTimePeriod, /* From 2 to 100000 */ int optInFastK_Period, /* From 1 to 100000 */ int optInFastD_Period, /* From 1 to 100000 */ MAType optInFastD_MAType ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode StochRsi( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ int optInFastK_Period, /* From 1 to 100000 */ int optInFastD_Period, /* From 1 to 100000 */ MAType optInFastD_MAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outFastK, cli::array^ outFastD ); static enum class RetCode StochRsi( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ int optInFastK_Period, /* From 1 to 100000 */ int optInFastD_Period, /* From 1 to 100000 */ MAType optInFastD_MAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outFastK, cli::array^ outFastD ) { return StochRsi( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ optInFastK_Period, /* From 1 to 100000 */ optInFastD_Period, /* From 1 to 100000 */ optInFastD_MAType, outBegIdx, outNBElement, outFastK , outFastD ); } #elif defined( _MANAGED ) static enum class RetCode StochRsi( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ int optInFastK_Period, /* From 1 to 100000 */ int optInFastD_Period, /* From 1 to 100000 */ MAType optInFastD_MAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outFastK, cli::array^ outFastD ); #endif static enum class RetCode StochRsi( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ int optInFastK_Period, /* From 1 to 100000 */ int optInFastD_Period, /* From 1 to 100000 */ MAType optInFastD_MAType, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outFastK, cli::array^ outFastD ); #define TA_STOCHRSI Core::StochRsi #define TA_STOCHRSI_Lookback Core::StochRsiLookback static int SubLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Sub( int startIdx, int endIdx, SubArray^ inReal0, SubArray^ inReal1, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Sub( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Sub( startIdx, endIdx, gcnew SubArray(inReal0,0), gcnew SubArray(inReal1,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Sub( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Sub( int startIdx, int endIdx, cli::array^ inReal0, cli::array^ inReal1, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_SUB Core::Sub #define TA_SUB_Lookback Core::SubLookback static int SumLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Sum( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Sum( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Sum( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Sum( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Sum( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_SUM Core::Sum #define TA_SUM_Lookback Core::SumLookback static int T3Lookback( int optInTimePeriod, /* From 2 to 100000 */ double optInVFactor ); /* From 0 to 1 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode T3( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ double optInVFactor, /* From 0 to 1 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode T3( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ double optInVFactor, /* From 0 to 1 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return T3( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ optInVFactor, /* From 0 to 1 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode T3( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ double optInVFactor, /* From 0 to 1 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode T3( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ double optInVFactor, /* From 0 to 1 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_T3 Core::T3 #define TA_T3_Lookback Core::T3Lookback static int TanLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Tan( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Tan( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Tan( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Tan( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Tan( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_TAN Core::Tan #define TA_TAN_Lookback Core::TanLookback static int TanhLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Tanh( int startIdx, int endIdx, SubArray^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Tanh( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Tanh( startIdx, endIdx, gcnew SubArray(inReal,0), outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Tanh( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Tanh( int startIdx, int endIdx, cli::array^ inReal, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_TANH Core::Tanh #define TA_TANH_Lookback Core::TanhLookback static int TemaLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Tema( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Tema( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Tema( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Tema( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Tema( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_TEMA Core::Tema #define TA_TEMA_Lookback Core::TemaLookback static int TrueRangeLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode TrueRange( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode TrueRange( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return TrueRange( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode TrueRange( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode TrueRange( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_TRANGE Core::TrueRange #define TA_TRANGE_Lookback Core::TrueRangeLookback static int TrimaLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Trima( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Trima( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Trima( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Trima( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Trima( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_TRIMA Core::Trima #define TA_TRIMA_Lookback Core::TrimaLookback static int TrixLookback( int optInTimePeriod ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Trix( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Trix( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Trix( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 1 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Trix( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Trix( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_TRIX Core::Trix #define TA_TRIX_Lookback Core::TrixLookback static int TsfLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Tsf( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Tsf( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Tsf( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Tsf( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Tsf( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_TSF Core::Tsf #define TA_TSF_Lookback Core::TsfLookback static int TypPriceLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode TypPrice( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode TypPrice( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return TypPrice( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode TypPrice( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode TypPrice( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_TYPPRICE Core::TypPrice #define TA_TYPPRICE_Lookback Core::TypPriceLookback static int UltOscLookback( int optInTimePeriod1, /* From 1 to 100000 */ int optInTimePeriod2, /* From 1 to 100000 */ int optInTimePeriod3 ); /* From 1 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode UltOsc( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, int optInTimePeriod1, /* From 1 to 100000 */ int optInTimePeriod2, /* From 1 to 100000 */ int optInTimePeriod3, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode UltOsc( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod1, /* From 1 to 100000 */ int optInTimePeriod2, /* From 1 to 100000 */ int optInTimePeriod3, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return UltOsc( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInTimePeriod1, /* From 1 to 100000 */ optInTimePeriod2, /* From 1 to 100000 */ optInTimePeriod3, /* From 1 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode UltOsc( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod1, /* From 1 to 100000 */ int optInTimePeriod2, /* From 1 to 100000 */ int optInTimePeriod3, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode UltOsc( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod1, /* From 1 to 100000 */ int optInTimePeriod2, /* From 1 to 100000 */ int optInTimePeriod3, /* From 1 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_ULTOSC Core::UltOsc #define TA_ULTOSC_Lookback Core::UltOscLookback static int VarianceLookback( int optInTimePeriod, /* From 1 to 100000 */ double optInNbDev ); /* From TA_REAL_MIN to TA_REAL_MAX */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Variance( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 1 to 100000 */ double optInNbDev, /* From TA_REAL_MIN to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Variance( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ double optInNbDev, /* From TA_REAL_MIN to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Variance( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 1 to 100000 */ optInNbDev, /* From TA_REAL_MIN to TA_REAL_MAX */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Variance( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ double optInNbDev, /* From TA_REAL_MIN to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Variance( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 1 to 100000 */ double optInNbDev, /* From TA_REAL_MIN to TA_REAL_MAX */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_VAR Core::Variance #define TA_VAR_Lookback Core::VarianceLookback static int WclPriceLookback( void ); #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode WclPrice( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode WclPrice( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return WclPrice( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode WclPrice( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode WclPrice( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_WCLPRICE Core::WclPrice #define TA_WCLPRICE_Lookback Core::WclPriceLookback static int WillRLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode WillR( int startIdx, int endIdx, SubArray^ inHigh, SubArray^ inLow, SubArray^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode WillR( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return WillR( startIdx, endIdx, gcnew SubArray(inHigh,0) , gcnew SubArray(inLow,0) , gcnew SubArray(inClose,0) , optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode WillR( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode WillR( int startIdx, int endIdx, cli::array^ inHigh, cli::array^ inLow, cli::array^ inClose, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_WILLR Core::WillR #define TA_WILLR_Lookback Core::WillRLookback static int WmaLookback( int optInTimePeriod ); /* From 2 to 100000 */ #if defined( _MANAGED ) && defined( USE_SUBARRAY ) static enum class RetCode Wma( int startIdx, int endIdx, SubArray^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); static enum class RetCode Wma( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ) { return Wma( startIdx, endIdx, gcnew SubArray(inReal,0), optInTimePeriod, /* From 2 to 100000 */ outBegIdx, outNBElement, outReal ); } #elif defined( _MANAGED ) static enum class RetCode Wma( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #endif static enum class RetCode Wma( int startIdx, int endIdx, cli::array^ inReal, int optInTimePeriod, /* From 2 to 100000 */ [Out]int% outBegIdx, [Out]int% outNBElement, cli::array^ outReal ); #define TA_WMA Core::Wma #define TA_WMA_Lookback Core::WmaLookback /**** END GENCODE SECTION 1 - DO NOT DELETE THIS LINE ****/ }; } } }