Rajandran R Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Building Algo Platforms, Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in

Ichimoku TSL Amibroker AFL code V3.0

36 sec read

This AFL code is the upgraded vesion of Ichimoku Cloud Scanner V2.0. In the older version its tough to identify the stop loss levels as during buy signals the bottom of the cloud act as trailing stoploss and during sell signal top of the cloud act as a trailing stoploss.

Now in the newer version of Ichimoku AFL code we replace the cloud with the trailing stoploss alone so that one can easily identify the current training stoploss and it helps them in better decision making. Also the Dashboard and magnified marketprice are the added features and make it even better.
[wp_ad_camp_5]

 
Simple Trading Rules

1)Buy on Close above the Ichimoku TSL line
2)Sell on Close below the Ichimoku TSL line
3)Red Arrows indicates sell signal i.e candle closes below the cloud
4)Green Arrows indicates Buy Signal i.e candle closes above the cloud

 

Nifty 90 min charts

Nifty 90 min - charts

Banknifty 90 min charts

Bank nifty 90 min - charts

Ichimoku TSL Amibroker AFL code V3.0

https://gist.github.com/d1224d7602c3478a0876695ba2ecb2c9

Rajandran R Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Building Algo Platforms, Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in

Mini Certification Course on Algorithmic Trading

Welcome to the Mini Certification on Algorithmic Trading using Amibroker and OpenAlgo! This comprehensive 4-part series is designed to equip you with the knowledge...
Rajandran R
1 min read

Pivot Reversal Strategy – Tradingview Pinescript to Amibroker AFL…

Pivot Reversal Strategy is a popular in-built strategy in Tradingview Platform. Here I had attempted to convert the pinescript v5 to Amibroker AFL Code....
Rajandran R
3 min read

Interactive Brokers – Smart Order Chart Trading Module using…

The IB Controller is an interface designed to facilitate automatic trading with AmiBroker and Interactive Brokers (IB) TWS (Trader Workstation). It serves as a...
Rajandran R
8 min read

35 Replies to “Ichimoku TSL Amibroker AFL code V3.0”

  1. just a funny question about AFL code
    if your AFL code is very big (size > 500kb )
    your amibroker will show price chart very slow (due to it need time to read afl code)
    Do you know any way to let the price show fast ? if your AFL code is very big (size > 500kb )
    Thank you

  2. I tied it … great improvement. I ran exploration but got stopped with this error message “error 29 Variable ‘entry’ used without having been initialized (Ln 238, col:75). Your help in locating erroe and correcting will be most appreciated.

    Dick Hoierman

    1. @Hoirman,

      Make sure that your are doing scanning/exploration with only on Watchlist not with complete database as sometimes if the database contains very less or no bars then such errors could occur

      1. Thanks Raj,
        I set up all NYSE stock over $5.00 and volume over 100000 in watch list. And it worked except for a few at end.
        I would like to have the “Message Board ” to show days rather than minutes. What needs to be changed to accomplish. You are an excellent programmer. Have you done anything i with Volume Spread Analysis (VSA) ?

        Dick Hoierman

  3. Dear Rajandran
    Thx for your excellent work to help the trading community.
    Understand that “Pin bar candlle” is also an excellent indicator to trade.
    May I, therefore request you to provide a scan for the same.
    It would be ideal if it is added to the existing candle identication AFL already avlbl.
    Thx again
    Brgds
    Ravi

  4. Hi Rajandran,

    Can you recommend good parameters for this AFL that could work for EOD charts?

    Regards,
    Dexter

      1. Hi,

        I trade in PSE (Philippine Stock Exchange). Unfortunately optimization in Amibroker takes a lot of time in my machine so I was looking for some “default” values where I can start with.

        Regards,
        Dexter

      2. Hi,

        I trade in Philippine Stock Exchange (PSE). Unfortunately doing optimization in my machine takes a lot of time so I was looking for some “default” values to start with.

        Dexter

  5. Hi Sir how r u,
    Sir i want to know from where i can get this amibroker technical software so that i can work on other commodity script also.

    Can u help me please in getting this software

    Waiting for ur +ve response

    Praveen kumar
    Lucknow

  6. How to download as a afl file .

    Pls help me i am not able to download and save.

    regards,
    Niraj

    1. @Sameer : It is a custom coding one has to do a similar custom coding in metastock. One can study the amibroker code and reinvent the same in metastock.

  7. With your experience or back tested, please can you suggest the time frame and indicators for MCX trading.

  8. Sir, the code’s cant be copied, and I think your javascript is not working… Please give a link to download.

    1. Just go to file in the browser and clisk save page and then save as text. You’ll then copy the code with ease.

  9. i tried to apply ichi afl to charts, page get blank…sounds like its not compatible ..
    please help

  10. Thanks for research. But I do not know how to paste afl in my amibroker afl file.

    Is it possible to make it directly loaded to amobroker?

    Regards

  11. Please update the formula , this is giving the error with latest amibroker,

    Regards,

  12. Very nice AFL. After tested lots of AFL I came to find this so nice. Can you make it compatible for back testing also. Thanks for share.

  13. RESPECTED SIR IT IS INDEED A GREAT SERVICE TO TRADING COMMUNITY. THANK U GOD BLESS YOU!

  14. greetings sir
    i
    i am looking for ichimoku scanner ( with all possible crosses) for nt7/8
    do you have it or can you recommend who has it
    thank you

Leave a Reply

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