Fhb advanced trading system for amibroker (afl)


Fhb advanced trading system for amibroker (afl)


The ultimate porfolio management solution.
WiseTrader Toolbox.
Swing Trading System for Amibroker (AFL)
Very simple formula but nice results.
Buy above High and Sell below Low.
Green line is Trailing Stop loss line.
Screenshots.
Similar Indicators / Formulas.
Indicator / Formula.
5 comments.
yes it is simple but, it does alot, thanks dear for sharing.
I’m confused why would you BUY above High and Sell below Low ??
This formula looks really good but the question is what is meant under high and low?
I think buy/sell should be done after appearance of the relevant arrow..
Check crossovers, red line is on top = market is bullish, Red line is on bottom = market is on bearish.
(I’m confused why would you BUY above High and Sell below Low ??)

Quick Profit Trading System AFL for Amibroker.
Quick Profit Trading System is a complete trading system on single panel chart on Amibroker. It gives good Buy Sell Signals with Clear Trending Levels (Trailing Stoploss) and Targets. Best Time Frame for this System is 15 Minutes. Never use this AFL for Positional Trading as the indicators and formulae used in it are for Intraday Trading only.
Use Quick Profit Trading System AFL only for Intraday Trading in MCX Commodity, NCDEX Agriculture Commodity, NSE Equity Cash Stocks, Nifty Future, Bank Nifty Future, Nifty Options, Most Active Stock Futures, Currency Futures & Options, Etc.
_SECTION_BEGIN(“Quick Profit Trading System”);
SetBarFillColor(IIf(C>O, ParamColor(“Candle UP Color”, colorGreen),IIf(C<=O, ParamColor(“Candle Down Color”, colorRed),colorLightGrey)));
Plot(C,”\nPrice”,IIf(C>O, ParamColor(“Wick UP Color”, colorDarkGreen),IIf(C<=O, ParamColor(“Wick Down Color”, colorDarkRed),colorLightGrey)),64,0,0,0,0);
for (i = 1; i <BarCount-1; i++)
if (trend[i-1] == -1) changeOfTrend = 1;
if (trend[i-1] == 1) changeOfTrend = 1;
else if (trend[i-1]==1)
if (changeOfTrend == 1)
if (changeOfTrend == 1)
Title = EncodeColor(colorWhite)+ “Quick Profit Trading System” + ” – ” + Name() + ” – ” + EncodeColor(colorRed)+ Interval(2) + EncodeColor(colorWhite) +
PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorGreen, 0, L, Offset=-40);
PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorLime, 0,L, Offset=-50);
PlotShapes(IIf(Buy, shapeUpArrow, shapeNone),colorWhite, 0,L, Offset=-45);
PlotShapes(IIf(Short, shapeSquare, shapeNone),colorRed, 0, H, Offset=40);
PlotShapes(IIf(Short, shapeSquare, shapeNone),colorOrange, 0,H, Offset=50);
PlotShapes(IIf(Short, shapeDownArrow, shapeNone),colorWhite, 0,H, Offset=-45);
tar1 = entry + (entry * .0050);
tar2 = entry + (entry * .0092);
tar3 = entry + (entry * .0179);
tar1 = entry – (entry * .0050);
tar2 = entry – (entry * .0112);
tar3 = entry – (entry * .0212);
Clr = IIf(sig == “BUY”, colorLime, colorRed);
ssl = IIf(bars == BarCount-1, TrendSL[BarCount-1], Ref(TrendSL, -1));
Plot(LineArray(bars-Offset, tar1, BarCount, tar1,1), “”, Clr, styleLine|styleDots, Null, Null, Offset);
Plot(LineArray(bars-Offset, tar2, BarCount, tar2,1), “”, Clr, styleLine|styleDots, Null, Null, Offset);
Plot(LineArray(bars-Offset, tar3, BarCount, tar3,1), “”, Clr, styleLine|styleDots, Null, Null, Offset);
messageboard = ParamToggle(“Message Board”,”Show|Hide”,1);
if (messageboard == 1 )
GfxSelectFont( “Tahoma”, 13, 100 );
pxHeight = Status( “pxchartheight” ) ;
GfxSelectPen( colorGreen, 1);
GfxRoundRect( x, y – 98, x2, y , 7, 7 ) ;
GfxTextOut( ( “Quick Profit Trading System”),13,y-100);
GfxTextOut( (“Last ” + sig + ” Signal came ” + (BarCount-bars-1) * Interval()/60 + ” mins ago”), 13, y-80) ; // The text format location.
GfxTextOut( (“Current P/L : ” + WriteVal(IIf(sig == “BUY”,(C-entry),(entry-C)),2.2)), 13, y-22);;
GfxSelectFont(“Times New Roman”, FS, 700, True );
GfxSelectFont(“Times New Roman”, 11, 700, True );
Seconds = int( Time % 100 );
Minutes = int( Time / 100 % 100 );
Hours = int( Time / 10000 % 100 );
SecondNum = int( Hours * 60 * 60 + Minutes * 60 + Seconds );
Newperiod = SecNumber % TimeFrame == 0;
SecsLeft = SecNumber – int( SecNumber / TimeFrame ) * TimeFrame;
SecsToGo = TimeFrame – SecsLeft;
GfxSelectSolidBrush( ColorRGB( 230, 230, 230 ) );
GfxSelectPen( ColorRGB( 230, 230, 230 ), 2 );
GfxSelectPen( colorYellow, 2 );
GfxSelectFont( “Arial”, 14, 700, False );

ami broker.
Use AmiBroker's powerful and ultra-fast Exploration tool to scan the market for opportunities and inefficiencies - your edge to stay ahead of the crowd.
Define objective entry & exit rules to remove emotions from your trading. Use Portfolio-level Backtesting & Optimization to fine tune the performance. Validate robustness using Walk-forward & Monte Carlo simulation.
Trade visually from Charts , or use Analysis tool to generate order list, or place orders directly from your code using Auto-trading interface. Whatever your style is. The choice is yours.
Upgrade your trading to the next level.
Powerful, easy-to-use and beautiful charts.
Drag-and-drop averages, bands and indicators on other indicators, modify parameters in real-time using sliders and customize using many different styles & gradients to make them beautiful.
The world's fastest portfolio backtesting and optimization.
Amazing speed comes together with sophisticated features like: advanced position sizing, scoring and ranking, rotational trading, custom metrics, custom backtesters, multiple-currency support.
Automation and batch processing.
Don't spend your time and energy on repeated tasks. Let AmiBroker automate your routine using newly integrated Batch processor. No more boring repeated clicks. You can run it from Windows scheduler so AmiBroker can work while you sleep.
All the information at your fingertips.
This is just one of many things that you can do using Exploration.
The Analysis window is home to backtesting, optimization, walk-forward testing and Monte Carlo simulation.
Powerful tools for the system trader.
The Analysis window.
The Analysis window is home to all your scans, explorations, portfolio backtests, optimizations, walk-forward tests and Monte Carlo simulation.
Screen markets for opportunities.
Exploration is multi-purpose screening/data mining tool that produces fully programmable tabular output with unlimited number of rows and columns from all symbols data.
Test your system.
The Backtest allows to test your system performance on historical data. The simulation is performed on portfolio-level as in real-life, with multiple securities traded at the same time, each having user-definable position sizing rule.
Scoring & ranking.
If multiple entry signals occur on the same bar and you run out of buying power, AmiBroker performs bar-by-bar ranking based on user-definable position score to find preferable trade.
Find optimum parameter values.
Tell AmiBroker to try thousands of different parameter combinations to find best-performing ones. Use Smart Artificial Intelligence Optimization (Particle Swarm and CMA-ES) to search huge spaces in limited time.
Walk-forward testing.
Don't fall into over-fitting trap. Validate robustness of your system by checking its Out-of-Sample performance after In-Sample optimization process.
Monte Carlo Simulation.
Prepare yourself for difficult market conditions. Check worst-case scenarios and probability of ruin. Take insight into statistical properties of your trading system.
Concise and fast formula language to express your trading ideas.
Fast array and matrix processing.
In AmiBroker Formula Language (AFL) vectors and matrices are native types like plain numbers. To calculate mid point of High and Low arrays element-by-element you just type MidPt = ( H + L )/2; // H and L are arrays and it gets compiled to vectorized machine code. No need to write loops. This makes it possible to run your formulas at the same speed as code written in assembler. Native fast matrix operators and functions make statistical calculations a breeze.
Concise language means less work.
Your trading systems and indicators written in AFL will take less typing and less space than in other languages because many typical tasks in AFL are just single-liners. For example dynamic, ATR-based Chandelier's stop is just: ApplyStop ( stopTypeTrailing, stopModePoint, 3* ATR (14), True, True );
Built-in debugger.
The debugger allows you to single-step thru your code and watch the variables in run-time to better understand what your formula is doing.
State-of-the-art code editor.
Enjoy advanced editor with syntax highlighting, auto-complete, parameter call tips, code folding, auto-indenting and in-line error reporting. When you encounter an error, meaningful message is displayed right in-line so you don't strain your eyes.
Less typing, quicker results.
Coding your formula has never been easier with ready-to-use Code snippets . Use dozens of pre-written snippets that implement common coding tasks and patterns, or create your own snippets!
Multi-threading.
All your formulas automatically benefit from multiple processors/cores. Each chart formula, graphic renderer and every analysis window runs in separate threads.
Three AmiBroker editions to choose from.
Standard Edition.
Entry-level version for End-of-day and swing traders. End-of-day and Real time. Intraday starting from 1-minute interval. 10 symbols limit in Real time Quote window. 2 simultaneous threads per Analysis window. 32-bit only.
Professional Edition.
Professional Real-Time and Analytical platform with advanced backtesting and optimization. End-of-day and Real time. All Intraday Tick/Second/Minute intervals, Unlimited symbols in Real time Quote window. Unlimited symbols in Time&Sales. MAE/MFE stats included. Up to 32 simultaneous threads per Analysis window. Includes both 64-bit and 32-bit versions.
Ultimate Pack Pro.
Everything that AmiBroker Professional Edition has plus two very useful programs:
AmiQuote - quote downloader from multiple on-lines sources featuring free EOD and intraday data and free fundamental data.
AFL Code Wizard - creates AFL formulas out of plain English sentences. Invaluable learning tool for novices. (AmiQuote and AFL Code Wizard licenses are worth $198 when purchased separately so you save 8% when buying this pack)
System requirements: Microsoft Windows 10, 8.1, 7, Vista, XP, 2000, at least 512MB RAM. Apple Mac users can use Bootcamp / Parallels / VMWare to run AmiBroker.
Company About Us Branding Terms & Conditions Privacy Policy Us ✉ Docs Feature List What's New Users' Guide Data sources Videos Support Tech Support & Sales Members' Area Knowledge Base DevLog Users' KB Other AmiBroker YahooGroup Useful links.
This site uses cookies. By browsing this site you agree to our privacy & cookies policy.

ami broker.
Minimum System Requirements.
To run any of our products you would need.
any Intel x86 compatible CPU Windows 10, 8, 7, Vista, XP, 2K 512MB RAM 100MB disc space.
All our licenses are personal , which means that you can use single license on multiple machines that you own .
Registered users receive free upgrades for at least 12 months since date of purchase. After that, you can stay with version that you own, or purchase upgrade with 50% discount.
Product Support.
If you experience any problems downloading or installing our software or if you have questions about using our software, please visit AmiBroker's support pages. The chances are that most of your questions will be answered here. The support section includes many Frequently Asked Questions and Troubleshooters, as well as links to other useful resources on the web.
AmiBroker - advanced technical analysis software.
AmiBroker is a full-featured technical analysis & trading system development platform , with an advanced real-time charting, portfolio back-testing/optimization and scanning capabilities. AmiBroker's robust system development environment allows to find market inefficiences, code the system and validate it using powerful statistical methods including walk-forward test and Monte Carlo simulation . AmiBroker allows you to trade directly from charts or programmatically, using auto-trading interface (works with Interactive Brokers). It gives everything you need to trade successfully. Just check out our quick features tour to find out what is included in this powerful software package.
The software comes in two editions: Standard Edition and Professional Edition . To learn about differences between editions click here. You can also purchase AmiBroker Ultimate Pack Pro which is a bundle of AmiBroker Professional Edition, AmiQuote and AFL Code wizard available at discounted price.
Standard Edition: $279.
Professional Edition: $339.
Ultimate Pack Pro: $499.
AmiQuote - universal quote downloader.
AmiQuote is fast and efficient quote downloader program that allows you to benefit from free quotes available on the Internet. The main purpose of AmiQuote is to simplify and automate download and import of financial data from the public web sites into AmiBroker. It easily handles thousands of securities and performs downloads using multiple threads allowing you to fully utilise your connection bandwidth. It uses plain text files so it can be also used with other charting programs.
AmiQuote allows to download and import the following data: Current day and historical End-of-day quotation data from Yahoo! Finance sites Fundamental data (basic and extra) from Yahoo Finance End-of-day data from Quandl, Intraday data from Google Finance Intraday data from Yahoo Finance Historical End-of-day quotes from Google Finance historical End-of-day and Intraday Forex quotes from FinAm.
AmiQuote program is included in the setup of AmiBroker, so you don't need to download it separately if you already installed AmiBroker.
AFL Code Wizard - easy-to-use trading system code generator.
AFL Code Wizard automatically converts English sentences into the code, so you don't need to know how to program. If you ever wanted to create your own trading systems but were struggling with coding, the AFL Code Wizard brings the solution. Instead of typing cryptic code, pick up words from easy-to-use interface to build the sentence in plain English describing how the system should work and the wizard will automagically generate valid system code.
Seeing is beliving. Check our video introduction to AFL Code Wizard to see how it works.
AFL Wizard program is included in the setup of AmiBroker, so you don't need to download it separately if you already installed AmiBroker.
Company About Us Branding Terms & Conditions Privacy Policy Us ✉ Docs Feature List What's New Users' Guide Data sources Videos Support Tech Support & Sales Members' Area Knowledge Base DevLog Users' KB Other AmiBroker YahooGroup Useful links.
This site uses cookies. By browsing this site you agree to our privacy & cookies policy.

Комментарии