Rajandran R Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and 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. 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 Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and 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. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in)

[Live Coding Webinar] Build Your First Trading Bridge for…

In this course, you will be learning to build your own trading bridge using Python. This 60-minute session is perfect for traders, Python enthusiasts,...
Rajandran R
1 min read

[Webinar] Understanding and Mitigating Curve Fitting in System Trading

"Understanding and Mitigating Curve Fitting in System Trading"! This dynamic session aims to equip novice to intermediate traders, quantitative analysts, and financial engineers with...
Rajandran R
1 min read

P-Signal Strategy Long Only Strategy – Amibroker AFL Code

This tutorial provides an overview of the P-Signal reversal strategy, a quantitative trading strategy that utilizes statistical parameters and error functions to generate probabilistic...
Rajandran R
2 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