Created
November 27, 2014 05:50
-
-
Save marketcalls/1eaa88e876c2368f987c to your computer and use it in GitHub Desktop.
First DLL Plugin using .Net SDK for Amibroker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _SECTION_BEGIN("First DLL Plugin"); | |
| SetChartOptions(0,chartShowArrows|chartShowDates); | |
| _N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) )); | |
| Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); | |
| Ma1 = SimplePluginFunc1(C,10); | |
| Plot(Ma1,"Moving Average",colorRed); | |
| _SECTION_END(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment