TestimonialsAbout UsContact Us
ProductsServicesTechnical SupportBuy Online
 
 

    VB.net and C# Technical Analysis Source Code

 

With both C# and VB source code available, TA-SDK .net Edition will speed up your trading software development. TA-SDK comes with example projects for both C# and VB.net. Like our other libraries, TA-SDK .net Edition is extremely fast,  memory efficient and full source code is available for all technical indicators.

On top of the long list of popular indicators, TA-SDK also supports trend line penetration, a neural network trading system, candlestick pattern recognition and much more. Plus you get free updates for one full year.

Pre-sales questions? Call (888) 318-3754 and choose option 1 for technical pre-sales questions. We are happy to speak with you about your requirements.

Click here for a current  listing of TA-SDK technical indicators.

Please note that TA-SDK does not offer charting capabilities. For both charting and technical analysis, please see StockChartX Professional Edition.

Discount Packages

 

Binary only (excludes source code) $129 per developer
 

Buy TA-SDK Online Now

C# and VB.net Source Code ($289) per developer
 

Buy TA-SDK Online Now

 

Example 1: Calculate a TMA in VB.net:

Dim DB As New Database()
Dim RS As Recordset()
Dim rsMA As Recordset()
Dim MA As New MovingAverage()
Dim n As Integer

'Note: with TA-SDK Commercial Edition, you can
'modify source code to load from any data source.
DB.OpenDatabase("MSFT")

RS = DB.getRecordSet()
'Now we have the date, open, high, low, 
'close and volume Field objects loaded into RS.


'Calculate a 14 period TMA and store in a recordset.
rsMA = MA.TriangularMovingAverage(DB, RS, 14)

'Print all the values of the new TMA
For n = 1 To rsMA.getRecordCount()
    Console.WriteLine(rsMA.getValue(n))
Next n


Example 2: Calculate a John Ehlers Inverse Fisher Transform for the RSI in C#:

/*
Value1 = 0.1 * (RSI(CLOSE, 5) - 50)
Value2 = EMA(Value1, 9)
IFish = (Exp(2 * Value2) - 1) / (Exp(2 * Value2) + 1)
Value1 can be anything between -1 and +1
Value2 is just to smooth value1. Can be SMA, WMA or anything.
*/

Index index = new Index();
//Oscillator oscillator = new Oscillator();
//Field value1 = oscillator.MACD(m_nav, m_Recordset, 9, 26, 13, "value1").GetField("value1");

Field value1 = index.RelativeStrengthIndex(m_nav, m_Close, 5, "value1").GetField("value1");

for(int n = 0; n != value1.RecordCount; ++n)
    value1.SetValue(n, 0.1 * (value1.Value(n) - 50));

MovingAverage ma = new MovingAverage();
Field value2 = ma.ExponentialMovingAverage(m_nav, value1, 9, "value2").GetField("value2");
Field IFish = new Field(m_nav.RecordCount, "IFish");

for(int n = 10; n != value1.RecordCount; ++n)
{
     IFish.Value(n, (
Math.Exp(2 * (double)value2.Value(n)) - 1) /
        (
Math.Exp(2 * (double)value2.Value(n)) + 1));
    
Debug.WriteLine(m_nav.Recordset_.GetField("Date").ValueStr(n) + "\t" + IFish.Value(n));
}

 

If you would like to use TA-SDK to develop VBA or  web applications, have a look at  the TA-SDK ActiveX Visual Basic Edition.

 


TA-SDK source code is available in several programming languages. This means you get the actual technical analysis source in the programming language you are most fluent with. 
 



Develop powerful trading applications with Microsoft Visual C++ in record time. Read More



Use the TA-SDK ActiveX DLL with Microsoft Visual Basic, FoxPro, Excel, and Access. Read More



The TA-SDK CLR library and source code is available for Microsoft VS .net. Examples available for both C# and VB.net. Read More



Develop cross-platform trading apps in Sun Java with the TA-SDK JAR package and source code Read More



Link TA-SDK to any DDE or ActiveX real-time data feed in Microsoft Excel!
Read about TA-SDK Excel Edition  Read More 



Experience the power of TA-SDK coupled with the dependability of the UNIX or Linux OS. Read More

 

 
 
   Email This Page
Copyright ® 1999 - 2012 Modulus Financial Engineering, Inc.