Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 8/14/2017 Posts: 8
|
I know this was asked and answered in the past. However, I'm using different Ichimoku preset setting/values; mine are 18-52-104 (instead of default 9-18-52). I tried to double formula’s values from previous posts, but I’m getting inconstancies.
Could someone help me to write custom EasyScan formulas for the following:
1. The Price is above the Cloud at the furthest point to the right
2. The Price has crossed above the Cloud today. (It was under and now it’s above)
3. The Lagging Span is above the Cloud.
4. The Leading Span A is above the Leading Span B at the furthest point to the right
5. The Tenkansen is above the Kijunsen at the furthest point to the right
Thank you
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
QUOTE (shiny) 1. The Price is above the Cloud at the furthest point to the right
If you mean the values of both the cloud and price at the last point where price is plotted:
C > (MAXH18.52 + MINL18.52 + MAXH52.52 + MINL52.52) / 4 AND C > (MAXH104.52 + MINL104.52) / 2
If you mean the values of the cloud where it is last plotted compared to price where it is last plotted:
C > (MAXH18 + MINL18 + MAXH52 + MINL52) / 4 AND C > (MAXH104 + MINL104) / 2
QUOTE (shiny) 2. The Price has crossed above the Cloud today. (It was under and now it’s above)
If the closing price just needs to have been at or below the top of the cloud during the previous bar:
C > (MAXH18.52 + MINL18.52 + MAXH52.52 + MINL52.52) / 4 AND C > (MAXH104.52 + MINL104.52) / 2 AND (C1 <= (MAXH18.53 + MINL18.53 + MAXH52.53 + MINL52.53) / 4 OR C1 <= (MAXH104.53 + MINL104.53) / 2)
If the closing price needs to have been completely below the cloud during the previous bar:
C > (MAXH18.52 + MINL18.52 + MAXH52.52 + MINL52.52) / 4 AND C > (MAXH104.52 + MINL104.52) / 2 AND C1 < (MAXH18.53 + MINL18.53 + MAXH52.53 + MINL52.53) / 4 AND C1 < (MAXH104.53 + MINL104.53) / 2
QUOTE (shiny) 3. The Lagging Span is above the Cloud.
C > (MAXH18.104 + MINL18.104 + MAXH52.104 + MINL52.104) / 4 AND C > (MAXH104.104 + MINL104.104) / 2
QUOTE (shiny) 4. The Leading Span A is above the Leading Span B at the furthest point to the right
(MAXH18 + MINL18 + MAXH52 + MINL52) / 4 > (MAXH104 + MINL104) / 2
QUOTE (shiny) 5. The Tenkansen is above the Kijunsen at the furthest point to the right
(MAXH18 + MINL18) / 2 > (MAXH52 + MINL52) / 2
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 8/14/2017 Posts: 8
|
Wow, thank you so much Bruce! Each formula works beautifully!
|
|
Registered User Joined: 8/14/2017 Posts: 8
|
Good Day,
I need help with one more formula please - The Lagging Span is above the Cloud @ the Lagging Span which is 52 bars back. So like C > LeadingSpan52 (same setting, 9-18-52)
|
|
Registered User Joined: 8/14/2017 Posts: 8
|
My bad, may be one more thing too please. Same as above but it crossed it today.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Lagging Span being above the cloud is given above (and is the first two sections of the formula below). Crossing up through the top of the cloud can be written as follows.
C > (MAXH18.104 + MINL18.104 + MAXH52.104 + MINL52.104) / 4 AND C > (MAXH104.104 + MINL104.104) / 2 AND (C1 <= (MAXH18.105 + MINL18.105 + MAXH52.105 + MINL52.105) / 4 OR C1 <= (MAXH104.105 + MINL104.105) / 2)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 8/14/2017 Posts: 8
|
Once again thank you so much Bruce!
|
|
Registered User Joined: 8/14/2017 Posts: 8
|
Bruce,
Im trying to undertand formulas so i dont have to bother you with them ever again.
This is what i got so far
Tenkan-sen (Conversion Line): (18-period high + 18-period low)/2))
(MAXH18 + MINL18) / 2
Kijun-sen (Base Line): (52-period high + 52-period low)/2))
(MAXH52 + MINL52) / 2
Senkou Span A (Leading Span A): (Conversion Line + Base Line)/2))
((MAXH18 + MINL18) / 2 / 2 + (MAXH52 + MINL52) / 2) /2 OR
(MAXH18 + MINL18 + MAXH52 + MINL52) / 4
Senkou Span B (Leading Span B): (104-period high + 104-period low)/2))
(MAXH104 + MINL104) / 2
Chikou Span (Lagging Span): Close plotted 52 days in the past
C
in a PAST C52
And for .104 and when to use .52.
So price is plotted 26 bars back from the cloud so if we divide formula by 2 we have to multiplay .26 by 2 so it gives us .56?
And Lagging Span is plotted 52 bars back from the cloud so if we divide formula by 2 we have to multiplay .52 by 2 so it gives us .104?
I just want to know if understand this correctly. I want to be able to write formulas
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The Ichimoku Cloud has a Turning Period (t), a Standard Period (s), and a Span B (b). There are basically three points where you are going to be looking at the Ichimoku Cloud. The most common place is where price is most recently plotted.
Tenkan-sen (Conversion Line):
(MAXHt + MINLt) / 2
Kijun-sen (Base Line):
(MAXHs + MINLs) / 2
Senkou Span A (Leading Span A):
(MAXHt.b + MINLt.b + MAXHs.b + MINLs.b) / 4
Senkou Span B (Leading Span B):
(MAXHb.b + MINLb.b) / 2
The Chikou Span (Lagging Span) doesn't exist at this point, so there isn't a formula for it at this point. If you go back to the last point where Chikou Span (Lagging Span) was plotted, it is just:
C
But you need to add Span B (b) to all of the bars ago parameters. We will call variable bb to make it obvious that it is double b.
Tenkan-sen (Conversion Line):
(MAXHt.b + MINLt.b) / 2
Kijun-sen (Base Line):
(MAXHs.b + MINLs.b) / 2
Senkou Span A (Leading Span A):
(MAXHt.bb + MINLt.bb + MAXHs.bb + MINLs.bb) / 4
Senkou Span B (Leading Span B):
(MAXHb.bb + MINLb.bb) / 2
The other point of interest would be in the future. At this point, not only is the Chikou Span (Lagging Span) not plotted, but the Tengan-sen (Conversion Line) and Kijun-sen (Base Line) aren't plotted either. So all we have left is Senkou Span A (Leading Span A) and Senkou Span B (Leading Span B). The .b and .bb offsets used for these previously goes away and we are left with just the following.
Senkou Span A (Leading Span A):
(MAXHt + MINLt + MAXHs + MINLs) / 4
Senkou Span B (Leading Span B):
(MAXHb + MINLb) / 2
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 8/14/2017 Posts: 8
|
I need a bit of time to sit down and absobe all of this.
Im trying to follow your guide, but I cant figure ot why my formula doesn't work.
Im trying to make a scan where price sits inside of the cloud or between Span A and B at the last point where price is plotted
((MAXH18.52 + MINL18.52 + MAXH52.52 + MINL52.52) / 4 < C < (MAXH104.52 + MINL104.52) / 2) OR ((MAXH18.52 + MINL18.52 + MAXH52.52 + MINL52.52) / 4 > C > (MAXH104.52 + MINL104.52) / 2)
It is honestly the last question for another week or so. I need time figure it all out
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The problem with the formula as written is that it isn't possible to just have:
(SpanA < C < SpanB) OR (SpanB < C < SpanA)
If you are going to make direct comparisons like these, each one needs to be separate.
(SpanA < C AND C < SpanB) OR (Span B < C AND C < SpanA)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |