Auto Detect Patterns in Amibroker

// @passiontrader _SECTION_BEGIN(“Head and Shoulder”); // Bullish + Bearish Head and Shoulder pattern  SetOption(“MaxOpenPositions”,10); PositionSize=-5; SetTradeDelays(0,0,0,0); procedure exitLoop_proc(Buy,BuyPrice,buDeltaProfitTarget,buStopLossLevel,buNeckline,Short,ShortPrice,beDeltaProfitTarget,beStopLossLevel,beNeckline,Maxbars) { global BuyAdjusted; global […]

Read more

Nice Nifty System

Code: _SECTION_BEGIN(“MA Diff”); T=26;  KMA=((C-MA(C,T))/MA(C,T))*100;  Graph0=KMA; Graph0Style=2+4; Graph0BarColor=IIf(KMA>0,5,4); GraphXSpace=5; _SECTION_END(); _SECTION_BEGIN(“Price”); SetChartOptions(0,chartShowArrows|chartShowDates); Plot( C, “Close”, ParamColor(“Color”, colorBlack ), styleNoTitle | ParamStyle(“Style”) | […]

Read more

AFL for Arbitrage

Formula: _SECTION_BEGIN(“Price”); SetChartOptions(0,chartShowArrows|chartShowDates); _N(Title = StrFormat(“{{NAME}} – {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}”, O, H, L, […]

Read more

Coral Trend Indicator

// Transcoded from PineScript Indicator (Coral Trend) // Date : 20th Dec 2015 _SECTION_BEGIN(“Coral Trend Indicator”); SetChartOptions(0,chartShowArrows|chartShowDates); _N(Title = StrFormat(“{{NAME}} – {{INTERVAL}} […]

Read more