Skip to content

Instantly share code, notes, and snippets.

@marketcalls
Created November 27, 2014 05:40
Show Gist options
  • Save marketcalls/3010bcc7dc17559ef180 to your computer and use it in GitHub Desktop.
Save marketcalls/3010bcc7dc17559ef180 to your computer and use it in GitHub Desktop.
Simple Plugin using dot net SDK for Amibroker
using System;
using AmiBroker;
using AmiBroker.PlugIn;
using AmiBroker.Utils;
namespace SimplePlugin
{
public class Class1 : IndicatorBase
{
[ABMethod]
public ATArray SimplePluginFunc1(ATArray array, float period)
{
ATArray result = AFAvg.Ma(array, period);
return result;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment