How to use this site


#1

Search the forum

It is good idea to search the forum before asking same questions over and over. To search the forum just use magnifying glass icon in the upper right corner

Also it is good idea to use Google and add +site:amibroker.com to your search term to limit the output to content of amibroker.com web site. Doing so will include results from Knowledge Base and Users’ Guide

Enter the AFL code properly

It is of utmost importance as improperly formatted code results in syntax errors.

Start code block with three back-ticks ``` and end the code block with three back-ticks too, like shown below. All you need to do is to

Just press </> button then paste or type your formula.

pastecode3

Make your question clear and provide necessary information

When asking a question, imagine yourself as you were to answer your question. Is your question clear enough? Does it include ALL necessary information (screenshots, formula) that is required for person who wants to help you, to know what the problem is, without seeing your computer screen? Do not leave the room for the guessing work.

Be polite when asking questions. Use proper grammar and avoid spelling mistakes.

Adding Screenshots or Other Media to Your Post

If you wish to use a screenshot in your post to clarify your issue, first capture it using the built-in Windows Snipping Tool or other screen capture software such as Pickpic (freeware). You can also create short animated GIFs to illustrate your issue using ScreenToGif (donationware).

Make sure to trim and/or optimize your picture for size before uploading. The forum will NOT accept uploads greater than 1MB and 5megapixels in size. Do NOT use phone camera to take screenshots.

To place an image in your post, copy it to your Windows clipboard, then simply paste it to your post by pressing CTRL-V on your keyboard, and it will be added and displayed at the current cursor position.

This also works if you paste URL links to images, documents or other media stored online, plus URLs of videos from hosts such as YouTube.

Use AmiBroker 6.0 or higher

Versions lower than 6.0 are not supported.

Accessing Your Preferences page

  • Click on your account icon (upper right corner with your avatar or first letter of your name)
  • Click on the Preferences button

Alternatively you can navigate to: http://forum.amibroker.com/my/preferences (works only if you are logged in)

Changing black theme to white

In your Preferences, click on Interface and change Theme there to “Default” which is white theme

Changing e-mail preferences

In your Preferences, click on EMail and you will see plenty of email settings there

Accessing forum from dedicated Discourse mobile app

iPhone: https://itunes.apple.com/app/discourse-app/id1173672076?mt=8
Android: https://play.google.com/store/apps/details?id=com.discourse

Of course you can just use web browser on your mobile phone

How to watch category - see this

Other basic operations - see this

Keyboard shortcuts


How to receive email copies of all posts?
Important plea to fellow members
Welcome to Discourse
Overlay an indicator and adjust the scale and position
Index Filters (FOREIGN)
DayofWeek issues in a Rotation strategy
Before posting please read this
Problem with export of quote times with DTN IQ Feed dat
Cant import data from ASCII file by using JS - OLE
Is it possible to use a Limit Buy Order with EOD data?
Previous Days First Bar High/Low
AFL Coding required
Relative Strength Ratio Using Add to Composite
Problem with timeframe setting in formula
Searching Posts
Scan and write text files
Correlation() with variable range
Before posting please read this
Issue with Scale-in trades during drawdown
Suggest new categories
How to write Portfolio Wise Target
ApplyStop Coding Issue
Rotational System with Market Filter and Modified Exit
GroupID - how to use
Supply and demand
How to trade through MT4 using Amibroker with Oanda
AFL some values are empty, need help please!
Want to understand the strategy behind this afl
Swing High / Swing Low AFL Code
Afl squishes candlesticks - help please
Need help with programming the TB-F
How to code below strategy please help
When using SetForeign displayed chart name is incorrect?
Daily scans in Weekly time frame
Limit to 200 barCount in loop
Counting problem
AFL multi time frame explorer : Need help
AFL multi time frame explorer : Need help
Problem with Stop loss
About Fractal Indicator
Swing volume plotted as line thickness
#2

#3

When making changes in your profile…

REMEMBER TO SAVE CHANGES

Otherwise the selected updates are lost.

Guess how I figured that one out (again!!).

Snoopy


#4

I would like to known where the “stay logged in” box is located.

It’s a pain to keep logging in


#5

It stays by default unless you clear cookies or log out


#6

Might it be your browser?

I have read on other sites that it may at times be due to your browser. I am using Chrome (Win 10) on desktop and iPhone uses it own version of Safari and both stay logged in unless I deliberately “Log Out”.

Larry

PS wouldn’t this question be better on a different topic thread, like how to use the new forum (as this has nothing to do with “Suggest new categories”)?


Suggest new categories
#7

#8

#9

Does the site permit us to load WORD files or PDF (or I guess even EXCEL) files? Or is it perhaps a security risk for user with respect to virus’ etc?

I have in the “learn afl” posts often referred to the many years of TASC articles (just the ones that TJ has coded into afl’s) as learning examples. And I keep a WORD document that I update each month with the title and date of the monthly “Trader’s Tips” article. I thought it may be of use to the forum to have the list of titles that would correspond to the codes found at http://www.amibroker.com/members/traders/, and then the community could add comments or reviews of any articles they found useful etc.

There would be no actual articles (respect copyright) but a list of titles and a line or two regarding the subject mater.

I could just “copy and paste” into a forum post the titles if anyone was interested and if no WORD/PDF 's are permitted but it would make for a very long post. Or of course if no one is interested just scrap the idea.


#10

Yes there is a security risk about MS Office files that can contain macros and malicious content, but that is not the main issue. Posting PDF and Word docs is not recommended as their content can not be searched using forum search.
Opposed to Yahoo groups where search simply does not work, here search works nice and content can be found quickly using tags, categories, full text search and so on.


#11

Selecting URL’s within Posts

Clicking on the URL takes you directly to the website address - and away from the Amibroker Community Forum. In other words you will have to click ‘Back’ to return to the forum.

Could I recommend that ‘clicking’ the URL automatically opens a newTab within the users browser? Thus retaining the forum display, and avoiding the necessity of using a right-button click and then clicking again to open the URL address.


#12

I particularly like the keyboard shortcut Shift-? which pops up the screen showing the keyboard shortcuts.
Shift-? for everyone! :beer:


#13

Bluedog, opening URLs in a new tab is available as an option in your preferences.

Your avatar on the top right > Gear icon > Preferences > interface


#14

Thanks for that HelixTrader - didn’t spot that one.

This software seems to have many bells and whistles, and I’m enjoying it far more than I ever did with Yahoo Groups.


#15

Users’ panel : the meaning of Topics Viewed versus Posts Read.

Concerning Users’ panel :
I was searching for the meaning of Topics Viewed versus Posts Read.
I found the following

Humor is never far, the TechnoBear’ second post is worth its weight of peanuts.


#16

“Flagging” vs “Bookmarking”?? Again, searched for answer on this, but found nothing. Searching seems like it is valuable for searching “User inputs/messages”. Searching on features of site not so much. Is there another site where they explain the details of Discourse and where searching will reveal answers to site use??

I so far have determined that “Bookmarking” seems to display (with g.b") all of MY bookmarks. That is good. What are flags and how do they work, their benefits, etc.?
Thanks again for helping me understand all of the features of this great forum. Such a pleasure after Yahoo Groups.
Ken


#17

Flagging seems like a “bad” thing, i.e. someone has a problem with the post and is trying to get the OP attention, or the moderator.

And favorite vs Like vs Bookmark discussion,

I think these two posts summarize it well,


#18

A bug in code tag?

In the code listing below with code tag, note that the first “for” loop loses its indentation, but not the block inside.

if(Status("action") == actionPortfolio)
{
    bo = GetBacktesterObject();
    // Run default backtest procedure without generating the trade list
    // Initialize accumulation variables
    sumATRPnL =  countATRPnL = 0;
    sumATRPnLWin = countATRPnLWin = 0;
    sumATRPnLLoss = countATRPnLLoss = 0;
    maxATRPnL = minATRPnL = 0;

    // Iterate through closed trades
    for (trade = bo.GetFirstTrade(); trade; trade = bo.GetNextTrade())
    {
        ATRPnL = AddATRPnL(trade);
    }

    // Iterate through open positions
    for (trade = bo.GetFirstOpenPos(); trade; trade = bo.GetNextOpenPos())
    {
        ATRPnL = AddATRPnL(trade);
    }

    // Generate trade list
    bo.ListTrades();

    // Custom Statistics on ATR PnL
    avgATRPnL = IIf(countATRPnL < 1, 0.0, SumATRPnL / countATRPnL);
    avgATRPnLWin = IIf(countATRPnLWin < 1, 0.0, SumATRPnLWin / countATRPnLWin);
    avgATRPnLLoss = IIf(countATRPnLLoss < 1, 0.0, SumATRPnLLoss / countATRPnLLoss);
    bo.AddCustomMetric("Avg Trade (ATR)", avgATRPnL);
    bo.AddCustomMetric("Avg Win (ATR)", avgATRPnLWin);
    bo.AddCustomMetric("Avg Loss (ATR)", avgATRPnLLoss);
    bo.AddCustomMetric("ATR Profit Factor", -avgATRPnLWin / avgATRPnLLoss);
    bo.AddCustomMetric("Best Trade (ATR)", maxATRPnL);
    bo.AddCustomMetric("Worst Trade (ATR)", minATRPnL);
}

What it looks like in AFL Editor:


#19

I’ve figured out a workaround to the formatting bug. AFL editor by default has no tab. However, the parser that parses the code tags assumes all following lines will follow that indentation. It’s a bug. The workaround is to have no blank lines a code block to preserve consistent indentation. One can use comment line to separate different logic sub-parts of a code block. Come of think of it, perhaps this is not a bug, but a feature to force programmer to comment code more. :wink:


#20

A request/question to Tomasz: Is it possible to overwrite the 10 minute or no more edit setting currently in this forum? Being a slow but perfectionist editor means I often cannot make the deadline to fix up my posts – syntax, grammar, code formatting being the latest.