Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

The Foundation by Southwind v-13.00 Int AFL Code

1 min read

Here is an interesting and colourful AFL code which i found it over the web coded by Mr.Southwind(Dont know who he was… But simply the AFL code reads so).

Southwind AFL Code for Nifty
Southwind AFL Code for Nifty

 
When i explored the AFL code it contains the Heiken Ashi candle and as usual ATR trailing stop loss line along with the Heiken Ashi candle. And more technical indications like Support-Resistance Pivot Basic Stochastic ,RSI ,MACD and few more technical interpretations on the left side of the charting space. At a first time giving a impression that the trading system is much complicated. But it all just a combo Package of simple trading interpretations. Moreover I hadn’t explored much with this indicator. If you have free time then just go through the indicator. The color of the Heiken Ashi candle shows blue color for the uptrend and yellow for the sideways trend and the red color to indicate the downtrend. The Colored Candles of  nifty daily chart is shown above. Just click on the picture to have  a bigger view

The Foundation by Southwind-Amibroker AFL Code
https://gist.github.com/7511f666d89a778030edb6467790a0ac

Download The Foundation by Southwind v-13.00 Int AFL Code

To Install this indicator

1)Extract the Foundation-Int.rar and save it in your local hard drive

2)Copy JurikLib.dll and kpami.dll and paste it in your Amibroker Plugin folder which is by default C:Program FilesAmiBrokerPlugins

3)Copy T3_include.afl to the AFL formula-include folder which is by default C:Program FilesAmiBrokerFormulasInclude

4)Copy Foundation by South Wind AFL code Ver 13.afl and paste it in AFL formula-custom folder C:Program FilesAmiBrokerFormulasCustom

5)Now to view the charts Open Amibroker and goto File->New->New Chart

6)then goto View->Charts and select the afl from the left plane under the Custom folder

7)Then set the background to black. To do so goto Tools->Preference and select the color tab and set the background color to Black

Its all done now the colourful AFL is ready!

If you find more explorations with this AFL then do share it here too

Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

What is QuantZilla?

Quantzilla is 75+ hours of code mentoring program designed for noncoders who want to learn the coding program right from designing indicators, scanners, trading...
Rajandran R
58 sec read

Things to Consider While Building a Bracket Order Execution…

Building a Bracket Order Strategy is the most demanded request we got from most of the algomojo traders. This article explains the list of...
Rajandran R
12 min read

PlaceOrder – Multi Broker Exectuion Code Snippets for Amibroker

This tutorial explains how to build a button trading right from scratch and with a click of a button how you can send orders...
Rajandran R
7 min read

81 Replies to “The Foundation by Southwind v-13.00 Int AFL Code”

  1. Dear Sir,

    I have downloaded this Southwind AFL Code for Nifty from your website but
    it gives some syntax error, i dont know how to rectify it.

    1. Hi for the Plugin need to work you need to simply close the amibroker and need to open it again. May be you might be paste those plugin’s while the amibroker is open. Closing and reopening Ami would probably solve this problem.Also make sure that you had saved all those files in appropriate folders especially the dll plugins and include file

  2. Dear Rajendran,

    Do you have code for incorporating in Meta stock?
    if not so can i use any otherway?

    Regards

    Balan

      1. If you are using Windows 7 machine then after placing the dll file in the plugins folder. Right click on your amibroker and click on Run as administrator this will enable any new plugin if recently added.

  3. Sir,

    I have downloaded the Southwind AFL Code for Nifty, from the link you have provided. The downloaded file is in explorer format. When I click it to extract, its not opening. kindly provide instructions on how to download that properly

  4. Dear Sir,

    I have installed WINRAR and downloaded Southwind AFL Code for Nifty as directed. Many thanks for your instructions sir. But the chart displayed is that of Dow Jones(DJI). Please help me as to what I should do to view the Nifty Chart. How should I configure Amibroker 5.2

  5. Hello Sir,

    This AFL is showing Syntax Error with Ami 5.0.

    The Foundation v1.300:
    {
    ColorHighliter=mycolor;
    SetBarFillColor(
    ——^

    Error 30.
    Syntax error

    Use ‘Edit Formula’ to correct error”

  6. sir,

    I have downloaded in amibroker 5.2 version. But i couldnt see the charts of nifty…what is coming is dow jones index…pl. help me configure so that i can view the chart of nifty also.

  7. sir,

    yeah AFL works….but i could not view the nifty charts…what is coming is dow joned index…how to see nifty future charts and other stock charts as well..pl. help

  8. Sir,
    Three kudos to u,i have followed exactly as per ur instructions, it is working very fine.Please let me know as to how we can plot buy/sell signals in this system,whether a seperate afl as in nma signals has to be loaded,already it is fully loaded with so many indicators,which cannot be easily read/understood.Also inform whether real time data from yahoo can be fed to this system.U have informed that yahoo format is in csv format,then how to convert that to accommodate to amibroker 5.20 version.
    raghu

  9. Dear Sir,

    I have downloaded this Southwind AFL Code for Nifty from your website but
    it gives some syntax error, i dont know how to rectify it.
    plzzzzzzzzzzzzzzzzzzzzz help me above subject
    thanks
    rahul

  10. Hi Rajandran,

    Couple of questions.

    1. Where did you get Ami 5.25 ver? The latest available Ami is only 5.20.

    2. I have Ami 5.20 and it gives me lots of syntax error. Copied plugins into plugin folder, T3_Include afl into ‘include’ folder, and the main afl in ‘custom’ folder.

    Any solution?

    Regrards
    JR

  11. many thanks on this formula. i have tried downloading having same errors thanks to you.
    my questions are:
    1 Full meaning of Phaze(LTPT)
    2 Signal (MAB)(TMA)(ZLW) & when i run exploration i see MAP & MAK.

  12. Which one is the “The Foundation v13.00.afl”? the WinRar file?? I just copied the winrar file into the C:\Program Files\AmiBroker\Formulas\Custom . But it was syntax error. I need some help. I’m using Amibroker version 5.30.

  13. Hello,

    I tried using it it was working fine for like 7 days but i had to reformat my machien i relaoded amibroker and all the formulas and did everything in order but it gives me syntax error no 29 am using amibroker 5.29 tried on 5.2 as well does not work.

  14. Hello,

    I have downloaded the afl and its working but i am not able to understand how to use this afl plz help me and can send me the instructions on how to use.

  15. Hi Raj,

    What’s d success ratio of this formula..??

    Have you backtested it OR tested LIVE..??

    Please share your experience.

    Many Thanks.

    1. @Abishek: Backtesting of Southwind is same as that of NMA Buy/Sell Indicator. If you hadnt backtested for NMA then i will provide the results here

  16. Hi Raj,

    I’ve NMA as well. Was just curious to know about Southwind formula.

    There are so many indicators on this screen.

    If u take 2day’s example 2nd Aug – in morning Gap up opening, Key Reversal indicator said Reverse UP everytime Nifty goes above 5413, But at d same time other indicators like T3, ZLW & TMA said Bearish.

    But LTPT was Bullish & MAB was a Buy.

    Now Signal (IBuy) said Buy Warning when Nifty went above 5425.

    So what I wanna know — is there any sequence to follow these indicators.

    DO you have any literature OR Rules to use this method.?

    Many Thanks.

    1. @Abishek – Adding too much indicators and filters wont reduce noise… infact it introduce more noise in the system.
      Because most of the indicators are not synchorous to each other. A Buy in one system is still a sell in different system
      even a buy in one timeframe may be still a sell in another timeframe(it may be higer or lower).

      Its recommended to use few indicators alone rather using this puppet!

  17. Thanks for replying.

    Ya that true…

    Too many different indicators only confuses d mind & at d end chances are more of loosing.

    One should stick to what he / she believes in.

    I still find NMA a better option to rely on.

    What you say..?

  18. i use 5.30 trial then can i use 5.30 crack after uninstalling trial one and any problem latter can i return to ami trial.

    there is another foundation namely foundation radar by sultanji with a extra macd indicater.

  19. Dear Sir,
    There is a Radar also for this South Wind AFL.
    It would be great if you post it here.
    Best regards

    Swaroop V V

  20. Hi
    I have install this indicator, but didn’t see The Foundation v13.00.afl to copy in fomulas.

    You could share this code to me

    Tks a lot

  21. i am using amibroker 5.30 version can you tell me how can i use this afl in forex is this possible please tell me how to use it in amibroker i m using demo version of amibroker 5.30

  22. Hi Samir,

    Rajandran has given the instruction clearly in the post.
    Where people may make mistake is in not doing:

    2)Copy JurikLib.dll and kpami.dll and paste it in your Amibroker Plugin folder which is by default C:Program FilesAmiBrokerPlugins

    3)Copy T3_include.afl to the AFL formula-include folder which is by default C:Program FilesAmiBrokerFormulasInclude

    If you properly adopt this it will work.
    The reason is, part of the code is not in the AFL, but in the plugin DLL.

    1. Where to get those plugins? I have downloaded the link available on this page but it only the Southwind AFL file, none the files for plugins. So, where to get those files?

  23. Hey, I am a bit confused with certain indicator. I can understand some of the indicator but I have no idea about some of them. Can anybody help with these indicators?

    1. why the market trend dividend into two parts? i.e. up|up or up|down, what does each of the part signifies?

    2.what is the function of the following signals? (I just need a brief idea, so that I can search for more resources in the internet)
    -signal(lbuy)-> i guess its a buy signal, but why ‘lbuy’
    -Singal (T3)-> i guess this signal is for T+3 trading
    -Singal (ZLW), singal (Mab), signal (TMA), signal (TM), signal (p5/150) and signal (B)-> no idea about these signal….can anyone help me with a brief explanation of this signals?

    3. there is two indicator for accumulator phase. One is in the volume segment and another one is under p/v breakout. sometimes its gets confusing. any idea why there is two? i also want to know about key reversal, phaze(LTPT) and 52 WHL.

    I know i have asked for lot of things…but anybody have some free time please help me out….

    thx

    rahman

  24. Hi Rahman,
    Wow, Your question is longer than the brief answer you have asked for 😀

    Foundation, original has morphed now with additions and alterations.
    It has an amount of input from our Karthik Marar codes in it.
    the Mab is his Mabiutus system. His VPA is also in this.
    ZLW is ZeroLag Williams,

    The Up|Up, is a deciphering from 2 different parameters, one with comparative to another standard, and the second in comparision to regression extremes.

    Each of the signal goes to compared results of Oscillator and Indicator values.

    T3 is in DLL, so actual code not known.
    In general SouthWind Foundation and Radar are encyclopedic realtime interpretation of market parameters.
    TMA is TEMA derivative, tripleEMA,
    TM is a T3 derivative, it would be a finetuned MA,
    LTPT, longterm pricetrend,
    52whl is 52week High Low.
    p5/15 is swing hi lo comparision with c,

    |Buy ?? I could not understand what you ask,
    but mostly i assume the “|” a separator, and it is a “Buy”

    This is as brief as I can tell.
    And, Rajandran enjoys bringing all this goodies, fretting them out and putting them here.

  25. The original Foundation Trading System was developed by “Southwind” who is a great coder and TA of Bangladesh. He taught lots of people on TA in BAngladesh (including myself)and one of the pioneers. It took him over an year to formulate everything. He is now working on new projects. Unfortunately one “Zultan” put his name in the afl codes and published it as Sultanji Foundation (which is cheating). If he wanted to share he should have mentioned the original developer’s name.

  26. This is one of the greatest AFL I have ever come across developed by one of geniuses of Bangladesh. If I am not mistaken- his name is Mr.Zaman ( khaleqe-uz-zaman). I had the opportunity to interact with him in facebook…i congratulate and wish him all the best. I take the opportunity to request him to present us some more unique AFL.
    rgds,
    Ali chowdhury

  27. how to change a particular sheet background color from the rest. ie other sheet should retain their background color. Also thankq for the creator for such a a colorful afl and a special thanks to Rajandran for digging such an amazing afl.

  28. plz provide files
    plz send me this files

    2)Copy JurikLib.dll and kpami.dll and paste it in your Amibroker Plugin folder which is by default C:\Program Files\AmiBroker\Plugins

    3)Copy T3_include.afl to the AFL formula-include folder which is by default C:\Program Files\AmiBroker\Formulas\Include

    plz provide files
    plz send me this files

  29. Hi do u have a TTM AFL with Bollinger band and Keltner band combined in one chart? Thanks for ur help…

  30. Hi Rajandra,

    I successfully loaded the indicator. It’s very nice. I’m only on the trial version of Amibroker. I just started the trial today. Who do you recommend for a live data feed provider for intraday trading? I need a live feed for the US stock market. Can the bar candle be changed for this indicator or does it need to stay the Heiken Ashi Candle. Where in Amibroker can the candle be changed just to see.

    Thanks,

    Mike Lee

    1. Hi,

      You can try with Esignal or with iqfeed. However if you have trading accounts with Interactive brokers then you can get free data feed from them.

  31. SIR PL HELP TO SOLVE THIS PROBLEM.sir i am watching your website from last two years there are lots of helpful posts for all the traders,sir i have an afl the afl is showing error i searched around many sites but could not got solution..There are two errors
    1)ERROR-30-IDENTIFIER E_TSKP SWING LINE IS UNDEFINED
    2)ERROE-29-VARIABLE “TSLP SWMEAN USED WITHOUT HAVING INITIALIZED

  32. sir the download file of foundation.rar from mediafire site is removed from tht site . can u pls tell any other sites from where we can download ?

  33. Download The Foundation by Southwind v-13.00 Int AFL Code is not working. It says file deleted.
    Please help!!!

  34. sir,
    would you please help me? i’ve stucked with a error like this

    error29.
    variable ‘adxsell1’ used without having been initialized.

  35. Hi,

    how to actual trade with help of this afl. If there is any simple technique then pls suggest.

Leave a Reply to QUOC DANG Cancel reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More