Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Ichimoku Cloud--Lagging Span Line new crossing up/down Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jmc7
Posted : Monday, August 20, 2012 4:27:32 PM
Registered User
Joined: 6/20/2012
Posts: 31

Hi:

Is it possible to scan for the Lagging Span line crossing up/down the historical price?   Do I need to add another formula?

 

Thanks in advance!

Bruce_L
Posted : Wednesday, August 29, 2012 12:36:29 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Lagging Span is just price from 26-bars in the future.

It is not possible to write a PCF for the Lagging Span where it is plotted because the Personal Criteria Formula Language does not have syntax for negative offsets.

If you shifted this 26-bars into the future to plot the most recent available value of the Lagging Span it would just be a PCF for the current price:

C

A Condition Formula for the most recent Lagging Span crossing up price would be the same as the formula for the current price crossing up through the price of 26-bars ago:

C > C26 AND C1 <= C27

The crossing down formula would reverse the > and < signs:

C < C26 AND C1 >= C27



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jmc7
Posted : Wednesday, August 29, 2012 3:00:58 PM
Registered User
Joined: 6/20/2012
Posts: 31

Great, thanks Bruce.  Will this show a new cross up or down or will this show only if current price is higher or lower than price 26 bars ago?  If only showing current price above/below 26 bars back, how could I show a new crossover?  This might already do that.

 

thanks so much

Bruce_L
Posted : Wednesday, August 29, 2012 3:14:58 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

It shows a cross C > C26 section is checking to see if the current price is above where it was 26-bars ago while the C1 <= C27 portion is check to see if the prior price was at or below where it was 27-bars ago (C27 is 26-bars prior to C1).



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jmc7
Posted : Wednesday, August 29, 2012 3:28:42 PM
Registered User
Joined: 6/20/2012
Posts: 31

Got it.  What would formula be if I just wanted to show above/below instead of a crossing?

Bruce_L
Posted : Wednesday, August 29, 2012 3:37:19 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You just wouldn't check for the prior bar (you would skip the second half of the formulas). So the above would be:

C > C26

And the below would be:

C < C26



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jmc7
Posted : Wednesday, August 29, 2012 3:52:32 PM
Registered User
Joined: 6/20/2012
Posts: 31

perfect, thanks Bruce!

BullHorn
Posted : Friday, September 6, 2013 9:00:35 AM
Registered User
Joined: 10/7/2004
Posts: 35

So is it NOT possible to use the Lagging span either in a "Create Scan Condition" since there are NO Lagging Spans even notated in the "Create Scan Condition" menu?  seems like its incomplete.

Bruce_L
Posted : Friday, September 6, 2013 9:25:24 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

When you Create Scan Condition, it is creating conditions for the current bar only. Lagging Span does not have a value for the current bar. Its most recent value is plotted 26 bars ago.

The Lagging Span of 26 bars ago is just the current price. This means we can take the Indicator Formulas for all of the other Ichimoku Cloud indicators:

Conversion (Tenkan-Sen):

(MAXH9 + MINL9) / 2

Base Line (Kijun-Sen):

(MAXH26 + MINL26) / 2

Leading Span A (Senkou Span A):

(MAXH9.26 + MINL9.26 + MAXH26.26 + MINL26.26) / 4

Leading Span B (Senkou Span B):

(MAXH52.26 + MINL52.26) / 2

And add 26 to all of the bars ago parametrs to get the values of these indicators 26 bars ago:

Conversion (Tenkan-Sen):

(MAXH9.26 + MINL9.26) / 2

Base Line (Kijun-Sen):

(MAXH26.26 + MINL26.26) / 2

Leading Span A (Senkou Span A):

(MAXH9.52 + MINL9.52 + MAXH26.52 + MINL26.52) / 4

Leading Span B (Senkou Span B):

(MAXH52.52 + MINL52.52) / 2

If we use these Indicator Formulas as the Formulas in Custom PCF Indicators in the same pane and scale as Price History, we can then click on Price History and select Create Scan Condition to create conditions for Price History compared to these Custom PCF Indicators. This is the same as comparing Lagging Span to the values of the other Ichimoku Cloud indicators at the point where Lagging Span is most recently plotted.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
BullHorn
Posted : Tuesday, September 10, 2013 8:50:42 PM
Registered User
Joined: 10/7/2004
Posts: 35

AHA I knew you could do it.... Been watching your wonderousness for years... Thanx for the great explanation.... I Can Do This.. !

BullHorn
Posted : Wednesday, October 9, 2013 2:21:25 PM
Registered User
Joined: 10/7/2004
Posts: 35

ok

SO how do I access all scans using ALL of the ichimoku indicators?

It seems when I use one (ie. LagLine) it Doesnt show the Other indicators to "SHOW" themselves like in All the other scans... It only show the price history... as if price is the only indicator to scan ''with''...

So can I actually Scan for when Span A crosses up Span B    AND Vice Versa? 

or no?

thanx

Bruce_L
Posted : Wednesday, October 9, 2013 2:42:34 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You can create conditions using Create Scan Condition for all of the indicators in the Ichimoku Cloud besides Lagging Span by adding an Ichimoku Cloud indicator and clicking on it to select Create Scan Condition.

You do not need to add any Custom PCF Indicators to the chart to use Create Scan Condition if you are not making a condition involving Lagging Span.

To create conditions using Create Scan Condition that include Lagging Span, you would create Custom PCF Indicators in the same pane and scale as Price History for the Conversion, Base Line, Leading Span A and/or Leading Span B at the point where Lagging Span was most recently plotted (the formulas are given in my Friday, September 06, 2013 9:25:24 AM ET post).

Then you would click on Price History and select Create Scan Condition to compare it to the Custom PCF Indicator for the Ichimoku component of interest from 26 bars ago.

The reason this works is that the current value of Price History is the same as the Lagging Span value of 26 bars ago.

If the Custom PCF Indicator is not appearing on the list when you click on Price History and select Create Scan Condition, the most likely reason would be that you have not plotted the Custom PCF Indicator in the same pane and scale as Price History. If it is not in the same scale and pane, you cannot make the comparison using Create Scan Condition in TC2000 version 12.3.

Make sure you are choosing to plot the Custom PCF Indicator in the same scale as Price History when you add it to or overlay it with the Price History pane.

Adding and Moving Indicators



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.