@Nick1985 , What have you tried?
As a new member of the forum, you need to do a bit of homework.
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
[image]
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 err…
Continuing the discussion from How do I learn AFL? :
Many new users with zero programming experience struggle when their formula works incorrectly. Here are few hints that everyone should use to make finding errors easier.
First of all: you have to get insight into what the formula is actually doing, not what you think it does.
Typically new user has no idea what is happening inside. Pretty often you make an assumption that things work one way but in fact they work differently. Do not assume t…
Thanks a Lot…
I didn’t notice the explorer results closely.It was my Mistake.
https://www.amibroker.com/bin/UsersGuide.pdf
This thread and the other thread you posted the same question on have some sample code. Show us what you have done with that, and you will probably get more people willing to help.