Start Enjoying the Controls, Reduce your code time, and start focusing on building your trading strategy. PlotShapes(IIf(Sell, shapeDownArrow, shapeNone),colorWhite, 0,H, Offset=-45) PlotShapes(IIf(Sell, shapeSquare, shapeNone),colorOrange, 0,H, Offset=50) PlotShapes(IIf(Sell, shapeSquare, shapeNone),colorRed, 0, H, Offset=40) PlotShapes(IIf(Buy, shapeUpArrow, shapeNone),colorWhite, 0,L, Offset=-45) AmiBroker on an Apple Mac (OSX) AmiBroker is a Windows application and does not have native Mac version, however we do have many Apple Mac users, who use Parallels ( virtualization software in order to run AmiBroker on Mac and AmiBroker works perfectly fine in such configuration. PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorLime, 0,L, Offset=-50) PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorGreen, 0, L, Offset=-40) Non Repainting - Signals happens only after the close of the current Sell = Cross(EMA(Close,len2), EMA(Close,len1)) //Negative EMA Crossover Plot(EMA(Close,len2),"EMA2",coloryellow, styleLine | styleThick) īuy = Cross(EMA(Close,len1), EMA(Close,len2)) //Positive EMA Crossover Plot(EMA(Close,len1),"EMA1",colorGreen, styleLine | styleThick) Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ) _N(Title = StrFormat("", O, H, L, C, SelectedValue( ROC( C, 1 ) ) )) SetChartOptions(0,chartShowArrows|chartShowDates) Sample AFL Code – Chart Based Trading #include Once the appropriate codes are added necessary strategy control parameters, dashboard controls and alert controls are automatically added and code is ready to perform automation once the AlgoMode Parameter is enabled If your strategy contains only Buy, Sell, and not the Short, Cover Signals then add the following code Algomojo(Buy,Sell,0,0) Add the Code after the computation of Buy,Sell,Short,cover Signals Here are the Two Lines of Code that needs to be addedġ)Including Algomojo Charts library //include the line at the top of your trading strategy code.Ģ)Transmit Signals from Amibroker to Algomojo Connected Brokers Simplified Chart Based Automation Controls can be rendered in Amibroker just by adding two lines of code.
HOW TO INSTALL AMIBROKER ON MAC HOW TO
Here is a sample code to do smart order execution How to Send Orders using Amibroker from the Charts? Enter the APIkey and API secret obtained from Algomojo->My API section Go to Amibroker->Formulas->Include->Algomojo folder and Edit API.afl using AFL Editor.
HOW TO INSTALL AMIBROKER ON MAC INSTALL
1) Download the Library and Install as per the guidelines (Same AFL codes are provided in the link)Ģ) API Configuration Settings in Amibroker