• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ichimoku Additions

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • cclsys
    started a topic Ichimoku Additions

    Ichimoku Additions

    What follows in this thread are a collection of indicators I have developed based on the Ichimoku Indicators available in the Shared Indicators section of this forum. More on the Ichis can be found at: http://www.kumotrader.com/ichimoku_wiki/; also at http://www.kumotrader.com/forum/index.php

    Introduction to these Indicators:

    I am into day trading and mainly use tick charts. I also like to compare 2-3 'timeframes' and usually set them up thusly:

    ST = 45 tick
    Main = 90 tick
    LT = 270 tick.

    These change based on the market being followed but the main idea is that the LT is 3* the Main Chart and the ST is half and I use it to help with entries and exits in certain types of conditions, basically cutting the Main bars in half.

    It is for this type of setup that I began to work with re-coding the Ichis. Principally, I started off with adding a 3rd Ichi to the default 2 (hence the name 'Ichi3'). This third Ichi corresponded to the LT Median (Kijun) in the 270 LT chart. To be clearer:

    90 Tick 'Main' Chart
    Tenkan (FastPeriod) = 9
    Kijun (MediumPeriod) = 27
    Kijun2 (SlowPeriod) = 81

    270 Tick 'LT' Chart

    Tenkan (FastPeriod) = 9 ( = 27 on the Main 90 Tick chart)
    Kijun (MediumPeriod) = 27 ( = 81 on the Main 90 Tick chart)
    Kijun2 (SlowPeriod) = 81

    In this way, on the 90 chart the Kijun and Kijun 2 have the same values as the Tenkan and Kijun on the 270 chart.

    Now there is a further wrinkle: the default Cloud values for an Ichi Chart use a slower Slow Period which is double the Kijun, i.e. 54 on the 90 Tick Main Chart. This I have not changed.

    So on the Main Chart we have the Tenkan (9), Kijun (27), Kijun2 (81) and the Clouds are basis Kijun*2 = 54.

    One thing I have noticed tracking this setup is that the K2 often tracks the Senkou Span B (slow Cloud line) exactly, often for many bars at a time, but then it moves away and the direction in which it moves provides yet another trend indicator - longer term. It is slow, but it is rarely whipsawed like the shorter term ones can be.

    I have also added in another new line which I call the 'Equi', for 'Equilibrium'. This is the average of the 3 Lines and it is helpful because sometimes the three lines are regularly spaced, but sometimes they are 'conflicted' or 'unbalanced'. For example, in a strong trend they tend pretty quickly to become 'lined up' as in (bull example): K2 is at the bottom, then the K, and then the T on top, sort of equidistant from each other.

    But sometimes you get a Tenkan over Kijun (T-K) bull cross, but the K2 is way above them (conflicted market). And sometimes you get a Tenkan way up there after a recent rapid move the past few minutes but the K and K2 are quite a ways below indicating the market has got ahead of itself. The Equi shows the relative mid-point of all three. Very simple but helpful.

    I have also used this Equi as the basis for an RSI indicator showing OS and OB within the context of the trend as defined by the Ichis, not the price alone.

    In addition, I have added to the standard Donchian Indicator which shows the Donchian Channel Highs and Lows with the median (a median is the same as an Ichi line) by mixing in an ATR-derived calculation that determines when the range is narrow enough to be called a Trading Range and it Back Colors accordingly. It is not always correct, like anything, but it is often quite quick to identify a Trading Range, after which a break out, especially one in the direction of the LT Ichi Trend, can often yield dependably favorable action.

    In addition, you can put on the LT clouds by inputting the correct values so on the Main Chart alone you can see the basic two Ichis, plus the LT Kijun, the basic Clouds, plus the LT clouds.

    I would like to share these indicators even though I am not a proficient Ninja coder because I got these from the Ninja forum and would like to give something back, little as it is.

    I will soon post one at a time with a picture and a brief explanation, although if you find them of interest and read through the code and look at the charts they should be fairly self-explanatory like most simple indicators.

    The Ichis are unusual in that, based on simple Median prices alone, and with a simple yet sophisticated way of comparing present action to the past (the Chikou line) and also with the future (displaced Senkou 'Cloud' formations, you get an ongoing picture of support, resistance and trend.

    So first, the basic Ichi3Line Indicator along with what I call 'Cloud2' because I have added the Senkou Cross as both an audible and visual alert plotted at the price it occurs on the current bar even though it is projected out the Kijun Period distance (27 bars) into the future. In live trading you often won't have the chart adjusted to see this happening, so the alert is helpful. That is the only change I made to the one on the forum.

    In addition to the general features mentioned above, the Ichi3 Indicator also has various bells and whistles, many of them no doubt coded in a somewhat beginner-like fashion, but they work and I have been using them for a few months now without any problem.

    Features include:

    Drawing a diamond on the close and also a line back to the Chikou Span Cross point when it occurs. This happens when the Chikou line (which represents the price 27 bars ago and is plotted on the screen 27 bars back) crosses through the current price. Sometimes it's hard to see when it's doing that (not so much in live training but in historical review), so this helps. I think there is also a sound.

    I have arrows showing when there is a cross of the Tenkan over/under the Kijun.

    There are back colors for various types of trend - simple cross over of T and K, or when all 3 lines are 'lined up'.

    There are 'Pullback' Triangles which indicate when a short term counter trend move has happened for several bars in a row indicating a return to the trend might soon occur. There are some small filters involved with this which are easy to understand in the code hopefully but I can explain more if anyone is interested or has questions. (Same for all of the above of course).

    There are also 'Rubber Band' triangles which show when the market has gone zooming up or down far enough away from the Kijun basis the current ATR (volatility) to trigger them. They often give an indication when things are due for a pause.

    There is also a K2-SenkouB cross which is when the LT Kijun crosses over the SenkouB (LT Cloud) line.

    Some of my bells and whistles you won't like or find helpful. I believe they are all turnable-offable. But some simply take the basic Ichi methods and make them more clearly displayed, in particular the Cloud (Senkou) Span cross, the Chikou Span cross.

    Further indiators to come that complement this:

    Donchians with the Trading Range component;
    Equi-based RSI indicator
    RPM - Range per Minute indicator helpful for Tick-Chart traders.

    In all cases where there are sound files, you are probably going to have to manually type in your own preferred sounds. I have made several indicating trends and if people request it I can also post them here, things like '45 bull' and '45 bear' etc.

    Any comments, feedback, suggestions for improvement, more elegant coding solutions etc. are most welcome.
    Attached Files
    Last edited by cclsys; 07-30-2009, 02:21 PM.

  • NinjaTrader_Bertrand
    replied
    Originally posted by PEPBOSCH View Post
    Hello, could anyone help me to find the way to set an alarm for Ichimoku clouds indicator. I just need to set an alarme when price gets in the cloud and when it gets out.
    I do not know if this exist. Please help, I am a beginer in Ninjatrader.
    Thanks
    I would suggest to check into this thread where alerts for the Ichimoku were also discussed with an example - http://www.ninjatrader.com/support/f...ad.php?t=50451

    Leave a comment:


  • PEPBOSCH
    replied
    Ichimoku cloud alert

    Hello, could anyone help me to find the way to set an alarm for Ichimoku clouds indicator. I just need to set an alarme when price gets in the cloud and when it gets out.
    I do not know if this exist. Please help, I am a beginer in Ninjatrader.
    Thanks

    Leave a comment:


  • cclsys
    replied
    Ah. Well in terms of your last sentence: somebody could put this into a strategy to back test it, but that person would not be me! I was never able to program even the simplest of systems in Ninja language. But perhaps you can using this indicator code as the starting point? Or someone else? Best of luck either way!

    Leave a comment:


  • coolfutures
    replied
    cclsys, Thanks for your reply and it proves your dedication. What I mean to convey is that can we validate entry only for STRONG Case only.? based on lower time frame say 5 min with 3 times higher time frame . That means , say for example in SELL signal , TS crosses KS from above , below KUMO and it has cleared all previous major supports of Chikou span and Chikou span is below price curve, and this condition confirms the SELL bias in 3 times higher time frame.
    At the same time I do consider that a signal which we get in short time frame is good only for Short time hence, Money management is vital so my point here is that after getting signal the price moved in favorable direction for atleast 6-8 ticks and it did not hit a stop loss of even 3-4 ticks (due to pull back) and can we beck test this MM Rule for atleast 1000 signals ? Thanks

    Leave a comment:


  • cclsys
    replied
    another double cloud run

    Another run above both clouds, this one with nice LT signal at the kick-off..

    Beginning and end marked with ellipses: LT entry, ST exit at convergence of the T and K after a decent run.

    Note how Kijun trends down for first time after beginning of run up / signal and just after the TK cross down marked by second ellipse.

    And finally (Pic 13), as I leave computer for a while, where it looks like its going next using Ichi (and VWAP). Down through ST cloud and to the LT cloud top and VWAP support.

    On way out the door and Pic 14, prediction correct to the bar and tick:

    BINGO!!!:
    Attached Files
    Last edited by cclsys; 03-29-2011, 10:05 AM.

    Leave a comment:


  • cclsys
    replied
    Tick versus Time Chart

    Now this is interesting. note how after the recent fast runup the Kijun (light green) median is so close to current highs? That is because the bars were forming so very quickly. Past 27 bars in about 5 mins versus the usual 30. This makes the Ichi system far more responsive than the time-based bars. Which can be either good or bad, but is something to keep in mind when picking chart.
    Attached Files

    Leave a comment:


  • cclsys
    replied
    Later on, above both clouds

    OK. So later on we are above both clouds triggering a breakout buy signal (for which there is no indicator arrow or anything) and immediately you get the fastest, deepest move in a few hours. Almost 30 ticks in about 1 minute.

    Now the pink triangles are indicating an overbought condition so probably best to get out or place tight trail stop. I stayed in a little longer to meet a profit target based partly on the market and partly on the need to recover $1000.00 in hypothetical losses from trades taken earlier on in the choppy zone between the clouds where it is usually not a good idea to trade. Another facet of this indicator which is helpful.

    Again, note how when price broke out of the two-cloud situation, it moved dramatically. I have seen this so often in so many markets that it is a) clearly not co-incidence and b) shows that there is something about the underlying Ichimoku method that truly makes sense.

    You could take this double-cloud approach and basically live off it if you have the patience to wait for those setups and are also able to weather those times where, like any approach, it fails.

    Last Pic (8) I have highlighted the longer term system cross (ellipses) and the shorter term (normal) system crosses (rectangles), both good for more than 60 ticks. Now in the case of the shorter terms ones I have picked the best example and ignored many which got whipsawed. The longer term one didn't get whipsawed on this chart but of course it does happen as with all such things.

    One rule I sometimes use when using the Ichis in this short term sort of chart is to have pattern confirmation to the signal, i.e. 2 closes in the same direction as the signal or whatever.

    Anyway. Hope this was all enjoyable.

    Another one. Pic 9. Here I have shown with ellipse and rectangle a trend change. Note how speed accelerates (RPM indy in Panel 2) just as the second, confirming ST buy signal (rectangle) is triggered. And we are above both clouds again, even though not making new highs for the period. Also coming up on the official opening time so this is still an iffy period to be trading, but the charts - for the purposes of illustration - are fine of course.

    Pic 10: and off we go again, another acceleration and a Rubber Band pink arrow which is usually a good place to exit or place tight trail stop.

    Almost like clockwork, eh?
    Attached Files
    Last edited by cclsys; 03-29-2011, 08:17 AM.

    Leave a comment:


  • cclsys
    replied
    reply cont.

    OK, got to my limit of 5 so continuing...

    Looks like BE stop will be hit and should/have got out on tighter trail stop. Yup, got hit whilst typing.

    Anyway, that was a series of examples of the indy in action. HOpe you enjoyed it.
    Attached Files

    Leave a comment:


  • cclsys
    replied
    update

    I have tried twice to reply and it won't go through.

    Suffice to say that the only 'signal' is the Ichi Tenkan-Kijun cross (red line, light green line) and that is a reversing system, i.e. always either long or short.

    It went through for some reason. Here is some of the older text:

    coolfutures:

    as mentioned above I'm not really into tweaking anything in Ninja anymore and also this indicator has too much stuff in it since I was partly programming it in order to learn how to program anything at all in Ninja (never did manage to code a single working strategy!).

    That said though, there are only really two signal arrows, everything else is extra stuff like the Chikou Span breakout (Chikou line from past breaking through up or down the price also in past), my pullback triangles, the pink arrows noting when one of the longer term medians crosses above or below one of the Cloud lines (not in the official Ichi method but something I have noticed happens when a longer-term price breakout is occurring and so a potentially good longer term trend indicator).

    The actual signals are just the basic, and official, Ichi Cross which is when the short term (red) Ichi (Tenkan, 9 period) crosses over the (green) Ichi (Kijun, 27). At that point an arrow is plotted up or down and I guess you could say it is a reversing system in that it is always either long or short.

    Now I seem to remember I had a problem with the crossing over language which I never fixed and the way it is now if the Ichi setup was bearish and the Tenkan comes up to the Kijun and just touches it or equals it, that is a crossover and I am not sure if this is valid in terms of the official method which might well require a full crossover, i.e. the Tenkan going to being higher in price than the Kijun.

    This really is meant as an indicator, i.e. visual aid rather than a system per se.

    I think someone at the Big Mike's Forum has updated the coding to Ninja 7.


    Current pic shows short term bullish (above ST cloud) and longer term bearish. (Note: this is a short term tick chart.)

    For fun: the longer term Ichi turned bullish (lighter gold up arrow) which is why there are now lighter gold pullback up triangles so I put in a buy order. We'll see!

    The longer term cross is when the lighter green Kijun crosses above the darker green Kijun2 (which is 3* 27 = 81), so this is part of having the two time frames on the chart at once.

    (Note: this is a very slow pre-market situation, so not one that most of us would usually trade I suspect, but anyway.)

    Pic 3: thrust up but the short term Ichi does a bearish cross. So still very iffy. That said, 10 ticks in 10 minutes ain't bad considering. A BE stop could already be put in for scalper types to avoid any loss whilst going for more, or could be scaling out with multiple positions etc.

    Pic 4: has moved up past ST resistance (donchian line / old high) and the short term Ichi has crossed back up, a whipsaw which is now bullish and looks like our target will be hit. Definitely stop to BE at this point.

    Pic 5: more convincingly moved through old resistance and now a Pink LT arrow up indicating potential LT trend change. (On 5 minute chart we are in the midst of a very steep, bearish sell off by the way, so chances are this will all correct back soon and personally I would bail out with quick profits here or have a tight trailing stop).

    Also note the Light Gold Diamond on the closing price in penultimate bar denoting the LT Chikou Span which is occurring on the left of the chart with the further-in-past darker pink Chikou breaking above price at that point in the past.

    This signal/trade got 19 ticks possible in this slow market doing what is essentially a counter trend trade but using Ichi approach with short term tick chart.

    Note also that price is now between the ST and LT clouds. Not always, of course, but often you get choppy action as one trend is over but a new one has not really formed and/or resumption of previous trend - in this case bear - not yet underway. So it is an iffy zone which is why for strong trends I prefer to see price above/below both clouds.
    Attached Files
    Last edited by cclsys; 03-29-2011, 06:40 AM.

    Leave a comment:


  • coolfutures
    replied
    cclsys

    Thanks for this indicator . You have done wonderful job. Is it possible to have entries and exit be clearly defined , no guess work at all ?

    Leave a comment:


  • cclsys
    replied
    I don't run 7 and also have stopped trying to code in Ninja so somebody else will have to make those changes. Glad you liked it!

    Leave a comment:


  • Albaz
    replied
    Ninja 7

    Thank you very much. You have done a wonderful job.
    I wonder if it'd be working on NT 7, It's not working for me.

    Leave a comment:


  • perryg
    replied
    Thank you very much for the explanations. You have done a wonderful job.

    Leave a comment:


  • cclsys
    replied
    OK, here's a chart showing my idea above. We can also use it for any questions you have.

    I have marked various rough zones to illustrate the idea, with either orange ellipses or arrow lines.

    On the far left we have a break above both clouds but
    a) the clouds are still going down (not a big deal) but more importantly
    b) the Kijun (Lime Green) is still well below them and in fact the Tenkan (red) did not get over the upper cloud until the mkt was already moving back down into them again.
    c) as it happens, we have the Rubber-Band arrows indicating the thrust up might well snap back. Which it did.

    Market goes back down but does not get anywhere. Indeed, there is a typical condition you see during consolidations with the short and LT clouds sort of containing the price between them. But market did not go back down in any convincing fashion.

    Then market tries going up again. And then at second ellipse it makes

    a) a significant SR breakout up (first Arrow line)
    b) at same time (not a co-incidence) Plum Arrow is a K2 cross (my invention) which is when the K2 (long-term Kijun dark green) crosses above the ST Cloud lead line which it had been tracking (i.e. the predicted Cloud line = the current actual K2 line = no new significant highs or lows = market is not trending strongly.

    Note how during this consolidation period around 1115 that long pullbacks could have been used for quick scalps successfully but the short pullbacks were all losers. This indicates underlying bullish tendencies so the PB arrows can be used as indicators in some sense, not just entry signals, i.e. how they do tells us things about the market, both in terms of direction and regularity/predictability. In a strongly trending market, most pullbacks work (although where you place your stop etc. might get you stopped out but after the event you can see that they would work). Markets where the pullbacks really don't work are conflicted and usually in consolidation/rotation thus not suitable for trend-type entries, only counter-trend type entries. At any time between the 10-30 to 12-30 congestion period (between clouds), selling highs and buying lows would have worked okay with 2-3 bar scalps.

    c) after quick but convincing run-up, mkt retraces to the breakout level (second arrow) where we have a nice pullback arrow.

    d) that pullback into a clear SR price zone and the second one later (not marked) around 14.21 were pretty good low-risk signals. All main lines are above both clouds. It is a 'full bull trend'.

    Of course there are many, many other things you can do with the Ichis. But this is a very powerful setup that happens all the time in all markets in all time-frames indicative of a possible strong move that will have legs, i.e. not one to fade immediately and a good one to put on multiples to get a good runner with, or at least hold a single for a while.

    The advantage of the pullback entry is that there is less of a chance of a break-even stop being hit after it goes in your favor. Also, the initial risk is knowable (beneath pivot low when long, above pivot high when short) unless one wants to scale-in against adverse moves during more determined corrective moves.

    Personally, I would remove the Bollingers. I was just happy I could figure out how to paint in the region between them; also for a while I was working with them as a pullback or entry setup and wanted to compare them to the Ichis. I think they don't give any meaningful extra information and just clutter up the chart. Some people might prefer them to the Ichis though, in which case just make the T&K transparent. Up to you, it's open software!












    Attached Files
    Last edited by cclsys; 01-19-2010, 06:38 PM.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by bchip, Today, 09:25 AM
1 response
5 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by Tomass, Today, 09:25 AM
2 responses
5 views
0 likes
Last Post Tomass
by Tomass
 
Started by hundert, Today, 08:37 AM
2 responses
13 views
0 likes
Last Post hundert
by hundert
 
Started by ronaldgreene828, Today, 08:16 AM
1 response
6 views
0 likes
Last Post NinjaTrader_PatrickG  
Started by hir04068, Today, 01:36 AM
1 response
17 views
0 likes
Last Post NinjaTrader_PaulH  
Working...
X