
In Progress
Posted
Paid on delivery
Hiring: Advanced AmiBroker AFL Developer (Pattern Engine + Backtesting System) (Project document attached) I am building a professional-grade trading engine based on a custom multi-leg pattern framework with multi-variable logic and future scalability. This is a high-complexity project. Do NOT apply if you are a beginner or only work on simple indicators. --- PROJECT OVERVIEW - Multi-leg pattern engine system (2, 3, 4 legs) - Parameter derived multi variable - Each leg follows strict rules: - Same color candles only (no mixing) - Direction-based structure (up/down) - Reversal logic: - Half reversal - Full reversal - Dynamic entry, stop loss, and target logic System must support BOTH: ✅ Independent Testing:- Any single timeframe (e.g., 1-min, 5-min, 15-min etc.) ✅ Multi-Timeframe Confirmation:- User-defined combinations ⚠️ Important Clarification: - Timeframes mentioned (1-min, 3-min, 5-min) are just examples - Actual timeframe selection will be fully controlled by me via inputs - System must allow dynamic selection of any timeframe combinations This is a pattern engine, not a fixed indicator. --- CORE REQUIREMENTS You must have strong experience in: - AmiBroker AFL (advanced level) - Sequential / multi-leg pattern coding - Backtesting systems with realistic execution - Handling complex trading logic (not just indicators) --- BACKTESTING REQUIREMENTS (CRITICAL) You must ensure: - No repainting - No look-ahead bias - Candle-by-candle execution logic System must include: - Slippage handling - Spread consideration - Execution timing logic - Accurate entry/exit simulation Backtest results must be as close as possible to real market behavior. --- CODE EXPECTATIONS - Modular and scalable structure - Parameter-based (NOT hardcoded) - Ability to expand into multi-variable combinations - Clean and optimized code --- TEST TASK AFL code (MANDATORY to submit in chat after this we would award the project) Before selection, you must complete the following task: 2-LEG PATTERN SYSTEM Build a 2-leg pattern in AmiBroker AFL with the following rules: 1. Leg 1 (Directional Move) - Continuous move in one direction - Minimum 5 candles - All candles must be same color only (all bullish or all bearish) 2. Leg 2 (Reversal Move) - Opposite direction of Leg 1 - Minimum 5 candles - All candles must be same color only --- LOOKBACK CONDITION - Pattern must form at Top or Bottom - Use Lookback = 20 candles: - Top = highest high in last 20 candles - Bottom = lowest low in last 20 candles --- REVERSAL LOGIC HALF REVERSAL - Leg 2 retraces partially - Does NOT cross start of Leg 1 Example: Leg 1: 100 → 70 Leg 2: 70 → 90 Entry: At end of Leg 2 Stop Loss: End of Leg 1 --- FULL REVERSAL - Leg 2 crosses beyond start of Leg 1 - Must CLOSE beyond it Example: Leg 1: 100 → 70 Leg 2: 70 → 105 Entry: At close of Leg 2 Stop Loss: End of Leg 1 --- ADDITIONAL RULES - No repainting - No future data usage - Proper sequential logic --- OUTPUT REQUIREMENTS - Plot both legs clearly (color-coded) - Mark: - Entry - Stop Loss - Identify: - Half vs Full reversal --- SUBMISSION Provide: 1. AFL Code 2. Brief explanation of logic 3. Chart screenshot with plotted pattern --- MANDATORY QUESTIONS (ANSWER TO APPLY) 1. How do you prevent repainting in AFL? 2. How do you avoid look-ahead bias in backtesting? 3. How do you simulate slippage and execution issues? 4. Have you built any multi-leg chart patterns (like single & double Top/Bottom)or sequential systems before? 5. How many years of experience you have specifically for Amibroker AFL coding ? 6 --- DO NOT APPLY IF: - You don’t understand trading execution - You cannot handle complex logic systems - You rely on repainting indicators - You have only basic AFL knowledge --- GOAL To build a high-accuracy, scalable trading engine where: - Backtest ≈ Real market behavior - No logical errors - Ready for multi-variable expansion --- Only experienced and serious developers should apply.
Project ID: 40413119
10 proposals
Remote project
Active 14 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

I've read the full framework document. This is a state-machine based pattern engine, not a standard indicator, and I treat it that way. Mandatory answers: 1. Repainting prevention: All signals reference Ref(condition, -1) or useBarIndex-confirmed states. No current-bar signal emission. 2. Look-ahead bias: Entry prices use Open[i+1] (next bar open) after signal bar close. All leg detection uses only closed bars via Ref(). 3. Slippage simulation: ApplyStop with slippage offset on entry/exit, custom SetTradeDelays() per bar, spread added to BuyPrice/ShortPrice. 4. Multi-leg experience: Yes, built sequential Top/Bottom pattern systems with 2-3 leg logic including state tracking across bars. 5. AFL experience: 4+ years on AmiBroker including backtesting systems and custom exploration/scan frameworks. Ready to submit the 2-leg test task code. Should I post it here or do you prefer I start after you confirm interest?
₹22,000 INR in 20 days
1.7
1.7
10 freelancers are bidding on average ₹27,450 INR for this job

As a versatile developer with extensive experience in algorithmic trading, backtesting, and working with AmiBroker AFL, I am confident that I can effectively address even the most complex demands of your project. My notable skills include building advanced trading engines incorporating sequential and multi-leg patterns with a focus on maintaining realism and accuracy in backtests. Over the years, I have developed various sophisticated trading solutions, including indicators, bots, and automation workflows for different platforms like MetaTrader, TradingView, Thinkorswim and ninjatrader. These projects have called for my capability to handle high-complexity tasks while ensuring no repainting or look-ahead bias to guarantee accurate backtest performance. Crucially, your project's futuristic outlook aligns precisely with my development ethos—modular and scalable structures with clean and optimized codes. This approach offers room for expansion into multi-variable combinations as required. In addition to delivering top-notch code quality, I'm committed to prompt communication and upholding the confidentiality of your ideas through NDA compliance. With me on board, you're guaranteed a dynamic, agile solution that aligns closely with real market behavior.
₹20,000 INR in 3 days
6.7
6.7

Hi, I can handle this. This is clearly not a simple AFL indicator; it needs a proper sequential pattern engine with candle-by-candle state tracking, clean leg detection, no repainting, and realistic backtest execution. For the test task, I can build the 2-leg AFL system first: Leg 1 directional move, Leg 2 reversal move, Top/Bottom lookback logic, Half/Full reversal classification, Entry/SL plotting, and clear chart marking. Answers: 1. Repainting is prevented by confirming patterns only after candles close and never changing past signals once confirmed. 2. Look-ahead bias is avoided by using only current and previous bar data, no future references, and bar-by-bar execution logic. 3. Slippage/spread can be simulated by adjusting entry/exit prices, adding commission, and testing execution timing realistically. 4. Yes, this kind of work should be structured as a state-machine pattern engine, not hardcoded indicator conditions. I will keep the AFL modular and parameter-based so it can later expand into 3-leg, 4-leg, multi-variable confirmation, and proper backtesting modes.
₹25,500 INR in 5 days
5.8
5.8

With a solid background of over 7 years in software development, I have acquired a versatile set of skills applicable to nearly any aspect of programming. My adeptness in C Programming and C++ Programming makes me an expert at writing clean and optimized code for your complex project. I understand that robust backtesting systems are imperative for trading engines and I assure you of exactly that. Plus, my proficiency in handling dynamic entry, stop loss, and target logic is a testament to my handling of even the most intricate trading logic. A mainstay in my career journey has been "meeting the client's expectations" and I see no truer manifestaion of this than your project. I am eminently familiar with multi-variable combinations as well as accurate entry/exit simulations—a skill set tailor-made for your project requirements. What sets me apart even further is my ability to handle high-complexity projects like yours efficiently without compromising on quality or accuracy. Uniquely different from other candidates, my experience extends beyond basic AFL knowledge. My wide portfolio includes multi-leg chart patterns (single & double Top/Bottom) and sequential systems, thereby substantiating my competence for your project. Ultimately, my goal is to build a scalable trading engine with a high degree of accuracy that mirrors real market behavior—precisely what you need! So hire me with the confidence that you are getting the best option available.
₹15,000 INR in 7 days
4.4
4.4

Completed projects till now 1) Python + DhanAPI +Excel + VBA option scalping strategy 2) Python 21 EMA and 9 EMA crossover strategy on DhanAPI 3) Google sheet + FyersAPI trading 4) Google sheet + Algomojo + Upstox 5) Tradetron Banknifty option scalping strategy 6) Excel 2600 NSE 10 years data 7) Copytrading using python 8) Tradetron Supertrend + MACD Crossover Strategy 9) Dhan option chain with Greeks in Google spreadsheet via Google Appscript 10) Backtesting of Nifty options for wait and trade strategy 11) Trigger orders for Dhan Nifty options 12) Shoonya API:- Wait and trade strategy 13) Tradetron: RSI + ADX + EMA strategy 14) Python Moving avarage channel trading Algo 15) Kotak Neo: Turtle scalping strategy for options 16) Fyers Filtered option chain in Excel 17) Binance Bitcoin tradingview strategy python bot 18) Fyers Tradingview python bot 19) Dhan Python order manager I can deliver any project in Trading. Readymade setups for Python available
₹50,000 INR in 7 days
2.4
2.4

Hi, I can implement your 2-leg pattern system in AFL with strict non-repainting, sequential logic and realistic backtesting aligned to live market behavior. I understand this is not a simple indicator but a pattern engine with state-based execution. The key here is building candle-by-candle logic using arrays without referencing future bars, and structuring legs as confirmed sequences before triggering entries. I’ll code: Leg detection using sequential bar counting (same color constraint) Lookback validation (top/bottom via HHV/LLV over 20 bars) Half vs full reversal classification based on close vs Leg 1 start Entry/SL plotting at confirmation (no repaint) Clean modular structure for future expansion Answers: Repainting is prevented by only using confirmed past bars (no future references like Ref(..., -n) incorrectly used). Look-ahead bias is avoided by evaluating signals only after bar close using BarIndex logic and static arrays. Slippage is simulated using SetOption("CommissionMode") and adding price offsets in Buy/SellPrice. Yes, I’ve built sequential systems and reversal-based logic including multi-leg structures. 3+ years focused AFL work. I can share the AFL code + chart output right after confirmation. Ready to proceed with the test task.
₹40,000 INR in 15 days
0.0
0.0

Hello, I can build this as a real AFL pattern engine, not a basic indicator. I’ll code the 2-leg test with strict candle-by-candle logic: same-color legs, 20-bar top/bottom filter, half/full reversal detection, entry/SL marking, and clear chart plotting. For the full system, I’ll keep everything modular and input-based so 2/3/4-leg patterns, dynamic timeframes, MTF confirmation, spread, slippage, and execution timing can be expanded cleanly. I avoid repainting by using only closed candles and no future-looking functions. I avoid look-ahead bias by confirming the setup first, then triggering entry only after the valid bar closes. Slippage/spread will be handled through AmiBroker backtest settings and adjusted prices. I’ve built advanced sequential trading logic before, including reversal/top-bottom style systems, and I’m comfortable with complex AFL backtesting.
₹25,500 INR in 7 days
0.0
0.0

⭐ I handled a similar project ⭐, Happy to show you what works before you commit. Developed a custom multi-leg pattern engine in AFL that enforces strict candle color and directional rules. This project fits perfectly with the sophisticated pattern recognition and backtesting system you require. Recognizing key elements like sequential logic, non-repainting code, and dynamic multi-timeframe support. My expertise lies in creating modular, scalable AFL code with meticulous attention to real-market conditions and execution accuracy. Let's connect for a free consultation to discuss your project in detail. Worst case, you walk away with a free consultation and a clearer understanding of your project. Kind regards, Curtley
₹28,000 INR in 30 days
0.0
0.0

Ahmedabad, India
Member since Aug 16, 2020
₹12500-37500 INR
₹12500-37500 INR
$30-250 USD
₹400-750 INR / hour
$3000-5000 USD
₹250000-500000 INR
$250-750 USD
$250-750 USD
₹1500-12500 INR
$10-30 USD
€8-30 EUR
$25-50 USD / hour
$30-250 USD
$1000-2000 USD
$30-250 USD
$10-30 USD
₹12500-37500 INR
₹12500-37500 INR
$30-250 USD
₹12500-37500 INR
₹12500-37500 INR
€30-250 EUR