Docs
Search the docsStart here
Draw your first indicator
Explains the file, line by line.
Write your first strategy
Explains the file. Testing is in Forge on oathra.app.
I come from
Reference
Every name, indicator, error code and statistic.
Examples
8 files you can open in the editor.
Get started
- Draw your first indicatorHow do I write an indicator and see its values?
- Write your first strategyHow do I write a strategy I can test in Forge?
- Set up your AI toolHow do I make my AI tool write Forge code that loads?
- From another platformWhich start page fits what I already know?
How-to
- Write an indicatorHow do I write an indicator of my own?
- Write a strategyHow do I write a strategy, and which hooks can it use?
- Test a strategy in ForgeHow do I test a strategy in Forge?
- Run a sweepHow do I try many values of a setting in one run?
- Read a verdictHow do I read what a run says about my strategy?
- Check your codeWhere is my code checked, and what does each check look for?
Concepts
- Repainting and look-aheadWhy can a backtest see the future?
- Warm-upWhy are the first bars empty?
- Bar close and fillsWhen is a signal final, and at what price does it fill?
- Broker time and the trading dayWhich clock does Forge use, and where does a day end?
- Costs, swap and fundingWhat does a trade cost besides the spread?
- What the verdict testsWhat must a strategy pass to get a verdict?
Porting
- From MQL5I have MQL5 code. Where do I start?
- From PineI have a Pine script. Where do I start?
- Why results differWhy does my Forge test not match the MetaTrader report?
- From LEANI have a LEAN algorithm. Where do I start?
Data
- What your code runs onWhat history does my code run on?
- Known issues with the dataWhat is known to be wrong with the data?
- Data misconceptionsWhat do people often get wrong about Forge's data?
Platform
- Limits
- Costs
- Style guideHow should a Forge file be written?
- Deprecation policy(draft)How long does my published code keep running?
- Changelog
- Forge status
FAQ
- Indicators FAQWhat do people ask about indicators?
- Strategies FAQWhat do people ask about strategies?
- Data FAQWhat do people ask about data?
- Verdict FAQWhat do people ask about the verdict?
- Account and billingWhat do people ask about their account and what Forge costs?
Statistics184 definitionsAll statistics
The whole docs as one file672.6 KBForge API 1