Menu
  • Crash Course on Orderflow
  • Training
  • Premium
  • Traders Cafe
  • Intraday signals
  • MCX Signals
  • Library

Marketcalls

Simply Intelligent Technical Analysis and Trading Strategies

  • Software
    • Amibroker
    • NinjaTrader 7
    • Ninjatrader 8
    • Option Action
    • Market Analyst
    • Metatrader
    • Python
    • Datafeed
  • Market Profile
    • Orderflow
  • Markets
  • Commodities
  • Forex
  • Economy
    • Banking
  • Webinars
  • Trading Lessons
    • Algo Trading
    • Infographic
    • Video
You are here: Home / AFL Code / Ichimoku Cloud Scanner v2.0 – AFL Code

Ichimoku Cloud Scanner v2.0 – AFL Code

November 28, 2010 by Rajandran 24 Comments


 
The Demerit with the older version of Ichimoku cloud scanner is that there is too much of difference between the cloud(stop loss) and the candle which has been overcome by introducing stop loss for the trade with little modification in the trading rules.

The above nifty chart shows a trailing stop loss(black line) of 6034. But the cloud(6137) is heavily far from the Close value(5751).

Note : Black line indicate only trailing stop loss for trades but not a trailing stop loss mechanism.

Trading Rules

1)Buy on Close above the cloud
2)Sell on Close below the cloud
3)Use the Cloud as Stop loss and reverse when the cloud is very near to the candle
3)Use STPL – (Black line) as trailing stop loss when the candle is far from the cloud
4)There is nothing to do with the color of the cloud( red/green cloud it doesnt matter )
5)Red Arrows indicates sell signal i.e candle closes below the cloud
6)Green Arrows indicates Buy Signal i.e candle closes above the cloud

Where STPL is nothing but the average of Close, Span lines SP1,SP2

Few Rules that I for the shorter timeframes 15min, 30min, hourly Charts and Daily

1)Buy or Sell Trade should be taken only on the presence of the appropriate signal. Trade should not me initiated belated to the signal

2)Dont initiate trade without sufficient signals.

3)If you are in a Buy Trade/Sell Trade book the trade if you are in profit at regular intervals. Dont wait for the next signal to exit the trade

4)For 15min trade book profit if you got 20-25pts in nifty and in Hourly Charts – 50-75 points and in Daily Charts – 150-200pts without waiting for next signal.

5)Respect the trailing stop loss when you are in trade

6)If you are confused with the way you are playing – just take rest.

Ichimoku Cloud Scanner – Amibroker AFL Code

Download Ichimoku Cloud Scanner V2.0

If you have a better Stop loss/SAR mechanism please let me know

Related Readings and Observations

  • Code Snippet : ORB – Open Range Breakout Levels – Amibroker AFL Code (Better Version)Code Snippet : ORB – Open Range Breakout Levels – Amibroker AFL Code (Better Version) Open Range Breakout is a simple strategy which monitors first 5min / 15min / 15min / 30min / 60min range from the start of the market. From the opening high range and low range is […]
  • PercentRank Based Smooth ATR to Predict Change in Volatility – Amibroker AFL CodePercentRank Based Smooth ATR to Predict Change in Volatility – Amibroker AFL Code Is there a way where one can identify market regime shift from low volatility zone to high volatility zone and vice versa? How I can identify stocks with increasing volatility? Is there a […]
  • How to Get Moneycontrol News Snippets into Amiboker?How to Get Moneycontrol News Snippets into Amiboker? Getting the newsfeed directly into my favorite charting software is always been interesting to me. If you are a news-hungry trader/investor possibly you may be also thinking in the same […]
  • Code Snippet : Price with Last Trade Price Marker : AmibrokerCode Snippet : Price with Last Trade Price Marker : Amibroker Here is a simple Amibroker AFL code snippet which tracks the last trade price with a dashed horizontal line at LTP. It could be useful for the people who wants to know where the current […]
  • Trading the Previous Day High and Previous Day Low Breakout – Do Simple Strategies Really Work? [Part1]Trading the Previous Day High and Previous Day Low Breakout – Do Simple Strategies Really Work? [Part1] Do simple strategies really work in Indian Markets? This curiosity arises when one of our Amibroker Mumbai Participant comes up with a simple trading strategy. Hence the tutorial series, […]
  • Absolute Monthly and Yearly   Profit/Loss Table – Amibroker AFL CodeAbsolute Monthly and Yearly Profit/Loss Table – Amibroker AFL Code while back-testing by default Amibroker provides Profit Table in Compounded percentage terms. However the profit table can be customized according to ones requirement. Rather than doing a […]

Filed Under: AFL Code, Amibroker, Learnings Tagged With: AFL Code, Amibroker

About Rajandran

Rajandran is a Full time trader and founder of Marketcalls & Co-Founder of Traderscafe, trades mostly using discretionary Trading Concepts like Market Profile, Trading sentimental analysis, building timing models, algorithmic trading models. Instructs professional traders, full time traders & aspiring full time traders. Rajandran attended college in the Chennai where he earned a BE in Electronics and Communications. Rajandran has a broad understanding of trading softwares like Amibroker, Ninjatrader, Esignal, Metastock, Motivewave, Market Analyst(Optuma),Metatrader,Tradingivew,Python and understands individual needs of traders and investors utilizing a wide range of methodologies.

Comments

  1. sandip says

    November 28, 2010 at 3:29 pm

    Sir, link is not downloadable….. i tried many times.

    Reply
  2. Rajandran R says

    November 28, 2010 at 3:31 pm

    Sandip -- it got fixed try now

    Reply
  3. sandip says

    November 28, 2010 at 3:57 pm

    now downloded. thanks sir.

    Reply
  4. Devansh says

    November 28, 2010 at 7:59 pm

    Sir, You could possibly look at a similar stop line for MT4 users as well ?

    Reply
  5. kalyan says

    November 28, 2010 at 9:15 pm

    now one is expected for scaning tinkensen kijun sen cross over as it may give earlier signal

    Reply
  6. Rajandran R says

    November 28, 2010 at 11:00 pm

    @Kalyan… I still consider Tenkan Sen, Kijun Sen, Chikou Span lines as noise to the system

    Reply
  7. Rajandran R says

    November 28, 2010 at 11:00 pm

    @Devansh

    Iam not very much good with mql4 coding. anyways will try out my best!

    Reply
  8. Geet says

    November 29, 2010 at 9:58 am

    Dear Sir,

    Thank you for the AFL.
    A few questions:
    1) If we trade on the daily chart, then should the trade be taken on the opening of the following day or on the same day. Same with hrly chart should it be on the open of the next candle.

    2) if we book profit on regular intervals, then is there a way toget back into the trade especially when the market is strongly trending as of now.

    Thank you for your time and reply
    regards
    geet

    Reply
  9. hiren morbia says

    November 29, 2010 at 1:52 pm

    Hello Mr.Rajandran.
    ANY BUY CALLS ???

    Reply
  10. Devansh says

    November 29, 2010 at 6:57 pm

    Sir maybe an existing indicator that you feel will give similar results ?

    Reply
  11. Rajandran R says

    November 29, 2010 at 10:32 pm

    @Geet

    Its better to take on the same day if you are taking signals based on Daily charts. For Stop loss for the trade you can take cues from the hourly charts.

    Reply
  12. kalyan says

    November 29, 2010 at 10:41 pm

    sir this cross over save me and i exit

    Reply
  13. Rajandran R says

    November 29, 2010 at 11:00 pm

    @Kalyan

    Check out the Chartnexus settings for Ichimoku and provide your results
    here

    The thing is to convert the ichimoku into a better trading system to capture the high probable trends.
    If Tenkan Sen, Kijun Sen, Chikou Span provides better stop loss and reversal strategy or a better filetering mechanism then kindly provide your views here

    Reply
  14. Rajandran R says

    November 29, 2010 at 11:05 pm

    @Kalyan
    Buy Signal in USD from ichimoku cloud charts with parameters 3,12,18.
    Tenkan Sen, Kijun Sen, Chikou Span lines are now nothing to do here

    Reply
  15. Rajandran R says

    November 29, 2010 at 11:16 pm

    Dow Jones under sell mode for the 4th day with cloud resistance coming near 11190

    Reply
  16. Geet says

    November 29, 2010 at 11:46 pm

    Thank you sir!

    Reply
  17. kalyan says

    November 30, 2010 at 9:16 pm

    my setting is default 9 and 16 for tinkensen and kijunsen .what i observed that this crossover wheather below the croud or over the cloud may be significant and in my opinion( may be i am wrong)this buy or sell signal is a powerfull than any ema cross over.
    if u can code this exploration will be helpfull .
    it will also help us study this crossover

    Reply
  18. viswanath mk says

    January 21, 2011 at 1:22 am

    Hellow dear Rajendran,

    Better stoploss is using Chandelier SL. I do not have code for AFL, but I do have for the same in metastock ( given below).

    Stop1:=If( PREV = PREV,
    ( H -- 3*ATR(10) ),
    PREV),
    ( H -- 3*ATR(10) ));

    Stop2:=If( PREV = PREV,
    ( C -- 2.5*ATR(10) ),
    PREV),
    ( C -- 2.5*ATR(10) ));

    StopLong:=If(Stop1>Stop2,Stop1,Stop2);

    Stop1:=If( PREV > H,
    If(( L + 3*ATR(10) ) H,
    If(( C + 2.5*ATR(10) ) <= PREV,
    ( C + 2.5*ATR(10) ),
    PREV),
    ( C + 2.5*ATR(10) ));

    StopShort:=If(Stop1<Stop2,Stop1,Stop2);

    If(BarsSince(LBarsSince(H>Ref(StopShort,-1)),StopLong,StopShort);

    I would like to say something from my bottom of myheart. You are great boss, that too at very younger age, you have very good knowledge & also sharing for others.

    May God bless you & gives lots of wealth, health to you.

    Thanks
    Viswanath MK

    Reply
  19. Radiate Labs says

    March 3, 2011 at 8:32 am

    Hi

    I wanted to use this with broco trader or GCI or something like that how can i make it work with these platforms ???

    Thanks

    Reply
  20. Latha says

    November 16, 2011 at 10:58 am

    Hi Sir, Thank you for your valuable contributions to educat us.

    I am using Amibroker and copied your AFL codes to use.
    I am confused in one area is to which combination of signals need to pick up for shorter time frame trades.

    I am considering ony short time frame trades for weekly calls. If I use weekly view in charts using the afl code will the signals will be good? I tried with intraday and using seconds time frame signals are more with less difference of price.

    So i would like to take up for weekly/monthly calls . Please advice the best set of signals to use for this type of calls.

    Thank you in advance sir.
    Latha.

    Reply
  21. Vishal says

    October 20, 2013 at 11:53 am

    Can i use this indicator in Indian Commodity market

    Reply
    • Rajandran R says

      October 20, 2013 at 5:29 pm

      Yes you can try out on hourly charts suits mostly for positional and investment purpose

      Reply
  22. JC says

    March 1, 2018 at 4:39 am

    Sorry, I am an idiot. How do I exactly implement this code? I am not a programmer and I have a very limited idea of how programming works.

    Reply
    • Rajandran says

      March 2, 2018 at 9:39 am

      You need Amibroker Software to do this. Get started here with Amibroker tutorial

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Email Newsletter

Sign up to receive email updates on latest trading strategies , analysis & financial market updates

We Respect Your Privacy

Premium Access

Username:
Password:
Remember Me
Lost your password?

Tools For Traders

  • Marketcalls Android App
  • MCX Signals
  • Intraday Signals
  • International Commodities
  • OI Tracker
  • Participation OI
  • Your Broker
  • Market Sentiment Analysis

Amibroker Updates

[Recorded Webinar] How to Send Bracket Order, Cover Order and Multiple Orders using Amibroker and AlgoAction Platform

December 25, 2018 By Rajandran 1 Comment

AlgoAction Now Supports Bracket Order and Multi Orders

December 23, 2018 By Rajandran Leave a Comment

Code Snippet : ORB – Open Range Breakout Levels – Amibroker AFL Code (Better Version)

December 4, 2018 By Rajandran 1 Comment

Button Trading in Amibroker using AlgoAction Platform

December 2, 2018 By Rajandran Leave a Comment

[Recorded Webinar] Chart Based Vs Scan/Exploration Based Automated Trading – Amibroker

December 2, 2018 By Rajandran 1 Comment

  • Facebook
  • Google+
  • LinkedIn
  • RSS
  • Twitter
  • YouTube

Metatrader Updates

MetaTrader 5 Demo Servers Now Available for BSE Currency Markets

March 20, 2018 By Rajandran 8 Comments

ChartIQ – WebTrader for MT4

December 4, 2017 By Rajandran 4 Comments

Metatrader 4 – Web Platform Overview

October 29, 2015 By Rajandran 9 Comments

William VIX FIX Indicator for Metatrader 4

May 16, 2015 By Rajandran 9 Comments

How to Install Custom MQL4 indicators in Metatrader

November 14, 2014 By Rajandran 6 Comments


About | Contact Us | Terms and Conditions | Privacy Policy | Support Policy | Privacy Policy | Refund Policy | Disclaimer


© Copyright 2018 Marketcalls Financial Services Pvt Ltd · All Rights Reserved · And Our Sitemap · All Logos & Trademark Belongs To Their Respective Owners·

Data and information is provided for informational purposes only, and is not intended for trading purposes. Neither marketcalls.in website nor any of its promoters shall be liable for any errors or delays in the content, or for any actions taken in reliance thereon.