<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.marketpawns.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Admin</id>
	<title>MarketPawns - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.marketpawns.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Admin"/>
	<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php/Special:Contributions/Admin"/>
	<updated>2026-05-01T16:29:41Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=Universal_Market_Geometry_(UMG)&amp;diff=220</id>
		<title>Universal Market Geometry (UMG)</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=Universal_Market_Geometry_(UMG)&amp;diff=220"/>
		<updated>2024-06-05T17:23:20Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;UMG&#039;&#039;&#039; is a versatile system of technical analysis. It&#039;s applicable to any market and any timeframe, capable of analyzing any liquid instruments where [[UMG models|UMG (technical analysis) models]] can be found.&lt;br /&gt;
&lt;br /&gt;
It is based on the basic ideas of [[Tactica Adversa methods|&#039;&#039;&#039;Tactica Adversa&#039;&#039;&#039;]] methods, retaining the approach of sequential selection of extremes on charts. These extremes are used to draw Trend Lines and Aim Lines, which form [[UMG models|UMG models]].&lt;br /&gt;
&lt;br /&gt;
Another axiom that UMG also inherited from its predecessor is that models related to different timeframes and financial instruments are equivalent in case their characteristics and interrelations with other models are equivalent.&lt;br /&gt;
&lt;br /&gt;
In contrast to [[Tactica Adversa methods|Tactica Adversa]], which largely relies on its own pretty axiomatic apparatus, the core principle in developing UMG rules is: &amp;quot;Every idea has the right to exist, but must be thoroughly examined multiple times.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:UMG Zen circle B.png|thumb|UMG logo consists of deep-blue Zen circle, white round of a spiral inside it, and golden universal Key.]]&lt;br /&gt;
&lt;br /&gt;
UMG is definitly a heart of the [https://marketpawns.com &#039;&#039;&#039;MP&#039;&#039;&#039;] project, thats why it has it&#039;s own logo. It consists of deep-blue Zen circle, white round of a spiral inside it, and golden universal Key.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
[[UMG General Concepts]]&lt;br /&gt;
&lt;br /&gt;
[[ALGORITHM I]]&lt;br /&gt;
&lt;br /&gt;
[[ALGORITHM II]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=Universal_Market_Geometry_(UMG)&amp;diff=219</id>
		<title>Universal Market Geometry (UMG)</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=Universal_Market_Geometry_(UMG)&amp;diff=219"/>
		<updated>2024-06-05T17:23:05Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;UMG&#039;&#039;&#039; is a versatile system of technical analysis. It&#039;s applicable to any market and any timeframe, capable of analyzing any liquid instruments where [[UMG models|UMG (technical analysis) models]] can be found.&lt;br /&gt;
&lt;br /&gt;
It is based on the basic ideas of [[Tactica Adversa methods|&#039;&#039;&#039;Tactica Adversa&#039;&#039;&#039;]] methods, retaining the approach of sequential selection of extremes on charts. These extremes are used to draw Trend Lines and Aim Lines, which form [[UMG models|UMG models]].&lt;br /&gt;
&lt;br /&gt;
Another axiom that UMG also inherited from its predecessor is that models related to different timeframes and financial instruments are equivalent in case their characteristics and interrelations with other models are equivalent.&lt;br /&gt;
&lt;br /&gt;
In contrast to [[Tactica Adversa methods|Tactica Adversa]], which largely relies on its own pretty axiomatic apparatus, the core principle in developing UMG rules is: &amp;quot;Every idea has the right to exist, but must be thoroughly examined multiple times.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:UMG Zen circle B.png|thumb|UMG logo consists of deep-blue Zen circle, white round of a spiral inside it, and golden universal Key.]]&lt;br /&gt;
&lt;br /&gt;
UMG is definitly a heart of the [https://marketpawns.com &#039;&#039;&#039;MP&#039;&#039;&#039;] project, thats why it has it&#039;s own logo. It consists of deep-blue Zen circle, white round of a spiral inside it, and golden universal Key.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
[[UMG General Concepts]]&lt;br /&gt;
&lt;br /&gt;
[[ALGORITHM I]]&lt;br /&gt;
&lt;br /&gt;
[[ALGORITHM II][http://wiki.marketpawns.com/index.php?title=ALGORITHM_II]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=Universal_Market_Geometry_(UMG)&amp;diff=218</id>
		<title>Universal Market Geometry (UMG)</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=Universal_Market_Geometry_(UMG)&amp;diff=218"/>
		<updated>2024-06-05T17:22:39Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;UMG&#039;&#039;&#039; is a versatile system of technical analysis. It&#039;s applicable to any market and any timeframe, capable of analyzing any liquid instruments where [[UMG models|UMG (technical analysis) models]] can be found.&lt;br /&gt;
&lt;br /&gt;
It is based on the basic ideas of [[Tactica Adversa methods|&#039;&#039;&#039;Tactica Adversa&#039;&#039;&#039;]] methods, retaining the approach of sequential selection of extremes on charts. These extremes are used to draw Trend Lines and Aim Lines, which form [[UMG models|UMG models]].&lt;br /&gt;
&lt;br /&gt;
Another axiom that UMG also inherited from its predecessor is that models related to different timeframes and financial instruments are equivalent in case their characteristics and interrelations with other models are equivalent.&lt;br /&gt;
&lt;br /&gt;
In contrast to [[Tactica Adversa methods|Tactica Adversa]], which largely relies on its own pretty axiomatic apparatus, the core principle in developing UMG rules is: &amp;quot;Every idea has the right to exist, but must be thoroughly examined multiple times.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:UMG Zen circle B.png|thumb|UMG logo consists of deep-blue Zen circle, white round of a spiral inside it, and golden universal Key.]]&lt;br /&gt;
&lt;br /&gt;
UMG is definitly a heart of the [https://marketpawns.com &#039;&#039;&#039;MP&#039;&#039;&#039;] project, thats why it has it&#039;s own logo. It consists of deep-blue Zen circle, white round of a spiral inside it, and golden universal Key.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
[[UMG General Concepts]]&lt;br /&gt;
&lt;br /&gt;
[[ALGORITHM I]]&lt;br /&gt;
&lt;br /&gt;
[[http://wiki.marketpawns.com/index.php?title=ALGORITHM_II]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=Main_Page&amp;diff=217</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=Main_Page&amp;diff=217"/>
		<updated>2024-01-25T18:20:49Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Welcome to MarketPawns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Welcome to MarketPawns==&lt;br /&gt;
[https://marketpawns.com &#039;&#039;&#039;MarketPawns&#039;&#039;&#039; (MP)] is a dynamic startup that has evolved from a simple technical analysis study into a comprehensive digital portal. Our platform is designed to facilitate interaction between analysts and traders through a variety of innovative tools. Here are some of them: &lt;br /&gt;
&lt;br /&gt;
*Automatic Chart Marking. At MarketPawns, we&#039;ve streamlined the process of identifying and marking potential trading opportunities discoverd with the help of &#039;&#039;&#039;[[Universal Market Geometry (UMG)|Universal Market Geometry (UMG)]]&#039;&#039;&#039;. Our automatic search and chart marking system uses [[UMG models]] to mark financial instruments, saving you time and effort.&lt;br /&gt;
*AI. We employ neural networks to estimate the probability of trading scenarios. Our free trading signals based on this technology provides you with tools for making informed trading decisions.&lt;br /&gt;
*Community. The Community Wall, accessible to registered users, cultivates a collaborative environment where users can exchange forecasts, discuss models, and vote on their effectiveness. &#039;&#039;&#039;[https://marketpawns.com MarketPawns]&#039;&#039;&#039; employ a ranking system, based on the ELO model, to acknowledge the most proficient analysts of the community.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
*[[Key ideas of MarketPawns|MarketPawns Key Ideas]]&lt;br /&gt;
*[[MarketPawns User Guide]]&lt;br /&gt;
*[[Universal Market Geometry (UMG)]]&lt;br /&gt;
*[[ELO rating]]&lt;br /&gt;
*[[UMG General Concepts]]&lt;br /&gt;
*[[ALGORITHM I]]&lt;br /&gt;
*[[ALGORITHM II]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=216</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=216"/>
		<updated>2024-01-04T21:14:40Z</updated>

		<summary type="html">&lt;p&gt;Admin: Adding Step 12&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or &lt;br /&gt;
:: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
::If:&lt;br /&gt;
::*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
::*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. ::If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b.&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1.&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1.&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B.&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2.&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2.&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B.&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2.&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1.&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2.&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3.&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2, a.k.a FB) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step V. Search for Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
Presupposition is an optional part of the EAM.&lt;br /&gt;
The program attempts to construct Presuppositions from all available candidates for t.2.&lt;br /&gt;
&lt;br /&gt;
==== Presupposition Search Algorithm ====&lt;br /&gt;
The program takes each potential t.2 of the EAM (as part of a potential FB) as a t.1 of Presupposition (hereinafter t.1p). In other words, the program tries to construct Presuppositions from each of the t.2.&lt;br /&gt;
&lt;br /&gt;
Initially, the most recent (rightmost) potential t.2 (or the one specified in the algorithm if we have returned to the beginning of the Step V in the cycle) in the EAM is taken as a potential t.1p. If there are no more unconfirmed t.1p, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; The program sequentially checks bars from left to right (into the future) from the potential t.1p to t.3 of EAM model (excluding t.3) for being an extreme according to the N1 rule as point 3 of the Presupposition (hereinafter t.3p).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;N1 rule for the Presupposition points&#039;&#039;&#039;&lt;br /&gt;
: If t.1p is low, t.3p must be below t.1p.&lt;br /&gt;
: If t.1p is high, t.3p must be above t.1p.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the potential t.3p is not found, the program considers the next (to the left of the previous) potential t.2 of the EAM (within the FB) as t.1p.&lt;br /&gt;
:: If the potential t.3p is not found, and there are no more potential FBs, the algorithm proceeds to Step 6.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; Once the potential t.3p is found, the program searches for point 2 of the Presupposition (hereinafter t.2p) as an extreme with the maximum/minimum price on the segment from t.1p to t.3p (hereinafter segment 1p-3p).&lt;br /&gt;
:: If a suitable extreme is not found, the algorithm looks for the next potential t.3p for the previously found t.1p.&lt;br /&gt;
:: If a maximum/minimum is found, it is checked for for being an extreme (as t.2p).&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; The bar is an absolute extreme. In this case, a potential t.2p is found, and the program proceeds to step 5.2.&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The bar is not an extreme. In this case, the program looks for another candidate for t.3p for the previously found t.1p following the instructions in 5.1.&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; The program constructs a line from t.1p to t.3p and checks it for price crossings on the segment from t.1p to t.3 of the EAM (including t.3 of EAM).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If this lines price crossings are found, the program looks for a new candidate for t.3p for the previously found t.1p following the instructions in sub-step 5.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If there are no price crossings, the program proceeds to sub-step 5.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.&#039;&#039;&#039; The program searches for a potential point 4 of the Presupposition (t.4p) according to the N1 rule on the segment from t.3p to t.3 in the VMP (including t.3).&lt;br /&gt;
&lt;br /&gt;
: If t.1p is low, t.4p must be below t.2p. Each subsequent candidate for t.4p must be below the previous candidate for t.4p.&lt;br /&gt;
: If t.1p is high, t.4p must be above t.2p. Each subsequent candidate for t.4p must be above the previous candidate for t.4p.&lt;br /&gt;
: Possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;5.3.A.&#039;&#039;&#039; If the potential t.4p coincides with t.3 in the EAM, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.B.&#039;&#039;&#039; If the potential t.4p does not coincide with t.3 in the EAM (i.e., it is located before it), the program looks for an opposite-direction potential t.4p extreme on the segment from the potential t.4p (excluding it) to the bar where the price again reached the value of the potential t.4p (excluding it).&lt;br /&gt;
&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.1.&#039;&#039;&#039; If the opposite-direction extreme is found, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.2.&#039;&#039;&#039; If the opposite-direction extreme is not found, the program looks for a new potential t.4p following the instructions in sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; If t.4p is found, the program constructs a line from t.2p to t.4p and checks it for price crossings on the segment from t.1p (excluding it) to t.3 in the VMP (including t.3).&lt;br /&gt;
::: If unnecessary intersections are found, the program looks for the next potential t.4p on the segment following the instructions in 5.3.&lt;br /&gt;
::: If no unnecessary intersections are found, the algorithm proceeds to sub-step 5.4.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; Check for Absolute Level&lt;br /&gt;
:: The program checks the bar of the potential t.3p for absoluteness. The level of t.3p should not be exceeded by the price on the segment between t.3p and potential t.4p (excluding it).&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the level of t.3p is exceeded, the potential t.3p is discarded, and the program looks for a new t.3p following the instructions in sub-step 5.1. and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the level of t.3p is not exceeded, t.3p is confirmed, t.4p is confirmed, and the algorithm proceeds to sub- step 5.4.&lt;br /&gt;
&lt;br /&gt;
====  Presupposition Verification ====&lt;br /&gt;
: &#039;&#039;&#039; 5.4.&#039;&#039;&#039; Presuppositions undergo the following checks:&lt;br /&gt;
:: &#039;&#039;&#039;A.&#039;&#039;&#039; - Bars t.1p, t.2p, t.3p must follow each other.&lt;br /&gt;
:: &#039;&#039;&#039;B.&#039;&#039;&#039; - The distance in levels between t.1 and t.2 (hereinafter rank 12) must be at least the value of the Minimum Distance between t.1 and t.2 Levels of the Presupposition, which is set in the Calculation Parameters, from the distance between t.4 and t.5 levels of the EAM model(this is rank 45).&lt;br /&gt;
&lt;br /&gt;
:: If all checks are successful, the Presupposition is found. If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
:: If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VI. Check for AL price crossings&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;6 alfa.&#039;&#039;&#039; ==== &lt;br /&gt;
First it is necessary to check for the presence of a fixed t.2.  If it exists, it means we are in a branch of searching for alternative models. &lt;br /&gt;
&lt;br /&gt;
The potential Aims Line (from t.2 to t.4), hereinafter referred to as AL, is calculated, and then:&lt;br /&gt;
: &#039;&#039;&#039;6 alfa.1.&#039;&#039;&#039; AL Crossing Check&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. A.&#039;&#039;&#039; - If there are no  AL price crossings, the algorithm proceeds to step 6 alfa.2.&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. B.&#039;&#039;&#039; - If AL is crossed, the next potential t.5 is determined according to Step 2, starting from bar t.5+2.&lt;br /&gt;
: &#039;&#039;&#039;6.2. alfa.&#039;&#039;&#039; Distance Check for AL and TL Intersection&lt;br /&gt;
: If:&lt;br /&gt;
:: - TL and AL of the model do not intersect on the right (in the future) or&lt;br /&gt;
:: - the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated point 6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 EAM,&amp;quot; then the search for alternative models is terminated. Otherwise, the program proceeds to Step 9. &lt;br /&gt;
&lt;br /&gt;
====&#039;&#039;&#039; In the general case (no precviously fixed t.2)&#039;&#039;&#039; ====&lt;br /&gt;
The program performs the following checks for each of the potential FBs:&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; AL Price Crossing Check (not just touching)&lt;br /&gt;
: If AL intersects with the price on the segment between t.2 and t.4, this pair of candidates for t.1 and t.2 (this FB) is rejected.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.A.&#039;&#039;&#039; If FBs are found that give AL without intersections, the algorithm proceeds to step 6.2.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.B.&#039;&#039;&#039; If there are no suitable FBs, the algorithm looks for a new t.5 according to Step 2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Checking for intersection of AL and TL (hereinafter referred to as calculated point 6) with each other on the right (in the future) along the time axis.&lt;br /&gt;
: If the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated t.6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 VMP,&amp;quot; then these candidates for t.1 and t.2 are rejected.&lt;br /&gt;
: The following scenarios are possible:&lt;br /&gt;
:: &#039;&#039;&#039;6.2.A.&#039;&#039;&#039; One or several potential FBs remain - in this case, the program proceeds to Step 7.&lt;br /&gt;
:: &#039;&#039;&#039;6.2.B.&#039;&#039;&#039; There are no potential FBs left - in this case, the program looks for a new potential t.5, starting from Step 2 and onwards.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VII. Dtermintaion of FB&#039;s with and without 2X5&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program checks for the intersection of the bodies of candles at t.2 and t.5 (hereinafter referred to as 2x5). If there is only one potential FB, determining FB with 2x5 is not required, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.1.&#039;&#039;&#039; If there are multiple potential BOs, some of which have 2x5 and some do not, those potential BOs that have 2x5 are filtered out, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.2.&#039;&#039;&#039; If all potential FBs have 2x5, then all are filtered out except the one whose t.2 level is closer to the t.3 level. The program proceeds to &lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VIII: Filtering Based on Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The algorithm checks whether Presuppositions have been found for the analyzed model.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.0.&#039;&#039;&#039; If no Presuppositions are found, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.1.&#039;&#039;&#039; The model has one or more Presuppositions. For each Presupposition program checks if the available candidates for t.2 belong to the interval between the last price level intersection of t.1p and t.1p itself (t.1p can also be used as t.2 EAM).&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;8.1.1.&#039;&#039;&#039; There are candidates for t.2 that belong to the interval between the last price level intersection of t.1p and t.1p itself. Such a Presupposition is retained.&lt;br /&gt;
::&#039;&#039;&#039;8.1.2.&#039;&#039;&#039; There are no candidates for t.2 within the specified interval. In this case, such a Presupposition is discarded and not further considered (meaning the model has no Presupposition).&lt;br /&gt;
:&#039;&#039;&#039;8.2.&#039;&#039;&#039; If after checking all Presuppositions according to sub-step 8.1., there are one or more Presuppositions with candidates in t.2 within the interval between the last price level intersection of t.1p and t.1p itself (inclusive), then:&lt;br /&gt;
&lt;br /&gt;
: - Among such Presuppositions, only the one with t.1p occurring later on the time axis is considered further;&lt;br /&gt;
: - Only those candidates that belong to the interval between the last price level intersection of t.1p and t.1p itself are retained as t.2 candidates for the remaining Presupposition.&lt;br /&gt;
::&#039;&#039;&#039;8.2.1.&#039;&#039;&#039; If only one potential FB remains, the model is confirmed.&lt;br /&gt;
::&#039;&#039;&#039;8.2.2.&#039;&#039;&#039; If more than one potential FB remains, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step IX. Search for Embedded Models in EAM&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.1.&#039;&#039;&#039; If EAM is constructed through t.3&#039;, then the interval from EAM&#039;s t.3 is checked for the presence of models according to Algorithm I, for which the following conditions are simultaneously satisfied. In the paragraph below, the numbers I and II in parentheses next to the model points denote the algorithm to which the model with this point belongs:&lt;br /&gt;
&lt;br /&gt;
: - If the model according to Algorithm I contains t.5, then its t.5 should precede or coincide with the t.5 of the analyzed EAM.&lt;br /&gt;
: - t.4 does not lie beyond t.4 of the analyzed EAM; (bar of t.4(I) cannot coincide with bar of t.3(II), but can coincide with bar of t.4(II);&lt;br /&gt;
: -t.1 lies before t.3&#039; of the analyzed model (if it coincides with bar of t.3&#039;, then it is not suitable anymore) (t.1(I) can coincide with t.3(II), but cannot coincide with t.3&#039;(II)&lt;br /&gt;
&lt;br /&gt;
If there are more than 5 models, those with the time distance from t.1 to t.4 greater than others are considered embedded models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.1.&#039;&#039;&#039; If models are not found, then EAM does not have an embedded primary model.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.2.&#039;&#039;&#039; If the model/s is/are found, EAM is given the status of &amp;quot;Models described near the Primary model.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.3.&#039;&#039;&#039; If EAM has one or more embedded models, models among them built from EAM&#039;s t.3 are searched for meeting one of the following criteria:&lt;br /&gt;
&lt;br /&gt;
::: A. Having a trendline breakthrough in the interval before t.3&#039; of the analyzed model;&lt;br /&gt;
::: B. Having an intersection of candle bodies at points 2 and 5 (hereinafter 2x5).&lt;br /&gt;
::: C. If the embedded model has a rank 45 greater than the ranks of 12 and 25 of the same model.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.1.&#039;&#039;&#039; In the presence of one of these criteria, the model is Specific based on the 1st criterion.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.2.&#039;&#039;&#039; In the absence of the specified criteria, the model is Normal based on the 1st criterion.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;9.1.4.&#039;&#039;&#039; If there is a model according to Algorithm I on the interval from t.3 to t.3&#039; of the EAM, aligned with the preceding EAM trend, and with points t.1-t.4 lying on the interval 3-3&#039; EAM (inclusive), then this EAM is Specific based on the 2nd criterion. &lt;br /&gt;
:: In the absence of the specified criteria, the model is Normal based on the 2nd criterion.&lt;br /&gt;
&lt;br /&gt;
: Upon completion of all checks in step 9.1., the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.2.&#039;&#039;&#039; If EAM is constructed through t.3, the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step X. Search for Preceding Models&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program identifies all possible models in accordance with Algorithm I, starting from the initial point of the preceding trend or starting from the presumed initial point of the preceding trend, see step 1.3.).&lt;br /&gt;
In these models, the actual t.6 is determined, and if there was no intersection of TL, the Presumed t.6 (P6supp) is used. The algorithm for finding the actual/presumed t.6 is described in the branch of Algorithm I, see substep 5.3.&lt;br /&gt;
&lt;br /&gt;
Models on the preceding trend, with TL coinciding with t.3 of the EAM, are (directly) preceding for the given TL.&lt;br /&gt;
&lt;br /&gt;
Models on the preceding trend, for which the following conditions are simultaneously satisfied:&lt;br /&gt;
: - actual/presumed t.6 precedes or equals t.3 of the EAM;&lt;br /&gt;
: - t.6 is aligned with t.4 of the EAM;&lt;br /&gt;
: - the level of t.6 lies between the levels of t.3 and t.4 of the EAM;&lt;br /&gt;
are considered preceding corrective for the given EAM.&lt;br /&gt;
&lt;br /&gt;
From models with the same t.4 and the same t.1, the model with the later t.1 is selected as the priority for choosing t.2.&lt;br /&gt;
&lt;br /&gt;
From the remaining models with the same t.4, only the very last model is considered as both preceding and preceding corrective (i.e., with a later t.5 or without t.5) – one of each type.&lt;br /&gt;
&lt;br /&gt;
If there are more than 10 preceding and preceding corrective models (rarely encountered), only the last ones are selected (the last ones are determined as those with t.4 lying later than others).&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step XI. Final Selection of t.2 - Checking the Convergence of LT and LC&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;11.0.&#039;&#039;&#039; If t.2 is known (for example, in the case algorythm is searching for an alternative model), proceed directly to sub-step 11.3.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;11.0.1.&#039;&#039;&#039; The program finds the closest (in terms of time from t.1 of these models to t.3 of EAM) linked model on the preceding trend (preceding or preceding corrective).&lt;br /&gt;
:::&#039;&#039;&#039;11.0.1.1.&#039;&#039;&#039; If&lt;br /&gt;
:::: - the closest preceding model is a model from the beginning of the trend, and&lt;br /&gt;
:::: - t.2 of the analyzed model is before or coincides with t.1 of the preceding model, then the considered t.2 is rejected, and this branch of the algorithm is terminated.&lt;br /&gt;
:::&#039;&#039;&#039;11.0.1.2.&#039;&#039;&#039; If&lt;br /&gt;
:::: - the closest preceding model is a trend model, and&lt;br /&gt;
:::: - t.2 of the analyzed model is before t.1 of the preceding model,&lt;br /&gt;
::: the considered t.2 is rejected, and this branch of the algorithm is terminated.&lt;br /&gt;
&lt;br /&gt;
If EAM contains a presupposition, the program proceeds to sub-item 11.2. If the model does not contain a presupposition, the program proceeds to sub-item 11.1.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;11.1.&#039;&#039;&#039; The program finds the closest (in terms of time from t.1 of these models to t.3 of EAM) linked model on the preceding trend (preceding or preceding corrective).&lt;br /&gt;
::&#039;&#039;&#039;11.1.0.&#039;&#039;&#039; If there are no preceding models, the program proceeds to sub-step 11.2.&lt;br /&gt;
::&#039;&#039;&#039;11.1.1.&#039;&#039;&#039; If the nearest found linked model (preceding or preceding corrective) is a model from the beginning of the trend (not a trend model), then all potential t.2 that coincide with the bar of t.1 of the found linked model or are located before t.1 of the found linked model are rejected. The program proceeds to sub-step 11.2.&lt;br /&gt;
::&#039;&#039;&#039;11.1.2.&#039;&#039;&#039; If the nearest found linked model (preceding or preceding corrective) is a trend model, then&lt;br /&gt;
:::&#039;&#039;&#039;11.1.2.1.&#039;&#039;&#039; In the presence of a preceding trend model, all t.2 that are located before t.1 of the preceding model are rejected. In other words, t.1 of the preceding can be t.2 of EAM, and the points located before t.1 of the preceding - cannot be t.2 of EAM. The program proceeds to sub-step 11.2.&lt;br /&gt;
:::&#039;&#039;&#039;11.1.2.2.&#039;&#039;&#039; In the presence of a preceding corrective trend model, the program looks for another linked model on the preceding trend of EAM (the next in terms of distance) and analyzes it as a reference for this item (11.1.). In other words, the program returns to the beginning of sub-step 11.1.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;11.2.1.&#039;&#039;&#039; For specific models, the program selects the most distant t.2 in terms of time from t.3.&lt;br /&gt;
::&#039;&#039;&#039;11.2.2.&#039;&#039;&#039; For simple models, the program selects t.2 that is as close as possible in time to t.3.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;11.3.&#039;&#039;&#039; The algorithm calculates the level of intersection of TL and AL of EAM (hereinafter – the calculated t.6). The position of t.5 in relation to the level of the calculated t.6 is checked. There are two possible scenarios:&lt;br /&gt;
::&#039;&#039;&#039;11.3.1.&#039;&#039;&#039; If the bar of t.5 does not penetrate the level of the calculated t.6, the program checks if t.5&#039;&#039; has been found (in sub-step 13). Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;11.3.1.1.&#039;&#039;&#039; If t.5&#039;&#039; has been found, then the program checks for the convergence of TL&#039;&#039; and AL. &lt;br /&gt;
::::&#039;&#039;&#039;11.3.1.1.А.&#039;&#039;&#039; If the lines converge, then the program checks for the extent of convergence of TL&#039;&#039; and AL. If the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated t.6&#039;&#039; is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 EAM&amp;quot;, then t.5&#039;&#039; is rejected.&lt;br /&gt;
::::&#039;&#039;&#039;11.3.1.1.Б.&#039;&#039;&#039; If TL&#039;&#039; and AL diverge, then t.5&#039;&#039; is rejected.&lt;br /&gt;
:::: In the end of sub-step 11.3.1.1. - the program records the model.&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;11.3.1.2.&#039;&#039;&#039; If t.5&#039;&#039; is absent, the program records the model.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;11.3.2.&#039;&#039;&#039; If the bar of t.5 penetrates the level of the calculated t.6, then this EAM cannot be built, and the program looks for a new t.5 by processing the bar following the bar of t.5 according to sub-step 2 and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step XII. Search for Alternative Models&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
A new model is sought, but the points t.3, t.2, and Presupposition (if any) are retained. This is the final step of Algorithm II.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_I&amp;diff=215</id>
		<title>ALGORITHM I</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_I&amp;diff=215"/>
		<updated>2024-01-04T20:59:18Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Step V. Model Fixation at the TL Breakthrough. Search for t.5. Search for t.6. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; &#039;&#039;&#039;The Orientaion rule (N1 requirement) for Algorithm I is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 1 is low, then the level of point 3 should be equal to or higher than point 1. &lt;br /&gt;
  If point 1 is high, then the level of point 3 should be equal to or lower than point 1.&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with [[UMG General Concepts]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Find Point 1. Search for a Confirming Extreme.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program searches for the first possible extreme that satisfies Single Bar Rule. This extreme is a candidate for point 1.&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; When a candidate for point 1 (hereinafter referred to as t.1 candifate) is found, all bars to the left (i.e., in the past) of the bar containing the t.1 candidate extreme are checked until one of the following events occurs:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The place of the last intersection of the price level of the  t.1 candidate is found &amp;lt;ref&amp;gt;High or low equal to high or low of t.1 is an intersection&amp;lt;/ref&amp;gt;. In this case, the program searches for an absolute extreme that confirms point 1 from the intersection of the price with the t.1 candidate level (inclusive) to the bar of t.1 candidate (exclusive). There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;1.2.1.1.&#039;&#039;&#039; If the extreme is not found, the program searches for a new candidate for point 1.&lt;br /&gt;
::: &#039;&#039;&#039;1.2.1.2.&#039;&#039;&#039; If the absolute extreme is found, it is the beginning of the preceding trend. The point 1 is confirmed. &lt;br /&gt;
::: The program checks for the absence of extremes equal to point 1 from the Beginning of the preceding trend. &lt;br /&gt;
:::: &#039;&#039;&#039;1.2.1.2.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 1 is discarded (the program continues to process other t.1 candidates).&lt;br /&gt;
:::: &#039;&#039;&#039;1.2.1.2.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to process the next bar after point 1 according to point 2 of the Algorithm.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program has reached the starting point of the chart (i.e., after the starting point of the chart, the levels of points 1 and 2 have never intersected). The program searches for a confirming extreme from right to left to the starting point of the chart. The options are similar to the sub-steps 1.2.1.1. and 1.2.1.2.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The program has checked 50 bars &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 1&amp;lt;/ref&amp;gt; preceding the bar of the potential point 1, and none of the above events have occurred. The program searches for a confirming extreme from right to left in the area of 50 bars before the potential point 1. The options are similar to the sub-steps 1.2.1.1. and 1.2.1.2.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Searching for Points 3 and 2.&#039;&#039;&#039;===&lt;br /&gt;
If the program returns to this step during the construction of an alternative model, this branch of the algorithm stops.&lt;br /&gt;
&lt;br /&gt;
The bar being analyzed after point 1 (or in cases of repeated application of the step specified in the algorithm) is checked for non-exceedance of the level of point 1.&lt;br /&gt;
: &#039;&#039;&#039;2.1.&#039;&#039;&#039; If the level of point 1 is exceeded, the program discards this point 1.&lt;br /&gt;
: &#039;&#039;&#039;2.2. Searching for Point 3.&#039;&#039;&#039; If the level of point 1 is not exceeded, the bar being analyzed is checked by rule N1 as an extreme.&lt;br /&gt;
:: &#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If this bar is not an extreme according to rule N1 (as a potential point 3)&amp;lt;ref&amp;gt; Here and further under the formulation (as a potential T.3) a reminder is implied that this extremum should be aligned with the potential T.1. (see the Rule of alternating extremes).&amp;lt;/ref&amp;gt;, the program checks the next bar in accordance with step 2.&lt;br /&gt;
:: &#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If this bar is an extreme according to rule N1 (as a potential point 3), then&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If this step (step 2) is applied again after confirmed candidates for point 3 have been found (i.e., such point 3, for which there is a point 2 between point 3 and point 1), but for one reason or another they were rejected, and the algorithm returned to the search for point 3, then the exceedance of the level of the previous candidate for point 3 by this extreme is checked.&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.1.A.&#039;&#039;&#039; If the check is not passed (i.e., if the level of the previous candidate for point 3 is not exceeded), then the program processes the next bar in accordance with this step (step 2) and further according to the algorithm.&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.1.B.&#039;&#039;&#039; If the check is passed, then the program proceeds to sub-step 2.2.2.2.&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.2. Searching for Point 2.&#039;&#039;&#039; The program searches for an absolute minimum (if point 1 and point 3 are high) or maximum (if point 1 and point 3 are low) in the range from point 1 to point 3 (hereinafter segment 1-3) as point 2 (hereinafter point 2). Then this bar is checked for &amp;quot;extremity&amp;quot; according to N1 rule. Two variants are possible &amp;lt;ref&amp;gt;As part of this particular check, it should be noted that bars T.1 and T.3 should not reach the level of T.2&amp;lt;/ref&amp;gt;:&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.2.A.&#039;&#039;&#039; If the bar is an extreme, then this is a potential point 2, and the potential point 3 becomes a confirmed point 3. In this case, the program proceeds to step 3.&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.2.B.&#039;&#039;&#039; The bar is not an extreme. In this case, the program begins to search for another candidate for point 3, for which it returns to the beginning of step 2.&lt;br /&gt;
&lt;br /&gt;
If the program has processed 50 bars &amp;lt;ref&amp;gt;The range of continuous search is t.3 in one iteration for all models except EAM&amp;lt;/ref&amp;gt; in a row in accordance with this step (step 2), and potential points 2 and 3 have not been found (i.e., the program has not yet moved to another step of the algorithm), then this potential point 1 is discarded.&lt;br /&gt;
&lt;br /&gt;
If there are 150 or more bars &amp;lt;ref&amp;gt;Maximum search range t3 for all models except EAM&amp;lt;/ref&amp;gt; between the potential point 1 and the bar being analyzed, and the program has not yet moved to another step of the algorithm, this potential point 1 is discarded.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step III. Building TL. Search for t.4&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;3.1. Checking for Fragmentation of the Base:&#039;&#039;&#039; After finding candidates for points 1, 2, and 3, a check is performed for the fragmentation of the Base. This means that there should be no extremes, co-directed with t.1, between the levels of t.1 and t.3 (Extremes that Fragment the Base, hereinafter referred to as EFB).&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;3.1.1:&#039;&#039;&#039; If such extremes are present, the program checks each EFB for the presence of a confirming counter-directed extreme on the section from the last intersection of the price level of the EFB to the EFB (analogous to the search for a confirming extreme of a potential t.1 in sub-step 1.2.1). If the EFB does not have a confirming extreme, then such an EFB is no longer considered (i.e., if there are no EFBs with confirming extremes, then the check is passed). If there is at least 1 EFB with a confirming extreme, then:&lt;br /&gt;
:: - The Base is fragmented;&lt;br /&gt;
:: - The confirmed t.3 becomes a cancelled t.3;&lt;br /&gt;
:: The program searches for a new t.3, for which it processes the next bar after the bar of the last cancelled t.3 according to step 2 of the algorithm.&lt;br /&gt;
:: &#039;&#039;&#039;3.1.2:&#039;&#039;&#039; If the check is successful and no EFBs are found (including if there are no confirmed EFBs), then the program proceeds to sub-step 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.2. Building and Checking TL on the 1-3 Section&#039;&#039;&#039;&lt;br /&gt;
: &#039;&#039;&#039;Determining the Section on Which t.3&#039; Can Be Found&#039;&#039;&#039;&lt;br /&gt;
: &#039;&#039;&#039;Searching for t.3&#039;.&#039;&#039;&#039;&lt;br /&gt;
:The parameters of the Trend Line passing through t.1 and t.3 (hereinafter TL) are calculated. TL is checked for breakthroughs on the 1-3 section.&lt;br /&gt;
:: &#039;&#039;&#039;3.2.1.&#039;&#039;&#039; TL is Broken&lt;br /&gt;
:: The bar of the confirmed t.3 is checked for breaking the level of t.2.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.1.1.&#039;&#039;&#039; If the level of t.2 is broken by the bar of the confirmed t.3, the confirmed t.3 becomes a cancelled t.3. The program searches for a new t.3. To do this, the bar that broke the level of t.2 is processed according to sub-step 3.4.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.1.2.&#039;&#039;&#039; If the level of t.2 is not broken by the bar of the confirmed t.3, then the next bar is processed according to sub-step 3.2.3.&lt;br /&gt;
:: &#039;&#039;&#039;3.2.2.&#039;&#039;&#039; TL is Not Broken - the bar following the bar of the confirmed t.3 is processed according to sub-step 3.3.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.2.3. Determining the Section on Which t.3&#039; Can Be Found&#039;&#039;&#039;&lt;br /&gt;
::The analyzed bar is checked for breaking the level of the confirmed t.3.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.3.1.&#039;&#039;&#039; If the level of the confirmed t.3 is broken, the confirmed t.3 becomes a cancelled t.3. The program searches for a new t.3. For this, the bar that broke the level of the confirmed t.3 is processed according to step 2 and further according to the algorithm.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.3.2.&#039;&#039;&#039; If the level of t.3 is not broken, the program checks the analyzed bar for breaking the level of t.2.&lt;br /&gt;
:::: &#039;&#039;&#039;3.2.3.2.1.&#039;&#039;&#039; If the level of t.2 is not broken, the program analyzes the next bar according to sub-step 3.2.3.&lt;br /&gt;
:::: &#039;&#039;&#039;3.2.3.2.2. Searching for t.3&#039;.&#039;&#039;&#039;&lt;br /&gt;
:::: If it breaks the level of t.2, then the program looks for such a point 3&#039; (hereinafter t.3&#039;) through which a line can be drawn from t.1 to t.3&#039;, which will not contain extra touches by the price on the section from the bar of t.1 to the bar following the bar of t.3&#039; (inclusive), and this line should not contain extra breakthroughs (not touches) by the price on the section to the bar that broke the level of t.2 (not inclusive).&lt;br /&gt;
::::: &#039;&#039;&#039;3.2.3.2.2.A.&#039;&#039;&#039; If t.3&#039; is found, then the TL is rebuilt through t.3&#039; (i.e., TL is now the line from t.1 to t.3&#039;), and the algorithm searches for a potential t.4, for which it processes the bar that broke the level of t.2 (but if the bar that broke the level of t.2 coincides with the bar of t.3&#039;, then the program immediately proceeds to process the next bar) according to sub-step 3.4.&lt;br /&gt;
::::: &#039;&#039;&#039;3.2.3.2.2.B.&#039;&#039;&#039; If the point t.3&#039; is not found, then the confirmed t.3 becomes a cancelled t.3. The program searches for a new t.3, for which it processes each previously unprocessed bar for the cancelled t.3 according to step 2 and further according to the algorithm. &lt;br /&gt;
&lt;br /&gt;
: If between t.1 and the analyzed bar there are 150 or more bars, and the program has not yet moved to another step of the algorithm, this potential t.1 is discarded.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.3. Checking TL on the Section After t.3.&#039;&#039;&#039;&lt;br /&gt;
: The analyzed bar is checked for overcoming TL.&lt;br /&gt;
:: &#039;&#039;&#039;3.3.1. TL is not overcome&#039;&#039;&#039; - the analyzed bar is processed according to sub-step 3.4.&lt;br /&gt;
:: &#039;&#039;&#039;3.3.2. TL is overcome.&#039;&#039;&#039; In this case, there are 2 options:&lt;br /&gt;
::: &#039;&#039;&#039;3.3.2.1.&#039;&#039;&#039; If between the analyzed bar (not inclusive) and the bar of t.3 (inclusive) the level of t.2 was not reached, the program performs a search for t.3&#039;, for which it moves to sub-step 3.2.3.&lt;br /&gt;
::: &#039;&#039;&#039;3.3.2.2.&#039;&#039;&#039; If between the analyzed bar (not inclusive) and the bar of t.3 (inclusive) the level of t.2 was reached, the program performs a search for a new candidate for t.3. For this, the analyzed bar is processed according to step 2 and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.4: Searching for Potential or Alternative t.4&#039;&#039;&#039;&lt;br /&gt;
: If the program is searching for t.4 and the analyzed bar is further from t.1 than 5 times the distance between t.1 and t.3, then this potential t.1 is discarded.&lt;br /&gt;
: If the program is searching for an alternative t.4 and the analyzed bar is further from t.1 than 10 times the number of bars between t.1 and t.3, then the search for an alternative t.4 is terminated.&lt;br /&gt;
: The analyzed bar is checked for being an extreme according to rule N1 (as a potential t.4).&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;Step 3.4.1: If the Bar is not an Extreme&#039;&#039;&#039;&lt;br /&gt;
:: The program checks the analyzed bar for breaking through (in this case, not touching) the TL.&lt;br /&gt;
::: &#039;&#039;&#039;Step 3.4.1.1:&#039;&#039;&#039; If the TL is not reached (not broken), then the program processes the next bar according to step 3.4.&lt;br /&gt;
::: &#039;&#039;&#039;Step 3.4.1.2:&#039;&#039;&#039; If the TL is broken, then the analyzed bar is processed similarly to step 3.3.2.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;Step 3.4.2: If the Bar is an Extreme&#039;&#039;&#039;&lt;br /&gt;
:: This is potentially t.4, proceed to step 3.5.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.5. Checking the Position of t.4&#039;&#039;&#039;&lt;br /&gt;
: The program checks the position of the potential t.4 relative to the extreme of t.2. There are 3 possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;3.5.1.&#039;&#039;&#039; The level of the potential t.4 is closer to the level of t.1 than the level of t.2. A candidate for t.4 for the Wedge model is found. In this case:&lt;br /&gt;
::: &#039;&#039;&#039;3.5.1.0.&#039;&#039;&#039; The bar of the potential t.4 is checked for the presence between it and the bar of t.3 of bars containing price values&lt;br /&gt;
:::: more distant from t.3 than the value of the potential t.4, or&lt;br /&gt;
:::: equal to t.4.&lt;br /&gt;
:::: This is a check for the potential absoluteness of the extreme of the potential t.4. Possible options are:&lt;br /&gt;
::::: &#039;&#039;&#039;3.5.1.0.1.&#039;&#039;&#039; The potential t.4 is not a potentially absolute extreme (there are bars more distant from t.3). In this case, the next bar is processed according to sub-step 3.4.&lt;br /&gt;
::::: &#039;&#039;&#039;3.5.1.0.2.&#039;&#039;&#039; The potential t.4 is a potentially absolute extreme. In this case checking if t.2-t.4 line (this is the Aims Line, hereinafter - AL) is crossed by the price in the section between t.2 and t.4 (hereinafter - section 2-4). There are 2 options – 3.5.1.1. and 3.5.1.2.&lt;br /&gt;
:::::: &#039;&#039;&#039;3.5.1.1.&#039;&#039;&#039; If AL is crossed, the program checks the analyzed bar for reaching the TL.&lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.1.1.&#039;&#039;&#039; If the TL is not reached - the next bar is processed according to sub-step 3.4.&lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.1.2.&#039;&#039;&#039; If the TL is reached, the program searches for a new candidate in t.3/t.3&#039;. To do this, the analyzed bar is processed according to sub-step 3.2.3 and further according to the algorithm.&lt;br /&gt;
:::::: &#039;&#039;&#039;3.5.1.2.&#039;&#039;&#039; If there is no linecrossing, the bar t.4 is checked for reaching the TL. The following options are possible:&lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.2.1.&#039;&#039;&#039; If the bar t.4 reached the TL, then the [Wedge Found] Wedge model is fixed, for which the level of intersection of the TL and the AL is calculated, after which the program searches for t.3’ with the same points 1,2,3, or searches for a new t.3. To do this, the program processes the analyzed bar (in this case, the bar t.4, while reaching the TL) starting from sub-step 3.2.3. Model&#039;s Type (parameter G1) = WEDGE . &lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.2.2.&#039;&#039;&#039; If the t.4 bar did not reach the TL, then the next bar after it (and when reapplying this step - the next bar after the previously analyzed bar) is analyzed for reaching the TL. At the same time, a check is made for not overcoming the distance equal to (t.1-t.3)*10. If the distance is overcome, then we return (go in a cycle) to the search for t.3. The following options are possible:&lt;br /&gt;
:::::::::: &#039;&#039;&#039;3.5.1.2.2.1.&#039;&#039;&#039; If the analyzed bar reached the TL, then the program acts in analogy with sub-step 3.5.1.2.1. (i.e., the [Wedge Found] Wedge model is fixed and in a new branch of the algorithm the program processes the analyzed bar (in this case, the bar that reached the TL) starting from sub-step 3.2.3.&lt;br /&gt;
:::::::::: &#039;&#039;&#039;3.5.1.2.2.2.&#039;&#039;&#039; If the TL is not reached, then the analyzed bar is checked for reaching the level of t.4. The following options are possible:&lt;br /&gt;
:::::::::::: &#039;&#039;&#039;3.5.1.2.2.2.A.&#039;&#039;&#039; If the level of t.4 is not reached, the program analyzes the next bar for reaching the TL, options are similar to sub-steps 3.5.1.2.2.1. and 3.5.1.2.2.2.&lt;br /&gt;
:::::::::::: &#039;&#039;&#039;3.5.1.2.2.2.B.&#039;&#039;&#039; If the level of t.4 is reached, then the program checks the analyzed bar according to sub-step 3.4.&lt;br /&gt;
:: &#039;&#039;&#039;3.5.2.&#039;&#039;&#039; The level of the potential t.4 is further from the level of t.1 than the level of the potential t.2 - transition to step 4.&lt;br /&gt;
:: &#039;&#039;&#039;3.5.3.&#039;&#039;&#039; The level of the potential t.4 is equal to the level of the potential t.2 - the program checks whether the bar of the considered candidate in t.4 has broken through (touched) the Trend Line (TL).&lt;br /&gt;
::: &#039;&#039;&#039;3.5.3.1. If not&#039;&#039;&#039; - the program searches for the next candidate for t.4. For this, the program processes the next bar according to sub-step 3.4.&lt;br /&gt;
::: &#039;&#039;&#039;3.5.3.2. If yes&#039;&#039;&#039; – the program searches for a new t.3, for which it analyzes the next bar according to step 2 and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV. Checking for Intersection of the Aim Line (AL) by Price on Section 2-4&#039;&#039;&#039;===&lt;br /&gt;
The program checks for intersections of the Aim Line by price on the section from t.2 to t.4 (hereafter - section 2-4).&lt;br /&gt;
: &#039;&#039;&#039;4.1.&#039;&#039;&#039; If the AL is intersected by price on section 2-4 the program checks the analyzed bar (which is also the bar of the potential t.4) for a breakout (in this case, not a touch) of the Trend Line (TL).&lt;br /&gt;
:: &#039;&#039;&#039;4.1.1.&#039;&#039;&#039; If the TL is not reached, the program processes the next bar according to step 3.4.&lt;br /&gt;
:: &#039;&#039;&#039;4.1.2.&#039;&#039;&#039; If the TL is broken,&lt;br /&gt;
::: - t.3 becomes the cancelled t.3;&lt;br /&gt;
::: - the program searches for a new candidate for t.3. To do this, the analyzed bar is processed according to step 2.&lt;br /&gt;
: &#039;&#039;&#039;4.2.&#039;&#039;&#039; If the AL is not intersected by price on section 2-4 the program proceeds to step 5.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step V. Model Fixation at the TL Breakthrough. Search for t.5. Search for t.6.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
The bar t.4 (or in repeated applications of the step, the analyzed bar specified in the algorithm) is checked for reaching TL. The following scenarios are possible:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; TL is reached (there is a touch of TL). In this case, the program checks whether the level of t.4 has been surpassed in the section from t.4 to the moment of reaching the price of TL (excluding the analyzed - i.e., the bar that broke through TL). This is possible with repeated applications of the step, i.e., when not t.4 will be analyzed, but one of the subsequent bars.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the level of t.4 is not surpassed, then the model is considered formed [The model is formed without 6];&lt;br /&gt;
:: Then the program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; If the level of t.4 is surpassed, the program looks for an absolute extreme in the section from t.4 (excluding) to the bar that reached the level of t.4 (inclusive), as point 5 (hereinafter - t.5).&lt;br /&gt;
:: When searching for a potential t.5, it is necessary to take into account the requirement: in a particular case, if the bar t.4 belongs to the extreme, co-directed with t.5, t.5 must break through the level of this extreme (i.e., the level of t.5 should be further from the level of t.4).&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; If the extreme is found - this is a potential t.5.&lt;br /&gt;
::: There are 2 scenarios:&lt;br /&gt;
:::: &#039;&#039;&#039;5.1.2.1.1.&#039;&#039;&#039; T.5 belongs to the bar, which broke through the level of t.4. The program checks whether the bar, which contains t.5 (and which broke through the level of t.4), is a bar that also contains and an absolute extreme in the section from this bar (inclusive) to the point of breaking through TL, (i.e., the current bar) (excluding). There are 2 scenarios:&lt;br /&gt;
::::: &#039;&#039;&#039;5.1.2.1.1.1.&#039;&#039;&#039; The bar t.5 contains an absolute extreme, co-directed with t.4. In this case, the absolute extreme, co-directed with t.4, is a new potential t.4. The program builds an AL through this t.4 and checks the AL for the absence of price intersections in the section 2-4.&lt;br /&gt;
::::: There are 2 scenarios:&lt;br /&gt;
::::::: &#039;&#039;&#039;5.1.2.1.1.1.A.&#039;&#039;&#039; On the section 2-4, the AL intersects with the price. In this case -t.3 becomes the canceled t.3; - the program is looking for a new t.3, for which it processes the bar that reached TL according to step 2 and further according to the algorithm.&lt;br /&gt;
::::::: &#039;&#039;&#039;5.1.2.1.1.1.B.&#039;&#039;&#039; On the section 2-4, the AL does not intersect with the price. The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;5.1.2.1.1.2.&#039;&#039;&#039; The bar t.5 does not contain an absolute extreme, co-directed with t.4. The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.1.2.1.2.&#039;&#039;&#039; T.5. belongs to the bar between the bar t.4 and the bar that broke through the level of t.4. The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The extreme is not found, the program is looking for the next candidate for t.4. To do this, the program processes the bar that has surpassed the level of the potential t.4 according to step 3.4.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; TL is not reached. If the analyzed bar contains a potential t.4, the program checks the next bar according to step 5. If the analyzed bar does not contain a potential t.4, then it is subjected to simultaneous verification:&lt;br /&gt;
&lt;br /&gt;
: for extremity according to rule N1 (as t.5);&lt;br /&gt;
: for the presence between the analyzed bar and the bar of the potential t.4 of bars containing price values, more distant from the potential t.4, than the most distant from t.4 value of the analyzed bar, as well as&lt;br /&gt;
:-the presence between the analyzed bar and the bar t.4 of price values equal to the most distant value of the price of the analyzed bar (this is a check for the potential absoluteness of the extreme of the potential t.5).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If the bar is an extreme and it is potentially absolute, then this bar is a potential t.5. The program checks this bar for reaching the level of t.4. There are 2 scenarios:&lt;br /&gt;
::: &#039;&#039;&#039;5.2.1.1.&#039;&#039;&#039; If the level of t.4 is reached (confirmed by the bar of the potential t.5)&lt;br /&gt;
::: The program checks whether the bar, which contains t.5 (and which broke through the level of t.4), also contains an extreme, co-directed with the bar t.4:&lt;br /&gt;
::: There are 2 scenarios:&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.1.1.1.&#039;&#039;&#039; The bar t.5 contains an extreme, co-directed with t.4. In this case, the absolute extreme, co-directed with t.4, is a new potential t.4. The program rebuilds the AL through it and checks this LC for the presence of intersections in the section t.2-t.4. There are 2 scenarios:&lt;br /&gt;
::::: &#039;&#039;&#039;5.2.1.1.1.A&#039;&#039;&#039; On the section 2-4, the AL intersects with the price. the program processes the next bar according to steps 3.4.&lt;br /&gt;
::::: &#039;&#039;&#039;5.2.1.1.1.B&#039;&#039;&#039; On the section 2-4, the AL does not intersect with the price. The program checks the next bar according to step 5.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.1.1.2.&#039;&#039;&#039; The bar t.5 does not contain an extreme, co-directed with t.4. In this case, the confirmation of the bar t.4 by the bar t.5 occurs. &lt;br /&gt;
:::: The program proceeds to step 6. (there was an idea to redo to step 5.3.)&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.2.1.2.&#039;&#039;&#039; If the level of t.4 is not reached. The program proceeds to step 6 (there was an idea to redo to step 5.3.) At the same time, the program checks the next bar in accordance with this item (i.e., according to step 5), to find another model with the same t.1, t.2, t.3, t.4, but another t.5.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If the bar is not an extreme, or is not potentially absolute, then the program checks it for reaching the level of the potential t.4.&lt;br /&gt;
::: &#039;&#039;&#039;5.2.2.1.&#039;&#039;&#039; If the bar reaches the level of t.4, then the program looks for an absolute extreme between t.4 and the point of confirmation t.4 (i.e., repeated after t.4 reaching the level of t.4) as t.5. There are 2 scenarios:&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.2.1.1.&#039;&#039;&#039; If t.5 is present, the program proceeds to step 6 (there was an idea to redo to step 5.3.)&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.2.1.2.&#039;&#039;&#039; If t.5 is absent, the program proceeds to search for a new t.4, for which it processes the bar that reached the level of t.4 starting from step 3.4.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.2.2.2.&#039;&#039;&#039; If the bar does not reach the level of the potential t.4, then the program processes the next bar from the beginning of this step (i.e., according to step 5).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5.3.&#039;&#039;&#039; Algorithm for determining the presumed real p.6:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; Apply Algorithm I to the models, excluding AM.&lt;br /&gt;
: Identify the price value that is farthest from the t.1 level, which is the level the price reached from t.3 to the first time the price touches the TL (referred to as the touch of TL). The touch of ЛТ occurs after t.4, indicating the moment when the model is formed.&lt;br /&gt;
:The extremum identified in step 2 is considered the real t.6.&lt;br /&gt;
&lt;br /&gt;
:The technical parameters P6 and P6t are finalized at the moment the model is fully formed, which is when the price touches TL after t.4.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; If the price has not touched ЛТ after t.4 of the analyzed model at the moment of determining the presumed real p.6, the program will check if the number of bars formed after t.4 is more than 300.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the number of bars formed after t.4 exceeds 300, the presumed real p.6 for this model will not be determined.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the number of bars formed after t.4 does not exceed 300, several scenarios are possible.&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.1.&#039;&#039;&#039; One scenario is if the price has surpassed the t.4 level (meaning both t.4 and t.5 are confirmed). In this case, the program calculates the distance between the t.1 and t.4 levels.&lt;br /&gt;
:::: This distance is then marked off from t.4 towards the t.6 level, either upwards for an ascending model or downwards for a descending model.&lt;br /&gt;
:::: The program then checks if the price has surpassed this level in the section after t.4 of the analyzed model.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.2.&#039;&#039;&#039; If the price has reached t.4 level, the report does not provide information on the presumed real p.6. &lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.3.&#039;&#039;&#039; In the given scenario, the program checks if the price has surpassed a the t.4 level. If it hasn&#039;t, the program then identifies the price value that is farthest from the level reached after a specific time point (t.4). This extreme value is considered as the presumed real p.6. &lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the price has not surpassed the level of t.4 (meaning t.4 and t.5 are not confirmed), the potential t.4 is considered as the presumed real p.6. &lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.3.3.&#039;&#039;&#039; For AM the process is similar, but with one key difference. The TL is not used when determining the real or presumed p.6. Instead, the level of t.3 of the model under consideration is used to determine the real or presumed p.6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.4.&#039;&#039;&#039; Algorithm for Determining Whether the Model is from the Start of the Trend Model or Along the Trend (Trend-Following) Model&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.4.1.&#039;&#039;&#039; For main models except for EAM &lt;br /&gt;
:: The program sequentially checks bars from right to left (i.e., into the past) from the bar containing the extreme candidate at t.2 until it finds a price intersection of t.2 level .&lt;br /&gt;
&lt;br /&gt;
::* If the program has checked 50 bars up to t.1 of the model and such an intersection is not found, the model is considered a trend-following model.&lt;br /&gt;
::* If the intersection lies to the left of the (presumed) starting point of the preceding trend (related to this model), the report displays:  &lt;br /&gt;
:: G3: HTModel&lt;br /&gt;
:: * If the intersection lies to the right of the (presumed) starting point of the preceding trend, the model is considered a model from the start of the trend, the report displays: &lt;br /&gt;
:: G3: BTModel&lt;br /&gt;
:: * If the program has checked less than 50 bars up to t.1 of the model and reached the initial bar of the chart, and the sought-after intersection is not found, the model is considered a trend-following model, the report displays:  &lt;br /&gt;
:: G3: NoData&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.4.2.&#039;&#039;&#039; For EAM, the same applies, but the program looks for an intersection at the level of t.4 instead of an intersection at the level of t.2.&lt;br /&gt;
&lt;br /&gt;
:The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step VI. Search for Tangents and Construction of the Auxiliary Attraction Model&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; Search for t.2’&lt;br /&gt;
&lt;br /&gt;
: The program conducts a search for t.2’ (tangent, i.e., the rule N1 is removed for it), which will yield the LC, without any intersections with the price in the section between T.1 and T.2. Bars are checked from right to left starting from the bar t.2 to the bar t.1 inclusive (further – section 1-2). Point 2’ (further – t.2’) can coincide with t.2, if the LC through t.2 does not have extra price intersections on 1-2, however t.2’ cannot belong to the bar t.1.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6.1.1.&#039;&#039;&#039; If t.2’ is found &lt;br /&gt;
&lt;br /&gt;
:: If t.2’ is found (including if t.2’ coincides with t.2), then the program calculates the Line of goals by the tangent from t.2’ to t.4 (further -AL’). It is then checked whether the considered model has the status [The model is formed without point 6].&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.1.1.1.&#039;&#039;&#039; The model has the status [The model is formed without point 6] &lt;br /&gt;
&lt;br /&gt;
::: If the model has the status [The model is formed without point 6], the program proceeds to step 7.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.1.1.2.&#039;&#039;&#039; The model does not have the status [The model is formed without point 6] &lt;br /&gt;
&lt;br /&gt;
::: If the model does not have the status [The model is formed without point 6], the program proceeds to sub-step 6.2.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.1.2.&#039;&#039;&#039; If T.2’ is not found &lt;br /&gt;
&lt;br /&gt;
::: If t.2’ is not found (i.e., it is impossible to build such a line through points t.2’ and t.4, which will not contain extra points on section 1-2), then this is a model without an Auxiliary AM. Theprogram proceeds to step 7.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Search for t.3’ of the Auxiliary AM &lt;br /&gt;
&lt;br /&gt;
:: The program constructs a line from t.3 (or t.3’ if it exists) to t.5 (Trend Line of the Auxiliary Attraction Model, further - TLam) and checks it for the presence of price intersections in the section between t.3 and t.5.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.2.1.&#039;&#039;&#039; Intersections are found &lt;br /&gt;
&lt;br /&gt;
::: If intersections are found, the line t.3/t.3’-t.5 in this case is not displayed on the chart. The program searches for such point 3’ of the Auxiliary Attraction Model (further t.3’am), through which it is possible to construct a line, which will not have price intersections on the section from t.3/t.3’ to t.5.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;6.2.1.1.&#039;&#039;&#039; If t.3’am is found&lt;br /&gt;
&lt;br /&gt;
:::: If t.3’am is found, then the program constructs the Line of trend of the auxiliary model of attraction by the tangent from t.3’am to t.5 (further – TLam’) and calculates the level of intersection of AL’ and TLmp’ (further – calculated t.6). There are 2 options:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;6.2.1.1.1.&#039;&#039;&#039; If the calculated t.6 is found&lt;br /&gt;
&lt;br /&gt;
:::: If the calculated t.6 is found, then a check is carried out for the minimum ratio of the time segment t.2-t.4 to the segment t.4-t.6 for the Auxiliary AM (should be within 0.5). If the check is not passed, then the model does not have an auxiliary MP (in this case LTmp is not displayed on the chart), the algorithm proceeds to sub-step 6.3. If the check is passed, the program checks whether the bar t.5 breaks through the level of the calculated p.6.&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;6.2.1.1.1.A.&#039;&#039;&#039; If the bar t.5 does not break through the level of the calculated p.6 &lt;br /&gt;
&lt;br /&gt;
::::: If the t.5  bar does not break through the level of the calculated p.6, then the program proceeds to sub-step 6.3. In the report is displayed: AUX AM&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;6.2.1.1.1.B.&#039;&#039;&#039; If the t.5 bar breaks through the level of the calculated p.6&lt;br /&gt;
&lt;br /&gt;
::::: If the t.5 bar breaks through the level of the calculated p.6, then this AM cannot be built and the program is looking for a new t.4. for this the next bar is checked according to sub-step 3.4., or in case if the model has a mark draw_flag this branch of the algorithm stops.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;6.2.1.1.2.&#039;&#039;&#039; The calculated point 6-th is not found&lt;br /&gt;
&lt;br /&gt;
:::: The calculated 6-th is not found (i.e., the lines do not intersect). In this case TLam is not displayed on the chart. In the report is displayed: AUX NoAM The program proceeds to sub-step 6.3.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.2.1.2.&#039;&#039;&#039; If t.3’am is not found&lt;br /&gt;
&lt;br /&gt;
::: If t.3’am is not found, then in the report is displayed: AUX NoAM The program proceeds to step 7.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6.2.2.&#039;&#039;&#039; Intersections are not found &lt;br /&gt;
&lt;br /&gt;
:: Intersections are not found. In this case, the program calculates the level of intersection of TLam and AL’ (this is the level of the calculated p.6). There are 2 options according to sub-steps 6.2.1.1.1. and 6.2.1.1.2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.3.&#039;&#039;&#039; Construction of the Auxiliary AM through t.5&lt;br /&gt;
&lt;br /&gt;
: The program checks for the presence of t.5’ (the first possible local extremum in time on the section T.4-T.5). If T.5’ is found, in the report is displayed: AimsBlock5’ 5&#039; If t.5’ is not, then in the report is displayed: AimsBlock5’ No5&#039;&lt;br /&gt;
&lt;br /&gt;
: If t.5&#039; is present, the program will follow a similar process as sub-step 6.2 to construct the Trend Line for the Auxiliary Attraction Model. However, this time it will start from t.5&#039; and, if necessary, use another suitable t.3&#039; (referred to as t.3&#039;am5&#039;). If the program successfully constructs a Auxiliary AM through t.5&#039; (indicating convergence of the lines), the model will be labeled as [The AM is built through t.5&#039;] in the report. &lt;br /&gt;
: The report will display: &lt;br /&gt;
: AUX5’: AUX5’&lt;br /&gt;
: Alternatively, if the MP is not built through t.5&#039;, the program will display: &lt;br /&gt;
: AUX5’: NoAUX5’ &lt;br /&gt;
: After this, the program will proceed to step.7.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step VII. Determination of SP and Model Type.&#039;&#039;&#039;===&lt;br /&gt;
The program recalls whether the model was built through t.2 or through t.2’&lt;br /&gt;
: &#039;&#039;&#039;7.1.&#039;&#039;&#039; In case if AL is built through t.2 does not have intersection with the price on the section t.1-t.2, or if there is ALam, built through t.2’. Here and further it is assumed that if the line, built through t.2 to t.4 does not have intersections with the price on the section t.1-t.2, then it is considered that t.2’=t.2 and AL’=AL.&lt;br /&gt;
&lt;br /&gt;
: The type of the model is determined by the position of the intersection point of TL and AL’ (this is the line built from t.2’ to t.4) in relation to t.4:&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.1.1.&#039;&#039;&#039; The intersection point of TL and AL’ lies to the right of t.4. In this case the intersection point of the lines is the calculated point 6 (further - calculated t.6).), then the program calculates the ratio of time segments from t.1 to t.4 and from t.4 to calculated point 6 for AM.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.1.1.&#039;&#039;&#039; If the section from t.1 to t.4, multiplied by 3 is greater than the section from t.4 to the calculated point 6 for CMP, this model&#039;s  type is  AM.&lt;br /&gt;
::: G1: AM&lt;br /&gt;
&lt;br /&gt;
::: If the model under consideration is AM and at the same time it is formed (i.e. after t.4 the TL is broken through), the program checks each bar after the t.4 bar, until one of the following events:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.1.1.1.1.&#039;&#039;&#039; A bar is found that has reached the level of t.3 (but has not reached the level of t.4). In this case, this branch of the algorithm is completed.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.1.1.1.2.&#039;&#039;&#039; A bar is found that has reached the level of t.4 (while either not reaching or reaching the level of t.3).&lt;br /&gt;
&lt;br /&gt;
:::: -in case of the presence of the draw_flag label – this branch stops;&lt;br /&gt;
:::: -in another case, the program checks for the presence on the section from t.4 (not including) to the bar, which reached the level of t.4 (inclusive) of the extremum, opposite to the extremum t.4 (i.e. co-directed with the extremum t.1 of the analyzed model. There are 2 options:&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;7.1.1.1.2.A.&#039;&#039;&#039; The extremum is found. In this case, the algorithm proceeds to step 8.&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;7.1.1.1.2.B.&#039;&#039;&#039; The extremum is not found. In this case the status of the formed model is canceled (the model is discarded);&lt;br /&gt;
::::: -t.3 becomes the canceled t.3;&lt;br /&gt;
::::: -the program searches for the next candidate for t.3. For this, the program processes the bar that broke through the TL according to step 2.&lt;br /&gt;
:::  &#039;&#039;&#039;7.1.1.2.&#039;&#039;&#039; If&lt;br /&gt;
::: -the section from t.1 to t.4, multiplied by 3 is less than or equal to the section from t.4 to the calculated t.6 (for converging lines) and at the same time&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is greater than the section t.4-t.6, this model is AM/DBM&lt;br /&gt;
::: G1: AM/DBM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.1.3.&#039;&#039;&#039; The section from t.1 to t.4 multiplied by 12 is less than or equal to the section from SP to t.1 (for TL and AL converging to the left), then this model is DBM. &lt;br /&gt;
::: G1: DBM&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.1.2.&#039;&#039;&#039; The intersection point of TL and AL’ (AL’ – this is the line from t.2’ – t.4) lies to the left of t.4 —this point is qualified as the Sacral Point (further – SP).&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.2.1.&#039;&#039;&#039; If&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 3 is less than or equal to the section from SP to t.1, and at the same time;&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is greater than the section from SP to t.1 then this is EM/DBM &lt;br /&gt;
::: G1: EM/DBM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.2.2.&#039;&#039;&#039; If the section from t.1 to t.4 multiplied by 3 is greater than the section from SP to t.1, this is eng. - EM.&lt;br /&gt;
::: G1: EM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.2.3.&#039;&#039;&#039; If&lt;br /&gt;
::: -TL and AL of the model are parallel, or&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is less than or equal to the section t.4-t.6 (for TL and AL converging to the right);&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is less than or equal to the section from SP to t.1 (for TL and AL converging to the left), then this model is eng. - DBM &lt;br /&gt;
::: G1: DBM&lt;br /&gt;
&lt;br /&gt;
::: The program proceeds to step 8.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;7.2.&#039;&#039;&#039; If for this model it was impossible to construct AL (AL’) in such a way that there were no extra intersections on the section t.1 (inclusive) - t.2, then the program checks where TL and AL from t.2 intersect.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.2.1.&#039;&#039;&#039; If the lines intersect to the right (i.e. after t.4), then&lt;br /&gt;
::: &#039;&#039;&#039;7.2.1.1.&#039;&#039;&#039; if the section from t.1 to t.4, multiplied by 3 is greater than the section from t.4 to the calculated t.6 (for converging lines), then this model is incorrect.&lt;br /&gt;
::: There are one of 2 options:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.1.1.1&#039;&#039;&#039; If the TL of the incorrect AM is broken through by the t.4 bar or the bar immediately following t.4, then&lt;br /&gt;
&lt;br /&gt;
:::: -in case of the presence of the draw_flag label – this branch stops;&lt;br /&gt;
:::: -in another case t.3 becomes the canceled t.3 and the program searches for a new t.3, for this it processes the bar that broke through the TL AM according to step 2.&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.1.1.2.&#039;&#039;&#039; If the TL of the incorrect CMP is not broken through by the t.4 bar or the bar immediately following it, then the program searches for a new t.4, for this the next bar is checked according to sub-step 3.4.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.1.2.&#039;&#039;&#039; -the section from t.1 to t.4, multiplied by 12 is greater than the section from t.4 to the calculated t.6, then this model is AM/DBM .&lt;br /&gt;
::: G1: AM/DBM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.1.3.&#039;&#039;&#039; the section from t.1 to t.4 multiplied by 12 is less than or equal to the section from t.4 to t.6 then this model is DBM .&lt;br /&gt;
::: G1: DBM&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.2.2.&#039;&#039;&#039; If TL and AL intersect to the left (i.e. in the past) relative to t.4, the program performs an indirect check for the Strength of the trend. For this, a pseudo SP is used – this is the intersection point of AL (built through t.2) and TL in case it is impossible to build AL through t.2 so that there are no extra points on it. The following options are possible:&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.2.1.&#039;&#039;&#039; If the pseudo SP lies to the right (i.e. later) of t.1 to t.3 (or t.3’, if the model is built on it), then the type of this model is determined as EM, moreover, the model is strong by pseudo SP.&lt;br /&gt;
&lt;br /&gt;
::: G1: EM&lt;br /&gt;
&lt;br /&gt;
::: SP: strongpseudoSP&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.2.2.&#039;&#039;&#039; Otherwise&lt;br /&gt;
::: If the lines intersect to the left of t.1 (i.e. earlier), the following options are possible:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.2.2.1.&#039;&#039;&#039; If the section from t.1 to t.3 (3’) is greater than the section from the intersection of TL and AL to t.1, the model is assigned the type EM, while the Strength of the model is not determined.&lt;br /&gt;
:::: G1: EM&lt;br /&gt;
&lt;br /&gt;
:::: SP: undef&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.2.2.2.&#039;&#039;&#039; If&lt;br /&gt;
:::: -the section from T.1 to t.3(3’) is less than or equal to the section from the intersection of TL and AL to t.1 and up to&lt;br /&gt;
:::: -the section from T.1 to t.3(3’) multiplied by 3 is greater than the section from the intersection of TL and AL to t.1, the model is assigned the type is EM. At the same time, the model is weak.&lt;br /&gt;
&lt;br /&gt;
:::: G1: EM&lt;br /&gt;
&lt;br /&gt;
:::: SP: weakpseudoST&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.2.2.3.&#039;&#039;&#039; If the section from t.1 to t.3(3’) multiplied by 3 is less than the section from the intersection of TL and AL to t.1, then the model type is EM/DBM.&lt;br /&gt;
:::: G1: EM/DBM&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;7.3.&#039;&#039;&#039; Also, occasionally there are cases when the model for some reason does not fall under any of the above options. Then the model type is not determined.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VIII: Search for Alternative Models. Launching a New Branch from the Previous t.1 but with a Different t.3 &#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
The program initiates a search for the subsequent model with the same t.1, but a new t.3. The bar following t.3/t.3’, according to step 2, is analyzed for this purpose. Concurrently, the program initiates a search for an alternative model in relation to the one already found. For this, it analyzes the bar that has broken through the level of t.4 as a potential t.4, according to step 3.4, and continues further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_I&amp;diff=214</id>
		<title>ALGORITHM I</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_I&amp;diff=214"/>
		<updated>2024-01-04T20:57:27Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Step V. Model Fixation at the TL Breakthrough. Search for t.5. Search for t.6. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; &#039;&#039;&#039;The Orientaion rule (N1 requirement) for Algorithm I is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 1 is low, then the level of point 3 should be equal to or higher than point 1. &lt;br /&gt;
  If point 1 is high, then the level of point 3 should be equal to or lower than point 1.&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with [[UMG General Concepts]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Find Point 1. Search for a Confirming Extreme.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program searches for the first possible extreme that satisfies Single Bar Rule. This extreme is a candidate for point 1.&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; When a candidate for point 1 (hereinafter referred to as t.1 candifate) is found, all bars to the left (i.e., in the past) of the bar containing the t.1 candidate extreme are checked until one of the following events occurs:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The place of the last intersection of the price level of the  t.1 candidate is found &amp;lt;ref&amp;gt;High or low equal to high or low of t.1 is an intersection&amp;lt;/ref&amp;gt;. In this case, the program searches for an absolute extreme that confirms point 1 from the intersection of the price with the t.1 candidate level (inclusive) to the bar of t.1 candidate (exclusive). There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;1.2.1.1.&#039;&#039;&#039; If the extreme is not found, the program searches for a new candidate for point 1.&lt;br /&gt;
::: &#039;&#039;&#039;1.2.1.2.&#039;&#039;&#039; If the absolute extreme is found, it is the beginning of the preceding trend. The point 1 is confirmed. &lt;br /&gt;
::: The program checks for the absence of extremes equal to point 1 from the Beginning of the preceding trend. &lt;br /&gt;
:::: &#039;&#039;&#039;1.2.1.2.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 1 is discarded (the program continues to process other t.1 candidates).&lt;br /&gt;
:::: &#039;&#039;&#039;1.2.1.2.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to process the next bar after point 1 according to point 2 of the Algorithm.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program has reached the starting point of the chart (i.e., after the starting point of the chart, the levels of points 1 and 2 have never intersected). The program searches for a confirming extreme from right to left to the starting point of the chart. The options are similar to the sub-steps 1.2.1.1. and 1.2.1.2.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The program has checked 50 bars &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 1&amp;lt;/ref&amp;gt; preceding the bar of the potential point 1, and none of the above events have occurred. The program searches for a confirming extreme from right to left in the area of 50 bars before the potential point 1. The options are similar to the sub-steps 1.2.1.1. and 1.2.1.2.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Searching for Points 3 and 2.&#039;&#039;&#039;===&lt;br /&gt;
If the program returns to this step during the construction of an alternative model, this branch of the algorithm stops.&lt;br /&gt;
&lt;br /&gt;
The bar being analyzed after point 1 (or in cases of repeated application of the step specified in the algorithm) is checked for non-exceedance of the level of point 1.&lt;br /&gt;
: &#039;&#039;&#039;2.1.&#039;&#039;&#039; If the level of point 1 is exceeded, the program discards this point 1.&lt;br /&gt;
: &#039;&#039;&#039;2.2. Searching for Point 3.&#039;&#039;&#039; If the level of point 1 is not exceeded, the bar being analyzed is checked by rule N1 as an extreme.&lt;br /&gt;
:: &#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If this bar is not an extreme according to rule N1 (as a potential point 3)&amp;lt;ref&amp;gt; Here and further under the formulation (as a potential T.3) a reminder is implied that this extremum should be aligned with the potential T.1. (see the Rule of alternating extremes).&amp;lt;/ref&amp;gt;, the program checks the next bar in accordance with step 2.&lt;br /&gt;
:: &#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If this bar is an extreme according to rule N1 (as a potential point 3), then&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If this step (step 2) is applied again after confirmed candidates for point 3 have been found (i.e., such point 3, for which there is a point 2 between point 3 and point 1), but for one reason or another they were rejected, and the algorithm returned to the search for point 3, then the exceedance of the level of the previous candidate for point 3 by this extreme is checked.&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.1.A.&#039;&#039;&#039; If the check is not passed (i.e., if the level of the previous candidate for point 3 is not exceeded), then the program processes the next bar in accordance with this step (step 2) and further according to the algorithm.&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.1.B.&#039;&#039;&#039; If the check is passed, then the program proceeds to sub-step 2.2.2.2.&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.2. Searching for Point 2.&#039;&#039;&#039; The program searches for an absolute minimum (if point 1 and point 3 are high) or maximum (if point 1 and point 3 are low) in the range from point 1 to point 3 (hereinafter segment 1-3) as point 2 (hereinafter point 2). Then this bar is checked for &amp;quot;extremity&amp;quot; according to N1 rule. Two variants are possible &amp;lt;ref&amp;gt;As part of this particular check, it should be noted that bars T.1 and T.3 should not reach the level of T.2&amp;lt;/ref&amp;gt;:&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.2.A.&#039;&#039;&#039; If the bar is an extreme, then this is a potential point 2, and the potential point 3 becomes a confirmed point 3. In this case, the program proceeds to step 3.&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.2.B.&#039;&#039;&#039; The bar is not an extreme. In this case, the program begins to search for another candidate for point 3, for which it returns to the beginning of step 2.&lt;br /&gt;
&lt;br /&gt;
If the program has processed 50 bars &amp;lt;ref&amp;gt;The range of continuous search is t.3 in one iteration for all models except EAM&amp;lt;/ref&amp;gt; in a row in accordance with this step (step 2), and potential points 2 and 3 have not been found (i.e., the program has not yet moved to another step of the algorithm), then this potential point 1 is discarded.&lt;br /&gt;
&lt;br /&gt;
If there are 150 or more bars &amp;lt;ref&amp;gt;Maximum search range t3 for all models except EAM&amp;lt;/ref&amp;gt; between the potential point 1 and the bar being analyzed, and the program has not yet moved to another step of the algorithm, this potential point 1 is discarded.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step III. Building TL. Search for t.4&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;3.1. Checking for Fragmentation of the Base:&#039;&#039;&#039; After finding candidates for points 1, 2, and 3, a check is performed for the fragmentation of the Base. This means that there should be no extremes, co-directed with t.1, between the levels of t.1 and t.3 (Extremes that Fragment the Base, hereinafter referred to as EFB).&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;3.1.1:&#039;&#039;&#039; If such extremes are present, the program checks each EFB for the presence of a confirming counter-directed extreme on the section from the last intersection of the price level of the EFB to the EFB (analogous to the search for a confirming extreme of a potential t.1 in sub-step 1.2.1). If the EFB does not have a confirming extreme, then such an EFB is no longer considered (i.e., if there are no EFBs with confirming extremes, then the check is passed). If there is at least 1 EFB with a confirming extreme, then:&lt;br /&gt;
:: - The Base is fragmented;&lt;br /&gt;
:: - The confirmed t.3 becomes a cancelled t.3;&lt;br /&gt;
:: The program searches for a new t.3, for which it processes the next bar after the bar of the last cancelled t.3 according to step 2 of the algorithm.&lt;br /&gt;
:: &#039;&#039;&#039;3.1.2:&#039;&#039;&#039; If the check is successful and no EFBs are found (including if there are no confirmed EFBs), then the program proceeds to sub-step 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.2. Building and Checking TL on the 1-3 Section&#039;&#039;&#039;&lt;br /&gt;
: &#039;&#039;&#039;Determining the Section on Which t.3&#039; Can Be Found&#039;&#039;&#039;&lt;br /&gt;
: &#039;&#039;&#039;Searching for t.3&#039;.&#039;&#039;&#039;&lt;br /&gt;
:The parameters of the Trend Line passing through t.1 and t.3 (hereinafter TL) are calculated. TL is checked for breakthroughs on the 1-3 section.&lt;br /&gt;
:: &#039;&#039;&#039;3.2.1.&#039;&#039;&#039; TL is Broken&lt;br /&gt;
:: The bar of the confirmed t.3 is checked for breaking the level of t.2.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.1.1.&#039;&#039;&#039; If the level of t.2 is broken by the bar of the confirmed t.3, the confirmed t.3 becomes a cancelled t.3. The program searches for a new t.3. To do this, the bar that broke the level of t.2 is processed according to sub-step 3.4.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.1.2.&#039;&#039;&#039; If the level of t.2 is not broken by the bar of the confirmed t.3, then the next bar is processed according to sub-step 3.2.3.&lt;br /&gt;
:: &#039;&#039;&#039;3.2.2.&#039;&#039;&#039; TL is Not Broken - the bar following the bar of the confirmed t.3 is processed according to sub-step 3.3.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.2.3. Determining the Section on Which t.3&#039; Can Be Found&#039;&#039;&#039;&lt;br /&gt;
::The analyzed bar is checked for breaking the level of the confirmed t.3.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.3.1.&#039;&#039;&#039; If the level of the confirmed t.3 is broken, the confirmed t.3 becomes a cancelled t.3. The program searches for a new t.3. For this, the bar that broke the level of the confirmed t.3 is processed according to step 2 and further according to the algorithm.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.3.2.&#039;&#039;&#039; If the level of t.3 is not broken, the program checks the analyzed bar for breaking the level of t.2.&lt;br /&gt;
:::: &#039;&#039;&#039;3.2.3.2.1.&#039;&#039;&#039; If the level of t.2 is not broken, the program analyzes the next bar according to sub-step 3.2.3.&lt;br /&gt;
:::: &#039;&#039;&#039;3.2.3.2.2. Searching for t.3&#039;.&#039;&#039;&#039;&lt;br /&gt;
:::: If it breaks the level of t.2, then the program looks for such a point 3&#039; (hereinafter t.3&#039;) through which a line can be drawn from t.1 to t.3&#039;, which will not contain extra touches by the price on the section from the bar of t.1 to the bar following the bar of t.3&#039; (inclusive), and this line should not contain extra breakthroughs (not touches) by the price on the section to the bar that broke the level of t.2 (not inclusive).&lt;br /&gt;
::::: &#039;&#039;&#039;3.2.3.2.2.A.&#039;&#039;&#039; If t.3&#039; is found, then the TL is rebuilt through t.3&#039; (i.e., TL is now the line from t.1 to t.3&#039;), and the algorithm searches for a potential t.4, for which it processes the bar that broke the level of t.2 (but if the bar that broke the level of t.2 coincides with the bar of t.3&#039;, then the program immediately proceeds to process the next bar) according to sub-step 3.4.&lt;br /&gt;
::::: &#039;&#039;&#039;3.2.3.2.2.B.&#039;&#039;&#039; If the point t.3&#039; is not found, then the confirmed t.3 becomes a cancelled t.3. The program searches for a new t.3, for which it processes each previously unprocessed bar for the cancelled t.3 according to step 2 and further according to the algorithm. &lt;br /&gt;
&lt;br /&gt;
: If between t.1 and the analyzed bar there are 150 or more bars, and the program has not yet moved to another step of the algorithm, this potential t.1 is discarded.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.3. Checking TL on the Section After t.3.&#039;&#039;&#039;&lt;br /&gt;
: The analyzed bar is checked for overcoming TL.&lt;br /&gt;
:: &#039;&#039;&#039;3.3.1. TL is not overcome&#039;&#039;&#039; - the analyzed bar is processed according to sub-step 3.4.&lt;br /&gt;
:: &#039;&#039;&#039;3.3.2. TL is overcome.&#039;&#039;&#039; In this case, there are 2 options:&lt;br /&gt;
::: &#039;&#039;&#039;3.3.2.1.&#039;&#039;&#039; If between the analyzed bar (not inclusive) and the bar of t.3 (inclusive) the level of t.2 was not reached, the program performs a search for t.3&#039;, for which it moves to sub-step 3.2.3.&lt;br /&gt;
::: &#039;&#039;&#039;3.3.2.2.&#039;&#039;&#039; If between the analyzed bar (not inclusive) and the bar of t.3 (inclusive) the level of t.2 was reached, the program performs a search for a new candidate for t.3. For this, the analyzed bar is processed according to step 2 and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.4: Searching for Potential or Alternative t.4&#039;&#039;&#039;&lt;br /&gt;
: If the program is searching for t.4 and the analyzed bar is further from t.1 than 5 times the distance between t.1 and t.3, then this potential t.1 is discarded.&lt;br /&gt;
: If the program is searching for an alternative t.4 and the analyzed bar is further from t.1 than 10 times the number of bars between t.1 and t.3, then the search for an alternative t.4 is terminated.&lt;br /&gt;
: The analyzed bar is checked for being an extreme according to rule N1 (as a potential t.4).&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;Step 3.4.1: If the Bar is not an Extreme&#039;&#039;&#039;&lt;br /&gt;
:: The program checks the analyzed bar for breaking through (in this case, not touching) the TL.&lt;br /&gt;
::: &#039;&#039;&#039;Step 3.4.1.1:&#039;&#039;&#039; If the TL is not reached (not broken), then the program processes the next bar according to step 3.4.&lt;br /&gt;
::: &#039;&#039;&#039;Step 3.4.1.2:&#039;&#039;&#039; If the TL is broken, then the analyzed bar is processed similarly to step 3.3.2.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;Step 3.4.2: If the Bar is an Extreme&#039;&#039;&#039;&lt;br /&gt;
:: This is potentially t.4, proceed to step 3.5.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.5. Checking the Position of t.4&#039;&#039;&#039;&lt;br /&gt;
: The program checks the position of the potential t.4 relative to the extreme of t.2. There are 3 possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;3.5.1.&#039;&#039;&#039; The level of the potential t.4 is closer to the level of t.1 than the level of t.2. A candidate for t.4 for the Wedge model is found. In this case:&lt;br /&gt;
::: &#039;&#039;&#039;3.5.1.0.&#039;&#039;&#039; The bar of the potential t.4 is checked for the presence between it and the bar of t.3 of bars containing price values&lt;br /&gt;
:::: more distant from t.3 than the value of the potential t.4, or&lt;br /&gt;
:::: equal to t.4.&lt;br /&gt;
:::: This is a check for the potential absoluteness of the extreme of the potential t.4. Possible options are:&lt;br /&gt;
::::: &#039;&#039;&#039;3.5.1.0.1.&#039;&#039;&#039; The potential t.4 is not a potentially absolute extreme (there are bars more distant from t.3). In this case, the next bar is processed according to sub-step 3.4.&lt;br /&gt;
::::: &#039;&#039;&#039;3.5.1.0.2.&#039;&#039;&#039; The potential t.4 is a potentially absolute extreme. In this case checking if t.2-t.4 line (this is the Aims Line, hereinafter - AL) is crossed by the price in the section between t.2 and t.4 (hereinafter - section 2-4). There are 2 options – 3.5.1.1. and 3.5.1.2.&lt;br /&gt;
:::::: &#039;&#039;&#039;3.5.1.1.&#039;&#039;&#039; If AL is crossed, the program checks the analyzed bar for reaching the TL.&lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.1.1.&#039;&#039;&#039; If the TL is not reached - the next bar is processed according to sub-step 3.4.&lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.1.2.&#039;&#039;&#039; If the TL is reached, the program searches for a new candidate in t.3/t.3&#039;. To do this, the analyzed bar is processed according to sub-step 3.2.3 and further according to the algorithm.&lt;br /&gt;
:::::: &#039;&#039;&#039;3.5.1.2.&#039;&#039;&#039; If there is no linecrossing, the bar t.4 is checked for reaching the TL. The following options are possible:&lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.2.1.&#039;&#039;&#039; If the bar t.4 reached the TL, then the [Wedge Found] Wedge model is fixed, for which the level of intersection of the TL and the AL is calculated, after which the program searches for t.3’ with the same points 1,2,3, or searches for a new t.3. To do this, the program processes the analyzed bar (in this case, the bar t.4, while reaching the TL) starting from sub-step 3.2.3. Model&#039;s Type (parameter G1) = WEDGE . &lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.2.2.&#039;&#039;&#039; If the t.4 bar did not reach the TL, then the next bar after it (and when reapplying this step - the next bar after the previously analyzed bar) is analyzed for reaching the TL. At the same time, a check is made for not overcoming the distance equal to (t.1-t.3)*10. If the distance is overcome, then we return (go in a cycle) to the search for t.3. The following options are possible:&lt;br /&gt;
:::::::::: &#039;&#039;&#039;3.5.1.2.2.1.&#039;&#039;&#039; If the analyzed bar reached the TL, then the program acts in analogy with sub-step 3.5.1.2.1. (i.e., the [Wedge Found] Wedge model is fixed and in a new branch of the algorithm the program processes the analyzed bar (in this case, the bar that reached the TL) starting from sub-step 3.2.3.&lt;br /&gt;
:::::::::: &#039;&#039;&#039;3.5.1.2.2.2.&#039;&#039;&#039; If the TL is not reached, then the analyzed bar is checked for reaching the level of t.4. The following options are possible:&lt;br /&gt;
:::::::::::: &#039;&#039;&#039;3.5.1.2.2.2.A.&#039;&#039;&#039; If the level of t.4 is not reached, the program analyzes the next bar for reaching the TL, options are similar to sub-steps 3.5.1.2.2.1. and 3.5.1.2.2.2.&lt;br /&gt;
:::::::::::: &#039;&#039;&#039;3.5.1.2.2.2.B.&#039;&#039;&#039; If the level of t.4 is reached, then the program checks the analyzed bar according to sub-step 3.4.&lt;br /&gt;
:: &#039;&#039;&#039;3.5.2.&#039;&#039;&#039; The level of the potential t.4 is further from the level of t.1 than the level of the potential t.2 - transition to step 4.&lt;br /&gt;
:: &#039;&#039;&#039;3.5.3.&#039;&#039;&#039; The level of the potential t.4 is equal to the level of the potential t.2 - the program checks whether the bar of the considered candidate in t.4 has broken through (touched) the Trend Line (TL).&lt;br /&gt;
::: &#039;&#039;&#039;3.5.3.1. If not&#039;&#039;&#039; - the program searches for the next candidate for t.4. For this, the program processes the next bar according to sub-step 3.4.&lt;br /&gt;
::: &#039;&#039;&#039;3.5.3.2. If yes&#039;&#039;&#039; – the program searches for a new t.3, for which it analyzes the next bar according to step 2 and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV. Checking for Intersection of the Aim Line (AL) by Price on Section 2-4&#039;&#039;&#039;===&lt;br /&gt;
The program checks for intersections of the Aim Line by price on the section from t.2 to t.4 (hereafter - section 2-4).&lt;br /&gt;
: &#039;&#039;&#039;4.1.&#039;&#039;&#039; If the AL is intersected by price on section 2-4 the program checks the analyzed bar (which is also the bar of the potential t.4) for a breakout (in this case, not a touch) of the Trend Line (TL).&lt;br /&gt;
:: &#039;&#039;&#039;4.1.1.&#039;&#039;&#039; If the TL is not reached, the program processes the next bar according to step 3.4.&lt;br /&gt;
:: &#039;&#039;&#039;4.1.2.&#039;&#039;&#039; If the TL is broken,&lt;br /&gt;
::: - t.3 becomes the cancelled t.3;&lt;br /&gt;
::: - the program searches for a new candidate for t.3. To do this, the analyzed bar is processed according to step 2.&lt;br /&gt;
: &#039;&#039;&#039;4.2.&#039;&#039;&#039; If the AL is not intersected by price on section 2-4 the program proceeds to step 5.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step V. Model Fixation at the TL Breakthrough. Search for t.5. Search for t.6.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
The bar t.4 (or in repeated applications of the step, the analyzed bar specified in the algorithm) is checked for reaching TL. The following scenarios are possible:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; TL is reached (there is a touch of TL). In this case, the program checks whether the level of t.4 has been surpassed in the section from t.4 to the moment of reaching the price of TL (excluding the analyzed - i.e., the bar that broke through TL). This is possible with repeated applications of the step, i.e., when not t.4 will be analyzed, but one of the subsequent bars.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the level of t.4 is not surpassed, then the model is considered formed [The model is formed without 6];&lt;br /&gt;
:: Then the program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; If the level of t.4 is surpassed, the program looks for an absolute extreme in the section from t.4 (excluding) to the bar that reached the level of t.4 (inclusive), as point 5 (hereinafter - t.5).&lt;br /&gt;
:: When searching for a potential t.5, it is necessary to take into account the requirement: in a particular case, if the bar t.4 belongs to the extreme, co-directed with t.5, t.5 must break through the level of this extreme (i.e., the level of t.5 should be further from the level of t.4).&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; If the extreme is found - this is a potential t.5.&lt;br /&gt;
::: There are 2 scenarios:&lt;br /&gt;
:::: &#039;&#039;&#039;5.1.2.1.1.&#039;&#039;&#039; T.5 belongs to the bar, which broke through the level of t.4. The program checks whether the bar, which contains t.5 (and which broke through the level of t.4), is a bar that also contains and an absolute extreme in the section from this bar (inclusive) to the point of breaking through TL, (i.e., the current bar) (excluding). There are 2 scenarios:&lt;br /&gt;
::::: &#039;&#039;&#039;5.1.2.1.1.1.&#039;&#039;&#039; The bar t.5 contains an absolute extreme, co-directed with t.4. In this case, the absolute extreme, co-directed with t.4, is a new potential t.4. The program builds an AL through this t.4 and checks the AL for the absence of price intersections in the section 2-4.&lt;br /&gt;
::::: There are 2 scenarios:&lt;br /&gt;
::::::: &#039;&#039;&#039;5.1.2.1.1.1.A.&#039;&#039;&#039; On the section 2-4, the AL intersects with the price. In this case -t.3 becomes the canceled t.3; - the program is looking for a new t.3, for which it processes the bar that reached TL according to step 2 and further according to the algorithm.&lt;br /&gt;
::::::: &#039;&#039;&#039;5.1.2.1.1.1.B.&#039;&#039;&#039; On the section 2-4, the AL does not intersect with the price. The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;5.1.2.1.1.2.&#039;&#039;&#039; The bar t.5 does not contain an absolute extreme, co-directed with t.4. The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.1.2.1.2.&#039;&#039;&#039; T.5. belongs to the bar between the bar t.4 and the bar that broke through the level of t.4. The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The extreme is not found, the program is looking for the next candidate for t.4. To do this, the program processes the bar that has surpassed the level of the potential t.4 according to step 3.4.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; TL is not reached. If the analyzed bar contains a potential t.4, the program checks the next bar according to step 5. If the analyzed bar does not contain a potential t.4, then it is subjected to simultaneous verification:&lt;br /&gt;
&lt;br /&gt;
: for extremity according to rule N1 (as t.5);&lt;br /&gt;
: for the presence between the analyzed bar and the bar of the potential t.4 of bars containing price values, more distant from the potential t.4, than the most distant from t.4 value of the analyzed bar, as well as&lt;br /&gt;
:-the presence between the analyzed bar and the bar t.4 of price values equal to the most distant value of the price of the analyzed bar (this is a check for the potential absoluteness of the extreme of the potential t.5).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If the bar is an extreme and it is potentially absolute, then this bar is a potential t.5. The program checks this bar for reaching the level of t.4. There are 2 scenarios:&lt;br /&gt;
::: &#039;&#039;&#039;5.2.1.1.&#039;&#039;&#039; If the level of t.4 is reached (confirmed by the bar of the potential t.5)&lt;br /&gt;
::: The program checks whether the bar, which contains t.5 (and which broke through the level of t.4), also contains an extreme, co-directed with the bar t.4:&lt;br /&gt;
::: There are 2 scenarios:&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.1.1.1.&#039;&#039;&#039; The bar t.5 contains an extreme, co-directed with t.4. In this case, the absolute extreme, co-directed with t.4, is a new potential t.4. The program rebuilds the AL through it and checks this LC for the presence of intersections in the section t.2-t.4. There are 2 scenarios:&lt;br /&gt;
::::: &#039;&#039;&#039;5.2.1.1.1.A&#039;&#039;&#039; On the section 2-4, the AL intersects with the price. the program processes the next bar according to steps 3.4.&lt;br /&gt;
::::: &#039;&#039;&#039;5.2.1.1.1.B&#039;&#039;&#039; On the section 2-4, the AL does not intersect with the price. The program checks the next bar according to step 5.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.1.1.2.&#039;&#039;&#039; The bar t.5 does not contain an extreme, co-directed with t.4. In this case, the confirmation of the bar t.4 by the bar t.5 occurs. &lt;br /&gt;
:::: The program proceeds to step 6. (there was an idea to redo to step 5.3.)&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.2.1.2.&#039;&#039;&#039; If the level of t.4 is not reached. The program proceeds to step 6 (there was an idea to redo to step 5.3.) At the same time, the program checks the next bar in accordance with this item (i.e., according to step 5), to find another model with the same t.1, t.2, t.3, t.4, but another t.5.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If the bar is not an extreme, or is not potentially absolute, then the program checks it for reaching the level of the potential t.4.&lt;br /&gt;
::: &#039;&#039;&#039;5.2.2.1.&#039;&#039;&#039; If the bar reaches the level of t.4, then the program looks for an absolute extreme between t.4 and the point of confirmation t.4 (i.e., repeated after t.4 reaching the level of t.4) as t.5. There are 2 scenarios:&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.2.1.1.&#039;&#039;&#039; If t.5 is present, the program proceeds to step 6 (there was an idea to redo to step 5.3.)&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.2.1.2.&#039;&#039;&#039; If t.5 is absent, the program proceeds to search for a new t.4, for which it processes the bar that reached the level of t.4 starting from step 3.4.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.2.2.2.&#039;&#039;&#039; If the bar does not reach the level of the potential t.4, then the program processes the next bar from the beginning of this step (i.e., according to step 5).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5.3.&#039;&#039;&#039; Algorithm for determining the presumed real p.6:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; Apply Algorithm I to the models, excluding AM.&lt;br /&gt;
: Identify the price value that is farthest from the t.1 level, which is the level the price reached from t.3 to the first time the price touches the TL (referred to as the touch of TL). The touch of ЛТ occurs after t.4, indicating the moment when the model is formed.&lt;br /&gt;
:The extremum identified in step 2 is considered the real t.6.&lt;br /&gt;
:Instead of x&#039;s representing price value or time and date, the report displays the following:&lt;br /&gt;
: P6: xxxxx (price value)&lt;br /&gt;
: P6t: xx:xx:xxxx (time and date)&lt;br /&gt;
&lt;br /&gt;
:The technical parameters P6 and P6t are finalized at the moment the model is fully formed, which is when the price touches TL after t.4.&lt;br /&gt;
:P6supp: -&lt;br /&gt;
:P6suppt: -&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; If the price has not touched ЛТ after t.4 of the analyzed model at the moment of determining the presumed real p.6, the program will check if the number of bars formed after t.4 is more than 300.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the number of bars formed after t.4 exceeds 300, the presumed real p.6 for this model will not be determined.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the number of bars formed after t.4 does not exceed 300, several scenarios are possible.&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.1.&#039;&#039;&#039; One scenario is if the price has surpassed the t.4 level (meaning both t.4 and t.5 are confirmed). In this case, the program calculates the distance between the t.1 and t.4 levels.&lt;br /&gt;
:::: This distance is then marked off from t.4 towards the t.6 level, either upwards for an ascending model or downwards for a descending model.&lt;br /&gt;
:::: The program then checks if the price has surpassed this level in the section after t.4 of the analyzed model.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.2.&#039;&#039;&#039; If the price has reached t.4 level, the report does not provide information on the presumed real p.6. &lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.3.&#039;&#039;&#039; In the given scenario, the program checks if the price has surpassed a the t.4 level. If it hasn&#039;t, the program then identifies the price value that is farthest from the level reached after a specific time point (t.4). This extreme value is considered as the presumed real p.6. &lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the price has not surpassed the level of t.4 (meaning t.4 and t.5 are not confirmed), the potential t.4 is considered as the presumed real p.6. &lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.3.3.&#039;&#039;&#039; For AM the process is similar, but with one key difference. The TL is not used when determining the real or presumed p.6. Instead, the level of t.3 of the model under consideration is used to determine the real or presumed p.6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.4.&#039;&#039;&#039; Algorithm for Determining Whether the Model is from the Start of the Trend Model or Along the Trend (Trend-Following) Model&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.4.1.&#039;&#039;&#039; For main models except for EAM &lt;br /&gt;
:: The program sequentially checks bars from right to left (i.e., into the past) from the bar containing the extreme candidate at t.2 until it finds a price intersection of t.2 level .&lt;br /&gt;
&lt;br /&gt;
::* If the program has checked 50 bars up to t.1 of the model and such an intersection is not found, the model is considered a trend-following model.&lt;br /&gt;
::* If the intersection lies to the left of the (presumed) starting point of the preceding trend (related to this model), the report displays:  &lt;br /&gt;
:: G3: HTModel&lt;br /&gt;
:: * If the intersection lies to the right of the (presumed) starting point of the preceding trend, the model is considered a model from the start of the trend, the report displays: &lt;br /&gt;
:: G3: BTModel&lt;br /&gt;
:: * If the program has checked less than 50 bars up to t.1 of the model and reached the initial bar of the chart, and the sought-after intersection is not found, the model is considered a trend-following model, the report displays:  &lt;br /&gt;
:: G3: NoData&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.4.2.&#039;&#039;&#039; For EAM, the same applies, but the program looks for an intersection at the level of t.4 instead of an intersection at the level of t.2.&lt;br /&gt;
&lt;br /&gt;
:The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step VI. Search for Tangents and Construction of the Auxiliary Attraction Model&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; Search for t.2’&lt;br /&gt;
&lt;br /&gt;
: The program conducts a search for t.2’ (tangent, i.e., the rule N1 is removed for it), which will yield the LC, without any intersections with the price in the section between T.1 and T.2. Bars are checked from right to left starting from the bar t.2 to the bar t.1 inclusive (further – section 1-2). Point 2’ (further – t.2’) can coincide with t.2, if the LC through t.2 does not have extra price intersections on 1-2, however t.2’ cannot belong to the bar t.1.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6.1.1.&#039;&#039;&#039; If t.2’ is found &lt;br /&gt;
&lt;br /&gt;
:: If t.2’ is found (including if t.2’ coincides with t.2), then the program calculates the Line of goals by the tangent from t.2’ to t.4 (further -AL’). It is then checked whether the considered model has the status [The model is formed without point 6].&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.1.1.1.&#039;&#039;&#039; The model has the status [The model is formed without point 6] &lt;br /&gt;
&lt;br /&gt;
::: If the model has the status [The model is formed without point 6], the program proceeds to step 7.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.1.1.2.&#039;&#039;&#039; The model does not have the status [The model is formed without point 6] &lt;br /&gt;
&lt;br /&gt;
::: If the model does not have the status [The model is formed without point 6], the program proceeds to sub-step 6.2.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.1.2.&#039;&#039;&#039; If T.2’ is not found &lt;br /&gt;
&lt;br /&gt;
::: If t.2’ is not found (i.e., it is impossible to build such a line through points t.2’ and t.4, which will not contain extra points on section 1-2), then this is a model without an Auxiliary AM. Theprogram proceeds to step 7.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Search for t.3’ of the Auxiliary AM &lt;br /&gt;
&lt;br /&gt;
:: The program constructs a line from t.3 (or t.3’ if it exists) to t.5 (Trend Line of the Auxiliary Attraction Model, further - TLam) and checks it for the presence of price intersections in the section between t.3 and t.5.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.2.1.&#039;&#039;&#039; Intersections are found &lt;br /&gt;
&lt;br /&gt;
::: If intersections are found, the line t.3/t.3’-t.5 in this case is not displayed on the chart. The program searches for such point 3’ of the Auxiliary Attraction Model (further t.3’am), through which it is possible to construct a line, which will not have price intersections on the section from t.3/t.3’ to t.5.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;6.2.1.1.&#039;&#039;&#039; If t.3’am is found&lt;br /&gt;
&lt;br /&gt;
:::: If t.3’am is found, then the program constructs the Line of trend of the auxiliary model of attraction by the tangent from t.3’am to t.5 (further – TLam’) and calculates the level of intersection of AL’ and TLmp’ (further – calculated t.6). There are 2 options:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;6.2.1.1.1.&#039;&#039;&#039; If the calculated t.6 is found&lt;br /&gt;
&lt;br /&gt;
:::: If the calculated t.6 is found, then a check is carried out for the minimum ratio of the time segment t.2-t.4 to the segment t.4-t.6 for the Auxiliary AM (should be within 0.5). If the check is not passed, then the model does not have an auxiliary MP (in this case LTmp is not displayed on the chart), the algorithm proceeds to sub-step 6.3. If the check is passed, the program checks whether the bar t.5 breaks through the level of the calculated p.6.&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;6.2.1.1.1.A.&#039;&#039;&#039; If the bar t.5 does not break through the level of the calculated p.6 &lt;br /&gt;
&lt;br /&gt;
::::: If the t.5  bar does not break through the level of the calculated p.6, then the program proceeds to sub-step 6.3. In the report is displayed: AUX AM&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;6.2.1.1.1.B.&#039;&#039;&#039; If the t.5 bar breaks through the level of the calculated p.6&lt;br /&gt;
&lt;br /&gt;
::::: If the t.5 bar breaks through the level of the calculated p.6, then this AM cannot be built and the program is looking for a new t.4. for this the next bar is checked according to sub-step 3.4., or in case if the model has a mark draw_flag this branch of the algorithm stops.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;6.2.1.1.2.&#039;&#039;&#039; The calculated point 6-th is not found&lt;br /&gt;
&lt;br /&gt;
:::: The calculated 6-th is not found (i.e., the lines do not intersect). In this case TLam is not displayed on the chart. In the report is displayed: AUX NoAM The program proceeds to sub-step 6.3.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.2.1.2.&#039;&#039;&#039; If t.3’am is not found&lt;br /&gt;
&lt;br /&gt;
::: If t.3’am is not found, then in the report is displayed: AUX NoAM The program proceeds to step 7.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6.2.2.&#039;&#039;&#039; Intersections are not found &lt;br /&gt;
&lt;br /&gt;
:: Intersections are not found. In this case, the program calculates the level of intersection of TLam and AL’ (this is the level of the calculated p.6). There are 2 options according to sub-steps 6.2.1.1.1. and 6.2.1.1.2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.3.&#039;&#039;&#039; Construction of the Auxiliary AM through t.5&lt;br /&gt;
&lt;br /&gt;
: The program checks for the presence of t.5’ (the first possible local extremum in time on the section T.4-T.5). If T.5’ is found, in the report is displayed: AimsBlock5’ 5&#039; If t.5’ is not, then in the report is displayed: AimsBlock5’ No5&#039;&lt;br /&gt;
&lt;br /&gt;
: If t.5&#039; is present, the program will follow a similar process as sub-step 6.2 to construct the Trend Line for the Auxiliary Attraction Model. However, this time it will start from t.5&#039; and, if necessary, use another suitable t.3&#039; (referred to as t.3&#039;am5&#039;). If the program successfully constructs a Auxiliary AM through t.5&#039; (indicating convergence of the lines), the model will be labeled as [The AM is built through t.5&#039;] in the report. &lt;br /&gt;
: The report will display: &lt;br /&gt;
: AUX5’: AUX5’&lt;br /&gt;
: Alternatively, if the MP is not built through t.5&#039;, the program will display: &lt;br /&gt;
: AUX5’: NoAUX5’ &lt;br /&gt;
: After this, the program will proceed to step.7.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step VII. Determination of SP and Model Type.&#039;&#039;&#039;===&lt;br /&gt;
The program recalls whether the model was built through t.2 or through t.2’&lt;br /&gt;
: &#039;&#039;&#039;7.1.&#039;&#039;&#039; In case if AL is built through t.2 does not have intersection with the price on the section t.1-t.2, or if there is ALam, built through t.2’. Here and further it is assumed that if the line, built through t.2 to t.4 does not have intersections with the price on the section t.1-t.2, then it is considered that t.2’=t.2 and AL’=AL.&lt;br /&gt;
&lt;br /&gt;
: The type of the model is determined by the position of the intersection point of TL and AL’ (this is the line built from t.2’ to t.4) in relation to t.4:&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.1.1.&#039;&#039;&#039; The intersection point of TL and AL’ lies to the right of t.4. In this case the intersection point of the lines is the calculated point 6 (further - calculated t.6).), then the program calculates the ratio of time segments from t.1 to t.4 and from t.4 to calculated point 6 for AM.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.1.1.&#039;&#039;&#039; If the section from t.1 to t.4, multiplied by 3 is greater than the section from t.4 to the calculated point 6 for CMP, this model&#039;s  type is  AM.&lt;br /&gt;
::: G1: AM&lt;br /&gt;
&lt;br /&gt;
::: If the model under consideration is AM and at the same time it is formed (i.e. after t.4 the TL is broken through), the program checks each bar after the t.4 bar, until one of the following events:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.1.1.1.1.&#039;&#039;&#039; A bar is found that has reached the level of t.3 (but has not reached the level of t.4). In this case, this branch of the algorithm is completed.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.1.1.1.2.&#039;&#039;&#039; A bar is found that has reached the level of t.4 (while either not reaching or reaching the level of t.3).&lt;br /&gt;
&lt;br /&gt;
:::: -in case of the presence of the draw_flag label – this branch stops;&lt;br /&gt;
:::: -in another case, the program checks for the presence on the section from t.4 (not including) to the bar, which reached the level of t.4 (inclusive) of the extremum, opposite to the extremum t.4 (i.e. co-directed with the extremum t.1 of the analyzed model. There are 2 options:&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;7.1.1.1.2.A.&#039;&#039;&#039; The extremum is found. In this case, the algorithm proceeds to step 8.&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;7.1.1.1.2.B.&#039;&#039;&#039; The extremum is not found. In this case the status of the formed model is canceled (the model is discarded);&lt;br /&gt;
::::: -t.3 becomes the canceled t.3;&lt;br /&gt;
::::: -the program searches for the next candidate for t.3. For this, the program processes the bar that broke through the TL according to step 2.&lt;br /&gt;
:::  &#039;&#039;&#039;7.1.1.2.&#039;&#039;&#039; If&lt;br /&gt;
::: -the section from t.1 to t.4, multiplied by 3 is less than or equal to the section from t.4 to the calculated t.6 (for converging lines) and at the same time&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is greater than the section t.4-t.6, this model is AM/DBM&lt;br /&gt;
::: G1: AM/DBM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.1.3.&#039;&#039;&#039; The section from t.1 to t.4 multiplied by 12 is less than or equal to the section from SP to t.1 (for TL and AL converging to the left), then this model is DBM. &lt;br /&gt;
::: G1: DBM&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.1.2.&#039;&#039;&#039; The intersection point of TL and AL’ (AL’ – this is the line from t.2’ – t.4) lies to the left of t.4 —this point is qualified as the Sacral Point (further – SP).&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.2.1.&#039;&#039;&#039; If&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 3 is less than or equal to the section from SP to t.1, and at the same time;&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is greater than the section from SP to t.1 then this is EM/DBM &lt;br /&gt;
::: G1: EM/DBM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.2.2.&#039;&#039;&#039; If the section from t.1 to t.4 multiplied by 3 is greater than the section from SP to t.1, this is eng. - EM.&lt;br /&gt;
::: G1: EM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.2.3.&#039;&#039;&#039; If&lt;br /&gt;
::: -TL and AL of the model are parallel, or&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is less than or equal to the section t.4-t.6 (for TL and AL converging to the right);&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is less than or equal to the section from SP to t.1 (for TL and AL converging to the left), then this model is eng. - DBM &lt;br /&gt;
::: G1: DBM&lt;br /&gt;
&lt;br /&gt;
::: The program proceeds to step 8.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;7.2.&#039;&#039;&#039; If for this model it was impossible to construct AL (AL’) in such a way that there were no extra intersections on the section t.1 (inclusive) - t.2, then the program checks where TL and AL from t.2 intersect.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.2.1.&#039;&#039;&#039; If the lines intersect to the right (i.e. after t.4), then&lt;br /&gt;
::: &#039;&#039;&#039;7.2.1.1.&#039;&#039;&#039; if the section from t.1 to t.4, multiplied by 3 is greater than the section from t.4 to the calculated t.6 (for converging lines), then this model is incorrect.&lt;br /&gt;
::: There are one of 2 options:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.1.1.1&#039;&#039;&#039; If the TL of the incorrect AM is broken through by the t.4 bar or the bar immediately following t.4, then&lt;br /&gt;
&lt;br /&gt;
:::: -in case of the presence of the draw_flag label – this branch stops;&lt;br /&gt;
:::: -in another case t.3 becomes the canceled t.3 and the program searches for a new t.3, for this it processes the bar that broke through the TL AM according to step 2.&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.1.1.2.&#039;&#039;&#039; If the TL of the incorrect CMP is not broken through by the t.4 bar or the bar immediately following it, then the program searches for a new t.4, for this the next bar is checked according to sub-step 3.4.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.1.2.&#039;&#039;&#039; -the section from t.1 to t.4, multiplied by 12 is greater than the section from t.4 to the calculated t.6, then this model is AM/DBM .&lt;br /&gt;
::: G1: AM/DBM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.1.3.&#039;&#039;&#039; the section from t.1 to t.4 multiplied by 12 is less than or equal to the section from t.4 to t.6 then this model is DBM .&lt;br /&gt;
::: G1: DBM&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.2.2.&#039;&#039;&#039; If TL and AL intersect to the left (i.e. in the past) relative to t.4, the program performs an indirect check for the Strength of the trend. For this, a pseudo SP is used – this is the intersection point of AL (built through t.2) and TL in case it is impossible to build AL through t.2 so that there are no extra points on it. The following options are possible:&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.2.1.&#039;&#039;&#039; If the pseudo SP lies to the right (i.e. later) of t.1 to t.3 (or t.3’, if the model is built on it), then the type of this model is determined as EM, moreover, the model is strong by pseudo SP.&lt;br /&gt;
&lt;br /&gt;
::: G1: EM&lt;br /&gt;
&lt;br /&gt;
::: SP: strongpseudoSP&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.2.2.&#039;&#039;&#039; Otherwise&lt;br /&gt;
::: If the lines intersect to the left of t.1 (i.e. earlier), the following options are possible:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.2.2.1.&#039;&#039;&#039; If the section from t.1 to t.3 (3’) is greater than the section from the intersection of TL and AL to t.1, the model is assigned the type EM, while the Strength of the model is not determined.&lt;br /&gt;
:::: G1: EM&lt;br /&gt;
&lt;br /&gt;
:::: SP: undef&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.2.2.2.&#039;&#039;&#039; If&lt;br /&gt;
:::: -the section from T.1 to t.3(3’) is less than or equal to the section from the intersection of TL and AL to t.1 and up to&lt;br /&gt;
:::: -the section from T.1 to t.3(3’) multiplied by 3 is greater than the section from the intersection of TL and AL to t.1, the model is assigned the type is EM. At the same time, the model is weak.&lt;br /&gt;
&lt;br /&gt;
:::: G1: EM&lt;br /&gt;
&lt;br /&gt;
:::: SP: weakpseudoST&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.2.2.3.&#039;&#039;&#039; If the section from t.1 to t.3(3’) multiplied by 3 is less than the section from the intersection of TL and AL to t.1, then the model type is EM/DBM.&lt;br /&gt;
:::: G1: EM/DBM&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;7.3.&#039;&#039;&#039; Also, occasionally there are cases when the model for some reason does not fall under any of the above options. Then the model type is not determined.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VIII: Search for Alternative Models. Launching a New Branch from the Previous t.1 but with a Different t.3 &#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
The program initiates a search for the subsequent model with the same t.1, but a new t.3. The bar following t.3/t.3’, according to step 2, is analyzed for this purpose. Concurrently, the program initiates a search for an alternative model in relation to the one already found. For this, it analyzes the bar that has broken through the level of t.4 as a potential t.4, according to step 3.4, and continues further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_I&amp;diff=213</id>
		<title>ALGORITHM I</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_I&amp;diff=213"/>
		<updated>2024-01-04T20:56:52Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Step V. Model Fixation at the TL Breakthrough. Search for t.5. Search for t.6. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; &#039;&#039;&#039;The Orientaion rule (N1 requirement) for Algorithm I is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 1 is low, then the level of point 3 should be equal to or higher than point 1. &lt;br /&gt;
  If point 1 is high, then the level of point 3 should be equal to or lower than point 1.&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with [[UMG General Concepts]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Find Point 1. Search for a Confirming Extreme.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program searches for the first possible extreme that satisfies Single Bar Rule. This extreme is a candidate for point 1.&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; When a candidate for point 1 (hereinafter referred to as t.1 candifate) is found, all bars to the left (i.e., in the past) of the bar containing the t.1 candidate extreme are checked until one of the following events occurs:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The place of the last intersection of the price level of the  t.1 candidate is found &amp;lt;ref&amp;gt;High or low equal to high or low of t.1 is an intersection&amp;lt;/ref&amp;gt;. In this case, the program searches for an absolute extreme that confirms point 1 from the intersection of the price with the t.1 candidate level (inclusive) to the bar of t.1 candidate (exclusive). There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;1.2.1.1.&#039;&#039;&#039; If the extreme is not found, the program searches for a new candidate for point 1.&lt;br /&gt;
::: &#039;&#039;&#039;1.2.1.2.&#039;&#039;&#039; If the absolute extreme is found, it is the beginning of the preceding trend. The point 1 is confirmed. &lt;br /&gt;
::: The program checks for the absence of extremes equal to point 1 from the Beginning of the preceding trend. &lt;br /&gt;
:::: &#039;&#039;&#039;1.2.1.2.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 1 is discarded (the program continues to process other t.1 candidates).&lt;br /&gt;
:::: &#039;&#039;&#039;1.2.1.2.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to process the next bar after point 1 according to point 2 of the Algorithm.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program has reached the starting point of the chart (i.e., after the starting point of the chart, the levels of points 1 and 2 have never intersected). The program searches for a confirming extreme from right to left to the starting point of the chart. The options are similar to the sub-steps 1.2.1.1. and 1.2.1.2.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The program has checked 50 bars &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 1&amp;lt;/ref&amp;gt; preceding the bar of the potential point 1, and none of the above events have occurred. The program searches for a confirming extreme from right to left in the area of 50 bars before the potential point 1. The options are similar to the sub-steps 1.2.1.1. and 1.2.1.2.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Searching for Points 3 and 2.&#039;&#039;&#039;===&lt;br /&gt;
If the program returns to this step during the construction of an alternative model, this branch of the algorithm stops.&lt;br /&gt;
&lt;br /&gt;
The bar being analyzed after point 1 (or in cases of repeated application of the step specified in the algorithm) is checked for non-exceedance of the level of point 1.&lt;br /&gt;
: &#039;&#039;&#039;2.1.&#039;&#039;&#039; If the level of point 1 is exceeded, the program discards this point 1.&lt;br /&gt;
: &#039;&#039;&#039;2.2. Searching for Point 3.&#039;&#039;&#039; If the level of point 1 is not exceeded, the bar being analyzed is checked by rule N1 as an extreme.&lt;br /&gt;
:: &#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If this bar is not an extreme according to rule N1 (as a potential point 3)&amp;lt;ref&amp;gt; Here and further under the formulation (as a potential T.3) a reminder is implied that this extremum should be aligned with the potential T.1. (see the Rule of alternating extremes).&amp;lt;/ref&amp;gt;, the program checks the next bar in accordance with step 2.&lt;br /&gt;
:: &#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If this bar is an extreme according to rule N1 (as a potential point 3), then&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If this step (step 2) is applied again after confirmed candidates for point 3 have been found (i.e., such point 3, for which there is a point 2 between point 3 and point 1), but for one reason or another they were rejected, and the algorithm returned to the search for point 3, then the exceedance of the level of the previous candidate for point 3 by this extreme is checked.&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.1.A.&#039;&#039;&#039; If the check is not passed (i.e., if the level of the previous candidate for point 3 is not exceeded), then the program processes the next bar in accordance with this step (step 2) and further according to the algorithm.&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.1.B.&#039;&#039;&#039; If the check is passed, then the program proceeds to sub-step 2.2.2.2.&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.2. Searching for Point 2.&#039;&#039;&#039; The program searches for an absolute minimum (if point 1 and point 3 are high) or maximum (if point 1 and point 3 are low) in the range from point 1 to point 3 (hereinafter segment 1-3) as point 2 (hereinafter point 2). Then this bar is checked for &amp;quot;extremity&amp;quot; according to N1 rule. Two variants are possible &amp;lt;ref&amp;gt;As part of this particular check, it should be noted that bars T.1 and T.3 should not reach the level of T.2&amp;lt;/ref&amp;gt;:&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.2.A.&#039;&#039;&#039; If the bar is an extreme, then this is a potential point 2, and the potential point 3 becomes a confirmed point 3. In this case, the program proceeds to step 3.&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.2.B.&#039;&#039;&#039; The bar is not an extreme. In this case, the program begins to search for another candidate for point 3, for which it returns to the beginning of step 2.&lt;br /&gt;
&lt;br /&gt;
If the program has processed 50 bars &amp;lt;ref&amp;gt;The range of continuous search is t.3 in one iteration for all models except EAM&amp;lt;/ref&amp;gt; in a row in accordance with this step (step 2), and potential points 2 and 3 have not been found (i.e., the program has not yet moved to another step of the algorithm), then this potential point 1 is discarded.&lt;br /&gt;
&lt;br /&gt;
If there are 150 or more bars &amp;lt;ref&amp;gt;Maximum search range t3 for all models except EAM&amp;lt;/ref&amp;gt; between the potential point 1 and the bar being analyzed, and the program has not yet moved to another step of the algorithm, this potential point 1 is discarded.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step III. Building TL. Search for t.4&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;3.1. Checking for Fragmentation of the Base:&#039;&#039;&#039; After finding candidates for points 1, 2, and 3, a check is performed for the fragmentation of the Base. This means that there should be no extremes, co-directed with t.1, between the levels of t.1 and t.3 (Extremes that Fragment the Base, hereinafter referred to as EFB).&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;3.1.1:&#039;&#039;&#039; If such extremes are present, the program checks each EFB for the presence of a confirming counter-directed extreme on the section from the last intersection of the price level of the EFB to the EFB (analogous to the search for a confirming extreme of a potential t.1 in sub-step 1.2.1). If the EFB does not have a confirming extreme, then such an EFB is no longer considered (i.e., if there are no EFBs with confirming extremes, then the check is passed). If there is at least 1 EFB with a confirming extreme, then:&lt;br /&gt;
:: - The Base is fragmented;&lt;br /&gt;
:: - The confirmed t.3 becomes a cancelled t.3;&lt;br /&gt;
:: The program searches for a new t.3, for which it processes the next bar after the bar of the last cancelled t.3 according to step 2 of the algorithm.&lt;br /&gt;
:: &#039;&#039;&#039;3.1.2:&#039;&#039;&#039; If the check is successful and no EFBs are found (including if there are no confirmed EFBs), then the program proceeds to sub-step 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.2. Building and Checking TL on the 1-3 Section&#039;&#039;&#039;&lt;br /&gt;
: &#039;&#039;&#039;Determining the Section on Which t.3&#039; Can Be Found&#039;&#039;&#039;&lt;br /&gt;
: &#039;&#039;&#039;Searching for t.3&#039;.&#039;&#039;&#039;&lt;br /&gt;
:The parameters of the Trend Line passing through t.1 and t.3 (hereinafter TL) are calculated. TL is checked for breakthroughs on the 1-3 section.&lt;br /&gt;
:: &#039;&#039;&#039;3.2.1.&#039;&#039;&#039; TL is Broken&lt;br /&gt;
:: The bar of the confirmed t.3 is checked for breaking the level of t.2.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.1.1.&#039;&#039;&#039; If the level of t.2 is broken by the bar of the confirmed t.3, the confirmed t.3 becomes a cancelled t.3. The program searches for a new t.3. To do this, the bar that broke the level of t.2 is processed according to sub-step 3.4.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.1.2.&#039;&#039;&#039; If the level of t.2 is not broken by the bar of the confirmed t.3, then the next bar is processed according to sub-step 3.2.3.&lt;br /&gt;
:: &#039;&#039;&#039;3.2.2.&#039;&#039;&#039; TL is Not Broken - the bar following the bar of the confirmed t.3 is processed according to sub-step 3.3.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.2.3. Determining the Section on Which t.3&#039; Can Be Found&#039;&#039;&#039;&lt;br /&gt;
::The analyzed bar is checked for breaking the level of the confirmed t.3.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.3.1.&#039;&#039;&#039; If the level of the confirmed t.3 is broken, the confirmed t.3 becomes a cancelled t.3. The program searches for a new t.3. For this, the bar that broke the level of the confirmed t.3 is processed according to step 2 and further according to the algorithm.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.3.2.&#039;&#039;&#039; If the level of t.3 is not broken, the program checks the analyzed bar for breaking the level of t.2.&lt;br /&gt;
:::: &#039;&#039;&#039;3.2.3.2.1.&#039;&#039;&#039; If the level of t.2 is not broken, the program analyzes the next bar according to sub-step 3.2.3.&lt;br /&gt;
:::: &#039;&#039;&#039;3.2.3.2.2. Searching for t.3&#039;.&#039;&#039;&#039;&lt;br /&gt;
:::: If it breaks the level of t.2, then the program looks for such a point 3&#039; (hereinafter t.3&#039;) through which a line can be drawn from t.1 to t.3&#039;, which will not contain extra touches by the price on the section from the bar of t.1 to the bar following the bar of t.3&#039; (inclusive), and this line should not contain extra breakthroughs (not touches) by the price on the section to the bar that broke the level of t.2 (not inclusive).&lt;br /&gt;
::::: &#039;&#039;&#039;3.2.3.2.2.A.&#039;&#039;&#039; If t.3&#039; is found, then the TL is rebuilt through t.3&#039; (i.e., TL is now the line from t.1 to t.3&#039;), and the algorithm searches for a potential t.4, for which it processes the bar that broke the level of t.2 (but if the bar that broke the level of t.2 coincides with the bar of t.3&#039;, then the program immediately proceeds to process the next bar) according to sub-step 3.4.&lt;br /&gt;
::::: &#039;&#039;&#039;3.2.3.2.2.B.&#039;&#039;&#039; If the point t.3&#039; is not found, then the confirmed t.3 becomes a cancelled t.3. The program searches for a new t.3, for which it processes each previously unprocessed bar for the cancelled t.3 according to step 2 and further according to the algorithm. &lt;br /&gt;
&lt;br /&gt;
: If between t.1 and the analyzed bar there are 150 or more bars, and the program has not yet moved to another step of the algorithm, this potential t.1 is discarded.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.3. Checking TL on the Section After t.3.&#039;&#039;&#039;&lt;br /&gt;
: The analyzed bar is checked for overcoming TL.&lt;br /&gt;
:: &#039;&#039;&#039;3.3.1. TL is not overcome&#039;&#039;&#039; - the analyzed bar is processed according to sub-step 3.4.&lt;br /&gt;
:: &#039;&#039;&#039;3.3.2. TL is overcome.&#039;&#039;&#039; In this case, there are 2 options:&lt;br /&gt;
::: &#039;&#039;&#039;3.3.2.1.&#039;&#039;&#039; If between the analyzed bar (not inclusive) and the bar of t.3 (inclusive) the level of t.2 was not reached, the program performs a search for t.3&#039;, for which it moves to sub-step 3.2.3.&lt;br /&gt;
::: &#039;&#039;&#039;3.3.2.2.&#039;&#039;&#039; If between the analyzed bar (not inclusive) and the bar of t.3 (inclusive) the level of t.2 was reached, the program performs a search for a new candidate for t.3. For this, the analyzed bar is processed according to step 2 and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.4: Searching for Potential or Alternative t.4&#039;&#039;&#039;&lt;br /&gt;
: If the program is searching for t.4 and the analyzed bar is further from t.1 than 5 times the distance between t.1 and t.3, then this potential t.1 is discarded.&lt;br /&gt;
: If the program is searching for an alternative t.4 and the analyzed bar is further from t.1 than 10 times the number of bars between t.1 and t.3, then the search for an alternative t.4 is terminated.&lt;br /&gt;
: The analyzed bar is checked for being an extreme according to rule N1 (as a potential t.4).&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;Step 3.4.1: If the Bar is not an Extreme&#039;&#039;&#039;&lt;br /&gt;
:: The program checks the analyzed bar for breaking through (in this case, not touching) the TL.&lt;br /&gt;
::: &#039;&#039;&#039;Step 3.4.1.1:&#039;&#039;&#039; If the TL is not reached (not broken), then the program processes the next bar according to step 3.4.&lt;br /&gt;
::: &#039;&#039;&#039;Step 3.4.1.2:&#039;&#039;&#039; If the TL is broken, then the analyzed bar is processed similarly to step 3.3.2.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;Step 3.4.2: If the Bar is an Extreme&#039;&#039;&#039;&lt;br /&gt;
:: This is potentially t.4, proceed to step 3.5.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.5. Checking the Position of t.4&#039;&#039;&#039;&lt;br /&gt;
: The program checks the position of the potential t.4 relative to the extreme of t.2. There are 3 possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;3.5.1.&#039;&#039;&#039; The level of the potential t.4 is closer to the level of t.1 than the level of t.2. A candidate for t.4 for the Wedge model is found. In this case:&lt;br /&gt;
::: &#039;&#039;&#039;3.5.1.0.&#039;&#039;&#039; The bar of the potential t.4 is checked for the presence between it and the bar of t.3 of bars containing price values&lt;br /&gt;
:::: more distant from t.3 than the value of the potential t.4, or&lt;br /&gt;
:::: equal to t.4.&lt;br /&gt;
:::: This is a check for the potential absoluteness of the extreme of the potential t.4. Possible options are:&lt;br /&gt;
::::: &#039;&#039;&#039;3.5.1.0.1.&#039;&#039;&#039; The potential t.4 is not a potentially absolute extreme (there are bars more distant from t.3). In this case, the next bar is processed according to sub-step 3.4.&lt;br /&gt;
::::: &#039;&#039;&#039;3.5.1.0.2.&#039;&#039;&#039; The potential t.4 is a potentially absolute extreme. In this case checking if t.2-t.4 line (this is the Aims Line, hereinafter - AL) is crossed by the price in the section between t.2 and t.4 (hereinafter - section 2-4). There are 2 options – 3.5.1.1. and 3.5.1.2.&lt;br /&gt;
:::::: &#039;&#039;&#039;3.5.1.1.&#039;&#039;&#039; If AL is crossed, the program checks the analyzed bar for reaching the TL.&lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.1.1.&#039;&#039;&#039; If the TL is not reached - the next bar is processed according to sub-step 3.4.&lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.1.2.&#039;&#039;&#039; If the TL is reached, the program searches for a new candidate in t.3/t.3&#039;. To do this, the analyzed bar is processed according to sub-step 3.2.3 and further according to the algorithm.&lt;br /&gt;
:::::: &#039;&#039;&#039;3.5.1.2.&#039;&#039;&#039; If there is no linecrossing, the bar t.4 is checked for reaching the TL. The following options are possible:&lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.2.1.&#039;&#039;&#039; If the bar t.4 reached the TL, then the [Wedge Found] Wedge model is fixed, for which the level of intersection of the TL and the AL is calculated, after which the program searches for t.3’ with the same points 1,2,3, or searches for a new t.3. To do this, the program processes the analyzed bar (in this case, the bar t.4, while reaching the TL) starting from sub-step 3.2.3. Model&#039;s Type (parameter G1) = WEDGE . &lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.2.2.&#039;&#039;&#039; If the t.4 bar did not reach the TL, then the next bar after it (and when reapplying this step - the next bar after the previously analyzed bar) is analyzed for reaching the TL. At the same time, a check is made for not overcoming the distance equal to (t.1-t.3)*10. If the distance is overcome, then we return (go in a cycle) to the search for t.3. The following options are possible:&lt;br /&gt;
:::::::::: &#039;&#039;&#039;3.5.1.2.2.1.&#039;&#039;&#039; If the analyzed bar reached the TL, then the program acts in analogy with sub-step 3.5.1.2.1. (i.e., the [Wedge Found] Wedge model is fixed and in a new branch of the algorithm the program processes the analyzed bar (in this case, the bar that reached the TL) starting from sub-step 3.2.3.&lt;br /&gt;
:::::::::: &#039;&#039;&#039;3.5.1.2.2.2.&#039;&#039;&#039; If the TL is not reached, then the analyzed bar is checked for reaching the level of t.4. The following options are possible:&lt;br /&gt;
:::::::::::: &#039;&#039;&#039;3.5.1.2.2.2.A.&#039;&#039;&#039; If the level of t.4 is not reached, the program analyzes the next bar for reaching the TL, options are similar to sub-steps 3.5.1.2.2.1. and 3.5.1.2.2.2.&lt;br /&gt;
:::::::::::: &#039;&#039;&#039;3.5.1.2.2.2.B.&#039;&#039;&#039; If the level of t.4 is reached, then the program checks the analyzed bar according to sub-step 3.4.&lt;br /&gt;
:: &#039;&#039;&#039;3.5.2.&#039;&#039;&#039; The level of the potential t.4 is further from the level of t.1 than the level of the potential t.2 - transition to step 4.&lt;br /&gt;
:: &#039;&#039;&#039;3.5.3.&#039;&#039;&#039; The level of the potential t.4 is equal to the level of the potential t.2 - the program checks whether the bar of the considered candidate in t.4 has broken through (touched) the Trend Line (TL).&lt;br /&gt;
::: &#039;&#039;&#039;3.5.3.1. If not&#039;&#039;&#039; - the program searches for the next candidate for t.4. For this, the program processes the next bar according to sub-step 3.4.&lt;br /&gt;
::: &#039;&#039;&#039;3.5.3.2. If yes&#039;&#039;&#039; – the program searches for a new t.3, for which it analyzes the next bar according to step 2 and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV. Checking for Intersection of the Aim Line (AL) by Price on Section 2-4&#039;&#039;&#039;===&lt;br /&gt;
The program checks for intersections of the Aim Line by price on the section from t.2 to t.4 (hereafter - section 2-4).&lt;br /&gt;
: &#039;&#039;&#039;4.1.&#039;&#039;&#039; If the AL is intersected by price on section 2-4 the program checks the analyzed bar (which is also the bar of the potential t.4) for a breakout (in this case, not a touch) of the Trend Line (TL).&lt;br /&gt;
:: &#039;&#039;&#039;4.1.1.&#039;&#039;&#039; If the TL is not reached, the program processes the next bar according to step 3.4.&lt;br /&gt;
:: &#039;&#039;&#039;4.1.2.&#039;&#039;&#039; If the TL is broken,&lt;br /&gt;
::: - t.3 becomes the cancelled t.3;&lt;br /&gt;
::: - the program searches for a new candidate for t.3. To do this, the analyzed bar is processed according to step 2.&lt;br /&gt;
: &#039;&#039;&#039;4.2.&#039;&#039;&#039; If the AL is not intersected by price on section 2-4 the program proceeds to step 5.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step V. Model Fixation at the TL Breakthrough. Search for t.5. Search for t.6.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
The bar t.4 (or in repeated applications of the step, the analyzed bar specified in the algorithm) is checked for reaching TL. The following scenarios are possible:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; TL is reached (there is a touch of TL). In this case, the program checks whether the level of t.4 has been surpassed in the section from t.4 to the moment of reaching the price of TL (excluding the analyzed - i.e., the bar that broke through TL). This is possible with repeated applications of the step, i.e., when not t.4 will be analyzed, but one of the subsequent bars.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the level of t.4 is not surpassed, then the model is considered formed [The model is formed without 6];&lt;br /&gt;
:: Then the program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; If the level of t.4 is surpassed, the program looks for an absolute extreme in the section from t.4 (excluding) to the bar that reached the level of t.4 (inclusive), as point 5 (hereinafter - t.5).&lt;br /&gt;
:: When searching for a potential t.5, it is necessary to take into account the requirement: in a particular case, if the bar t.4 belongs to the extreme, co-directed with t.5, t.5 must break through the level of this extreme (i.e., the level of t.5 should be further from the level of t.4).&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; If the extreme is found - this is a potential t.5.&lt;br /&gt;
::: There are 2 scenarios:&lt;br /&gt;
:::: &#039;&#039;&#039;5.1.2.1.1.&#039;&#039;&#039; T.5 belongs to the bar, which broke through the level of t.4. The program checks whether the bar, which contains t.5 (and which broke through the level of t.4), is a bar that also contains and an absolute extreme in the section from this bar (inclusive) to the point of breaking through TL, (i.e., the current bar) (excluding). There are 2 scenarios:&lt;br /&gt;
::::: &#039;&#039;&#039;5.1.2.1.1.1.&#039;&#039;&#039; The bar t.5 contains an absolute extreme, co-directed with t.4. In this case, the absolute extreme, co-directed with t.4, is a new potential t.4. The program builds an AL through this t.4 and checks the AL for the absence of price intersections in the section 2-4.&lt;br /&gt;
::::: There are 2 scenarios:&lt;br /&gt;
::::::: &#039;&#039;&#039;5.1.2.1.1.1.A.&#039;&#039;&#039; On the section 2-4, the AL intersects with the price. In this case -t.3 becomes the canceled t.3; - the program is looking for a new t.3, for which it processes the bar that reached TL according to step 2 and further according to the algorithm.&lt;br /&gt;
::::::: &#039;&#039;&#039;5.1.2.1.1.1.B.&#039;&#039;&#039; On the section 2-4, the AL does not intersect with the price. The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;5.1.2.1.1.2.&#039;&#039;&#039; The bar t.5 does not contain an absolute extreme, co-directed with t.4. The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.1.2.1.2.&#039;&#039;&#039; T.5. belongs to the bar between the bar t.4 and the bar that broke through the level of t.4. The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The extreme is not found, the program is looking for the next candidate for t.4. To do this, the program processes the bar that has surpassed the level of the potential t.4 according to step 3.4.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; LT is not reached. If the analyzed bar contains a potential t.4, the program checks the next bar according to step 5. If the analyzed bar does not contain a potential t.4, then it is subjected to simultaneous verification:&lt;br /&gt;
&lt;br /&gt;
: for extremity according to rule N1 (as t.5);&lt;br /&gt;
: for the presence between the analyzed bar and the bar of the potential t.4 of bars containing price values, more distant from the potential t.4, than the most distant from t.4 value of the analyzed bar, as well as&lt;br /&gt;
:-the presence between the analyzed bar and the bar t.4 of price values equal to the most distant value of the price of the analyzed bar (this is a check for the potential absoluteness of the extreme of the potential t.5).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If the bar is an extreme and it is potentially absolute, then this bar is a potential t.5. The program checks this bar for reaching the level of t.4. There are 2 scenarios:&lt;br /&gt;
::: &#039;&#039;&#039;5.2.1.1.&#039;&#039;&#039; If the level of t.4 is reached (confirmed by the bar of the potential t.5)&lt;br /&gt;
::: The program checks whether the bar, which contains t.5 (and which broke through the level of t.4), also contains an extreme, co-directed with the bar t.4:&lt;br /&gt;
::: There are 2 scenarios:&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.1.1.1.&#039;&#039;&#039; The bar t.5 contains an extreme, co-directed with t.4. In this case, the absolute extreme, co-directed with t.4, is a new potential t.4. The program rebuilds the AL through it and checks this LC for the presence of intersections in the section t.2-t.4. There are 2 scenarios:&lt;br /&gt;
::::: &#039;&#039;&#039;5.2.1.1.1.A&#039;&#039;&#039; On the section 2-4, the AL intersects with the price. the program processes the next bar according to steps 3.4.&lt;br /&gt;
::::: &#039;&#039;&#039;5.2.1.1.1.B&#039;&#039;&#039; On the section 2-4, the AL does not intersect with the price. The program checks the next bar according to step 5.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.1.1.2.&#039;&#039;&#039; The bar t.5 does not contain an extreme, co-directed with t.4. In this case, the confirmation of the bar t.4 by the bar t.5 occurs. &lt;br /&gt;
:::: The program proceeds to step 6. (there was an idea to redo to step 5.3.)&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.2.1.2.&#039;&#039;&#039; If the level of t.4 is not reached. The program proceeds to step 6 (there was an idea to redo to step 5.3.) At the same time, the program checks the next bar in accordance with this item (i.e., according to step 5), to find another model with the same t.1, t.2, t.3, t.4, but another t.5.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If the bar is not an extreme, or is not potentially absolute, then the program checks it for reaching the level of the potential t.4.&lt;br /&gt;
::: &#039;&#039;&#039;5.2.2.1.&#039;&#039;&#039; If the bar reaches the level of t.4, then the program looks for an absolute extreme between t.4 and the point of confirmation t.4 (i.e., repeated after t.4 reaching the level of t.4) as t.5. There are 2 scenarios:&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.2.1.1.&#039;&#039;&#039; If t.5 is present, the program proceeds to step 6 (there was an idea to redo to step 5.3.)&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.2.1.2.&#039;&#039;&#039; If t.5 is absent, the program proceeds to search for a new t.4, for which it processes the bar that reached the level of t.4 starting from step 3.4.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.2.2.2.&#039;&#039;&#039; If the bar does not reach the level of the potential t.4, then the program processes the next bar from the beginning of this step (i.e., according to step 5).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5.3.&#039;&#039;&#039; Algorithm for determining the presumed real p.6:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; Apply Algorithm I to the models, excluding AM.&lt;br /&gt;
: Identify the price value that is farthest from the t.1 level, which is the level the price reached from t.3 to the first time the price touches the TL (referred to as the touch of TL). The touch of ЛТ occurs after t.4, indicating the moment when the model is formed.&lt;br /&gt;
:The extremum identified in step 2 is considered the real t.6.&lt;br /&gt;
:Instead of x&#039;s representing price value or time and date, the report displays the following:&lt;br /&gt;
: P6: xxxxx (price value)&lt;br /&gt;
: P6t: xx:xx:xxxx (time and date)&lt;br /&gt;
&lt;br /&gt;
:The technical parameters P6 and P6t are finalized at the moment the model is fully formed, which is when the price touches TL after t.4.&lt;br /&gt;
:P6supp: -&lt;br /&gt;
:P6suppt: -&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; If the price has not touched ЛТ after t.4 of the analyzed model at the moment of determining the presumed real p.6, the program will check if the number of bars formed after t.4 is more than 300.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the number of bars formed after t.4 exceeds 300, the presumed real p.6 for this model will not be determined.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the number of bars formed after t.4 does not exceed 300, several scenarios are possible.&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.1.&#039;&#039;&#039; One scenario is if the price has surpassed the t.4 level (meaning both t.4 and t.5 are confirmed). In this case, the program calculates the distance between the t.1 and t.4 levels.&lt;br /&gt;
:::: This distance is then marked off from t.4 towards the t.6 level, either upwards for an ascending model or downwards for a descending model.&lt;br /&gt;
:::: The program then checks if the price has surpassed this level in the section after t.4 of the analyzed model.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.2.&#039;&#039;&#039; If the price has reached t.4 level, the report does not provide information on the presumed real p.6. &lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.3.&#039;&#039;&#039; In the given scenario, the program checks if the price has surpassed a the t.4 level. If it hasn&#039;t, the program then identifies the price value that is farthest from the level reached after a specific time point (t.4). This extreme value is considered as the presumed real p.6. &lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the price has not surpassed the level of t.4 (meaning t.4 and t.5 are not confirmed), the potential t.4 is considered as the presumed real p.6. &lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.3.3.&#039;&#039;&#039; For AM the process is similar, but with one key difference. The TL is not used when determining the real or presumed p.6. Instead, the level of t.3 of the model under consideration is used to determine the real or presumed p.6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.4.&#039;&#039;&#039; Algorithm for Determining Whether the Model is from the Start of the Trend Model or Along the Trend (Trend-Following) Model&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.4.1.&#039;&#039;&#039; For main models except for EAM &lt;br /&gt;
:: The program sequentially checks bars from right to left (i.e., into the past) from the bar containing the extreme candidate at t.2 until it finds a price intersection of t.2 level .&lt;br /&gt;
&lt;br /&gt;
::* If the program has checked 50 bars up to t.1 of the model and such an intersection is not found, the model is considered a trend-following model.&lt;br /&gt;
::* If the intersection lies to the left of the (presumed) starting point of the preceding trend (related to this model), the report displays:  &lt;br /&gt;
:: G3: HTModel&lt;br /&gt;
:: * If the intersection lies to the right of the (presumed) starting point of the preceding trend, the model is considered a model from the start of the trend, the report displays: &lt;br /&gt;
:: G3: BTModel&lt;br /&gt;
:: * If the program has checked less than 50 bars up to t.1 of the model and reached the initial bar of the chart, and the sought-after intersection is not found, the model is considered a trend-following model, the report displays:  &lt;br /&gt;
:: G3: NoData&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.4.2.&#039;&#039;&#039; For EAM, the same applies, but the program looks for an intersection at the level of t.4 instead of an intersection at the level of t.2.&lt;br /&gt;
&lt;br /&gt;
:The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step VI. Search for Tangents and Construction of the Auxiliary Attraction Model&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; Search for t.2’&lt;br /&gt;
&lt;br /&gt;
: The program conducts a search for t.2’ (tangent, i.e., the rule N1 is removed for it), which will yield the LC, without any intersections with the price in the section between T.1 and T.2. Bars are checked from right to left starting from the bar t.2 to the bar t.1 inclusive (further – section 1-2). Point 2’ (further – t.2’) can coincide with t.2, if the LC through t.2 does not have extra price intersections on 1-2, however t.2’ cannot belong to the bar t.1.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6.1.1.&#039;&#039;&#039; If t.2’ is found &lt;br /&gt;
&lt;br /&gt;
:: If t.2’ is found (including if t.2’ coincides with t.2), then the program calculates the Line of goals by the tangent from t.2’ to t.4 (further -AL’). It is then checked whether the considered model has the status [The model is formed without point 6].&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.1.1.1.&#039;&#039;&#039; The model has the status [The model is formed without point 6] &lt;br /&gt;
&lt;br /&gt;
::: If the model has the status [The model is formed without point 6], the program proceeds to step 7.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.1.1.2.&#039;&#039;&#039; The model does not have the status [The model is formed without point 6] &lt;br /&gt;
&lt;br /&gt;
::: If the model does not have the status [The model is formed without point 6], the program proceeds to sub-step 6.2.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.1.2.&#039;&#039;&#039; If T.2’ is not found &lt;br /&gt;
&lt;br /&gt;
::: If t.2’ is not found (i.e., it is impossible to build such a line through points t.2’ and t.4, which will not contain extra points on section 1-2), then this is a model without an Auxiliary AM. Theprogram proceeds to step 7.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Search for t.3’ of the Auxiliary AM &lt;br /&gt;
&lt;br /&gt;
:: The program constructs a line from t.3 (or t.3’ if it exists) to t.5 (Trend Line of the Auxiliary Attraction Model, further - TLam) and checks it for the presence of price intersections in the section between t.3 and t.5.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.2.1.&#039;&#039;&#039; Intersections are found &lt;br /&gt;
&lt;br /&gt;
::: If intersections are found, the line t.3/t.3’-t.5 in this case is not displayed on the chart. The program searches for such point 3’ of the Auxiliary Attraction Model (further t.3’am), through which it is possible to construct a line, which will not have price intersections on the section from t.3/t.3’ to t.5.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;6.2.1.1.&#039;&#039;&#039; If t.3’am is found&lt;br /&gt;
&lt;br /&gt;
:::: If t.3’am is found, then the program constructs the Line of trend of the auxiliary model of attraction by the tangent from t.3’am to t.5 (further – TLam’) and calculates the level of intersection of AL’ and TLmp’ (further – calculated t.6). There are 2 options:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;6.2.1.1.1.&#039;&#039;&#039; If the calculated t.6 is found&lt;br /&gt;
&lt;br /&gt;
:::: If the calculated t.6 is found, then a check is carried out for the minimum ratio of the time segment t.2-t.4 to the segment t.4-t.6 for the Auxiliary AM (should be within 0.5). If the check is not passed, then the model does not have an auxiliary MP (in this case LTmp is not displayed on the chart), the algorithm proceeds to sub-step 6.3. If the check is passed, the program checks whether the bar t.5 breaks through the level of the calculated p.6.&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;6.2.1.1.1.A.&#039;&#039;&#039; If the bar t.5 does not break through the level of the calculated p.6 &lt;br /&gt;
&lt;br /&gt;
::::: If the t.5  bar does not break through the level of the calculated p.6, then the program proceeds to sub-step 6.3. In the report is displayed: AUX AM&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;6.2.1.1.1.B.&#039;&#039;&#039; If the t.5 bar breaks through the level of the calculated p.6&lt;br /&gt;
&lt;br /&gt;
::::: If the t.5 bar breaks through the level of the calculated p.6, then this AM cannot be built and the program is looking for a new t.4. for this the next bar is checked according to sub-step 3.4., or in case if the model has a mark draw_flag this branch of the algorithm stops.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;6.2.1.1.2.&#039;&#039;&#039; The calculated point 6-th is not found&lt;br /&gt;
&lt;br /&gt;
:::: The calculated 6-th is not found (i.e., the lines do not intersect). In this case TLam is not displayed on the chart. In the report is displayed: AUX NoAM The program proceeds to sub-step 6.3.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.2.1.2.&#039;&#039;&#039; If t.3’am is not found&lt;br /&gt;
&lt;br /&gt;
::: If t.3’am is not found, then in the report is displayed: AUX NoAM The program proceeds to step 7.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6.2.2.&#039;&#039;&#039; Intersections are not found &lt;br /&gt;
&lt;br /&gt;
:: Intersections are not found. In this case, the program calculates the level of intersection of TLam and AL’ (this is the level of the calculated p.6). There are 2 options according to sub-steps 6.2.1.1.1. and 6.2.1.1.2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.3.&#039;&#039;&#039; Construction of the Auxiliary AM through t.5&lt;br /&gt;
&lt;br /&gt;
: The program checks for the presence of t.5’ (the first possible local extremum in time on the section T.4-T.5). If T.5’ is found, in the report is displayed: AimsBlock5’ 5&#039; If t.5’ is not, then in the report is displayed: AimsBlock5’ No5&#039;&lt;br /&gt;
&lt;br /&gt;
: If t.5&#039; is present, the program will follow a similar process as sub-step 6.2 to construct the Trend Line for the Auxiliary Attraction Model. However, this time it will start from t.5&#039; and, if necessary, use another suitable t.3&#039; (referred to as t.3&#039;am5&#039;). If the program successfully constructs a Auxiliary AM through t.5&#039; (indicating convergence of the lines), the model will be labeled as [The AM is built through t.5&#039;] in the report. &lt;br /&gt;
: The report will display: &lt;br /&gt;
: AUX5’: AUX5’&lt;br /&gt;
: Alternatively, if the MP is not built through t.5&#039;, the program will display: &lt;br /&gt;
: AUX5’: NoAUX5’ &lt;br /&gt;
: After this, the program will proceed to step.7.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step VII. Determination of SP and Model Type.&#039;&#039;&#039;===&lt;br /&gt;
The program recalls whether the model was built through t.2 or through t.2’&lt;br /&gt;
: &#039;&#039;&#039;7.1.&#039;&#039;&#039; In case if AL is built through t.2 does not have intersection with the price on the section t.1-t.2, or if there is ALam, built through t.2’. Here and further it is assumed that if the line, built through t.2 to t.4 does not have intersections with the price on the section t.1-t.2, then it is considered that t.2’=t.2 and AL’=AL.&lt;br /&gt;
&lt;br /&gt;
: The type of the model is determined by the position of the intersection point of TL and AL’ (this is the line built from t.2’ to t.4) in relation to t.4:&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.1.1.&#039;&#039;&#039; The intersection point of TL and AL’ lies to the right of t.4. In this case the intersection point of the lines is the calculated point 6 (further - calculated t.6).), then the program calculates the ratio of time segments from t.1 to t.4 and from t.4 to calculated point 6 for AM.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.1.1.&#039;&#039;&#039; If the section from t.1 to t.4, multiplied by 3 is greater than the section from t.4 to the calculated point 6 for CMP, this model&#039;s  type is  AM.&lt;br /&gt;
::: G1: AM&lt;br /&gt;
&lt;br /&gt;
::: If the model under consideration is AM and at the same time it is formed (i.e. after t.4 the TL is broken through), the program checks each bar after the t.4 bar, until one of the following events:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.1.1.1.1.&#039;&#039;&#039; A bar is found that has reached the level of t.3 (but has not reached the level of t.4). In this case, this branch of the algorithm is completed.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.1.1.1.2.&#039;&#039;&#039; A bar is found that has reached the level of t.4 (while either not reaching or reaching the level of t.3).&lt;br /&gt;
&lt;br /&gt;
:::: -in case of the presence of the draw_flag label – this branch stops;&lt;br /&gt;
:::: -in another case, the program checks for the presence on the section from t.4 (not including) to the bar, which reached the level of t.4 (inclusive) of the extremum, opposite to the extremum t.4 (i.e. co-directed with the extremum t.1 of the analyzed model. There are 2 options:&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;7.1.1.1.2.A.&#039;&#039;&#039; The extremum is found. In this case, the algorithm proceeds to step 8.&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;7.1.1.1.2.B.&#039;&#039;&#039; The extremum is not found. In this case the status of the formed model is canceled (the model is discarded);&lt;br /&gt;
::::: -t.3 becomes the canceled t.3;&lt;br /&gt;
::::: -the program searches for the next candidate for t.3. For this, the program processes the bar that broke through the TL according to step 2.&lt;br /&gt;
:::  &#039;&#039;&#039;7.1.1.2.&#039;&#039;&#039; If&lt;br /&gt;
::: -the section from t.1 to t.4, multiplied by 3 is less than or equal to the section from t.4 to the calculated t.6 (for converging lines) and at the same time&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is greater than the section t.4-t.6, this model is AM/DBM&lt;br /&gt;
::: G1: AM/DBM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.1.3.&#039;&#039;&#039; The section from t.1 to t.4 multiplied by 12 is less than or equal to the section from SP to t.1 (for TL and AL converging to the left), then this model is DBM. &lt;br /&gt;
::: G1: DBM&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.1.2.&#039;&#039;&#039; The intersection point of TL and AL’ (AL’ – this is the line from t.2’ – t.4) lies to the left of t.4 —this point is qualified as the Sacral Point (further – SP).&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.2.1.&#039;&#039;&#039; If&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 3 is less than or equal to the section from SP to t.1, and at the same time;&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is greater than the section from SP to t.1 then this is EM/DBM &lt;br /&gt;
::: G1: EM/DBM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.2.2.&#039;&#039;&#039; If the section from t.1 to t.4 multiplied by 3 is greater than the section from SP to t.1, this is eng. - EM.&lt;br /&gt;
::: G1: EM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.2.3.&#039;&#039;&#039; If&lt;br /&gt;
::: -TL and AL of the model are parallel, or&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is less than or equal to the section t.4-t.6 (for TL and AL converging to the right);&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is less than or equal to the section from SP to t.1 (for TL and AL converging to the left), then this model is eng. - DBM &lt;br /&gt;
::: G1: DBM&lt;br /&gt;
&lt;br /&gt;
::: The program proceeds to step 8.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;7.2.&#039;&#039;&#039; If for this model it was impossible to construct AL (AL’) in such a way that there were no extra intersections on the section t.1 (inclusive) - t.2, then the program checks where TL and AL from t.2 intersect.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.2.1.&#039;&#039;&#039; If the lines intersect to the right (i.e. after t.4), then&lt;br /&gt;
::: &#039;&#039;&#039;7.2.1.1.&#039;&#039;&#039; if the section from t.1 to t.4, multiplied by 3 is greater than the section from t.4 to the calculated t.6 (for converging lines), then this model is incorrect.&lt;br /&gt;
::: There are one of 2 options:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.1.1.1&#039;&#039;&#039; If the TL of the incorrect AM is broken through by the t.4 bar or the bar immediately following t.4, then&lt;br /&gt;
&lt;br /&gt;
:::: -in case of the presence of the draw_flag label – this branch stops;&lt;br /&gt;
:::: -in another case t.3 becomes the canceled t.3 and the program searches for a new t.3, for this it processes the bar that broke through the TL AM according to step 2.&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.1.1.2.&#039;&#039;&#039; If the TL of the incorrect CMP is not broken through by the t.4 bar or the bar immediately following it, then the program searches for a new t.4, for this the next bar is checked according to sub-step 3.4.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.1.2.&#039;&#039;&#039; -the section from t.1 to t.4, multiplied by 12 is greater than the section from t.4 to the calculated t.6, then this model is AM/DBM .&lt;br /&gt;
::: G1: AM/DBM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.1.3.&#039;&#039;&#039; the section from t.1 to t.4 multiplied by 12 is less than or equal to the section from t.4 to t.6 then this model is DBM .&lt;br /&gt;
::: G1: DBM&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.2.2.&#039;&#039;&#039; If TL and AL intersect to the left (i.e. in the past) relative to t.4, the program performs an indirect check for the Strength of the trend. For this, a pseudo SP is used – this is the intersection point of AL (built through t.2) and TL in case it is impossible to build AL through t.2 so that there are no extra points on it. The following options are possible:&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.2.1.&#039;&#039;&#039; If the pseudo SP lies to the right (i.e. later) of t.1 to t.3 (or t.3’, if the model is built on it), then the type of this model is determined as EM, moreover, the model is strong by pseudo SP.&lt;br /&gt;
&lt;br /&gt;
::: G1: EM&lt;br /&gt;
&lt;br /&gt;
::: SP: strongpseudoSP&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.2.2.&#039;&#039;&#039; Otherwise&lt;br /&gt;
::: If the lines intersect to the left of t.1 (i.e. earlier), the following options are possible:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.2.2.1.&#039;&#039;&#039; If the section from t.1 to t.3 (3’) is greater than the section from the intersection of TL and AL to t.1, the model is assigned the type EM, while the Strength of the model is not determined.&lt;br /&gt;
:::: G1: EM&lt;br /&gt;
&lt;br /&gt;
:::: SP: undef&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.2.2.2.&#039;&#039;&#039; If&lt;br /&gt;
:::: -the section from T.1 to t.3(3’) is less than or equal to the section from the intersection of TL and AL to t.1 and up to&lt;br /&gt;
:::: -the section from T.1 to t.3(3’) multiplied by 3 is greater than the section from the intersection of TL and AL to t.1, the model is assigned the type is EM. At the same time, the model is weak.&lt;br /&gt;
&lt;br /&gt;
:::: G1: EM&lt;br /&gt;
&lt;br /&gt;
:::: SP: weakpseudoST&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.2.2.3.&#039;&#039;&#039; If the section from t.1 to t.3(3’) multiplied by 3 is less than the section from the intersection of TL and AL to t.1, then the model type is EM/DBM.&lt;br /&gt;
:::: G1: EM/DBM&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;7.3.&#039;&#039;&#039; Also, occasionally there are cases when the model for some reason does not fall under any of the above options. Then the model type is not determined.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VIII: Search for Alternative Models. Launching a New Branch from the Previous t.1 but with a Different t.3 &#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
The program initiates a search for the subsequent model with the same t.1, but a new t.3. The bar following t.3/t.3’, according to step 2, is analyzed for this purpose. Concurrently, the program initiates a search for an alternative model in relation to the one already found. For this, it analyzes the bar that has broken through the level of t.4 as a potential t.4, according to step 3.4, and continues further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=UMG_General_Concepts&amp;diff=212</id>
		<title>UMG General Concepts</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=UMG_General_Concepts&amp;diff=212"/>
		<updated>2024-01-04T20:53:16Z</updated>

		<summary type="html">&lt;p&gt;Admin: Definition of a Model as &amp;quot;Half-Trend&amp;quot; or &amp;quot;From the Beginning of the Trend&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&#039;&#039;&#039;Algorithm&#039;&#039;&#039; is a specific set of rules used to construct technical analysis models on financial instrument charts. UMG utilizes two distinct algorithms, each responsible for building different types of technical analysis models.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Model&#039;&#039;&#039; is a key structural concept in UMG that include a set of elements such as:&lt;br /&gt;
# A segment of the price chart where the algorithm has been successfully applied.&lt;br /&gt;
# A collection of lines constructed on the relevant price chart segment as a result of a complete and successful application of the Algorithm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Model’s Parameters&#039;&#039;&#039; is a collection of values derived from:&lt;br /&gt;
# The price chart segment and the set of lines created by the Algorithm.&lt;br /&gt;
# Certain parameters may also be calculated using other previously constructed models.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Points, Touches and Breakdowns&#039;&#039;&#039;:&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;&#039;Point&#039;&#039;&#039; is a key element of the model, which is determined in one of the following ways:&lt;br /&gt;
::- as the high/low of bar on the chart (for example Points 1,2,3,3&#039;,4,5 of a model) ;&lt;br /&gt;
::- as a specific bar where the price has formed an Absolute Extreme (for example Real Point 6);&lt;br /&gt;
::- as a forecast of the level and/or time calculated as the intersection of models lines (for example Calculated Point 6, Sacral Point, Supposed Point 6).&lt;br /&gt;
:&#039;&#039;&#039;Touch&#039;&#039;&#039; is a specific location on the chart associated with the high or low of a particular bar, through which the model&#039;s line passes. Significant Extremes or tangent points identified by the Algorithm may serve as reference Points for building model&#039;s lines. &lt;br /&gt;
:In the other case (Touch isn&#039;t a model&#039;s Point) it is the contact of the price with model&#039;s line (but not crossing of the line by the price). &lt;br /&gt;
:&#039;&#039;&#039;Breakdown&#039;&#039;&#039; is a location where there price crossed (not just touched) the model&#039;s line for the first time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Extremes&#039;&#039;&#039;:&lt;br /&gt;
:&#039;&#039;&#039;Significant Extreme&#039;&#039;&#039; is a price extreme that has a Confirming Extreme.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Confirming Extreme&#039;&#039;&#039; is a price extreme that precedes a Significant Extreme. In essence, an extreme can only be deemed Significant if there is a Confirming Extreme preceding it.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Absolute Extreme&#039;&#039;&#039;: In the context of algorithms, this refers to a price chart extreme that satisfies the following conditions:&lt;br /&gt;
# It represents the lowest or highest price value in the region between two adjacent Absolute Extremes. Therefore, Absolute Extremes are mutually defining.&lt;br /&gt;
# It is a Significant Extreme.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Local Extreme&#039;&#039;&#039;: This is a price extreme that satisfies the following conditions:&lt;br /&gt;
# Does not represent the lowest or highest price value in the region between two adjacent Absolute Extremes.&lt;br /&gt;
# It is a Significant Extreme.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Definition of a Model as &amp;quot;Half-Trend&amp;quot; or &amp;quot;From the Beginning of the Trend&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For main models other than EAM, the program sequentially checks bars from right to left (i.e., into the past) from the bar containing t.1 until one of the following events occurs:&lt;br /&gt;
&lt;br /&gt;
# A price level intersection of t.2 is found.&lt;br /&gt;
# A price level intersection of t.1 is found.&lt;br /&gt;
&lt;br /&gt;
::- If the program checks 50 bars before t.1 of the model, and neither intersection is found, the model is considered a model from the beginning of the trend.&lt;br /&gt;
::- If the program checks less than 50 bars before t.1 of the model and reaches the initial bar of the chart without finding the desired intersection, the model is considered a model from the beginning of the trend.&lt;br /&gt;
::- If a t.1 intersection is found before a t.2 intersection, the model is considered a trend model.&lt;br /&gt;
::- If a t.2 intersection is found before a t.1 intersection, the model is considered a model from the beginning of the trend.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=211</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=211"/>
		<updated>2024-01-04T20:36:41Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Step XI. Final Selection of t.2 - Checking the Convergence of LT and LC */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or &lt;br /&gt;
:: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
::If:&lt;br /&gt;
::*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
::*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. ::If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b.&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1.&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1.&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B.&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2.&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2.&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B.&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2.&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1.&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2.&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3.&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2, a.k.a FB) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step V. Search for Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
Presupposition is an optional part of the EAM.&lt;br /&gt;
The program attempts to construct Presuppositions from all available candidates for t.2.&lt;br /&gt;
&lt;br /&gt;
==== Presupposition Search Algorithm ====&lt;br /&gt;
The program takes each potential t.2 of the EAM (as part of a potential FB) as a t.1 of Presupposition (hereinafter t.1p). In other words, the program tries to construct Presuppositions from each of the t.2.&lt;br /&gt;
&lt;br /&gt;
Initially, the most recent (rightmost) potential t.2 (or the one specified in the algorithm if we have returned to the beginning of the Step V in the cycle) in the EAM is taken as a potential t.1p. If there are no more unconfirmed t.1p, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; The program sequentially checks bars from left to right (into the future) from the potential t.1p to t.3 of EAM model (excluding t.3) for being an extreme according to the N1 rule as point 3 of the Presupposition (hereinafter t.3p).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;N1 rule for the Presupposition points&#039;&#039;&#039;&lt;br /&gt;
: If t.1p is low, t.3p must be below t.1p.&lt;br /&gt;
: If t.1p is high, t.3p must be above t.1p.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the potential t.3p is not found, the program considers the next (to the left of the previous) potential t.2 of the EAM (within the FB) as t.1p.&lt;br /&gt;
:: If the potential t.3p is not found, and there are no more potential FBs, the algorithm proceeds to Step 6.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; Once the potential t.3p is found, the program searches for point 2 of the Presupposition (hereinafter t.2p) as an extreme with the maximum/minimum price on the segment from t.1p to t.3p (hereinafter segment 1p-3p).&lt;br /&gt;
:: If a suitable extreme is not found, the algorithm looks for the next potential t.3p for the previously found t.1p.&lt;br /&gt;
:: If a maximum/minimum is found, it is checked for for being an extreme (as t.2p).&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; The bar is an absolute extreme. In this case, a potential t.2p is found, and the program proceeds to step 5.2.&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The bar is not an extreme. In this case, the program looks for another candidate for t.3p for the previously found t.1p following the instructions in 5.1.&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; The program constructs a line from t.1p to t.3p and checks it for price crossings on the segment from t.1p to t.3 of the EAM (including t.3 of EAM).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If this lines price crossings are found, the program looks for a new candidate for t.3p for the previously found t.1p following the instructions in sub-step 5.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If there are no price crossings, the program proceeds to sub-step 5.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.&#039;&#039;&#039; The program searches for a potential point 4 of the Presupposition (t.4p) according to the N1 rule on the segment from t.3p to t.3 in the VMP (including t.3).&lt;br /&gt;
&lt;br /&gt;
: If t.1p is low, t.4p must be below t.2p. Each subsequent candidate for t.4p must be below the previous candidate for t.4p.&lt;br /&gt;
: If t.1p is high, t.4p must be above t.2p. Each subsequent candidate for t.4p must be above the previous candidate for t.4p.&lt;br /&gt;
: Possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;5.3.A.&#039;&#039;&#039; If the potential t.4p coincides with t.3 in the EAM, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.B.&#039;&#039;&#039; If the potential t.4p does not coincide with t.3 in the EAM (i.e., it is located before it), the program looks for an opposite-direction potential t.4p extreme on the segment from the potential t.4p (excluding it) to the bar where the price again reached the value of the potential t.4p (excluding it).&lt;br /&gt;
&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.1.&#039;&#039;&#039; If the opposite-direction extreme is found, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.2.&#039;&#039;&#039; If the opposite-direction extreme is not found, the program looks for a new potential t.4p following the instructions in sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; If t.4p is found, the program constructs a line from t.2p to t.4p and checks it for price crossings on the segment from t.1p (excluding it) to t.3 in the VMP (including t.3).&lt;br /&gt;
::: If unnecessary intersections are found, the program looks for the next potential t.4p on the segment following the instructions in 5.3.&lt;br /&gt;
::: If no unnecessary intersections are found, the algorithm proceeds to sub-step 5.4.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; Check for Absolute Level&lt;br /&gt;
:: The program checks the bar of the potential t.3p for absoluteness. The level of t.3p should not be exceeded by the price on the segment between t.3p and potential t.4p (excluding it).&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the level of t.3p is exceeded, the potential t.3p is discarded, and the program looks for a new t.3p following the instructions in sub-step 5.1. and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the level of t.3p is not exceeded, t.3p is confirmed, t.4p is confirmed, and the algorithm proceeds to sub- step 5.4.&lt;br /&gt;
&lt;br /&gt;
====  Presupposition Verification ====&lt;br /&gt;
: &#039;&#039;&#039; 5.4.&#039;&#039;&#039; Presuppositions undergo the following checks:&lt;br /&gt;
:: &#039;&#039;&#039;A.&#039;&#039;&#039; - Bars t.1p, t.2p, t.3p must follow each other.&lt;br /&gt;
:: &#039;&#039;&#039;B.&#039;&#039;&#039; - The distance in levels between t.1 and t.2 (hereinafter rank 12) must be at least the value of the Minimum Distance between t.1 and t.2 Levels of the Presupposition, which is set in the Calculation Parameters, from the distance between t.4 and t.5 levels of the EAM model(this is rank 45).&lt;br /&gt;
&lt;br /&gt;
:: If all checks are successful, the Presupposition is found. If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
:: If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VI. Check for AL price crossings&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;6 alfa.&#039;&#039;&#039; ==== &lt;br /&gt;
First it is necessary to check for the presence of a fixed t.2.  If it exists, it means we are in a branch of searching for alternative models. &lt;br /&gt;
&lt;br /&gt;
The potential Aims Line (from t.2 to t.4), hereinafter referred to as AL, is calculated, and then:&lt;br /&gt;
: &#039;&#039;&#039;6 alfa.1.&#039;&#039;&#039; AL Crossing Check&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. A.&#039;&#039;&#039; - If there are no  AL price crossings, the algorithm proceeds to step 6 alfa.2.&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. B.&#039;&#039;&#039; - If AL is crossed, the next potential t.5 is determined according to Step 2, starting from bar t.5+2.&lt;br /&gt;
: &#039;&#039;&#039;6.2. alfa.&#039;&#039;&#039; Distance Check for AL and TL Intersection&lt;br /&gt;
: If:&lt;br /&gt;
:: - TL and AL of the model do not intersect on the right (in the future) or&lt;br /&gt;
:: - the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated point 6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 EAM,&amp;quot; then the search for alternative models is terminated. Otherwise, the program proceeds to Step 9. &lt;br /&gt;
&lt;br /&gt;
====&#039;&#039;&#039; In the general case (no precviously fixed t.2)&#039;&#039;&#039; ====&lt;br /&gt;
The program performs the following checks for each of the potential FBs:&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; AL Price Crossing Check (not just touching)&lt;br /&gt;
: If AL intersects with the price on the segment between t.2 and t.4, this pair of candidates for t.1 and t.2 (this FB) is rejected.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.A.&#039;&#039;&#039; If FBs are found that give AL without intersections, the algorithm proceeds to step 6.2.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.B.&#039;&#039;&#039; If there are no suitable FBs, the algorithm looks for a new t.5 according to Step 2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Checking for intersection of AL and TL (hereinafter referred to as calculated point 6) with each other on the right (in the future) along the time axis.&lt;br /&gt;
: If the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated t.6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 VMP,&amp;quot; then these candidates for t.1 and t.2 are rejected.&lt;br /&gt;
: The following scenarios are possible:&lt;br /&gt;
:: &#039;&#039;&#039;6.2.A.&#039;&#039;&#039; One or several potential FBs remain - in this case, the program proceeds to Step 7.&lt;br /&gt;
:: &#039;&#039;&#039;6.2.B.&#039;&#039;&#039; There are no potential FBs left - in this case, the program looks for a new potential t.5, starting from Step 2 and onwards.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VII. Dtermintaion of FB&#039;s with and without 2X5&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program checks for the intersection of the bodies of candles at t.2 and t.5 (hereinafter referred to as 2x5). If there is only one potential FB, determining FB with 2x5 is not required, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.1.&#039;&#039;&#039; If there are multiple potential BOs, some of which have 2x5 and some do not, those potential BOs that have 2x5 are filtered out, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.2.&#039;&#039;&#039; If all potential FBs have 2x5, then all are filtered out except the one whose t.2 level is closer to the t.3 level. The program proceeds to &lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VIII: Filtering Based on Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The algorithm checks whether Presuppositions have been found for the analyzed model.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.0.&#039;&#039;&#039; If no Presuppositions are found, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.1.&#039;&#039;&#039; The model has one or more Presuppositions. For each Presupposition program checks if the available candidates for t.2 belong to the interval between the last price level intersection of t.1p and t.1p itself (t.1p can also be used as t.2 EAM).&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;8.1.1.&#039;&#039;&#039; There are candidates for t.2 that belong to the interval between the last price level intersection of t.1p and t.1p itself. Such a Presupposition is retained.&lt;br /&gt;
::&#039;&#039;&#039;8.1.2.&#039;&#039;&#039; There are no candidates for t.2 within the specified interval. In this case, such a Presupposition is discarded and not further considered (meaning the model has no Presupposition).&lt;br /&gt;
:&#039;&#039;&#039;8.2.&#039;&#039;&#039; If after checking all Presuppositions according to sub-step 8.1., there are one or more Presuppositions with candidates in t.2 within the interval between the last price level intersection of t.1p and t.1p itself (inclusive), then:&lt;br /&gt;
&lt;br /&gt;
: - Among such Presuppositions, only the one with t.1p occurring later on the time axis is considered further;&lt;br /&gt;
: - Only those candidates that belong to the interval between the last price level intersection of t.1p and t.1p itself are retained as t.2 candidates for the remaining Presupposition.&lt;br /&gt;
::&#039;&#039;&#039;8.2.1.&#039;&#039;&#039; If only one potential FB remains, the model is confirmed.&lt;br /&gt;
::&#039;&#039;&#039;8.2.2.&#039;&#039;&#039; If more than one potential FB remains, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step IX. Search for Embedded Models in EAM&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.1.&#039;&#039;&#039; If EAM is constructed through t.3&#039;, then the interval from EAM&#039;s t.3 is checked for the presence of models according to Algorithm I, for which the following conditions are simultaneously satisfied. In the paragraph below, the numbers I and II in parentheses next to the model points denote the algorithm to which the model with this point belongs:&lt;br /&gt;
&lt;br /&gt;
: - If the model according to Algorithm I contains t.5, then its t.5 should precede or coincide with the t.5 of the analyzed EAM.&lt;br /&gt;
: - t.4 does not lie beyond t.4 of the analyzed EAM; (bar of t.4(I) cannot coincide with bar of t.3(II), but can coincide with bar of t.4(II);&lt;br /&gt;
: -t.1 lies before t.3&#039; of the analyzed model (if it coincides with bar of t.3&#039;, then it is not suitable anymore) (t.1(I) can coincide with t.3(II), but cannot coincide with t.3&#039;(II)&lt;br /&gt;
&lt;br /&gt;
If there are more than 5 models, those with the time distance from t.1 to t.4 greater than others are considered embedded models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.1.&#039;&#039;&#039; If models are not found, then EAM does not have an embedded primary model.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.2.&#039;&#039;&#039; If the model/s is/are found, EAM is given the status of &amp;quot;Models described near the Primary model.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.3.&#039;&#039;&#039; If EAM has one or more embedded models, models among them built from EAM&#039;s t.3 are searched for meeting one of the following criteria:&lt;br /&gt;
&lt;br /&gt;
::: A. Having a trendline breakthrough in the interval before t.3&#039; of the analyzed model;&lt;br /&gt;
::: B. Having an intersection of candle bodies at points 2 and 5 (hereinafter 2x5).&lt;br /&gt;
::: C. If the embedded model has a rank 45 greater than the ranks of 12 and 25 of the same model.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.1.&#039;&#039;&#039; In the presence of one of these criteria, the model is Specific based on the 1st criterion.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.2.&#039;&#039;&#039; In the absence of the specified criteria, the model is Normal based on the 1st criterion.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;9.1.4.&#039;&#039;&#039; If there is a model according to Algorithm I on the interval from t.3 to t.3&#039; of the EAM, aligned with the preceding EAM trend, and with points t.1-t.4 lying on the interval 3-3&#039; EAM (inclusive), then this EAM is Specific based on the 2nd criterion. &lt;br /&gt;
:: In the absence of the specified criteria, the model is Normal based on the 2nd criterion.&lt;br /&gt;
&lt;br /&gt;
: Upon completion of all checks in step 9.1., the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.2.&#039;&#039;&#039; If EAM is constructed through t.3, the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step X. Search for Preceding Models&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program identifies all possible models in accordance with Algorithm I, starting from the initial point of the preceding trend or starting from the presumed initial point of the preceding trend, see step 1.3.).&lt;br /&gt;
In these models, the actual t.6 is determined, and if there was no intersection of TL, the Presumed t.6 (P6supp) is used. The algorithm for finding the actual/presumed t.6 is described in the branch of Algorithm I, see substep 5.3.&lt;br /&gt;
&lt;br /&gt;
Models on the preceding trend, with TL coinciding with t.3 of the EAM, are (directly) preceding for the given TL.&lt;br /&gt;
&lt;br /&gt;
Models on the preceding trend, for which the following conditions are simultaneously satisfied:&lt;br /&gt;
: - actual/presumed t.6 precedes or equals t.3 of the EAM;&lt;br /&gt;
: - t.6 is aligned with t.4 of the EAM;&lt;br /&gt;
: - the level of t.6 lies between the levels of t.3 and t.4 of the EAM;&lt;br /&gt;
are considered preceding corrective for the given EAM.&lt;br /&gt;
&lt;br /&gt;
From models with the same t.4 and the same t.1, the model with the later t.1 is selected as the priority for choosing t.2.&lt;br /&gt;
&lt;br /&gt;
From the remaining models with the same t.4, only the very last model is considered as both preceding and preceding corrective (i.e., with a later t.5 or without t.5) – one of each type.&lt;br /&gt;
&lt;br /&gt;
If there are more than 10 preceding and preceding corrective models (rarely encountered), only the last ones are selected (the last ones are determined as those with t.4 lying later than others).&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step XI. Final Selection of t.2 - Checking the Convergence of LT and LC&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;11.0.&#039;&#039;&#039; If t.2 is known (for example, in the case algorythm is searching for an alternative model), proceed directly to sub-step 11.3.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;11.0.1.&#039;&#039;&#039; The program finds the closest (in terms of time from t.1 of these models to t.3 of EAM) linked model on the preceding trend (preceding or preceding corrective).&lt;br /&gt;
:::&#039;&#039;&#039;11.0.1.1.&#039;&#039;&#039; If&lt;br /&gt;
:::: - the closest preceding model is a model from the beginning of the trend, and&lt;br /&gt;
:::: - t.2 of the analyzed model is before or coincides with t.1 of the preceding model, then the considered t.2 is rejected, and this branch of the algorithm is terminated.&lt;br /&gt;
:::&#039;&#039;&#039;11.0.1.2.&#039;&#039;&#039; If&lt;br /&gt;
:::: - the closest preceding model is a trend model, and&lt;br /&gt;
:::: - t.2 of the analyzed model is before t.1 of the preceding model,&lt;br /&gt;
::: the considered t.2 is rejected, and this branch of the algorithm is terminated.&lt;br /&gt;
&lt;br /&gt;
If EAM contains a presupposition, the program proceeds to sub-item 11.2. If the model does not contain a presupposition, the program proceeds to sub-item 11.1.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;11.1.&#039;&#039;&#039; The program finds the closest (in terms of time from t.1 of these models to t.3 of EAM) linked model on the preceding trend (preceding or preceding corrective).&lt;br /&gt;
::&#039;&#039;&#039;11.1.0.&#039;&#039;&#039; If there are no preceding models, the program proceeds to sub-step 11.2.&lt;br /&gt;
::&#039;&#039;&#039;11.1.1.&#039;&#039;&#039; If the nearest found linked model (preceding or preceding corrective) is a model from the beginning of the trend (not a trend model), then all potential t.2 that coincide with the bar of t.1 of the found linked model or are located before t.1 of the found linked model are rejected. The program proceeds to sub-step 11.2.&lt;br /&gt;
::&#039;&#039;&#039;11.1.2.&#039;&#039;&#039; If the nearest found linked model (preceding or preceding corrective) is a trend model, then&lt;br /&gt;
:::&#039;&#039;&#039;11.1.2.1.&#039;&#039;&#039; In the presence of a preceding trend model, all t.2 that are located before t.1 of the preceding model are rejected. In other words, t.1 of the preceding can be t.2 of EAM, and the points located before t.1 of the preceding - cannot be t.2 of EAM. The program proceeds to sub-step 11.2.&lt;br /&gt;
:::&#039;&#039;&#039;11.1.2.2.&#039;&#039;&#039; In the presence of a preceding corrective trend model, the program looks for another linked model on the preceding trend of EAM (the next in terms of distance) and analyzes it as a reference for this item (11.1.). In other words, the program returns to the beginning of sub-step 11.1.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;11.2.1.&#039;&#039;&#039; For specific models, the program selects the most distant t.2 in terms of time from t.3.&lt;br /&gt;
::&#039;&#039;&#039;11.2.2.&#039;&#039;&#039; For simple models, the program selects t.2 that is as close as possible in time to t.3.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;11.3.&#039;&#039;&#039; The algorithm calculates the level of intersection of TL and AL of EAM (hereinafter – the calculated t.6). The position of t.5 in relation to the level of the calculated t.6 is checked. There are two possible scenarios:&lt;br /&gt;
::&#039;&#039;&#039;11.3.1.&#039;&#039;&#039; If the bar of t.5 does not penetrate the level of the calculated t.6, the program checks if t.5&#039;&#039; has been found (in sub-step 13). Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;11.3.1.1.&#039;&#039;&#039; If t.5&#039;&#039; has been found, then the program checks for the convergence of TL&#039;&#039; and AL. &lt;br /&gt;
::::&#039;&#039;&#039;11.3.1.1.А.&#039;&#039;&#039; If the lines converge, then the program checks for the extent of convergence of TL&#039;&#039; and AL. If the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated t.6&#039;&#039; is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 EAM&amp;quot;, then t.5&#039;&#039; is rejected.&lt;br /&gt;
::::&#039;&#039;&#039;11.3.1.1.Б.&#039;&#039;&#039; If TL&#039;&#039; and AL diverge, then t.5&#039;&#039; is rejected.&lt;br /&gt;
:::: In the end of sub-step 11.3.1.1. - the program records the model.&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;11.3.1.2.&#039;&#039;&#039; If t.5&#039;&#039; is absent, the program records the model.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;11.3.2.&#039;&#039;&#039; If the bar of t.5 penetrates the level of the calculated t.6, then this EAM cannot be built, and the program looks for a new t.5 by processing the bar following the bar of t.5 according to sub-step 2 and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=210</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=210"/>
		<updated>2024-01-04T20:35:32Z</updated>

		<summary type="html">&lt;p&gt;Admin: Adding Step 11&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or &lt;br /&gt;
:: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
::If:&lt;br /&gt;
::*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
::*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. ::If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b.&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1.&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1.&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B.&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2.&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2.&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B.&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2.&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1.&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2.&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3.&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2, a.k.a FB) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step V. Search for Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
Presupposition is an optional part of the EAM.&lt;br /&gt;
The program attempts to construct Presuppositions from all available candidates for t.2.&lt;br /&gt;
&lt;br /&gt;
==== Presupposition Search Algorithm ====&lt;br /&gt;
The program takes each potential t.2 of the EAM (as part of a potential FB) as a t.1 of Presupposition (hereinafter t.1p). In other words, the program tries to construct Presuppositions from each of the t.2.&lt;br /&gt;
&lt;br /&gt;
Initially, the most recent (rightmost) potential t.2 (or the one specified in the algorithm if we have returned to the beginning of the Step V in the cycle) in the EAM is taken as a potential t.1p. If there are no more unconfirmed t.1p, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; The program sequentially checks bars from left to right (into the future) from the potential t.1p to t.3 of EAM model (excluding t.3) for being an extreme according to the N1 rule as point 3 of the Presupposition (hereinafter t.3p).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;N1 rule for the Presupposition points&#039;&#039;&#039;&lt;br /&gt;
: If t.1p is low, t.3p must be below t.1p.&lt;br /&gt;
: If t.1p is high, t.3p must be above t.1p.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the potential t.3p is not found, the program considers the next (to the left of the previous) potential t.2 of the EAM (within the FB) as t.1p.&lt;br /&gt;
:: If the potential t.3p is not found, and there are no more potential FBs, the algorithm proceeds to Step 6.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; Once the potential t.3p is found, the program searches for point 2 of the Presupposition (hereinafter t.2p) as an extreme with the maximum/minimum price on the segment from t.1p to t.3p (hereinafter segment 1p-3p).&lt;br /&gt;
:: If a suitable extreme is not found, the algorithm looks for the next potential t.3p for the previously found t.1p.&lt;br /&gt;
:: If a maximum/minimum is found, it is checked for for being an extreme (as t.2p).&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; The bar is an absolute extreme. In this case, a potential t.2p is found, and the program proceeds to step 5.2.&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The bar is not an extreme. In this case, the program looks for another candidate for t.3p for the previously found t.1p following the instructions in 5.1.&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; The program constructs a line from t.1p to t.3p and checks it for price crossings on the segment from t.1p to t.3 of the EAM (including t.3 of EAM).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If this lines price crossings are found, the program looks for a new candidate for t.3p for the previously found t.1p following the instructions in sub-step 5.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If there are no price crossings, the program proceeds to sub-step 5.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.&#039;&#039;&#039; The program searches for a potential point 4 of the Presupposition (t.4p) according to the N1 rule on the segment from t.3p to t.3 in the VMP (including t.3).&lt;br /&gt;
&lt;br /&gt;
: If t.1p is low, t.4p must be below t.2p. Each subsequent candidate for t.4p must be below the previous candidate for t.4p.&lt;br /&gt;
: If t.1p is high, t.4p must be above t.2p. Each subsequent candidate for t.4p must be above the previous candidate for t.4p.&lt;br /&gt;
: Possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;5.3.A.&#039;&#039;&#039; If the potential t.4p coincides with t.3 in the EAM, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.B.&#039;&#039;&#039; If the potential t.4p does not coincide with t.3 in the EAM (i.e., it is located before it), the program looks for an opposite-direction potential t.4p extreme on the segment from the potential t.4p (excluding it) to the bar where the price again reached the value of the potential t.4p (excluding it).&lt;br /&gt;
&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.1.&#039;&#039;&#039; If the opposite-direction extreme is found, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.2.&#039;&#039;&#039; If the opposite-direction extreme is not found, the program looks for a new potential t.4p following the instructions in sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; If t.4p is found, the program constructs a line from t.2p to t.4p and checks it for price crossings on the segment from t.1p (excluding it) to t.3 in the VMP (including t.3).&lt;br /&gt;
::: If unnecessary intersections are found, the program looks for the next potential t.4p on the segment following the instructions in 5.3.&lt;br /&gt;
::: If no unnecessary intersections are found, the algorithm proceeds to sub-step 5.4.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; Check for Absolute Level&lt;br /&gt;
:: The program checks the bar of the potential t.3p for absoluteness. The level of t.3p should not be exceeded by the price on the segment between t.3p and potential t.4p (excluding it).&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the level of t.3p is exceeded, the potential t.3p is discarded, and the program looks for a new t.3p following the instructions in sub-step 5.1. and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the level of t.3p is not exceeded, t.3p is confirmed, t.4p is confirmed, and the algorithm proceeds to sub- step 5.4.&lt;br /&gt;
&lt;br /&gt;
====  Presupposition Verification ====&lt;br /&gt;
: &#039;&#039;&#039; 5.4.&#039;&#039;&#039; Presuppositions undergo the following checks:&lt;br /&gt;
:: &#039;&#039;&#039;A.&#039;&#039;&#039; - Bars t.1p, t.2p, t.3p must follow each other.&lt;br /&gt;
:: &#039;&#039;&#039;B.&#039;&#039;&#039; - The distance in levels between t.1 and t.2 (hereinafter rank 12) must be at least the value of the Minimum Distance between t.1 and t.2 Levels of the Presupposition, which is set in the Calculation Parameters, from the distance between t.4 and t.5 levels of the EAM model(this is rank 45).&lt;br /&gt;
&lt;br /&gt;
:: If all checks are successful, the Presupposition is found. If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
:: If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VI. Check for AL price crossings&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;6 alfa.&#039;&#039;&#039; ==== &lt;br /&gt;
First it is necessary to check for the presence of a fixed t.2.  If it exists, it means we are in a branch of searching for alternative models. &lt;br /&gt;
&lt;br /&gt;
The potential Aims Line (from t.2 to t.4), hereinafter referred to as AL, is calculated, and then:&lt;br /&gt;
: &#039;&#039;&#039;6 alfa.1.&#039;&#039;&#039; AL Crossing Check&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. A.&#039;&#039;&#039; - If there are no  AL price crossings, the algorithm proceeds to step 6 alfa.2.&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. B.&#039;&#039;&#039; - If AL is crossed, the next potential t.5 is determined according to Step 2, starting from bar t.5+2.&lt;br /&gt;
: &#039;&#039;&#039;6.2. alfa.&#039;&#039;&#039; Distance Check for AL and TL Intersection&lt;br /&gt;
: If:&lt;br /&gt;
:: - TL and AL of the model do not intersect on the right (in the future) or&lt;br /&gt;
:: - the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated point 6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 EAM,&amp;quot; then the search for alternative models is terminated. Otherwise, the program proceeds to Step 9. &lt;br /&gt;
&lt;br /&gt;
====&#039;&#039;&#039; In the general case (no precviously fixed t.2)&#039;&#039;&#039; ====&lt;br /&gt;
The program performs the following checks for each of the potential FBs:&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; AL Price Crossing Check (not just touching)&lt;br /&gt;
: If AL intersects with the price on the segment between t.2 and t.4, this pair of candidates for t.1 and t.2 (this FB) is rejected.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.A.&#039;&#039;&#039; If FBs are found that give AL without intersections, the algorithm proceeds to step 6.2.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.B.&#039;&#039;&#039; If there are no suitable FBs, the algorithm looks for a new t.5 according to Step 2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Checking for intersection of AL and TL (hereinafter referred to as calculated point 6) with each other on the right (in the future) along the time axis.&lt;br /&gt;
: If the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated t.6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 VMP,&amp;quot; then these candidates for t.1 and t.2 are rejected.&lt;br /&gt;
: The following scenarios are possible:&lt;br /&gt;
:: &#039;&#039;&#039;6.2.A.&#039;&#039;&#039; One or several potential FBs remain - in this case, the program proceeds to Step 7.&lt;br /&gt;
:: &#039;&#039;&#039;6.2.B.&#039;&#039;&#039; There are no potential FBs left - in this case, the program looks for a new potential t.5, starting from Step 2 and onwards.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VII. Dtermintaion of FB&#039;s with and without 2X5&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program checks for the intersection of the bodies of candles at t.2 and t.5 (hereinafter referred to as 2x5). If there is only one potential FB, determining FB with 2x5 is not required, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.1.&#039;&#039;&#039; If there are multiple potential BOs, some of which have 2x5 and some do not, those potential BOs that have 2x5 are filtered out, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.2.&#039;&#039;&#039; If all potential FBs have 2x5, then all are filtered out except the one whose t.2 level is closer to the t.3 level. The program proceeds to &lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VIII: Filtering Based on Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The algorithm checks whether Presuppositions have been found for the analyzed model.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.0.&#039;&#039;&#039; If no Presuppositions are found, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.1.&#039;&#039;&#039; The model has one or more Presuppositions. For each Presupposition program checks if the available candidates for t.2 belong to the interval between the last price level intersection of t.1p and t.1p itself (t.1p can also be used as t.2 EAM).&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;8.1.1.&#039;&#039;&#039; There are candidates for t.2 that belong to the interval between the last price level intersection of t.1p and t.1p itself. Such a Presupposition is retained.&lt;br /&gt;
::&#039;&#039;&#039;8.1.2.&#039;&#039;&#039; There are no candidates for t.2 within the specified interval. In this case, such a Presupposition is discarded and not further considered (meaning the model has no Presupposition).&lt;br /&gt;
:&#039;&#039;&#039;8.2.&#039;&#039;&#039; If after checking all Presuppositions according to sub-step 8.1., there are one or more Presuppositions with candidates in t.2 within the interval between the last price level intersection of t.1p and t.1p itself (inclusive), then:&lt;br /&gt;
&lt;br /&gt;
: - Among such Presuppositions, only the one with t.1p occurring later on the time axis is considered further;&lt;br /&gt;
: - Only those candidates that belong to the interval between the last price level intersection of t.1p and t.1p itself are retained as t.2 candidates for the remaining Presupposition.&lt;br /&gt;
::&#039;&#039;&#039;8.2.1.&#039;&#039;&#039; If only one potential FB remains, the model is confirmed.&lt;br /&gt;
::&#039;&#039;&#039;8.2.2.&#039;&#039;&#039; If more than one potential FB remains, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step IX. Search for Embedded Models in EAM&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.1.&#039;&#039;&#039; If EAM is constructed through t.3&#039;, then the interval from EAM&#039;s t.3 is checked for the presence of models according to Algorithm I, for which the following conditions are simultaneously satisfied. In the paragraph below, the numbers I and II in parentheses next to the model points denote the algorithm to which the model with this point belongs:&lt;br /&gt;
&lt;br /&gt;
: - If the model according to Algorithm I contains t.5, then its t.5 should precede or coincide with the t.5 of the analyzed EAM.&lt;br /&gt;
: - t.4 does not lie beyond t.4 of the analyzed EAM; (bar of t.4(I) cannot coincide with bar of t.3(II), but can coincide with bar of t.4(II);&lt;br /&gt;
: -t.1 lies before t.3&#039; of the analyzed model (if it coincides with bar of t.3&#039;, then it is not suitable anymore) (t.1(I) can coincide with t.3(II), but cannot coincide with t.3&#039;(II)&lt;br /&gt;
&lt;br /&gt;
If there are more than 5 models, those with the time distance from t.1 to t.4 greater than others are considered embedded models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.1.&#039;&#039;&#039; If models are not found, then EAM does not have an embedded primary model.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.2.&#039;&#039;&#039; If the model/s is/are found, EAM is given the status of &amp;quot;Models described near the Primary model.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.3.&#039;&#039;&#039; If EAM has one or more embedded models, models among them built from EAM&#039;s t.3 are searched for meeting one of the following criteria:&lt;br /&gt;
&lt;br /&gt;
::: A. Having a trendline breakthrough in the interval before t.3&#039; of the analyzed model;&lt;br /&gt;
::: B. Having an intersection of candle bodies at points 2 and 5 (hereinafter 2x5).&lt;br /&gt;
::: C. If the embedded model has a rank 45 greater than the ranks of 12 and 25 of the same model.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.1.&#039;&#039;&#039; In the presence of one of these criteria, the model is Specific based on the 1st criterion.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.2.&#039;&#039;&#039; In the absence of the specified criteria, the model is Normal based on the 1st criterion.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;9.1.4.&#039;&#039;&#039; If there is a model according to Algorithm I on the interval from t.3 to t.3&#039; of the EAM, aligned with the preceding EAM trend, and with points t.1-t.4 lying on the interval 3-3&#039; EAM (inclusive), then this EAM is Specific based on the 2nd criterion. &lt;br /&gt;
:: In the absence of the specified criteria, the model is Normal based on the 2nd criterion.&lt;br /&gt;
&lt;br /&gt;
: Upon completion of all checks in step 9.1., the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.2.&#039;&#039;&#039; If EAM is constructed through t.3, the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step X. Search for Preceding Models&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program identifies all possible models in accordance with Algorithm I, starting from the initial point of the preceding trend or starting from the presumed initial point of the preceding trend, see step 1.3.).&lt;br /&gt;
In these models, the actual t.6 is determined, and if there was no intersection of TL, the Presumed t.6 (P6supp) is used. The algorithm for finding the actual/presumed t.6 is described in the branch of Algorithm I, see substep 5.3.&lt;br /&gt;
&lt;br /&gt;
Models on the preceding trend, with TL coinciding with t.3 of the EAM, are (directly) preceding for the given TL.&lt;br /&gt;
&lt;br /&gt;
Models on the preceding trend, for which the following conditions are simultaneously satisfied:&lt;br /&gt;
: - actual/presumed t.6 precedes or equals t.3 of the EAM;&lt;br /&gt;
: - t.6 is aligned with t.4 of the EAM;&lt;br /&gt;
: - the level of t.6 lies between the levels of t.3 and t.4 of the EAM;&lt;br /&gt;
are considered preceding corrective for the given EAM.&lt;br /&gt;
&lt;br /&gt;
From models with the same t.4 and the same t.1, the model with the later t.1 is selected as the priority for choosing t.2.&lt;br /&gt;
&lt;br /&gt;
From the remaining models with the same t.4, only the very last model is considered as both preceding and preceding corrective (i.e., with a later t.5 or without t.5) – one of each type.&lt;br /&gt;
&lt;br /&gt;
If there are more than 10 preceding and preceding corrective models (rarely encountered), only the last ones are selected (the last ones are determined as those with t.4 lying later than others).&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step XI. Final Selection of t.2 - Checking the Convergence of LT and LC&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;11.0.&#039;&#039;&#039; If t.2 is known (for example, in the case algorythm is searching for an alternative model), proceed directly to sub-step 11.3.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;11.0.1.&#039;&#039;&#039; The program finds the closest (in terms of time from t.1 of these models to t.3 of EAM) linked model on the preceding trend (preceding or preceding corrective).&lt;br /&gt;
:::&#039;&#039;&#039;11.0.1.1.&#039;&#039;&#039; If&lt;br /&gt;
:::: - the closest preceding model is a model from the beginning of the trend, and&lt;br /&gt;
:::: - t.2 of the analyzed model is before or coincides with t.1 of the preceding model, then the considered t.2 is rejected, and this branch of the algorithm is terminated.&lt;br /&gt;
:::&#039;&#039;&#039;11.0.1.2.&#039;&#039;&#039; If&lt;br /&gt;
:::: - the closest preceding model is a trend model, and&lt;br /&gt;
:::: - t.2 of the analyzed model is before t.1 of the preceding model,&lt;br /&gt;
::: the considered t.2 is rejected, and this branch of the algorithm is terminated.&lt;br /&gt;
&lt;br /&gt;
If EAM contains a presupposition, the program proceeds to sub-item 11.2. If the model does not contain a presupposition, the program proceeds to sub-item 11.1.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;11.1.&#039;&#039;&#039; The program finds the closest (in terms of time from t.1 of these models to t.3 of EAM) linked model on the preceding trend (preceding or preceding corrective).&lt;br /&gt;
::&#039;&#039;&#039;11.1.0.&#039;&#039;&#039; If there are no preceding models, the program proceeds to sub-step 11.2.&lt;br /&gt;
::&#039;&#039;&#039;11.1.1.&#039;&#039;&#039; If the nearest found linked model (preceding or preceding corrective) is a model from the beginning of the trend (not a trend model), then all potential t.2 that coincide with the bar of t.1 of the found linked model or are located before t.1 of the found linked model are rejected. The program proceeds to sub-step 11.2.&lt;br /&gt;
::&#039;&#039;&#039;11.1.2.&#039;&#039;&#039; If the nearest found linked model (preceding or preceding corrective) is a trend model, then&lt;br /&gt;
:::&#039;&#039;&#039;11.1.2.1.&#039;&#039;&#039; In the presence of a preceding trend model, all t.2 that are located before t.1 of the preceding model are rejected. In other words, t.1 of the preceding can be t.2 of EAM, and the points located before t.1 of the preceding - cannot be t.2 of EAM. The program proceeds to sub-step 11.2.&lt;br /&gt;
:::&#039;&#039;&#039;11.1.2.2.&#039;&#039;&#039; In the presence of a preceding corrective trend model, the program looks for another linked model on the preceding trend of EAM (the next in terms of distance) and analyzes it as a reference for this item (11.1.). In other words, the program returns to the beginning of sub-step 11.1.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;11.2.1.&#039;&#039;&#039; For specific models, the program selects the most distant t.2 in terms of time from t.3.&lt;br /&gt;
::&#039;&#039;&#039;11.2.2.&#039;&#039;&#039; For simple models, the program selects t.2 that is as close as possible in time to t.3.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;11.3.&#039;&#039;&#039; The algorithm calculates the level of intersection of TL and AL of EAM (hereinafter – the calculated t.6). The position of t.5 in relation to the level of the calculated t.6 is checked. There are two possible scenarios:&lt;br /&gt;
::&#039;&#039;&#039;11.3.1.&#039;&#039;&#039; If the bar of t.5 does not penetrate the level of the calculated t.6, the program checks if t.5&#039;&#039; has been found (in sub-step 13). Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;11.3.1.1.&#039;&#039;&#039; If t.5&#039;&#039; has been found, then the program checks for the convergence of TL&#039;&#039; and AL. &lt;br /&gt;
::::&#039;&#039;&#039;11.3.1.1.А.&#039;&#039;&#039; If the lines converge, then the program checks for the extent of convergence of TL&#039;&#039; and AL. If the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated t.6&#039;&#039; is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 EAM&amp;quot;, then t.5&#039;&#039; is rejected.&lt;br /&gt;
::::&#039;&#039;&#039;11.3.1.1.Б.&#039;&#039;&#039; If TL&#039;&#039; and AL diverge, then t.5&#039;&#039; is rejected.&lt;br /&gt;
Regarding the entire sub-step 11.3.1.1. - the program records the model.&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;11.3.1.2.&#039;&#039;&#039; If t.5&#039;&#039; is absent, the program records the model.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;11.3.2.&#039;&#039;&#039; If the bar of t.5 penetrates the level of the calculated t.6, then this EAM cannot be built, and the program looks for a new t.5 by processing the bar following the bar of t.5 according to sub-step 2 and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=209</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=209"/>
		<updated>2024-01-04T08:51:33Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Step X. Search for Preceding Models (EAM) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or &lt;br /&gt;
:: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
::If:&lt;br /&gt;
::*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
::*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. ::If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b.&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1.&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1.&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B.&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2.&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2.&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B.&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2.&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1.&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2.&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3.&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2, a.k.a FB) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step V. Search for Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
Presupposition is an optional part of the EAM.&lt;br /&gt;
The program attempts to construct Presuppositions from all available candidates for t.2.&lt;br /&gt;
&lt;br /&gt;
==== Presupposition Search Algorithm ====&lt;br /&gt;
The program takes each potential t.2 of the EAM (as part of a potential FB) as a t.1 of Presupposition (hereinafter t.1p). In other words, the program tries to construct Presuppositions from each of the t.2.&lt;br /&gt;
&lt;br /&gt;
Initially, the most recent (rightmost) potential t.2 (or the one specified in the algorithm if we have returned to the beginning of the Step V in the cycle) in the EAM is taken as a potential t.1p. If there are no more unconfirmed t.1p, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; The program sequentially checks bars from left to right (into the future) from the potential t.1p to t.3 of EAM model (excluding t.3) for being an extreme according to the N1 rule as point 3 of the Presupposition (hereinafter t.3p).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;N1 rule for the Presupposition points&#039;&#039;&#039;&lt;br /&gt;
: If t.1p is low, t.3p must be below t.1p.&lt;br /&gt;
: If t.1p is high, t.3p must be above t.1p.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the potential t.3p is not found, the program considers the next (to the left of the previous) potential t.2 of the EAM (within the FB) as t.1p.&lt;br /&gt;
:: If the potential t.3p is not found, and there are no more potential FBs, the algorithm proceeds to Step 6.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; Once the potential t.3p is found, the program searches for point 2 of the Presupposition (hereinafter t.2p) as an extreme with the maximum/minimum price on the segment from t.1p to t.3p (hereinafter segment 1p-3p).&lt;br /&gt;
:: If a suitable extreme is not found, the algorithm looks for the next potential t.3p for the previously found t.1p.&lt;br /&gt;
:: If a maximum/minimum is found, it is checked for for being an extreme (as t.2p).&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; The bar is an absolute extreme. In this case, a potential t.2p is found, and the program proceeds to step 5.2.&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The bar is not an extreme. In this case, the program looks for another candidate for t.3p for the previously found t.1p following the instructions in 5.1.&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; The program constructs a line from t.1p to t.3p and checks it for price crossings on the segment from t.1p to t.3 of the EAM (including t.3 of EAM).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If this lines price crossings are found, the program looks for a new candidate for t.3p for the previously found t.1p following the instructions in sub-step 5.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If there are no price crossings, the program proceeds to sub-step 5.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.&#039;&#039;&#039; The program searches for a potential point 4 of the Presupposition (t.4p) according to the N1 rule on the segment from t.3p to t.3 in the VMP (including t.3).&lt;br /&gt;
&lt;br /&gt;
: If t.1p is low, t.4p must be below t.2p. Each subsequent candidate for t.4p must be below the previous candidate for t.4p.&lt;br /&gt;
: If t.1p is high, t.4p must be above t.2p. Each subsequent candidate for t.4p must be above the previous candidate for t.4p.&lt;br /&gt;
: Possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;5.3.A.&#039;&#039;&#039; If the potential t.4p coincides with t.3 in the EAM, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.B.&#039;&#039;&#039; If the potential t.4p does not coincide with t.3 in the EAM (i.e., it is located before it), the program looks for an opposite-direction potential t.4p extreme on the segment from the potential t.4p (excluding it) to the bar where the price again reached the value of the potential t.4p (excluding it).&lt;br /&gt;
&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.1.&#039;&#039;&#039; If the opposite-direction extreme is found, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.2.&#039;&#039;&#039; If the opposite-direction extreme is not found, the program looks for a new potential t.4p following the instructions in sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; If t.4p is found, the program constructs a line from t.2p to t.4p and checks it for price crossings on the segment from t.1p (excluding it) to t.3 in the VMP (including t.3).&lt;br /&gt;
::: If unnecessary intersections are found, the program looks for the next potential t.4p on the segment following the instructions in 5.3.&lt;br /&gt;
::: If no unnecessary intersections are found, the algorithm proceeds to sub-step 5.4.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; Check for Absolute Level&lt;br /&gt;
:: The program checks the bar of the potential t.3p for absoluteness. The level of t.3p should not be exceeded by the price on the segment between t.3p and potential t.4p (excluding it).&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the level of t.3p is exceeded, the potential t.3p is discarded, and the program looks for a new t.3p following the instructions in sub-step 5.1. and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the level of t.3p is not exceeded, t.3p is confirmed, t.4p is confirmed, and the algorithm proceeds to sub- step 5.4.&lt;br /&gt;
&lt;br /&gt;
====  Presupposition Verification ====&lt;br /&gt;
: &#039;&#039;&#039; 5.4.&#039;&#039;&#039; Presuppositions undergo the following checks:&lt;br /&gt;
:: &#039;&#039;&#039;A.&#039;&#039;&#039; - Bars t.1p, t.2p, t.3p must follow each other.&lt;br /&gt;
:: &#039;&#039;&#039;B.&#039;&#039;&#039; - The distance in levels between t.1 and t.2 (hereinafter rank 12) must be at least the value of the Minimum Distance between t.1 and t.2 Levels of the Presupposition, which is set in the Calculation Parameters, from the distance between t.4 and t.5 levels of the EAM model(this is rank 45).&lt;br /&gt;
&lt;br /&gt;
:: If all checks are successful, the Presupposition is found. If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
:: If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VI. Check for AL price crossings&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;6 alfa.&#039;&#039;&#039; ==== &lt;br /&gt;
First it is necessary to check for the presence of a fixed t.2.  If it exists, it means we are in a branch of searching for alternative models. &lt;br /&gt;
&lt;br /&gt;
The potential Aims Line (from t.2 to t.4), hereinafter referred to as AL, is calculated, and then:&lt;br /&gt;
: &#039;&#039;&#039;6 alfa.1.&#039;&#039;&#039; AL Crossing Check&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. A.&#039;&#039;&#039; - If there are no  AL price crossings, the algorithm proceeds to step 6 alfa.2.&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. B.&#039;&#039;&#039; - If AL is crossed, the next potential t.5 is determined according to Step 2, starting from bar t.5+2.&lt;br /&gt;
: &#039;&#039;&#039;6.2. alfa.&#039;&#039;&#039; Distance Check for AL and TL Intersection&lt;br /&gt;
: If:&lt;br /&gt;
:: - TL and AL of the model do not intersect on the right (in the future) or&lt;br /&gt;
:: - the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated point 6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 EAM,&amp;quot; then the search for alternative models is terminated. Otherwise, the program proceeds to Step 9. &lt;br /&gt;
&lt;br /&gt;
====&#039;&#039;&#039; In the general case (no precviously fixed t.2)&#039;&#039;&#039; ====&lt;br /&gt;
The program performs the following checks for each of the potential FBs:&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; AL Price Crossing Check (not just touching)&lt;br /&gt;
: If AL intersects with the price on the segment between t.2 and t.4, this pair of candidates for t.1 and t.2 (this FB) is rejected.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.A.&#039;&#039;&#039; If FBs are found that give AL without intersections, the algorithm proceeds to step 6.2.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.B.&#039;&#039;&#039; If there are no suitable FBs, the algorithm looks for a new t.5 according to Step 2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Checking for intersection of AL and TL (hereinafter referred to as calculated point 6) with each other on the right (in the future) along the time axis.&lt;br /&gt;
: If the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated t.6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 VMP,&amp;quot; then these candidates for t.1 and t.2 are rejected.&lt;br /&gt;
: The following scenarios are possible:&lt;br /&gt;
:: &#039;&#039;&#039;6.2.A.&#039;&#039;&#039; One or several potential FBs remain - in this case, the program proceeds to Step 7.&lt;br /&gt;
:: &#039;&#039;&#039;6.2.B.&#039;&#039;&#039; There are no potential FBs left - in this case, the program looks for a new potential t.5, starting from Step 2 and onwards.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VII. Dtermintaion of FB&#039;s with and without 2X5&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program checks for the intersection of the bodies of candles at t.2 and t.5 (hereinafter referred to as 2x5). If there is only one potential FB, determining FB with 2x5 is not required, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.1.&#039;&#039;&#039; If there are multiple potential BOs, some of which have 2x5 and some do not, those potential BOs that have 2x5 are filtered out, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.2.&#039;&#039;&#039; If all potential FBs have 2x5, then all are filtered out except the one whose t.2 level is closer to the t.3 level. The program proceeds to &lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VIII: Filtering Based on Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The algorithm checks whether Presuppositions have been found for the analyzed model.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.0.&#039;&#039;&#039; If no Presuppositions are found, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.1.&#039;&#039;&#039; The model has one or more Presuppositions. For each Presupposition program checks if the available candidates for t.2 belong to the interval between the last price level intersection of t.1p and t.1p itself (t.1p can also be used as t.2 EAM).&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;8.1.1.&#039;&#039;&#039; There are candidates for t.2 that belong to the interval between the last price level intersection of t.1p and t.1p itself. Such a Presupposition is retained.&lt;br /&gt;
::&#039;&#039;&#039;8.1.2.&#039;&#039;&#039; There are no candidates for t.2 within the specified interval. In this case, such a Presupposition is discarded and not further considered (meaning the model has no Presupposition).&lt;br /&gt;
:&#039;&#039;&#039;8.2.&#039;&#039;&#039; If after checking all Presuppositions according to sub-step 8.1., there are one or more Presuppositions with candidates in t.2 within the interval between the last price level intersection of t.1p and t.1p itself (inclusive), then:&lt;br /&gt;
&lt;br /&gt;
: - Among such Presuppositions, only the one with t.1p occurring later on the time axis is considered further;&lt;br /&gt;
: - Only those candidates that belong to the interval between the last price level intersection of t.1p and t.1p itself are retained as t.2 candidates for the remaining Presupposition.&lt;br /&gt;
::&#039;&#039;&#039;8.2.1.&#039;&#039;&#039; If only one potential FB remains, the model is confirmed.&lt;br /&gt;
::&#039;&#039;&#039;8.2.2.&#039;&#039;&#039; If more than one potential FB remains, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step IX. Search for Embedded Models in EAM&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.1.&#039;&#039;&#039; If EAM is constructed through t.3&#039;, then the interval from EAM&#039;s t.3 is checked for the presence of models according to Algorithm I, for which the following conditions are simultaneously satisfied. In the paragraph below, the numbers I and II in parentheses next to the model points denote the algorithm to which the model with this point belongs:&lt;br /&gt;
&lt;br /&gt;
: - If the model according to Algorithm I contains t.5, then its t.5 should precede or coincide with the t.5 of the analyzed EAM.&lt;br /&gt;
: - t.4 does not lie beyond t.4 of the analyzed EAM; (bar of t.4(I) cannot coincide with bar of t.3(II), but can coincide with bar of t.4(II);&lt;br /&gt;
: -t.1 lies before t.3&#039; of the analyzed model (if it coincides with bar of t.3&#039;, then it is not suitable anymore) (t.1(I) can coincide with t.3(II), but cannot coincide with t.3&#039;(II)&lt;br /&gt;
&lt;br /&gt;
If there are more than 5 models, those with the time distance from t.1 to t.4 greater than others are considered embedded models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.1.&#039;&#039;&#039; If models are not found, then EAM does not have an embedded primary model.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.2.&#039;&#039;&#039; If the model/s is/are found, EAM is given the status of &amp;quot;Models described near the Primary model.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.3.&#039;&#039;&#039; If EAM has one or more embedded models, models among them built from EAM&#039;s t.3 are searched for meeting one of the following criteria:&lt;br /&gt;
&lt;br /&gt;
::: A. Having a trendline breakthrough in the interval before t.3&#039; of the analyzed model;&lt;br /&gt;
::: B. Having an intersection of candle bodies at points 2 and 5 (hereinafter 2x5).&lt;br /&gt;
::: C. If the embedded model has a rank 45 greater than the ranks of 12 and 25 of the same model.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.1.&#039;&#039;&#039; In the presence of one of these criteria, the model is Specific based on the 1st criterion.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.2.&#039;&#039;&#039; In the absence of the specified criteria, the model is Normal based on the 1st criterion.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;9.1.4.&#039;&#039;&#039; If there is a model according to Algorithm I on the interval from t.3 to t.3&#039; of the EAM, aligned with the preceding EAM trend, and with points t.1-t.4 lying on the interval 3-3&#039; EAM (inclusive), then this EAM is Specific based on the 2nd criterion. &lt;br /&gt;
:: In the absence of the specified criteria, the model is Normal based on the 2nd criterion.&lt;br /&gt;
&lt;br /&gt;
: Upon completion of all checks in step 9.1., the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.2.&#039;&#039;&#039; If EAM is constructed through t.3, the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step X. Search for Preceding Models&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program identifies all possible models in accordance with Algorithm I, starting from the initial point of the preceding trend or starting from the presumed initial point of the preceding trend, see step 1.3.).&lt;br /&gt;
In these models, the actual t.6 is determined, and if there was no intersection of TL, the Presumed t.6 (P6supp) is used. The algorithm for finding the actual/presumed t.6 is described in the branch of Algorithm I, see substep 5.3.&lt;br /&gt;
&lt;br /&gt;
Models on the preceding trend, with TL coinciding with t.3 of the EAM, are (directly) preceding for the given TL.&lt;br /&gt;
&lt;br /&gt;
Models on the preceding trend, for which the following conditions are simultaneously satisfied:&lt;br /&gt;
: - actual/presumed t.6 precedes or equals t.3 of the EAM;&lt;br /&gt;
: - t.6 is aligned with t.4 of the EAM;&lt;br /&gt;
: - the level of t.6 lies between the levels of t.3 and t.4 of the EAM;&lt;br /&gt;
are considered preceding corrective for the given EAM.&lt;br /&gt;
&lt;br /&gt;
From models with the same t.4 and the same t.1, the model with the later t.1 is selected as the priority for choosing t.2.&lt;br /&gt;
&lt;br /&gt;
From the remaining models with the same t.4, only the very last model is considered as both preceding and preceding corrective (i.e., with a later t.5 or without t.5) – one of each type.&lt;br /&gt;
&lt;br /&gt;
If there are more than 10 preceding and preceding corrective models (rarely encountered), only the last ones are selected (the last ones are determined as those with t.4 lying later than others).&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=208</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=208"/>
		<updated>2024-01-04T08:51:19Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or &lt;br /&gt;
:: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
::If:&lt;br /&gt;
::*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
::*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. ::If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b.&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1.&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1.&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B.&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2.&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2.&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B.&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2.&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1.&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2.&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3.&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2, a.k.a FB) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step V. Search for Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
Presupposition is an optional part of the EAM.&lt;br /&gt;
The program attempts to construct Presuppositions from all available candidates for t.2.&lt;br /&gt;
&lt;br /&gt;
==== Presupposition Search Algorithm ====&lt;br /&gt;
The program takes each potential t.2 of the EAM (as part of a potential FB) as a t.1 of Presupposition (hereinafter t.1p). In other words, the program tries to construct Presuppositions from each of the t.2.&lt;br /&gt;
&lt;br /&gt;
Initially, the most recent (rightmost) potential t.2 (or the one specified in the algorithm if we have returned to the beginning of the Step V in the cycle) in the EAM is taken as a potential t.1p. If there are no more unconfirmed t.1p, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; The program sequentially checks bars from left to right (into the future) from the potential t.1p to t.3 of EAM model (excluding t.3) for being an extreme according to the N1 rule as point 3 of the Presupposition (hereinafter t.3p).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;N1 rule for the Presupposition points&#039;&#039;&#039;&lt;br /&gt;
: If t.1p is low, t.3p must be below t.1p.&lt;br /&gt;
: If t.1p is high, t.3p must be above t.1p.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the potential t.3p is not found, the program considers the next (to the left of the previous) potential t.2 of the EAM (within the FB) as t.1p.&lt;br /&gt;
:: If the potential t.3p is not found, and there are no more potential FBs, the algorithm proceeds to Step 6.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; Once the potential t.3p is found, the program searches for point 2 of the Presupposition (hereinafter t.2p) as an extreme with the maximum/minimum price on the segment from t.1p to t.3p (hereinafter segment 1p-3p).&lt;br /&gt;
:: If a suitable extreme is not found, the algorithm looks for the next potential t.3p for the previously found t.1p.&lt;br /&gt;
:: If a maximum/minimum is found, it is checked for for being an extreme (as t.2p).&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; The bar is an absolute extreme. In this case, a potential t.2p is found, and the program proceeds to step 5.2.&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The bar is not an extreme. In this case, the program looks for another candidate for t.3p for the previously found t.1p following the instructions in 5.1.&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; The program constructs a line from t.1p to t.3p and checks it for price crossings on the segment from t.1p to t.3 of the EAM (including t.3 of EAM).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If this lines price crossings are found, the program looks for a new candidate for t.3p for the previously found t.1p following the instructions in sub-step 5.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If there are no price crossings, the program proceeds to sub-step 5.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.&#039;&#039;&#039; The program searches for a potential point 4 of the Presupposition (t.4p) according to the N1 rule on the segment from t.3p to t.3 in the VMP (including t.3).&lt;br /&gt;
&lt;br /&gt;
: If t.1p is low, t.4p must be below t.2p. Each subsequent candidate for t.4p must be below the previous candidate for t.4p.&lt;br /&gt;
: If t.1p is high, t.4p must be above t.2p. Each subsequent candidate for t.4p must be above the previous candidate for t.4p.&lt;br /&gt;
: Possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;5.3.A.&#039;&#039;&#039; If the potential t.4p coincides with t.3 in the EAM, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.B.&#039;&#039;&#039; If the potential t.4p does not coincide with t.3 in the EAM (i.e., it is located before it), the program looks for an opposite-direction potential t.4p extreme on the segment from the potential t.4p (excluding it) to the bar where the price again reached the value of the potential t.4p (excluding it).&lt;br /&gt;
&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.1.&#039;&#039;&#039; If the opposite-direction extreme is found, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.2.&#039;&#039;&#039; If the opposite-direction extreme is not found, the program looks for a new potential t.4p following the instructions in sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; If t.4p is found, the program constructs a line from t.2p to t.4p and checks it for price crossings on the segment from t.1p (excluding it) to t.3 in the VMP (including t.3).&lt;br /&gt;
::: If unnecessary intersections are found, the program looks for the next potential t.4p on the segment following the instructions in 5.3.&lt;br /&gt;
::: If no unnecessary intersections are found, the algorithm proceeds to sub-step 5.4.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; Check for Absolute Level&lt;br /&gt;
:: The program checks the bar of the potential t.3p for absoluteness. The level of t.3p should not be exceeded by the price on the segment between t.3p and potential t.4p (excluding it).&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the level of t.3p is exceeded, the potential t.3p is discarded, and the program looks for a new t.3p following the instructions in sub-step 5.1. and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the level of t.3p is not exceeded, t.3p is confirmed, t.4p is confirmed, and the algorithm proceeds to sub- step 5.4.&lt;br /&gt;
&lt;br /&gt;
====  Presupposition Verification ====&lt;br /&gt;
: &#039;&#039;&#039; 5.4.&#039;&#039;&#039; Presuppositions undergo the following checks:&lt;br /&gt;
:: &#039;&#039;&#039;A.&#039;&#039;&#039; - Bars t.1p, t.2p, t.3p must follow each other.&lt;br /&gt;
:: &#039;&#039;&#039;B.&#039;&#039;&#039; - The distance in levels between t.1 and t.2 (hereinafter rank 12) must be at least the value of the Minimum Distance between t.1 and t.2 Levels of the Presupposition, which is set in the Calculation Parameters, from the distance between t.4 and t.5 levels of the EAM model(this is rank 45).&lt;br /&gt;
&lt;br /&gt;
:: If all checks are successful, the Presupposition is found. If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
:: If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VI. Check for AL price crossings&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;6 alfa.&#039;&#039;&#039; ==== &lt;br /&gt;
First it is necessary to check for the presence of a fixed t.2.  If it exists, it means we are in a branch of searching for alternative models. &lt;br /&gt;
&lt;br /&gt;
The potential Aims Line (from t.2 to t.4), hereinafter referred to as AL, is calculated, and then:&lt;br /&gt;
: &#039;&#039;&#039;6 alfa.1.&#039;&#039;&#039; AL Crossing Check&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. A.&#039;&#039;&#039; - If there are no  AL price crossings, the algorithm proceeds to step 6 alfa.2.&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. B.&#039;&#039;&#039; - If AL is crossed, the next potential t.5 is determined according to Step 2, starting from bar t.5+2.&lt;br /&gt;
: &#039;&#039;&#039;6.2. alfa.&#039;&#039;&#039; Distance Check for AL and TL Intersection&lt;br /&gt;
: If:&lt;br /&gt;
:: - TL and AL of the model do not intersect on the right (in the future) or&lt;br /&gt;
:: - the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated point 6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 EAM,&amp;quot; then the search for alternative models is terminated. Otherwise, the program proceeds to Step 9. &lt;br /&gt;
&lt;br /&gt;
====&#039;&#039;&#039; In the general case (no precviously fixed t.2)&#039;&#039;&#039; ====&lt;br /&gt;
The program performs the following checks for each of the potential FBs:&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; AL Price Crossing Check (not just touching)&lt;br /&gt;
: If AL intersects with the price on the segment between t.2 and t.4, this pair of candidates for t.1 and t.2 (this FB) is rejected.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.A.&#039;&#039;&#039; If FBs are found that give AL without intersections, the algorithm proceeds to step 6.2.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.B.&#039;&#039;&#039; If there are no suitable FBs, the algorithm looks for a new t.5 according to Step 2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Checking for intersection of AL and TL (hereinafter referred to as calculated point 6) with each other on the right (in the future) along the time axis.&lt;br /&gt;
: If the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated t.6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 VMP,&amp;quot; then these candidates for t.1 and t.2 are rejected.&lt;br /&gt;
: The following scenarios are possible:&lt;br /&gt;
:: &#039;&#039;&#039;6.2.A.&#039;&#039;&#039; One or several potential FBs remain - in this case, the program proceeds to Step 7.&lt;br /&gt;
:: &#039;&#039;&#039;6.2.B.&#039;&#039;&#039; There are no potential FBs left - in this case, the program looks for a new potential t.5, starting from Step 2 and onwards.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VII. Dtermintaion of FB&#039;s with and without 2X5&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program checks for the intersection of the bodies of candles at t.2 and t.5 (hereinafter referred to as 2x5). If there is only one potential FB, determining FB with 2x5 is not required, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.1.&#039;&#039;&#039; If there are multiple potential BOs, some of which have 2x5 and some do not, those potential BOs that have 2x5 are filtered out, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.2.&#039;&#039;&#039; If all potential FBs have 2x5, then all are filtered out except the one whose t.2 level is closer to the t.3 level. The program proceeds to &lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VIII: Filtering Based on Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The algorithm checks whether Presuppositions have been found for the analyzed model.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.0.&#039;&#039;&#039; If no Presuppositions are found, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.1.&#039;&#039;&#039; The model has one or more Presuppositions. For each Presupposition program checks if the available candidates for t.2 belong to the interval between the last price level intersection of t.1p and t.1p itself (t.1p can also be used as t.2 EAM).&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;8.1.1.&#039;&#039;&#039; There are candidates for t.2 that belong to the interval between the last price level intersection of t.1p and t.1p itself. Such a Presupposition is retained.&lt;br /&gt;
::&#039;&#039;&#039;8.1.2.&#039;&#039;&#039; There are no candidates for t.2 within the specified interval. In this case, such a Presupposition is discarded and not further considered (meaning the model has no Presupposition).&lt;br /&gt;
:&#039;&#039;&#039;8.2.&#039;&#039;&#039; If after checking all Presuppositions according to sub-step 8.1., there are one or more Presuppositions with candidates in t.2 within the interval between the last price level intersection of t.1p and t.1p itself (inclusive), then:&lt;br /&gt;
&lt;br /&gt;
: - Among such Presuppositions, only the one with t.1p occurring later on the time axis is considered further;&lt;br /&gt;
: - Only those candidates that belong to the interval between the last price level intersection of t.1p and t.1p itself are retained as t.2 candidates for the remaining Presupposition.&lt;br /&gt;
::&#039;&#039;&#039;8.2.1.&#039;&#039;&#039; If only one potential FB remains, the model is confirmed.&lt;br /&gt;
::&#039;&#039;&#039;8.2.2.&#039;&#039;&#039; If more than one potential FB remains, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step IX. Search for Embedded Models in EAM&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.1.&#039;&#039;&#039; If EAM is constructed through t.3&#039;, then the interval from EAM&#039;s t.3 is checked for the presence of models according to Algorithm I, for which the following conditions are simultaneously satisfied. In the paragraph below, the numbers I and II in parentheses next to the model points denote the algorithm to which the model with this point belongs:&lt;br /&gt;
&lt;br /&gt;
: - If the model according to Algorithm I contains t.5, then its t.5 should precede or coincide with the t.5 of the analyzed EAM.&lt;br /&gt;
: - t.4 does not lie beyond t.4 of the analyzed EAM; (bar of t.4(I) cannot coincide with bar of t.3(II), but can coincide with bar of t.4(II);&lt;br /&gt;
: -t.1 lies before t.3&#039; of the analyzed model (if it coincides with bar of t.3&#039;, then it is not suitable anymore) (t.1(I) can coincide with t.3(II), but cannot coincide with t.3&#039;(II)&lt;br /&gt;
&lt;br /&gt;
If there are more than 5 models, those with the time distance from t.1 to t.4 greater than others are considered embedded models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.1.&#039;&#039;&#039; If models are not found, then EAM does not have an embedded primary model.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.2.&#039;&#039;&#039; If the model/s is/are found, EAM is given the status of &amp;quot;Models described near the Primary model.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.3.&#039;&#039;&#039; If EAM has one or more embedded models, models among them built from EAM&#039;s t.3 are searched for meeting one of the following criteria:&lt;br /&gt;
&lt;br /&gt;
::: A. Having a trendline breakthrough in the interval before t.3&#039; of the analyzed model;&lt;br /&gt;
::: B. Having an intersection of candle bodies at points 2 and 5 (hereinafter 2x5).&lt;br /&gt;
::: C. If the embedded model has a rank 45 greater than the ranks of 12 and 25 of the same model.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.1.&#039;&#039;&#039; In the presence of one of these criteria, the model is Specific based on the 1st criterion.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.2.&#039;&#039;&#039; In the absence of the specified criteria, the model is Normal based on the 1st criterion.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;9.1.4.&#039;&#039;&#039; If there is a model according to Algorithm I on the interval from t.3 to t.3&#039; of the EAM, aligned with the preceding EAM trend, and with points t.1-t.4 lying on the interval 3-3&#039; EAM (inclusive), then this EAM is Specific based on the 2nd criterion. &lt;br /&gt;
:: In the absence of the specified criteria, the model is Normal based on the 2nd criterion.&lt;br /&gt;
&lt;br /&gt;
: Upon completion of all checks in step 9.1., the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.2.&#039;&#039;&#039; If EAM is constructed through t.3, the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step X. Search for Preceding Models (EAM)&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program identifies all possible models in accordance with Algorithm I, starting from the initial point of the preceding trend or starting from the presumed initial point of the preceding trend, see step 1.3.).&lt;br /&gt;
In these models, the actual t.6 is determined, and if there was no intersection of TL, the Presumed t.6 (P6supp) is used. The algorithm for finding the actual/presumed t.6 is described in the branch of Algorithm I, see substep 5.3.&lt;br /&gt;
&lt;br /&gt;
Models on the preceding trend, with TL coinciding with t.3 of the EAM, are (directly) preceding for the given TL.&lt;br /&gt;
&lt;br /&gt;
Models on the preceding trend, for which the following conditions are simultaneously satisfied:&lt;br /&gt;
: - actual/presumed t.6 precedes or equals t.3 of the EAM;&lt;br /&gt;
: - t.6 is aligned with t.4 of the EAM;&lt;br /&gt;
: - the level of t.6 lies between the levels of t.3 and t.4 of the EAM;&lt;br /&gt;
are considered preceding corrective for the given EAM.&lt;br /&gt;
&lt;br /&gt;
From models with the same t.4 and the same t.1, the model with the later t.1 is selected as the priority for choosing t.2.&lt;br /&gt;
&lt;br /&gt;
From the remaining models with the same t.4, only the very last model is considered as both preceding and preceding corrective (i.e., with a later t.5 or without t.5) – one of each type.&lt;br /&gt;
&lt;br /&gt;
If there are more than 10 preceding and preceding corrective models (rarely encountered), only the last ones are selected (the last ones are determined as those with t.4 lying later than others).&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=207</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=207"/>
		<updated>2024-01-04T08:19:06Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or &lt;br /&gt;
:: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
::If:&lt;br /&gt;
::*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
::*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. ::If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b.&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1.&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1.&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B.&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2.&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2.&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B.&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2.&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1.&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2.&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3.&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2, a.k.a FB) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step V. Search for Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
Presupposition is an optional part of the EAM.&lt;br /&gt;
The program attempts to construct Presuppositions from all available candidates for t.2.&lt;br /&gt;
&lt;br /&gt;
==== Presupposition Search Algorithm ====&lt;br /&gt;
The program takes each potential t.2 of the EAM (as part of a potential FB) as a t.1 of Presupposition (hereinafter t.1p). In other words, the program tries to construct Presuppositions from each of the t.2.&lt;br /&gt;
&lt;br /&gt;
Initially, the most recent (rightmost) potential t.2 (or the one specified in the algorithm if we have returned to the beginning of the Step V in the cycle) in the EAM is taken as a potential t.1p. If there are no more unconfirmed t.1p, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; The program sequentially checks bars from left to right (into the future) from the potential t.1p to t.3 of EAM model (excluding t.3) for being an extreme according to the N1 rule as point 3 of the Presupposition (hereinafter t.3p).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;N1 rule for the Presupposition points&#039;&#039;&#039;&lt;br /&gt;
: If t.1p is low, t.3p must be below t.1p.&lt;br /&gt;
: If t.1p is high, t.3p must be above t.1p.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the potential t.3p is not found, the program considers the next (to the left of the previous) potential t.2 of the EAM (within the FB) as t.1p.&lt;br /&gt;
:: If the potential t.3p is not found, and there are no more potential FBs, the algorithm proceeds to Step 6.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; Once the potential t.3p is found, the program searches for point 2 of the Presupposition (hereinafter t.2p) as an extreme with the maximum/minimum price on the segment from t.1p to t.3p (hereinafter segment 1p-3p).&lt;br /&gt;
:: If a suitable extreme is not found, the algorithm looks for the next potential t.3p for the previously found t.1p.&lt;br /&gt;
:: If a maximum/minimum is found, it is checked for for being an extreme (as t.2p).&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; The bar is an absolute extreme. In this case, a potential t.2p is found, and the program proceeds to step 5.2.&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The bar is not an extreme. In this case, the program looks for another candidate for t.3p for the previously found t.1p following the instructions in 5.1.&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; The program constructs a line from t.1p to t.3p and checks it for price crossings on the segment from t.1p to t.3 of the EAM (including t.3 of EAM).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If this lines price crossings are found, the program looks for a new candidate for t.3p for the previously found t.1p following the instructions in sub-step 5.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If there are no price crossings, the program proceeds to sub-step 5.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.&#039;&#039;&#039; The program searches for a potential point 4 of the Presupposition (t.4p) according to the N1 rule on the segment from t.3p to t.3 in the VMP (including t.3).&lt;br /&gt;
&lt;br /&gt;
: If t.1p is low, t.4p must be below t.2p. Each subsequent candidate for t.4p must be below the previous candidate for t.4p.&lt;br /&gt;
: If t.1p is high, t.4p must be above t.2p. Each subsequent candidate for t.4p must be above the previous candidate for t.4p.&lt;br /&gt;
: Possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;5.3.A.&#039;&#039;&#039; If the potential t.4p coincides with t.3 in the EAM, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.B.&#039;&#039;&#039; If the potential t.4p does not coincide with t.3 in the EAM (i.e., it is located before it), the program looks for an opposite-direction potential t.4p extreme on the segment from the potential t.4p (excluding it) to the bar where the price again reached the value of the potential t.4p (excluding it).&lt;br /&gt;
&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.1.&#039;&#039;&#039; If the opposite-direction extreme is found, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.2.&#039;&#039;&#039; If the opposite-direction extreme is not found, the program looks for a new potential t.4p following the instructions in sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; If t.4p is found, the program constructs a line from t.2p to t.4p and checks it for price crossings on the segment from t.1p (excluding it) to t.3 in the VMP (including t.3).&lt;br /&gt;
::: If unnecessary intersections are found, the program looks for the next potential t.4p on the segment following the instructions in 5.3.&lt;br /&gt;
::: If no unnecessary intersections are found, the algorithm proceeds to sub-step 5.4.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; Check for Absolute Level&lt;br /&gt;
:: The program checks the bar of the potential t.3p for absoluteness. The level of t.3p should not be exceeded by the price on the segment between t.3p and potential t.4p (excluding it).&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the level of t.3p is exceeded, the potential t.3p is discarded, and the program looks for a new t.3p following the instructions in sub-step 5.1. and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the level of t.3p is not exceeded, t.3p is confirmed, t.4p is confirmed, and the algorithm proceeds to sub- step 5.4.&lt;br /&gt;
&lt;br /&gt;
====  Presupposition Verification ====&lt;br /&gt;
: &#039;&#039;&#039; 5.4.&#039;&#039;&#039; Presuppositions undergo the following checks:&lt;br /&gt;
:: &#039;&#039;&#039;A.&#039;&#039;&#039; - Bars t.1p, t.2p, t.3p must follow each other.&lt;br /&gt;
:: &#039;&#039;&#039;B.&#039;&#039;&#039; - The distance in levels between t.1 and t.2 (hereinafter rank 12) must be at least the value of the Minimum Distance between t.1 and t.2 Levels of the Presupposition, which is set in the Calculation Parameters, from the distance between t.4 and t.5 levels of the EAM model(this is rank 45).&lt;br /&gt;
&lt;br /&gt;
:: If all checks are successful, the Presupposition is found. If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
:: If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VI. Check for AL price crossings&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;6 alfa.&#039;&#039;&#039; ==== &lt;br /&gt;
First it is necessary to check for the presence of a fixed t.2.  If it exists, it means we are in a branch of searching for alternative models. &lt;br /&gt;
&lt;br /&gt;
The potential Aims Line (from t.2 to t.4), hereinafter referred to as AL, is calculated, and then:&lt;br /&gt;
: &#039;&#039;&#039;6 alfa.1.&#039;&#039;&#039; AL Crossing Check&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. A.&#039;&#039;&#039; - If there are no  AL price crossings, the algorithm proceeds to step 6 alfa.2.&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. B.&#039;&#039;&#039; - If AL is crossed, the next potential t.5 is determined according to Step 2, starting from bar t.5+2.&lt;br /&gt;
: &#039;&#039;&#039;6.2. alfa.&#039;&#039;&#039; Distance Check for AL and TL Intersection&lt;br /&gt;
: If:&lt;br /&gt;
:: - TL and AL of the model do not intersect on the right (in the future) or&lt;br /&gt;
:: - the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated point 6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 EAM,&amp;quot; then the search for alternative models is terminated. Otherwise, the program proceeds to Step 9. &lt;br /&gt;
&lt;br /&gt;
====&#039;&#039;&#039; In the general case (no precviously fixed t.2)&#039;&#039;&#039; ====&lt;br /&gt;
The program performs the following checks for each of the potential FBs:&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; AL Price Crossing Check (not just touching)&lt;br /&gt;
: If AL intersects with the price on the segment between t.2 and t.4, this pair of candidates for t.1 and t.2 (this FB) is rejected.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.A.&#039;&#039;&#039; If FBs are found that give AL without intersections, the algorithm proceeds to step 6.2.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.B.&#039;&#039;&#039; If there are no suitable FBs, the algorithm looks for a new t.5 according to Step 2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Checking for intersection of AL and TL (hereinafter referred to as calculated point 6) with each other on the right (in the future) along the time axis.&lt;br /&gt;
: If the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated t.6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 VMP,&amp;quot; then these candidates for t.1 and t.2 are rejected.&lt;br /&gt;
: The following scenarios are possible:&lt;br /&gt;
:: &#039;&#039;&#039;6.2.A.&#039;&#039;&#039; One or several potential FBs remain - in this case, the program proceeds to Step 7.&lt;br /&gt;
:: &#039;&#039;&#039;6.2.B.&#039;&#039;&#039; There are no potential FBs left - in this case, the program looks for a new potential t.5, starting from Step 2 and onwards.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VII. Dtermintaion of FB&#039;s with and without 2X5&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program checks for the intersection of the bodies of candles at t.2 and t.5 (hereinafter referred to as 2x5). If there is only one potential FB, determining FB with 2x5 is not required, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.1.&#039;&#039;&#039; If there are multiple potential BOs, some of which have 2x5 and some do not, those potential BOs that have 2x5 are filtered out, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.2.&#039;&#039;&#039; If all potential FBs have 2x5, then all are filtered out except the one whose t.2 level is closer to the t.3 level. The program proceeds to &lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VIII: Filtering Based on Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The algorithm checks whether Presuppositions have been found for the analyzed model.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.0.&#039;&#039;&#039; If no Presuppositions are found, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.1.&#039;&#039;&#039; The model has one or more Presuppositions. For each Presupposition program checks if the available candidates for t.2 belong to the interval between the last price level intersection of t.1p and t.1p itself (t.1p can also be used as t.2 EAM).&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;8.1.1.&#039;&#039;&#039; There are candidates for t.2 that belong to the interval between the last price level intersection of t.1p and t.1p itself. Such a Presupposition is retained.&lt;br /&gt;
::&#039;&#039;&#039;8.1.2.&#039;&#039;&#039; There are no candidates for t.2 within the specified interval. In this case, such a Presupposition is discarded and not further considered (meaning the model has no Presupposition).&lt;br /&gt;
:&#039;&#039;&#039;8.2.&#039;&#039;&#039; If after checking all Presuppositions according to sub-step 8.1., there are one or more Presuppositions with candidates in t.2 within the interval between the last price level intersection of t.1p and t.1p itself (inclusive), then:&lt;br /&gt;
&lt;br /&gt;
: - Among such Presuppositions, only the one with t.1p occurring later on the time axis is considered further;&lt;br /&gt;
: - Only those candidates that belong to the interval between the last price level intersection of t.1p and t.1p itself are retained as t.2 candidates for the remaining Presupposition.&lt;br /&gt;
::&#039;&#039;&#039;8.2.1.&#039;&#039;&#039; If only one potential FB remains, the model is confirmed.&lt;br /&gt;
::&#039;&#039;&#039;8.2.2.&#039;&#039;&#039; If more than one potential FB remains, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step IX. Search for Embedded Models in EAM&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.1.&#039;&#039;&#039; If EAM is constructed through t.3&#039;, then the interval from EAM&#039;s t.3 is checked for the presence of models according to Algorithm I, for which the following conditions are simultaneously satisfied. In the paragraph below, the numbers I and II in parentheses next to the model points denote the algorithm to which the model with this point belongs:&lt;br /&gt;
&lt;br /&gt;
: - If the model according to Algorithm I contains t.5, then its t.5 should precede or coincide with the t.5 of the analyzed EAM.&lt;br /&gt;
: - t.4 does not lie beyond t.4 of the analyzed EAM; (bar of t.4(I) cannot coincide with bar of t.3(II), but can coincide with bar of t.4(II);&lt;br /&gt;
: -t.1 lies before t.3&#039; of the analyzed model (if it coincides with bar of t.3&#039;, then it is not suitable anymore) (t.1(I) can coincide with t.3(II), but cannot coincide with t.3&#039;(II)&lt;br /&gt;
&lt;br /&gt;
If there are more than 5 models, those with the time distance from t.1 to t.4 greater than others are considered embedded models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.1.&#039;&#039;&#039; If models are not found, then EAM does not have an embedded primary model.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.2.&#039;&#039;&#039; If the model/s is/are found, EAM is given the status of &amp;quot;Models described near the Primary model.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.3.&#039;&#039;&#039; If EAM has one or more embedded models, models among them built from EAM&#039;s t.3 are searched for meeting one of the following criteria:&lt;br /&gt;
&lt;br /&gt;
::: A. Having a trendline breakthrough in the interval before t.3&#039; of the analyzed model;&lt;br /&gt;
::: B. Having an intersection of candle bodies at points 2 and 5 (hereinafter 2x5).&lt;br /&gt;
::: C. If the embedded model has a rank 45 greater than the ranks of 12 and 25 of the same model.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.1.&#039;&#039;&#039; In the presence of one of these criteria, the model is Specific based on the 1st criterion.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.2.&#039;&#039;&#039; In the absence of the specified criteria, the model is Normal based on the 1st criterion.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;9.1.4.&#039;&#039;&#039; If there is a model according to Algorithm I on the interval from t.3 to t.3&#039; of the EAM, aligned with the preceding EAM trend, and with points t.1-t.4 lying on the interval 3-3&#039; EAM (inclusive), then this EAM is Specific based on the 2nd criterion. &lt;br /&gt;
:: In the absence of the specified criteria, the model is Normal based on the 2nd criterion.&lt;br /&gt;
&lt;br /&gt;
: Upon completion of all checks in step 9.1., the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.2.&#039;&#039;&#039; If EAM is constructed through t.3, the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=206</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=206"/>
		<updated>2024-01-03T22:59:04Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Step IX. Search for Embedded Models in EAM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
::If:&lt;br /&gt;
::*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
::*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. ::If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b.&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1.&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1.&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B.&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2.&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2.&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B.&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2.&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1.&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2.&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3.&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2, a.k.a FB) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step V. Search for Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
Presupposition is an optional part of the EAM.&lt;br /&gt;
The program attempts to construct Presuppositions from all available candidates for t.2.&lt;br /&gt;
&lt;br /&gt;
==== Presupposition Search Algorithm ====&lt;br /&gt;
The program takes each potential t.2 of the EAM (as part of a potential FB) as a t.1 of Presupposition (hereinafter t.1p). In other words, the program tries to construct Presuppositions from each of the t.2.&lt;br /&gt;
&lt;br /&gt;
Initially, the most recent (rightmost) potential t.2 (or the one specified in the algorithm if we have returned to the beginning of the Step V in the cycle) in the EAM is taken as a potential t.1p. If there are no more unconfirmed t.1p, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; The program sequentially checks bars from left to right (into the future) from the potential t.1p to t.3 of EAM model (excluding t.3) for being an extreme according to the N1 rule as point 3 of the Presupposition (hereinafter t.3p).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;N1 rule for the Presupposition points&#039;&#039;&#039;&lt;br /&gt;
: If t.1p is low, t.3p must be below t.1p.&lt;br /&gt;
: If t.1p is high, t.3p must be above t.1p.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the potential t.3p is not found, the program considers the next (to the left of the previous) potential t.2 of the EAM (within the FB) as t.1p.&lt;br /&gt;
:: If the potential t.3p is not found, and there are no more potential FBs, the algorithm proceeds to Step 6.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; Once the potential t.3p is found, the program searches for point 2 of the Presupposition (hereinafter t.2p) as an extreme with the maximum/minimum price on the segment from t.1p to t.3p (hereinafter segment 1p-3p).&lt;br /&gt;
:: If a suitable extreme is not found, the algorithm looks for the next potential t.3p for the previously found t.1p.&lt;br /&gt;
:: If a maximum/minimum is found, it is checked for for being an extreme (as t.2p).&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; The bar is an absolute extreme. In this case, a potential t.2p is found, and the program proceeds to step 5.2.&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The bar is not an extreme. In this case, the program looks for another candidate for t.3p for the previously found t.1p following the instructions in 5.1.&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; The program constructs a line from t.1p to t.3p and checks it for price crossings on the segment from t.1p to t.3 of the EAM (including t.3 of EAM).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If this lines price crossings are found, the program looks for a new candidate for t.3p for the previously found t.1p following the instructions in sub-step 5.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If there are no price crossings, the program proceeds to sub-step 5.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.&#039;&#039;&#039; The program searches for a potential point 4 of the Presupposition (t.4p) according to the N1 rule on the segment from t.3p to t.3 in the VMP (including t.3).&lt;br /&gt;
&lt;br /&gt;
: If t.1p is low, t.4p must be below t.2p. Each subsequent candidate for t.4p must be below the previous candidate for t.4p.&lt;br /&gt;
: If t.1p is high, t.4p must be above t.2p. Each subsequent candidate for t.4p must be above the previous candidate for t.4p.&lt;br /&gt;
: Possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;5.3.A.&#039;&#039;&#039; If the potential t.4p coincides with t.3 in the EAM, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.B.&#039;&#039;&#039; If the potential t.4p does not coincide with t.3 in the EAM (i.e., it is located before it), the program looks for an opposite-direction potential t.4p extreme on the segment from the potential t.4p (excluding it) to the bar where the price again reached the value of the potential t.4p (excluding it).&lt;br /&gt;
&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.1.&#039;&#039;&#039; If the opposite-direction extreme is found, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.2.&#039;&#039;&#039; If the opposite-direction extreme is not found, the program looks for a new potential t.4p following the instructions in sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; If t.4p is found, the program constructs a line from t.2p to t.4p and checks it for price crossings on the segment from t.1p (excluding it) to t.3 in the VMP (including t.3).&lt;br /&gt;
::: If unnecessary intersections are found, the program looks for the next potential t.4p on the segment following the instructions in 5.3.&lt;br /&gt;
::: If no unnecessary intersections are found, the algorithm proceeds to sub-step 5.4.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; Check for Absolute Level&lt;br /&gt;
:: The program checks the bar of the potential t.3p for absoluteness. The level of t.3p should not be exceeded by the price on the segment between t.3p and potential t.4p (excluding it).&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the level of t.3p is exceeded, the potential t.3p is discarded, and the program looks for a new t.3p following the instructions in sub-step 5.1. and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the level of t.3p is not exceeded, t.3p is confirmed, t.4p is confirmed, and the algorithm proceeds to sub- step 5.4.&lt;br /&gt;
&lt;br /&gt;
====  Presupposition Verification ====&lt;br /&gt;
: &#039;&#039;&#039; 5.4.&#039;&#039;&#039; Presuppositions undergo the following checks:&lt;br /&gt;
:: &#039;&#039;&#039;A.&#039;&#039;&#039; - Bars t.1p, t.2p, t.3p must follow each other.&lt;br /&gt;
:: &#039;&#039;&#039;B.&#039;&#039;&#039; - The distance in levels between t.1 and t.2 (hereinafter rank 12) must be at least the value of the Minimum Distance between t.1 and t.2 Levels of the Presupposition, which is set in the Calculation Parameters, from the distance between t.4 and t.5 levels of the EAM model(this is rank 45).&lt;br /&gt;
&lt;br /&gt;
:: If all checks are successful, the Presupposition is found. If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
:: If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VI. Check for AL price crossings&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;6 alfa.&#039;&#039;&#039; ==== &lt;br /&gt;
First it is necessary to check for the presence of a fixed t.2.  If it exists, it means we are in a branch of searching for alternative models. &lt;br /&gt;
&lt;br /&gt;
The potential Aims Line (from t.2 to t.4), hereinafter referred to as AL, is calculated, and then:&lt;br /&gt;
: &#039;&#039;&#039;6 alfa.1.&#039;&#039;&#039; AL Crossing Check&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. A.&#039;&#039;&#039; - If there are no  AL price crossings, the algorithm proceeds to step 6 alfa.2.&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. B.&#039;&#039;&#039; - If AL is crossed, the next potential t.5 is determined according to Step 2, starting from bar t.5+2.&lt;br /&gt;
: &#039;&#039;&#039;6.2. alfa.&#039;&#039;&#039; Distance Check for AL and TL Intersection&lt;br /&gt;
: If:&lt;br /&gt;
:: - TL and AL of the model do not intersect on the right (in the future) or&lt;br /&gt;
:: - the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated point 6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 EAM,&amp;quot; then the search for alternative models is terminated. Otherwise, the program proceeds to Step 9. &lt;br /&gt;
&lt;br /&gt;
====&#039;&#039;&#039; In the general case (no precviously fixed t.2)&#039;&#039;&#039; ====&lt;br /&gt;
The program performs the following checks for each of the potential FBs:&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; AL Price Crossing Check (not just touching)&lt;br /&gt;
: If AL intersects with the price on the segment between t.2 and t.4, this pair of candidates for t.1 and t.2 (this FB) is rejected.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.A.&#039;&#039;&#039; If FBs are found that give AL without intersections, the algorithm proceeds to step 6.2.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.B.&#039;&#039;&#039; If there are no suitable FBs, the algorithm looks for a new t.5 according to Step 2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Checking for intersection of AL and TL (hereinafter referred to as calculated point 6) with each other on the right (in the future) along the time axis.&lt;br /&gt;
: If the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated t.6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 VMP,&amp;quot; then these candidates for t.1 and t.2 are rejected.&lt;br /&gt;
: The following scenarios are possible:&lt;br /&gt;
:: &#039;&#039;&#039;6.2.A.&#039;&#039;&#039; One or several potential FBs remain - in this case, the program proceeds to Step 7.&lt;br /&gt;
:: &#039;&#039;&#039;6.2.B.&#039;&#039;&#039; There are no potential FBs left - in this case, the program looks for a new potential t.5, starting from Step 2 and onwards.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VII. Dtermintaion of FB&#039;s with and without 2X5&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program checks for the intersection of the bodies of candles at t.2 and t.5 (hereinafter referred to as 2x5). If there is only one potential FB, determining FB with 2x5 is not required, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.1.&#039;&#039;&#039; If there are multiple potential BOs, some of which have 2x5 and some do not, those potential BOs that have 2x5 are filtered out, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.2.&#039;&#039;&#039; If all potential FBs have 2x5, then all are filtered out except the one whose t.2 level is closer to the t.3 level. The program proceeds to &lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VIII: Filtering Based on Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The algorithm checks whether Presuppositions have been found for the analyzed model.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.0.&#039;&#039;&#039; If no Presuppositions are found, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.1.&#039;&#039;&#039; The model has one or more Presuppositions. For each Presupposition program checks if the available candidates for t.2 belong to the interval between the last price level intersection of t.1p and t.1p itself (t.1p can also be used as t.2 EAM).&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;8.1.1.&#039;&#039;&#039; There are candidates for t.2 that belong to the interval between the last price level intersection of t.1p and t.1p itself. Such a Presupposition is retained.&lt;br /&gt;
::&#039;&#039;&#039;8.1.2.&#039;&#039;&#039; There are no candidates for t.2 within the specified interval. In this case, such a Presupposition is discarded and not further considered (meaning the model has no Presupposition).&lt;br /&gt;
:&#039;&#039;&#039;8.2.&#039;&#039;&#039; If after checking all Presuppositions according to sub-step 8.1., there are one or more Presuppositions with candidates in t.2 within the interval between the last price level intersection of t.1p and t.1p itself (inclusive), then:&lt;br /&gt;
&lt;br /&gt;
: - Among such Presuppositions, only the one with t.1p occurring later on the time axis is considered further;&lt;br /&gt;
: - Only those candidates that belong to the interval between the last price level intersection of t.1p and t.1p itself are retained as t.2 candidates for the remaining Presupposition.&lt;br /&gt;
::&#039;&#039;&#039;8.2.1.&#039;&#039;&#039; If only one potential FB remains, the model is confirmed.&lt;br /&gt;
::&#039;&#039;&#039;8.2.2.&#039;&#039;&#039; If more than one potential FB remains, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step IX. Search for Embedded Models in EAM&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.1.&#039;&#039;&#039; If EAM is constructed through t.3&#039;, then the interval from EAM&#039;s t.3 is checked for the presence of models according to Algorithm I, for which the following conditions are simultaneously satisfied. In the paragraph below, the numbers I and II in parentheses next to the model points denote the algorithm to which the model with this point belongs:&lt;br /&gt;
&lt;br /&gt;
: - If the model according to Algorithm I contains t.5, then its t.5 should precede or coincide with the t.5 of the analyzed EAM.&lt;br /&gt;
: - t.4 does not lie beyond t.4 of the analyzed EAM; (bar of t.4(I) cannot coincide with bar of t.3(II), but can coincide with bar of t.4(II);&lt;br /&gt;
: -t.1 lies before t.3&#039; of the analyzed model (if it coincides with bar of t.3&#039;, then it is not suitable anymore) (t.1(I) can coincide with t.3(II), but cannot coincide with t.3&#039;(II)&lt;br /&gt;
&lt;br /&gt;
If there are more than 5 models, those with the time distance from t.1 to t.4 greater than others are considered embedded models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.1.&#039;&#039;&#039; If models are not found, then EAM does not have an embedded primary model.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.2.&#039;&#039;&#039; If the model/s is/are found, EAM is given the status of &amp;quot;Models described near the Primary model.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.3.&#039;&#039;&#039; If EAM has one or more embedded models, models among them built from EAM&#039;s t.3 are searched for meeting one of the following criteria:&lt;br /&gt;
&lt;br /&gt;
::: A. Having a trendline breakthrough in the interval before t.3&#039; of the analyzed model;&lt;br /&gt;
::: B. Having an intersection of candle bodies at points 2 and 5 (hereinafter 2x5).&lt;br /&gt;
::: C. If the embedded model has a rank 45 greater than the ranks of 12 and 25 of the same model.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.1.&#039;&#039;&#039; In the presence of one of these criteria, the model is Specific based on the 1st criterion.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.2.&#039;&#039;&#039; In the absence of the specified criteria, the model is Normal based on the 1st criterion.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;9.1.4.&#039;&#039;&#039; If there is a model according to Algorithm I on the interval from t.3 to t.3&#039; of the EAM, aligned with the preceding EAM trend, and with points t.1-t.4 lying on the interval 3-3&#039; EAM (inclusive), then this EAM is Specific based on the 2nd criterion. &lt;br /&gt;
:: In the absence of the specified criteria, the model is Normal based on the 2nd criterion.&lt;br /&gt;
&lt;br /&gt;
: Upon completion of all checks in step 9.1., the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.2.&#039;&#039;&#039; If EAM is constructed through t.3, the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=205</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=205"/>
		<updated>2024-01-03T22:58:13Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Step IX. Search for Embedded Models in VMP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
::If:&lt;br /&gt;
::*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
::*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. ::If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b.&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1.&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1.&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B.&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2.&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2.&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B.&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2.&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1.&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2.&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3.&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2, a.k.a FB) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step V. Search for Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
Presupposition is an optional part of the EAM.&lt;br /&gt;
The program attempts to construct Presuppositions from all available candidates for t.2.&lt;br /&gt;
&lt;br /&gt;
==== Presupposition Search Algorithm ====&lt;br /&gt;
The program takes each potential t.2 of the EAM (as part of a potential FB) as a t.1 of Presupposition (hereinafter t.1p). In other words, the program tries to construct Presuppositions from each of the t.2.&lt;br /&gt;
&lt;br /&gt;
Initially, the most recent (rightmost) potential t.2 (or the one specified in the algorithm if we have returned to the beginning of the Step V in the cycle) in the EAM is taken as a potential t.1p. If there are no more unconfirmed t.1p, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; The program sequentially checks bars from left to right (into the future) from the potential t.1p to t.3 of EAM model (excluding t.3) for being an extreme according to the N1 rule as point 3 of the Presupposition (hereinafter t.3p).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;N1 rule for the Presupposition points&#039;&#039;&#039;&lt;br /&gt;
: If t.1p is low, t.3p must be below t.1p.&lt;br /&gt;
: If t.1p is high, t.3p must be above t.1p.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the potential t.3p is not found, the program considers the next (to the left of the previous) potential t.2 of the EAM (within the FB) as t.1p.&lt;br /&gt;
:: If the potential t.3p is not found, and there are no more potential FBs, the algorithm proceeds to Step 6.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; Once the potential t.3p is found, the program searches for point 2 of the Presupposition (hereinafter t.2p) as an extreme with the maximum/minimum price on the segment from t.1p to t.3p (hereinafter segment 1p-3p).&lt;br /&gt;
:: If a suitable extreme is not found, the algorithm looks for the next potential t.3p for the previously found t.1p.&lt;br /&gt;
:: If a maximum/minimum is found, it is checked for for being an extreme (as t.2p).&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; The bar is an absolute extreme. In this case, a potential t.2p is found, and the program proceeds to step 5.2.&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The bar is not an extreme. In this case, the program looks for another candidate for t.3p for the previously found t.1p following the instructions in 5.1.&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; The program constructs a line from t.1p to t.3p and checks it for price crossings on the segment from t.1p to t.3 of the EAM (including t.3 of EAM).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If this lines price crossings are found, the program looks for a new candidate for t.3p for the previously found t.1p following the instructions in sub-step 5.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If there are no price crossings, the program proceeds to sub-step 5.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.&#039;&#039;&#039; The program searches for a potential point 4 of the Presupposition (t.4p) according to the N1 rule on the segment from t.3p to t.3 in the VMP (including t.3).&lt;br /&gt;
&lt;br /&gt;
: If t.1p is low, t.4p must be below t.2p. Each subsequent candidate for t.4p must be below the previous candidate for t.4p.&lt;br /&gt;
: If t.1p is high, t.4p must be above t.2p. Each subsequent candidate for t.4p must be above the previous candidate for t.4p.&lt;br /&gt;
: Possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;5.3.A.&#039;&#039;&#039; If the potential t.4p coincides with t.3 in the EAM, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.B.&#039;&#039;&#039; If the potential t.4p does not coincide with t.3 in the EAM (i.e., it is located before it), the program looks for an opposite-direction potential t.4p extreme on the segment from the potential t.4p (excluding it) to the bar where the price again reached the value of the potential t.4p (excluding it).&lt;br /&gt;
&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.1.&#039;&#039;&#039; If the opposite-direction extreme is found, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.2.&#039;&#039;&#039; If the opposite-direction extreme is not found, the program looks for a new potential t.4p following the instructions in sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; If t.4p is found, the program constructs a line from t.2p to t.4p and checks it for price crossings on the segment from t.1p (excluding it) to t.3 in the VMP (including t.3).&lt;br /&gt;
::: If unnecessary intersections are found, the program looks for the next potential t.4p on the segment following the instructions in 5.3.&lt;br /&gt;
::: If no unnecessary intersections are found, the algorithm proceeds to sub-step 5.4.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; Check for Absolute Level&lt;br /&gt;
:: The program checks the bar of the potential t.3p for absoluteness. The level of t.3p should not be exceeded by the price on the segment between t.3p and potential t.4p (excluding it).&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the level of t.3p is exceeded, the potential t.3p is discarded, and the program looks for a new t.3p following the instructions in sub-step 5.1. and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the level of t.3p is not exceeded, t.3p is confirmed, t.4p is confirmed, and the algorithm proceeds to sub- step 5.4.&lt;br /&gt;
&lt;br /&gt;
====  Presupposition Verification ====&lt;br /&gt;
: &#039;&#039;&#039; 5.4.&#039;&#039;&#039; Presuppositions undergo the following checks:&lt;br /&gt;
:: &#039;&#039;&#039;A.&#039;&#039;&#039; - Bars t.1p, t.2p, t.3p must follow each other.&lt;br /&gt;
:: &#039;&#039;&#039;B.&#039;&#039;&#039; - The distance in levels between t.1 and t.2 (hereinafter rank 12) must be at least the value of the Minimum Distance between t.1 and t.2 Levels of the Presupposition, which is set in the Calculation Parameters, from the distance between t.4 and t.5 levels of the EAM model(this is rank 45).&lt;br /&gt;
&lt;br /&gt;
:: If all checks are successful, the Presupposition is found. If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
:: If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VI. Check for AL price crossings&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;6 alfa.&#039;&#039;&#039; ==== &lt;br /&gt;
First it is necessary to check for the presence of a fixed t.2.  If it exists, it means we are in a branch of searching for alternative models. &lt;br /&gt;
&lt;br /&gt;
The potential Aims Line (from t.2 to t.4), hereinafter referred to as AL, is calculated, and then:&lt;br /&gt;
: &#039;&#039;&#039;6 alfa.1.&#039;&#039;&#039; AL Crossing Check&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. A.&#039;&#039;&#039; - If there are no  AL price crossings, the algorithm proceeds to step 6 alfa.2.&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. B.&#039;&#039;&#039; - If AL is crossed, the next potential t.5 is determined according to Step 2, starting from bar t.5+2.&lt;br /&gt;
: &#039;&#039;&#039;6.2. alfa.&#039;&#039;&#039; Distance Check for AL and TL Intersection&lt;br /&gt;
: If:&lt;br /&gt;
:: - TL and AL of the model do not intersect on the right (in the future) or&lt;br /&gt;
:: - the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated point 6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 EAM,&amp;quot; then the search for alternative models is terminated. Otherwise, the program proceeds to Step 9. &lt;br /&gt;
&lt;br /&gt;
====&#039;&#039;&#039; In the general case (no precviously fixed t.2)&#039;&#039;&#039; ====&lt;br /&gt;
The program performs the following checks for each of the potential FBs:&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; AL Price Crossing Check (not just touching)&lt;br /&gt;
: If AL intersects with the price on the segment between t.2 and t.4, this pair of candidates for t.1 and t.2 (this FB) is rejected.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.A.&#039;&#039;&#039; If FBs are found that give AL without intersections, the algorithm proceeds to step 6.2.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.B.&#039;&#039;&#039; If there are no suitable FBs, the algorithm looks for a new t.5 according to Step 2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Checking for intersection of AL and TL (hereinafter referred to as calculated point 6) with each other on the right (in the future) along the time axis.&lt;br /&gt;
: If the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated t.6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 VMP,&amp;quot; then these candidates for t.1 and t.2 are rejected.&lt;br /&gt;
: The following scenarios are possible:&lt;br /&gt;
:: &#039;&#039;&#039;6.2.A.&#039;&#039;&#039; One or several potential FBs remain - in this case, the program proceeds to Step 7.&lt;br /&gt;
:: &#039;&#039;&#039;6.2.B.&#039;&#039;&#039; There are no potential FBs left - in this case, the program looks for a new potential t.5, starting from Step 2 and onwards.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VII. Dtermintaion of FB&#039;s with and without 2X5&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program checks for the intersection of the bodies of candles at t.2 and t.5 (hereinafter referred to as 2x5). If there is only one potential FB, determining FB with 2x5 is not required, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.1.&#039;&#039;&#039; If there are multiple potential BOs, some of which have 2x5 and some do not, those potential BOs that have 2x5 are filtered out, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.2.&#039;&#039;&#039; If all potential FBs have 2x5, then all are filtered out except the one whose t.2 level is closer to the t.3 level. The program proceeds to &lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VIII: Filtering Based on Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The algorithm checks whether Presuppositions have been found for the analyzed model.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.0.&#039;&#039;&#039; If no Presuppositions are found, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.1.&#039;&#039;&#039; The model has one or more Presuppositions. For each Presupposition program checks if the available candidates for t.2 belong to the interval between the last price level intersection of t.1p and t.1p itself (t.1p can also be used as t.2 EAM).&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;8.1.1.&#039;&#039;&#039; There are candidates for t.2 that belong to the interval between the last price level intersection of t.1p and t.1p itself. Such a Presupposition is retained.&lt;br /&gt;
::&#039;&#039;&#039;8.1.2.&#039;&#039;&#039; There are no candidates for t.2 within the specified interval. In this case, such a Presupposition is discarded and not further considered (meaning the model has no Presupposition).&lt;br /&gt;
:&#039;&#039;&#039;8.2.&#039;&#039;&#039; If after checking all Presuppositions according to sub-step 8.1., there are one or more Presuppositions with candidates in t.2 within the interval between the last price level intersection of t.1p and t.1p itself (inclusive), then:&lt;br /&gt;
&lt;br /&gt;
: - Among such Presuppositions, only the one with t.1p occurring later on the time axis is considered further;&lt;br /&gt;
: - Only those candidates that belong to the interval between the last price level intersection of t.1p and t.1p itself are retained as t.2 candidates for the remaining Presupposition.&lt;br /&gt;
::&#039;&#039;&#039;8.2.1.&#039;&#039;&#039; If only one potential FB remains, the model is confirmed.&lt;br /&gt;
::&#039;&#039;&#039;8.2.2.&#039;&#039;&#039; If more than one potential FB remains, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step IX. Search for Embedded Models in EAM&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.1.&#039;&#039;&#039; If EAM is constructed through t.3&#039;, then the interval from EAM&#039;s t.3 is checked for the presence of models according to Algorithm I, for which the following conditions are simultaneously satisfied. In the paragraph below, the numbers I and II in parentheses next to the model points denote the algorithm to which the model with this point belongs:&lt;br /&gt;
&lt;br /&gt;
: - If the model according to Algorithm I contains t.5, then its t.5 should precede or coincide with the t.5 of the analyzed EAM.&lt;br /&gt;
: - t.4 does not lie beyond t.4 of the analyzed EAM; (bar of t.4(I) cannot coincide with bar of t.3(II), but can coincide with bar of t.4(II);&lt;br /&gt;
: -t.1 lies before t.3&#039; of the analyzed model (if it coincides with bar of t.3&#039;, then it is not suitable anymore) (t.1(I) can coincide with t.3(II), but cannot coincide with t.3&#039;(II)&lt;br /&gt;
&lt;br /&gt;
If there are more than 5 models, those with the time distance from t.1 to t.4 greater than others are considered embedded models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.1.&#039;&#039;&#039; If models are not found, then EAM does not have an embedded primary model.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.2.&#039;&#039;&#039; If the model/s is/are found, EAM is given the status of &amp;quot;Models described near the Primary model.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.3.&#039;&#039;&#039; If EAM has one or more embedded models, models among them built from EAM&#039;s t.3 are searched for meeting one of the following criteria:&lt;br /&gt;
&lt;br /&gt;
::: A. Having a trendline breakthrough in the interval before t.3&#039; of the analyzed model;&lt;br /&gt;
::: B. Having an intersection of candle bodies at points 2 and 5 (hereinafter 2x5).&lt;br /&gt;
::: C. If the embedded model has a rank 45 greater than the ranks of 12 and 25 of the same model.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.1.&#039;&#039;&#039; In the presence of one of these criteria, the model is Specific based on the 1st criterion.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.2.&#039;&#039;&#039; In the absence of the specified criteria, the model is Normal based on the 1st criterion.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;9.1.4.&#039;&#039;&#039; If there is a model according to Algorithm I on the interval from t.3 to t.3&#039; of the EAM, aligned with the preceding EAM trend, and with points t.1-t.4 lying on the interval 3-3&#039; &lt;br /&gt;
EAM (inclusive), then this EAM is Specific based on the 2nd criterion. &lt;br /&gt;
:: In the absence of the specified criteria, the model is Normal based on the 2nd criterion.&lt;br /&gt;
&lt;br /&gt;
Upon completion of all checks in step 9.1., the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.2.&#039;&#039;&#039; If EAM is constructed through t.3, the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=204</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=204"/>
		<updated>2024-01-03T22:57:46Z</updated>

		<summary type="html">&lt;p&gt;Admin: Adding Step 9&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
::If:&lt;br /&gt;
::*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
::*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. ::If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b.&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1.&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1.&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B.&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2.&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2.&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B.&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2.&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1.&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2.&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3.&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2, a.k.a FB) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step V. Search for Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
Presupposition is an optional part of the EAM.&lt;br /&gt;
The program attempts to construct Presuppositions from all available candidates for t.2.&lt;br /&gt;
&lt;br /&gt;
==== Presupposition Search Algorithm ====&lt;br /&gt;
The program takes each potential t.2 of the EAM (as part of a potential FB) as a t.1 of Presupposition (hereinafter t.1p). In other words, the program tries to construct Presuppositions from each of the t.2.&lt;br /&gt;
&lt;br /&gt;
Initially, the most recent (rightmost) potential t.2 (or the one specified in the algorithm if we have returned to the beginning of the Step V in the cycle) in the EAM is taken as a potential t.1p. If there are no more unconfirmed t.1p, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; The program sequentially checks bars from left to right (into the future) from the potential t.1p to t.3 of EAM model (excluding t.3) for being an extreme according to the N1 rule as point 3 of the Presupposition (hereinafter t.3p).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;N1 rule for the Presupposition points&#039;&#039;&#039;&lt;br /&gt;
: If t.1p is low, t.3p must be below t.1p.&lt;br /&gt;
: If t.1p is high, t.3p must be above t.1p.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the potential t.3p is not found, the program considers the next (to the left of the previous) potential t.2 of the EAM (within the FB) as t.1p.&lt;br /&gt;
:: If the potential t.3p is not found, and there are no more potential FBs, the algorithm proceeds to Step 6.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; Once the potential t.3p is found, the program searches for point 2 of the Presupposition (hereinafter t.2p) as an extreme with the maximum/minimum price on the segment from t.1p to t.3p (hereinafter segment 1p-3p).&lt;br /&gt;
:: If a suitable extreme is not found, the algorithm looks for the next potential t.3p for the previously found t.1p.&lt;br /&gt;
:: If a maximum/minimum is found, it is checked for for being an extreme (as t.2p).&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; The bar is an absolute extreme. In this case, a potential t.2p is found, and the program proceeds to step 5.2.&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The bar is not an extreme. In this case, the program looks for another candidate for t.3p for the previously found t.1p following the instructions in 5.1.&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; The program constructs a line from t.1p to t.3p and checks it for price crossings on the segment from t.1p to t.3 of the EAM (including t.3 of EAM).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If this lines price crossings are found, the program looks for a new candidate for t.3p for the previously found t.1p following the instructions in sub-step 5.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If there are no price crossings, the program proceeds to sub-step 5.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.&#039;&#039;&#039; The program searches for a potential point 4 of the Presupposition (t.4p) according to the N1 rule on the segment from t.3p to t.3 in the VMP (including t.3).&lt;br /&gt;
&lt;br /&gt;
: If t.1p is low, t.4p must be below t.2p. Each subsequent candidate for t.4p must be below the previous candidate for t.4p.&lt;br /&gt;
: If t.1p is high, t.4p must be above t.2p. Each subsequent candidate for t.4p must be above the previous candidate for t.4p.&lt;br /&gt;
: Possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;5.3.A.&#039;&#039;&#039; If the potential t.4p coincides with t.3 in the EAM, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.B.&#039;&#039;&#039; If the potential t.4p does not coincide with t.3 in the EAM (i.e., it is located before it), the program looks for an opposite-direction potential t.4p extreme on the segment from the potential t.4p (excluding it) to the bar where the price again reached the value of the potential t.4p (excluding it).&lt;br /&gt;
&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.1.&#039;&#039;&#039; If the opposite-direction extreme is found, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.2.&#039;&#039;&#039; If the opposite-direction extreme is not found, the program looks for a new potential t.4p following the instructions in sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; If t.4p is found, the program constructs a line from t.2p to t.4p and checks it for price crossings on the segment from t.1p (excluding it) to t.3 in the VMP (including t.3).&lt;br /&gt;
::: If unnecessary intersections are found, the program looks for the next potential t.4p on the segment following the instructions in 5.3.&lt;br /&gt;
::: If no unnecessary intersections are found, the algorithm proceeds to sub-step 5.4.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; Check for Absolute Level&lt;br /&gt;
:: The program checks the bar of the potential t.3p for absoluteness. The level of t.3p should not be exceeded by the price on the segment between t.3p and potential t.4p (excluding it).&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the level of t.3p is exceeded, the potential t.3p is discarded, and the program looks for a new t.3p following the instructions in sub-step 5.1. and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the level of t.3p is not exceeded, t.3p is confirmed, t.4p is confirmed, and the algorithm proceeds to sub- step 5.4.&lt;br /&gt;
&lt;br /&gt;
====  Presupposition Verification ====&lt;br /&gt;
: &#039;&#039;&#039; 5.4.&#039;&#039;&#039; Presuppositions undergo the following checks:&lt;br /&gt;
:: &#039;&#039;&#039;A.&#039;&#039;&#039; - Bars t.1p, t.2p, t.3p must follow each other.&lt;br /&gt;
:: &#039;&#039;&#039;B.&#039;&#039;&#039; - The distance in levels between t.1 and t.2 (hereinafter rank 12) must be at least the value of the Minimum Distance between t.1 and t.2 Levels of the Presupposition, which is set in the Calculation Parameters, from the distance between t.4 and t.5 levels of the EAM model(this is rank 45).&lt;br /&gt;
&lt;br /&gt;
:: If all checks are successful, the Presupposition is found. If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
:: If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VI. Check for AL price crossings&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;6 alfa.&#039;&#039;&#039; ==== &lt;br /&gt;
First it is necessary to check for the presence of a fixed t.2.  If it exists, it means we are in a branch of searching for alternative models. &lt;br /&gt;
&lt;br /&gt;
The potential Aims Line (from t.2 to t.4), hereinafter referred to as AL, is calculated, and then:&lt;br /&gt;
: &#039;&#039;&#039;6 alfa.1.&#039;&#039;&#039; AL Crossing Check&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. A.&#039;&#039;&#039; - If there are no  AL price crossings, the algorithm proceeds to step 6 alfa.2.&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. B.&#039;&#039;&#039; - If AL is crossed, the next potential t.5 is determined according to Step 2, starting from bar t.5+2.&lt;br /&gt;
: &#039;&#039;&#039;6.2. alfa.&#039;&#039;&#039; Distance Check for AL and TL Intersection&lt;br /&gt;
: If:&lt;br /&gt;
:: - TL and AL of the model do not intersect on the right (in the future) or&lt;br /&gt;
:: - the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated point 6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 EAM,&amp;quot; then the search for alternative models is terminated. Otherwise, the program proceeds to Step 9. &lt;br /&gt;
&lt;br /&gt;
====&#039;&#039;&#039; In the general case (no precviously fixed t.2)&#039;&#039;&#039; ====&lt;br /&gt;
The program performs the following checks for each of the potential FBs:&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; AL Price Crossing Check (not just touching)&lt;br /&gt;
: If AL intersects with the price on the segment between t.2 and t.4, this pair of candidates for t.1 and t.2 (this FB) is rejected.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.A.&#039;&#039;&#039; If FBs are found that give AL without intersections, the algorithm proceeds to step 6.2.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.B.&#039;&#039;&#039; If there are no suitable FBs, the algorithm looks for a new t.5 according to Step 2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Checking for intersection of AL and TL (hereinafter referred to as calculated point 6) with each other on the right (in the future) along the time axis.&lt;br /&gt;
: If the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated t.6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 VMP,&amp;quot; then these candidates for t.1 and t.2 are rejected.&lt;br /&gt;
: The following scenarios are possible:&lt;br /&gt;
:: &#039;&#039;&#039;6.2.A.&#039;&#039;&#039; One or several potential FBs remain - in this case, the program proceeds to Step 7.&lt;br /&gt;
:: &#039;&#039;&#039;6.2.B.&#039;&#039;&#039; There are no potential FBs left - in this case, the program looks for a new potential t.5, starting from Step 2 and onwards.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VII. Dtermintaion of FB&#039;s with and without 2X5&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program checks for the intersection of the bodies of candles at t.2 and t.5 (hereinafter referred to as 2x5). If there is only one potential FB, determining FB with 2x5 is not required, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.1.&#039;&#039;&#039; If there are multiple potential BOs, some of which have 2x5 and some do not, those potential BOs that have 2x5 are filtered out, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.2.&#039;&#039;&#039; If all potential FBs have 2x5, then all are filtered out except the one whose t.2 level is closer to the t.3 level. The program proceeds to &lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VIII: Filtering Based on Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The algorithm checks whether Presuppositions have been found for the analyzed model.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.0.&#039;&#039;&#039; If no Presuppositions are found, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.1.&#039;&#039;&#039; The model has one or more Presuppositions. For each Presupposition program checks if the available candidates for t.2 belong to the interval between the last price level intersection of t.1p and t.1p itself (t.1p can also be used as t.2 EAM).&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;8.1.1.&#039;&#039;&#039; There are candidates for t.2 that belong to the interval between the last price level intersection of t.1p and t.1p itself. Such a Presupposition is retained.&lt;br /&gt;
::&#039;&#039;&#039;8.1.2.&#039;&#039;&#039; There are no candidates for t.2 within the specified interval. In this case, such a Presupposition is discarded and not further considered (meaning the model has no Presupposition).&lt;br /&gt;
:&#039;&#039;&#039;8.2.&#039;&#039;&#039; If after checking all Presuppositions according to sub-step 8.1., there are one or more Presuppositions with candidates in t.2 within the interval between the last price level intersection of t.1p and t.1p itself (inclusive), then:&lt;br /&gt;
&lt;br /&gt;
: - Among such Presuppositions, only the one with t.1p occurring later on the time axis is considered further;&lt;br /&gt;
: - Only those candidates that belong to the interval between the last price level intersection of t.1p and t.1p itself are retained as t.2 candidates for the remaining Presupposition.&lt;br /&gt;
::&#039;&#039;&#039;8.2.1.&#039;&#039;&#039; If only one potential FB remains, the model is confirmed.&lt;br /&gt;
::&#039;&#039;&#039;8.2.2.&#039;&#039;&#039; If more than one potential FB remains, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step IX. Search for Embedded Models in VMP&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.1.&#039;&#039;&#039; If EAM is constructed through t.3&#039;, then the interval from EAM&#039;s t.3 is checked for the presence of models according to Algorithm I, for which the following conditions are simultaneously satisfied. In the paragraph below, the numbers I and II in parentheses next to the model points denote the algorithm to which the model with this point belongs:&lt;br /&gt;
&lt;br /&gt;
: - If the model according to Algorithm I contains t.5, then its t.5 should precede or coincide with the t.5 of the analyzed EAM.&lt;br /&gt;
: - t.4 does not lie beyond t.4 of the analyzed EAM; (bar of t.4(I) cannot coincide with bar of t.3(II), but can coincide with bar of t.4(II);&lt;br /&gt;
: -t.1 lies before t.3&#039; of the analyzed model (if it coincides with bar of t.3&#039;, then it is not suitable anymore) (t.1(I) can coincide with t.3(II), but cannot coincide with t.3&#039;(II)&lt;br /&gt;
&lt;br /&gt;
If there are more than 5 models, those with the time distance from t.1 to t.4 greater than others are considered embedded models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.1.&#039;&#039;&#039; If models are not found, then EAM does not have an embedded primary model.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.2.&#039;&#039;&#039; If the model/s is/are found, EAM is given the status of &amp;quot;Models described near the Primary model.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;9.1.3.&#039;&#039;&#039; If EAM has one or more embedded models, models among them built from EAM&#039;s t.3 are searched for meeting one of the following criteria:&lt;br /&gt;
&lt;br /&gt;
::: A. Having a trendline breakthrough in the interval before t.3&#039; of the analyzed model;&lt;br /&gt;
::: B. Having an intersection of candle bodies at points 2 and 5 (hereinafter 2x5).&lt;br /&gt;
::: C. If the embedded model has a rank 45 greater than the ranks of 12 and 25 of the same model.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.1.&#039;&#039;&#039; In the presence of one of these criteria, the model is Specific based on the 1st criterion.&lt;br /&gt;
::: &#039;&#039;&#039;9.1.3.2.&#039;&#039;&#039; In the absence of the specified criteria, the model is Normal based on the 1st criterion.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;9.1.4.&#039;&#039;&#039; If there is a model according to Algorithm I on the interval from t.3 to t.3&#039; of the EAM, aligned with the preceding EAM trend, and with points t.1-t.4 lying on the interval 3-3&#039; &lt;br /&gt;
EAM (inclusive), then this EAM is Specific based on the 2nd criterion. &lt;br /&gt;
:: In the absence of the specified criteria, the model is Normal based on the 2nd criterion.&lt;br /&gt;
&lt;br /&gt;
Upon completion of all checks in step 9.1., the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;9.2.&#039;&#039;&#039; If EAM is constructed through t.3, the program proceeds to step 10.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=203</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=203"/>
		<updated>2023-09-14T21:05:32Z</updated>

		<summary type="html">&lt;p&gt;Admin: Adding Step 8&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
::If:&lt;br /&gt;
::*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
::*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. ::If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b.&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1.&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1.&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B.&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2.&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2.&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B.&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2.&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1.&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2.&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3.&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2, a.k.a FB) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step V. Search for Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
Presupposition is an optional part of the EAM.&lt;br /&gt;
The program attempts to construct Presuppositions from all available candidates for t.2.&lt;br /&gt;
&lt;br /&gt;
==== Presupposition Search Algorithm ====&lt;br /&gt;
The program takes each potential t.2 of the EAM (as part of a potential FB) as a t.1 of Presupposition (hereinafter t.1p). In other words, the program tries to construct Presuppositions from each of the t.2.&lt;br /&gt;
&lt;br /&gt;
Initially, the most recent (rightmost) potential t.2 (or the one specified in the algorithm if we have returned to the beginning of the Step V in the cycle) in the EAM is taken as a potential t.1p. If there are no more unconfirmed t.1p, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; The program sequentially checks bars from left to right (into the future) from the potential t.1p to t.3 of EAM model (excluding t.3) for being an extreme according to the N1 rule as point 3 of the Presupposition (hereinafter t.3p).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;N1 rule for the Presupposition points&#039;&#039;&#039;&lt;br /&gt;
: If t.1p is low, t.3p must be below t.1p.&lt;br /&gt;
: If t.1p is high, t.3p must be above t.1p.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the potential t.3p is not found, the program considers the next (to the left of the previous) potential t.2 of the EAM (within the FB) as t.1p.&lt;br /&gt;
:: If the potential t.3p is not found, and there are no more potential FBs, the algorithm proceeds to Step 6.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; Once the potential t.3p is found, the program searches for point 2 of the Presupposition (hereinafter t.2p) as an extreme with the maximum/minimum price on the segment from t.1p to t.3p (hereinafter segment 1p-3p).&lt;br /&gt;
:: If a suitable extreme is not found, the algorithm looks for the next potential t.3p for the previously found t.1p.&lt;br /&gt;
:: If a maximum/minimum is found, it is checked for for being an extreme (as t.2p).&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; The bar is an absolute extreme. In this case, a potential t.2p is found, and the program proceeds to step 5.2.&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The bar is not an extreme. In this case, the program looks for another candidate for t.3p for the previously found t.1p following the instructions in 5.1.&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; The program constructs a line from t.1p to t.3p and checks it for price crossings on the segment from t.1p to t.3 of the EAM (including t.3 of EAM).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If this lines price crossings are found, the program looks for a new candidate for t.3p for the previously found t.1p following the instructions in sub-step 5.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If there are no price crossings, the program proceeds to sub-step 5.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.&#039;&#039;&#039; The program searches for a potential point 4 of the Presupposition (t.4p) according to the N1 rule on the segment from t.3p to t.3 in the VMP (including t.3).&lt;br /&gt;
&lt;br /&gt;
: If t.1p is low, t.4p must be below t.2p. Each subsequent candidate for t.4p must be below the previous candidate for t.4p.&lt;br /&gt;
: If t.1p is high, t.4p must be above t.2p. Each subsequent candidate for t.4p must be above the previous candidate for t.4p.&lt;br /&gt;
: Possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;5.3.A.&#039;&#039;&#039; If the potential t.4p coincides with t.3 in the EAM, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.B.&#039;&#039;&#039; If the potential t.4p does not coincide with t.3 in the EAM (i.e., it is located before it), the program looks for an opposite-direction potential t.4p extreme on the segment from the potential t.4p (excluding it) to the bar where the price again reached the value of the potential t.4p (excluding it).&lt;br /&gt;
&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.1.&#039;&#039;&#039; If the opposite-direction extreme is found, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.2.&#039;&#039;&#039; If the opposite-direction extreme is not found, the program looks for a new potential t.4p following the instructions in sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; If t.4p is found, the program constructs a line from t.2p to t.4p and checks it for price crossings on the segment from t.1p (excluding it) to t.3 in the VMP (including t.3).&lt;br /&gt;
::: If unnecessary intersections are found, the program looks for the next potential t.4p on the segment following the instructions in 5.3.&lt;br /&gt;
::: If no unnecessary intersections are found, the algorithm proceeds to sub-step 5.4.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; Check for Absolute Level&lt;br /&gt;
:: The program checks the bar of the potential t.3p for absoluteness. The level of t.3p should not be exceeded by the price on the segment between t.3p and potential t.4p (excluding it).&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the level of t.3p is exceeded, the potential t.3p is discarded, and the program looks for a new t.3p following the instructions in sub-step 5.1. and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the level of t.3p is not exceeded, t.3p is confirmed, t.4p is confirmed, and the algorithm proceeds to sub- step 5.4.&lt;br /&gt;
&lt;br /&gt;
====  Presupposition Verification ====&lt;br /&gt;
: &#039;&#039;&#039; 5.4.&#039;&#039;&#039; Presuppositions undergo the following checks:&lt;br /&gt;
:: &#039;&#039;&#039;A.&#039;&#039;&#039; - Bars t.1p, t.2p, t.3p must follow each other.&lt;br /&gt;
:: &#039;&#039;&#039;B.&#039;&#039;&#039; - The distance in levels between t.1 and t.2 (hereinafter rank 12) must be at least the value of the Minimum Distance between t.1 and t.2 Levels of the Presupposition, which is set in the Calculation Parameters, from the distance between t.4 and t.5 levels of the EAM model(this is rank 45).&lt;br /&gt;
&lt;br /&gt;
:: If all checks are successful, the Presupposition is found. If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
:: If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VI. Check for AL price crossings&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;6 alfa.&#039;&#039;&#039; ==== &lt;br /&gt;
First it is necessary to check for the presence of a fixed t.2.  If it exists, it means we are in a branch of searching for alternative models. &lt;br /&gt;
&lt;br /&gt;
The potential Aims Line (from t.2 to t.4), hereinafter referred to as AL, is calculated, and then:&lt;br /&gt;
: &#039;&#039;&#039;6 alfa.1.&#039;&#039;&#039; AL Crossing Check&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. A.&#039;&#039;&#039; - If there are no  AL price crossings, the algorithm proceeds to step 6 alfa.2.&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. B.&#039;&#039;&#039; - If AL is crossed, the next potential t.5 is determined according to Step 2, starting from bar t.5+2.&lt;br /&gt;
: &#039;&#039;&#039;6.2. alfa.&#039;&#039;&#039; Distance Check for AL and TL Intersection&lt;br /&gt;
: If:&lt;br /&gt;
:: - TL and AL of the model do not intersect on the right (in the future) or&lt;br /&gt;
:: - the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated point 6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 EAM,&amp;quot; then the search for alternative models is terminated. Otherwise, the program proceeds to Step 9. &lt;br /&gt;
&lt;br /&gt;
====&#039;&#039;&#039; In the general case (no precviously fixed t.2)&#039;&#039;&#039; ====&lt;br /&gt;
The program performs the following checks for each of the potential FBs:&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; AL Price Crossing Check (not just touching)&lt;br /&gt;
: If AL intersects with the price on the segment between t.2 and t.4, this pair of candidates for t.1 and t.2 (this FB) is rejected.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.A.&#039;&#039;&#039; If FBs are found that give AL without intersections, the algorithm proceeds to step 6.2.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.B.&#039;&#039;&#039; If there are no suitable FBs, the algorithm looks for a new t.5 according to Step 2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Checking for intersection of AL and TL (hereinafter referred to as calculated point 6) with each other on the right (in the future) along the time axis.&lt;br /&gt;
: If the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated t.6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 VMP,&amp;quot; then these candidates for t.1 and t.2 are rejected.&lt;br /&gt;
: The following scenarios are possible:&lt;br /&gt;
:: &#039;&#039;&#039;6.2.A.&#039;&#039;&#039; One or several potential FBs remain - in this case, the program proceeds to Step 7.&lt;br /&gt;
:: &#039;&#039;&#039;6.2.B.&#039;&#039;&#039; There are no potential FBs left - in this case, the program looks for a new potential t.5, starting from Step 2 and onwards.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VII. Dtermintaion of FB&#039;s with and without 2X5&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program checks for the intersection of the bodies of candles at t.2 and t.5 (hereinafter referred to as 2x5). If there is only one potential FB, determining FB with 2x5 is not required, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.1.&#039;&#039;&#039; If there are multiple potential BOs, some of which have 2x5 and some do not, those potential BOs that have 2x5 are filtered out, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.2.&#039;&#039;&#039; If all potential FBs have 2x5, then all are filtered out except the one whose t.2 level is closer to the t.3 level. The program proceeds to &lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VIII: Filtering Based on Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The algorithm checks whether Presuppositions have been found for the analyzed model.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.0.&#039;&#039;&#039; If no Presuppositions are found, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;8.1.&#039;&#039;&#039; The model has one or more Presuppositions. For each Presupposition program checks if the available candidates for t.2 belong to the interval between the last price level intersection of t.1p and t.1p itself (t.1p can also be used as t.2 EAM).&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;8.1.1.&#039;&#039;&#039; There are candidates for t.2 that belong to the interval between the last price level intersection of t.1p and t.1p itself. Such a Presupposition is retained.&lt;br /&gt;
::&#039;&#039;&#039;8.1.2.&#039;&#039;&#039; There are no candidates for t.2 within the specified interval. In this case, such a Presupposition is discarded and not further considered (meaning the model has no Presupposition).&lt;br /&gt;
:&#039;&#039;&#039;8.2.&#039;&#039;&#039; If after checking all Presuppositions according to sub-step 8.1., there are one or more Presuppositions with candidates in t.2 within the interval between the last price level intersection of t.1p and t.1p itself (inclusive), then:&lt;br /&gt;
&lt;br /&gt;
: - Among such Presuppositions, only the one with t.1p occurring later on the time axis is considered further;&lt;br /&gt;
: - Only those candidates that belong to the interval between the last price level intersection of t.1p and t.1p itself are retained as t.2 candidates for the remaining Presupposition.&lt;br /&gt;
::&#039;&#039;&#039;8.2.1.&#039;&#039;&#039; If only one potential FB remains, the model is confirmed.&lt;br /&gt;
::&#039;&#039;&#039;8.2.2.&#039;&#039;&#039; If more than one potential FB remains, the program proceeds to Step 9.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=Main_Page&amp;diff=202</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=Main_Page&amp;diff=202"/>
		<updated>2023-09-14T20:51:07Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Welcome to MarketPawns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Welcome to MarketPawns==&lt;br /&gt;
[https://marketpawns.com &#039;&#039;&#039;MarketPawns&#039;&#039;&#039; (MP)] is a dynamic startup that has evolved from a simple technical analysis study into a comprehensive digital portal. Our platform is designed to facilitate interaction between analysts and traders through a variety of innovative tools. Here are some of them: &lt;br /&gt;
&lt;br /&gt;
*Automatic Chart Marking. At MarketPawns, we&#039;ve streamlined the process of identifying and marking potential trading opportunities discoverd with the help of &#039;&#039;&#039;[[Universal Market Geometry (UMG)|Universal Market Geometry (UMG)]]&#039;&#039;&#039;. Our automatic search and chart marking system uses [[UMG models]] to mark financial instruments, saving you time and effort.&lt;br /&gt;
*AI. We employ neural networks to estimate the probability of trading scenarios. Our free trading signals based on this technology, provides you with tools for making informed trading decisions.&lt;br /&gt;
*Community. The Community Wall, accessible to registered users, cultivates a collaborative environment where users can exchange forecasts, discuss models, and vote on their effectiveness. &#039;&#039;&#039;[https://marketpawns.com MarketPawns]&#039;&#039;&#039; employ a ranking system, based on the ELO model, to acknowledge the most proficient analysts of the community.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
*[[Key ideas of MarketPawns|MarketPawns Key Ideas]]&lt;br /&gt;
*[[MarketPawns User Guide]]&lt;br /&gt;
*[[Universal Market Geometry (UMG)]]&lt;br /&gt;
*[[ELO rating]]&lt;br /&gt;
*[[UMG General Concepts]]&lt;br /&gt;
*[[ALGORITHM I]]&lt;br /&gt;
*[[ALGORITHM II]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=201</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=201"/>
		<updated>2023-09-12T21:40:16Z</updated>

		<summary type="html">&lt;p&gt;Admin: /*  In the general case (no precviously fixed t.2)&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
::If:&lt;br /&gt;
::*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
::*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. ::If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b.&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1.&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1.&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B.&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2.&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2.&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B.&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2.&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1.&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2.&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3.&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2, a.k.a FB) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step V. Search for Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
Presupposition is an optional part of the EAM.&lt;br /&gt;
The program attempts to construct Presuppositions from all available candidates for t.2.&lt;br /&gt;
&lt;br /&gt;
==== Presupposition Search Algorithm ====&lt;br /&gt;
The program takes each potential t.2 of the EAM (as part of a potential FB) as a t.1 of Presupposition (hereinafter t.1p). In other words, the program tries to construct Presuppositions from each of the t.2.&lt;br /&gt;
&lt;br /&gt;
Initially, the most recent (rightmost) potential t.2 (or the one specified in the algorithm if we have returned to the beginning of the Step V in the cycle) in the EAM is taken as a potential t.1p. If there are no more unconfirmed t.1p, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; The program sequentially checks bars from left to right (into the future) from the potential t.1p to t.3 of EAM model (excluding t.3) for being an extreme according to the N1 rule as point 3 of the Presupposition (hereinafter t.3p).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;N1 rule for the Presupposition points&#039;&#039;&#039;&lt;br /&gt;
: If t.1p is low, t.3p must be below t.1p.&lt;br /&gt;
: If t.1p is high, t.3p must be above t.1p.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the potential t.3p is not found, the program considers the next (to the left of the previous) potential t.2 of the EAM (within the FB) as t.1p.&lt;br /&gt;
:: If the potential t.3p is not found, and there are no more potential FBs, the algorithm proceeds to Step 6.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; Once the potential t.3p is found, the program searches for point 2 of the Presupposition (hereinafter t.2p) as an extreme with the maximum/minimum price on the segment from t.1p to t.3p (hereinafter segment 1p-3p).&lt;br /&gt;
:: If a suitable extreme is not found, the algorithm looks for the next potential t.3p for the previously found t.1p.&lt;br /&gt;
:: If a maximum/minimum is found, it is checked for for being an extreme (as t.2p).&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; The bar is an absolute extreme. In this case, a potential t.2p is found, and the program proceeds to step 5.2.&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The bar is not an extreme. In this case, the program looks for another candidate for t.3p for the previously found t.1p following the instructions in 5.1.&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; The program constructs a line from t.1p to t.3p and checks it for price crossings on the segment from t.1p to t.3 of the EAM (including t.3 of EAM).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If this lines price crossings are found, the program looks for a new candidate for t.3p for the previously found t.1p following the instructions in sub-step 5.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If there are no price crossings, the program proceeds to sub-step 5.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.&#039;&#039;&#039; The program searches for a potential point 4 of the Presupposition (t.4p) according to the N1 rule on the segment from t.3p to t.3 in the VMP (including t.3).&lt;br /&gt;
&lt;br /&gt;
: If t.1p is low, t.4p must be below t.2p. Each subsequent candidate for t.4p must be below the previous candidate for t.4p.&lt;br /&gt;
: If t.1p is high, t.4p must be above t.2p. Each subsequent candidate for t.4p must be above the previous candidate for t.4p.&lt;br /&gt;
: Possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;5.3.A.&#039;&#039;&#039; If the potential t.4p coincides with t.3 in the EAM, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.B.&#039;&#039;&#039; If the potential t.4p does not coincide with t.3 in the EAM (i.e., it is located before it), the program looks for an opposite-direction potential t.4p extreme on the segment from the potential t.4p (excluding it) to the bar where the price again reached the value of the potential t.4p (excluding it).&lt;br /&gt;
&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.1.&#039;&#039;&#039; If the opposite-direction extreme is found, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.2.&#039;&#039;&#039; If the opposite-direction extreme is not found, the program looks for a new potential t.4p following the instructions in sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; If t.4p is found, the program constructs a line from t.2p to t.4p and checks it for price crossings on the segment from t.1p (excluding it) to t.3 in the VMP (including t.3).&lt;br /&gt;
::: If unnecessary intersections are found, the program looks for the next potential t.4p on the segment following the instructions in 5.3.&lt;br /&gt;
::: If no unnecessary intersections are found, the algorithm proceeds to sub-step 5.4.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; Check for Absolute Level&lt;br /&gt;
:: The program checks the bar of the potential t.3p for absoluteness. The level of t.3p should not be exceeded by the price on the segment between t.3p and potential t.4p (excluding it).&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the level of t.3p is exceeded, the potential t.3p is discarded, and the program looks for a new t.3p following the instructions in sub-step 5.1. and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the level of t.3p is not exceeded, t.3p is confirmed, t.4p is confirmed, and the algorithm proceeds to sub- step 5.4.&lt;br /&gt;
&lt;br /&gt;
====  Presupposition Verification ====&lt;br /&gt;
: &#039;&#039;&#039; 5.4.&#039;&#039;&#039; Presuppositions undergo the following checks:&lt;br /&gt;
:: &#039;&#039;&#039;A.&#039;&#039;&#039; - Bars t.1p, t.2p, t.3p must follow each other.&lt;br /&gt;
:: &#039;&#039;&#039;B.&#039;&#039;&#039; - The distance in levels between t.1 and t.2 (hereinafter rank 12) must be at least the value of the Minimum Distance between t.1 and t.2 Levels of the Presupposition, which is set in the Calculation Parameters, from the distance between t.4 and t.5 levels of the EAM model(this is rank 45).&lt;br /&gt;
&lt;br /&gt;
:: If all checks are successful, the Presupposition is found. If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
:: If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VI. Check for AL price crossings&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;6 alfa.&#039;&#039;&#039; ==== &lt;br /&gt;
First it is necessary to check for the presence of a fixed t.2.  If it exists, it means we are in a branch of searching for alternative models. &lt;br /&gt;
&lt;br /&gt;
The potential Aims Line (from t.2 to t.4), hereinafter referred to as AL, is calculated, and then:&lt;br /&gt;
: &#039;&#039;&#039;6 alfa.1.&#039;&#039;&#039; AL Crossing Check&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. A.&#039;&#039;&#039; - If there are no  AL price crossings, the algorithm proceeds to step 6 alfa.2.&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. B.&#039;&#039;&#039; - If AL is crossed, the next potential t.5 is determined according to Step 2, starting from bar t.5+2.&lt;br /&gt;
: &#039;&#039;&#039;6.2. alfa.&#039;&#039;&#039; Distance Check for AL and TL Intersection&lt;br /&gt;
: If:&lt;br /&gt;
:: - TL and AL of the model do not intersect on the right (in the future) or&lt;br /&gt;
:: - the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated point 6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 EAM,&amp;quot; then the search for alternative models is terminated. Otherwise, the program proceeds to Step 9. &lt;br /&gt;
&lt;br /&gt;
====&#039;&#039;&#039; In the general case (no precviously fixed t.2)&#039;&#039;&#039; ====&lt;br /&gt;
The program performs the following checks for each of the potential FBs:&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; AL Price Crossing Check (not just touching)&lt;br /&gt;
: If AL intersects with the price on the segment between t.2 and t.4, this pair of candidates for t.1 and t.2 (this FB) is rejected.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.A.&#039;&#039;&#039; If FBs are found that give AL without intersections, the algorithm proceeds to step 6.2.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.B.&#039;&#039;&#039; If there are no suitable FBs, the algorithm looks for a new t.5 according to Step 2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Checking for intersection of AL and TL (hereinafter referred to as calculated point 6) with each other on the right (in the future) along the time axis.&lt;br /&gt;
: If the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated t.6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 VMP,&amp;quot; then these candidates for t.1 and t.2 are rejected.&lt;br /&gt;
: The following scenarios are possible:&lt;br /&gt;
:: &#039;&#039;&#039;6.2.A.&#039;&#039;&#039; One or several potential FBs remain - in this case, the program proceeds to Step 7.&lt;br /&gt;
:: &#039;&#039;&#039;6.2.B.&#039;&#039;&#039; There are no potential FBs left - in this case, the program looks for a new potential t.5, starting from Step 2 and onwards.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VII. Dtermintaion of FB&#039;s with and without 2X5&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program checks for the intersection of the bodies of candles at t.2 and t.5 (hereinafter referred to as 2x5). If there is only one potential FB, determining FB with 2x5 is not required, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.1.&#039;&#039;&#039; If there are multiple potential BOs, some of which have 2x5 and some do not, those potential BOs that have 2x5 are filtered out, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.2.&#039;&#039;&#039; If all potential FBs have 2x5, then all are filtered out except the one whose t.2 level is closer to the t.3 level. The program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=200</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=200"/>
		<updated>2023-09-03T21:46:40Z</updated>

		<summary type="html">&lt;p&gt;Admin: Adding Steps 6 and 7&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
::If:&lt;br /&gt;
::*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
::*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. ::If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b.&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1.&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1.&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B.&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2.&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2.&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B.&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2.&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1.&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2.&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3.&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2, a.k.a FB) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step V. Search for Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
Presupposition is an optional part of the EAM.&lt;br /&gt;
The program attempts to construct Presuppositions from all available candidates for t.2.&lt;br /&gt;
&lt;br /&gt;
==== Presupposition Search Algorithm ====&lt;br /&gt;
The program takes each potential t.2 of the EAM (as part of a potential FB) as a t.1 of Presupposition (hereinafter t.1p). In other words, the program tries to construct Presuppositions from each of the t.2.&lt;br /&gt;
&lt;br /&gt;
Initially, the most recent (rightmost) potential t.2 (or the one specified in the algorithm if we have returned to the beginning of the Step V in the cycle) in the EAM is taken as a potential t.1p. If there are no more unconfirmed t.1p, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; The program sequentially checks bars from left to right (into the future) from the potential t.1p to t.3 of EAM model (excluding t.3) for being an extreme according to the N1 rule as point 3 of the Presupposition (hereinafter t.3p).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;N1 rule for the Presupposition points&#039;&#039;&#039;&lt;br /&gt;
: If t.1p is low, t.3p must be below t.1p.&lt;br /&gt;
: If t.1p is high, t.3p must be above t.1p.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the potential t.3p is not found, the program considers the next (to the left of the previous) potential t.2 of the EAM (within the FB) as t.1p.&lt;br /&gt;
:: If the potential t.3p is not found, and there are no more potential FBs, the algorithm proceeds to Step 6.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; Once the potential t.3p is found, the program searches for point 2 of the Presupposition (hereinafter t.2p) as an extreme with the maximum/minimum price on the segment from t.1p to t.3p (hereinafter segment 1p-3p).&lt;br /&gt;
:: If a suitable extreme is not found, the algorithm looks for the next potential t.3p for the previously found t.1p.&lt;br /&gt;
:: If a maximum/minimum is found, it is checked for for being an extreme (as t.2p).&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; The bar is an absolute extreme. In this case, a potential t.2p is found, and the program proceeds to step 5.2.&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The bar is not an extreme. In this case, the program looks for another candidate for t.3p for the previously found t.1p following the instructions in 5.1.&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; The program constructs a line from t.1p to t.3p and checks it for price crossings on the segment from t.1p to t.3 of the EAM (including t.3 of EAM).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If this lines price crossings are found, the program looks for a new candidate for t.3p for the previously found t.1p following the instructions in sub-step 5.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If there are no price crossings, the program proceeds to sub-step 5.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.&#039;&#039;&#039; The program searches for a potential point 4 of the Presupposition (t.4p) according to the N1 rule on the segment from t.3p to t.3 in the VMP (including t.3).&lt;br /&gt;
&lt;br /&gt;
: If t.1p is low, t.4p must be below t.2p. Each subsequent candidate for t.4p must be below the previous candidate for t.4p.&lt;br /&gt;
: If t.1p is high, t.4p must be above t.2p. Each subsequent candidate for t.4p must be above the previous candidate for t.4p.&lt;br /&gt;
: Possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;5.3.A.&#039;&#039;&#039; If the potential t.4p coincides with t.3 in the EAM, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.B.&#039;&#039;&#039; If the potential t.4p does not coincide with t.3 in the EAM (i.e., it is located before it), the program looks for an opposite-direction potential t.4p extreme on the segment from the potential t.4p (excluding it) to the bar where the price again reached the value of the potential t.4p (excluding it).&lt;br /&gt;
&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.1.&#039;&#039;&#039; If the opposite-direction extreme is found, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.2.&#039;&#039;&#039; If the opposite-direction extreme is not found, the program looks for a new potential t.4p following the instructions in sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; If t.4p is found, the program constructs a line from t.2p to t.4p and checks it for price crossings on the segment from t.1p (excluding it) to t.3 in the VMP (including t.3).&lt;br /&gt;
::: If unnecessary intersections are found, the program looks for the next potential t.4p on the segment following the instructions in 5.3.&lt;br /&gt;
::: If no unnecessary intersections are found, the algorithm proceeds to sub-step 5.4.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; Check for Absolute Level&lt;br /&gt;
:: The program checks the bar of the potential t.3p for absoluteness. The level of t.3p should not be exceeded by the price on the segment between t.3p and potential t.4p (excluding it).&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the level of t.3p is exceeded, the potential t.3p is discarded, and the program looks for a new t.3p following the instructions in sub-step 5.1. and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the level of t.3p is not exceeded, t.3p is confirmed, t.4p is confirmed, and the algorithm proceeds to sub- step 5.4.&lt;br /&gt;
&lt;br /&gt;
====  Presupposition Verification ====&lt;br /&gt;
: &#039;&#039;&#039; 5.4.&#039;&#039;&#039; Presuppositions undergo the following checks:&lt;br /&gt;
:: &#039;&#039;&#039;A.&#039;&#039;&#039; - Bars t.1p, t.2p, t.3p must follow each other.&lt;br /&gt;
:: &#039;&#039;&#039;B.&#039;&#039;&#039; - The distance in levels between t.1 and t.2 (hereinafter rank 12) must be at least the value of the Minimum Distance between t.1 and t.2 Levels of the Presupposition, which is set in the Calculation Parameters, from the distance between t.4 and t.5 levels of the EAM model(this is rank 45).&lt;br /&gt;
&lt;br /&gt;
:: If all checks are successful, the Presupposition is found. If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
:: If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VI. Check for AL price crossings&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;6 alfa.&#039;&#039;&#039; ==== &lt;br /&gt;
First it is necessary to check for the presence of a fixed t.2.  If it exists, it means we are in a branch of searching for alternative models. &lt;br /&gt;
&lt;br /&gt;
The potential Aims Line (from t.2 to t.4), hereinafter referred to as AL, is calculated, and then:&lt;br /&gt;
: &#039;&#039;&#039;6 alfa.1.&#039;&#039;&#039; AL Crossing Check&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. A.&#039;&#039;&#039; - If there are no  AL price crossings, the algorithm proceeds to step 6 alfa.2.&lt;br /&gt;
:: &#039;&#039;&#039;6 alfa.1. B.&#039;&#039;&#039; - If AL is crossed, the next potential t.5 is determined according to Step 2, starting from bar t.5+2.&lt;br /&gt;
: &#039;&#039;&#039;6.2. alfa.&#039;&#039;&#039; Distance Check for AL and TL Intersection&lt;br /&gt;
: If:&lt;br /&gt;
:: - TL and AL of the model do not intersect on the right (in the future) or&lt;br /&gt;
:: - the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated point 6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 EAM,&amp;quot; then the search for alternative models is terminated. Otherwise, the program proceeds to Step 9. &lt;br /&gt;
&lt;br /&gt;
====&#039;&#039;&#039; In the general case (no precviously fixed t.2)&#039;&#039;&#039;&#039; ====&lt;br /&gt;
The program performs the following checks for each of the potential FBs:&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; AL Price Crossing Check (not just touching)&lt;br /&gt;
: If AL intersects with the price on the segment between t.2 and t.4, this pair of candidates for t.1 and t.2 (this FB) is rejected.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.A.&#039;&#039;&#039; If FBs are found that give AL without intersections, the algorithm proceeds to step 6.2.&lt;br /&gt;
:: &#039;&#039;&#039;6.1.B.&#039;&#039;&#039; If there are no suitable FBs, the algorithm looks for a new t.5 according to Step 2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Checking for intersection of AL and TL (hereinafter referred to as calculated point 6) with each other on the right (in the future) along the time axis.&lt;br /&gt;
: If the ratio of the distance in bars between t.2 and t.4 to the distance between t.4 and the calculated t.6 is less than the default value of the parameter &amp;quot;Minimum ratio of t.2-t.4 to t.4-t.6 VMP,&amp;quot; then these candidates for t.1 and t.2 are rejected.&lt;br /&gt;
: The following scenarios are possible:&lt;br /&gt;
:: &#039;&#039;&#039;6.2.A.&#039;&#039;&#039; One or several potential FBs remain - in this case, the program proceeds to Step 7.&lt;br /&gt;
:: &#039;&#039;&#039;6.2.B.&#039;&#039;&#039; There are no potential FBs left - in this case, the program looks for a new potential t.5, starting from Step 2 and onwards.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VII. Dtermintaion of FB&#039;s with and without 2X5&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The program checks for the intersection of the bodies of candles at t.2 and t.5 (hereinafter referred to as 2x5). If there is only one potential FB, determining FB with 2x5 is not required, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.1.&#039;&#039;&#039; If there are multiple potential BOs, some of which have 2x5 and some do not, those potential BOs that have 2x5 are filtered out, and the program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;7.2.&#039;&#039;&#039; If all potential FBs have 2x5, then all are filtered out except the one whose t.2 level is closer to the t.3 level. The program proceeds to Step 8.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=199</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=199"/>
		<updated>2023-09-02T20:03:16Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
::If:&lt;br /&gt;
::*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
::*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. ::If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b.&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1.&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1.&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B.&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2.&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2.&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B.&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2.&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1.&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2.&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3.&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2, a.k.a FB) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step V. Search for Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
Presupposition is an optional part of the EAM.&lt;br /&gt;
The program attempts to construct Presuppositions from all available candidates for t.2.&lt;br /&gt;
&lt;br /&gt;
==== Presupposition Search Algorithm ====&lt;br /&gt;
The program takes each potential t.2 of the EAM (as part of a potential FB) as a t.1 of Presupposition (hereinafter t.1p). In other words, the program tries to construct Presuppositions from each of the t.2.&lt;br /&gt;
&lt;br /&gt;
Initially, the most recent (rightmost) potential t.2 (or the one specified in the algorithm if we have returned to the beginning of the Step V in the cycle) in the EAM is taken as a potential t.1p. If there are no more unconfirmed t.1p, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; The program sequentially checks bars from left to right (into the future) from the potential t.1p to t.3 of EAM model (excluding t.3) for being an extreme according to the N1 rule as point 3 of the Presupposition (hereinafter t.3p).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;N1 rule for the Presupposition points&#039;&#039;&#039;&lt;br /&gt;
: If t.1p is low, t.3p must be below t.1p.&lt;br /&gt;
: If t.1p is high, t.3p must be above t.1p.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the potential t.3p is not found, the program considers the next (to the left of the previous) potential t.2 of the EAM (within the FB) as t.1p.&lt;br /&gt;
:: If the potential t.3p is not found, and there are no more potential FBs, the algorithm proceeds to Step 6.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; Once the potential t.3p is found, the program searches for point 2 of the Presupposition (hereinafter t.2p) as an extreme with the maximum/minimum price on the segment from t.1p to t.3p (hereinafter segment 1p-3p).&lt;br /&gt;
:: If a suitable extreme is not found, the algorithm looks for the next potential t.3p for the previously found t.1p.&lt;br /&gt;
:: If a maximum/minimum is found, it is checked for for being an extreme (as t.2p).&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; The bar is an absolute extreme. In this case, a potential t.2p is found, and the program proceeds to step 5.2.&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The bar is not an extreme. In this case, the program looks for another candidate for t.3p for the previously found t.1p following the instructions in 5.1.&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; The program constructs a line from t.1p to t.3p and checks it for price crossings on the segment from t.1p to t.3 of the EAM (including t.3 of EAM).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If this lines price crossings are found, the program looks for a new candidate for t.3p for the previously found t.1p following the instructions in sub-step 5.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If there are no price crossings, the program proceeds to sub-step 5.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.&#039;&#039;&#039; The program searches for a potential point 4 of the Presupposition (t.4p) according to the N1 rule on the segment from t.3p to t.3 in the VMP (including t.3).&lt;br /&gt;
&lt;br /&gt;
: If t.1p is low, t.4p must be below t.2p. Each subsequent candidate for t.4p must be below the previous candidate for t.4p.&lt;br /&gt;
: If t.1p is high, t.4p must be above t.2p. Each subsequent candidate for t.4p must be above the previous candidate for t.4p.&lt;br /&gt;
: Possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;5.3.A.&#039;&#039;&#039; If the potential t.4p coincides with t.3 in the EAM, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.B.&#039;&#039;&#039; If the potential t.4p does not coincide with t.3 in the EAM (i.e., it is located before it), the program looks for an opposite-direction potential t.4p extreme on the segment from the potential t.4p (excluding it) to the bar where the price again reached the value of the potential t.4p (excluding it).&lt;br /&gt;
&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.1.&#039;&#039;&#039; If the opposite-direction extreme is found, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.2.&#039;&#039;&#039; If the opposite-direction extreme is not found, the program looks for a new potential t.4p following the instructions in sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; If t.4p is found, the program constructs a line from t.2p to t.4p and checks it for price crossings on the segment from t.1p (excluding it) to t.3 in the VMP (including t.3).&lt;br /&gt;
::: If unnecessary intersections are found, the program looks for the next potential t.4p on the segment following the instructions in 5.3.&lt;br /&gt;
::: If no unnecessary intersections are found, the algorithm proceeds to sub-step 5.4.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; Check for Absolute Level&lt;br /&gt;
:: The program checks the bar of the potential t.3p for absoluteness. The level of t.3p should not be exceeded by the price on the segment between t.3p and potential t.4p (excluding it).&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the level of t.3p is exceeded, the potential t.3p is discarded, and the program looks for a new t.3p following the instructions in sub-step 5.1. and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the level of t.3p is not exceeded, t.3p is confirmed, t.4p is confirmed, and the algorithm proceeds to sub- step 5.4.&lt;br /&gt;
&lt;br /&gt;
====  Presupposition Verification ====&lt;br /&gt;
: &#039;&#039;&#039; 5.4.&#039;&#039;&#039; Presuppositions undergo the following checks:&lt;br /&gt;
:: &#039;&#039;&#039;A.&#039;&#039;&#039; - Bars t.1p, t.2p, t.3p must follow each other.&lt;br /&gt;
:: &#039;&#039;&#039;B.&#039;&#039;&#039; - The distance in levels between t.1 and t.2 (hereinafter rank 12) must be at least the value of the Minimum Distance between t.1 and t.2 Levels of the Presupposition, which is set in the Calculation Parameters, from the distance between t.4 and t.5 levels of the EAM model(this is rank 45).&lt;br /&gt;
&lt;br /&gt;
:: If all checks are successful, the Presupposition is found. If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
:: If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=198</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=198"/>
		<updated>2023-09-02T20:02:04Z</updated>

		<summary type="html">&lt;p&gt;Admin: Adding Step 5&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
::If:&lt;br /&gt;
::*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
::*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. ::If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b.&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1.&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1.&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B.&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2.&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2.&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B.&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2.&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1.&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2.&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3.&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2, a.k.a FB) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step V. Search for Presupposition&#039;&#039;&#039; ===&lt;br /&gt;
Presupposition is an optional part of the EAM.&lt;br /&gt;
The program attempts to construct Presuppositions from all available candidates for t.2.&lt;br /&gt;
&lt;br /&gt;
==== Presupposition Search Algorithm ====&lt;br /&gt;
The program takes each potential t.2 of the EAM (as part of a potential FB) as a t.1 of Presupposition (hereinafter t.1p). In other words, the program tries to construct Presuppositions from each of the t.2.&lt;br /&gt;
&lt;br /&gt;
Initially, the most recent (rightmost) potential t.2 (or the one specified in the algorithm if we have returned to the beginning of the Step V in the cycle) in the EAM is taken as a potential t.1p. If there are no more unconfirmed t.1p, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; The program sequentially checks bars from left to right (into the future) from the potential t.1p to t.3 of EAM model (excluding t.3) for being an extreme according to the N1 rule as point 3 of the Presupposition (hereinafter t.3p).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;N1 rule for the Presupposition points&#039;&#039;&#039;&lt;br /&gt;
: If t.1p is low, t.3p must be below t.1p.&lt;br /&gt;
: If t.1p is high, t.3p must be above t.1p.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the potential t.3p is not found, the program considers the next (to the left of the previous) potential t.2 of the EAM (within the FB) as t.1p.&lt;br /&gt;
:: If the potential t.3p is not found, and there are no more potential FBs, the algorithm proceeds to Step 6.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; Once the potential t.3p is found, the program searches for point 2 of the Presupposition (hereinafter t.2p) as an extreme with the maximum/minimum price on the segment from t.1p to t.3p (hereinafter segment 1p-3p).&lt;br /&gt;
:: If a suitable extreme is not found, the algorithm looks for the next potential t.3p for the previously found t.1p.&lt;br /&gt;
:: If a maximum/minimum is found, it is checked for for being an extreme (as t.2p).&lt;br /&gt;
:: There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; The bar is an absolute extreme. In this case, a potential t.2p is found, and the program proceeds to step 5.2.&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The bar is not an extreme. In this case, the program looks for another candidate for t.3p for the previously found t.1p following the instructions in 5.1.&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; The program constructs a line from t.1p to t.3p and checks it for price crossings on the segment from t.1p to t.3 of the EAM (including t.3 of EAM).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If this lines price crossings are found, the program looks for a new candidate for t.3p for the previously found t.1p following the instructions in sub-step 5.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If there are no price crossings, the program proceeds to sub-step 5.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.&#039;&#039;&#039; The program searches for a potential point 4 of the Presupposition (t.4p) according to the N1 rule on the segment from t.3p to t.3 in the VMP (including t.3).&lt;br /&gt;
&lt;br /&gt;
: If t.1p is low, t.4p must be below t.2p. Each subsequent candidate for t.4p must be below the previous candidate for t.4p.&lt;br /&gt;
: If t.1p is high, t.4p must be above t.2p. Each subsequent candidate for t.4p must be above the previous candidate for t.4p.&lt;br /&gt;
: Possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;5.3.A.&#039;&#039;&#039; If the potential t.4p coincides with t.3 in the EAM, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.B.&#039;&#039;&#039; If the potential t.4p does not coincide with t.3 in the EAM (i.e., it is located before it), the program looks for an opposite-direction potential t.4p extreme on the segment from the potential t.4p (excluding it) to the bar where the price again reached the value of the potential t.4p (excluding it).&lt;br /&gt;
&lt;br /&gt;
There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.1.&#039;&#039;&#039; If the opposite-direction extreme is found, t.4p is confirmed (found), and the program proceeds to sub-step 5.3.1.&lt;br /&gt;
::: &#039;&#039;&#039;5.3.B.2.&#039;&#039;&#039; If the opposite-direction extreme is not found, the program looks for a new potential t.4p following the instructions in sub-step 5.3.1.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; If t.4p is found, the program constructs a line from t.2p to t.4p and checks it for price crossings on the segment from t.1p (excluding it) to t.3 in the VMP (including t.3).&lt;br /&gt;
::: If unnecessary intersections are found, the program looks for the next potential t.4p on the segment following the instructions in 5.3.&lt;br /&gt;
::: If no unnecessary intersections are found, the algorithm proceeds to sub-step 5.4.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; Check for Absolute Level&lt;br /&gt;
:: The program checks the bar of the potential t.3p for absoluteness. The level of t.3p should not be exceeded by the price on the segment between t.3p and potential t.4p (excluding it).&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the level of t.3p is exceeded, the potential t.3p is discarded, and the program looks for a new t.3p following the instructions in sub-step 5.1. and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the level of t.3p is not exceeded, t.3p is confirmed, t.4p is confirmed, and the algorithm proceeds to sub- step 5.4.&lt;br /&gt;
&lt;br /&gt;
====  Presupposition Verification ====&lt;br /&gt;
: &#039;&#039;&#039; 5.4.&#039;&#039;&#039; Presuppositions undergo the following checks:&lt;br /&gt;
:: &#039;&#039;&#039;A.&#039;&#039;&#039; - Bars t.1p, t.2p, t.3p must follow each other.&lt;br /&gt;
:: &#039;&#039;&#039;B.&#039;&#039;&#039; - The distance in levels between t.1 and t.2 (hereinafter rank 12) must be at least the value of the Minimum Distance between t.1 and t.2 Levels of the Presupposition, which is set in the Calculation Parameters, from the distance between t.4 and t.5 levels of the EAM model(this is rank 45).&lt;br /&gt;
&lt;br /&gt;
:: If all checks are successful, the Presupposition is found. If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
:: If there are no unchecked t.1p left, the algorithm proceeds to Step 6.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=197</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=197"/>
		<updated>2023-08-27T13:41:25Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
::If:&lt;br /&gt;
::*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
::*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. ::If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
::To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
::To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
::Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b.&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1.&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1.&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B.&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2.&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2.&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A.&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B.&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2.&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1.&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2.&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3.&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=196</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=196"/>
		<updated>2023-08-27T13:29:24Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
If:&lt;br /&gt;
*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=195</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=195"/>
		<updated>2023-08-26T19:25:27Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The price checked 300 bars preceding point 3 &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 3 of EAM model&amp;lt;/ref&amp;gt;, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars&amp;lt;ref&amp;gt;Continuous search range of t.5 in one iteration for EAM model&amp;lt;/ref&amp;gt; between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
If:&lt;br /&gt;
*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection &amp;lt;ref&amp;gt;High or low of a bar, repeating or crossing high or low of t.2 bar – is an intersection&amp;lt;/ref&amp;gt; of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 &amp;lt;ref&amp;gt;&amp;quot;Search depth t.1 for EAM models&amp;quot; is set in the Calculation Parameters. It is calculated in bars from the bar of the considered potential t.2. By default, this value is 50 bars.&amp;lt;/ref&amp;gt; for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The search for Foundation Blocks (i.e., points 1 and 2) continues until one of the events in steps 4.2.A, 4.2.B or 4.2.C. occurs.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.A. The check reaches the bar containing the (presumed) starting point of the preceding trend (from sub-step 1.2.2.1.). This point is not considered as a potential t.2&lt;br /&gt;
:::&#039;&#039;&#039;4.2.B.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.C.&#039;&#039;&#039; A bar that is located at a distance (by time) from T.3 greater than or equal to X* (distance from T.3 to t.4), where x is the parameter set in the settings &amp;lt;ref&amp;gt; This is the &amp;quot;Time Ratio of 23 to 24&amp;quot;(by default it is 3)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of4.2.A, 4.2.B or 4.2.C.), two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. &#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. &#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=194</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=194"/>
		<updated>2023-08-26T15:27:51Z</updated>

		<summary type="html">&lt;p&gt;Admin: Adding step&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
If:&lt;br /&gt;
*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV: Searching for Potential Foundation Blocks.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
====Initial Check====&lt;br /&gt;
First, it is necessary to check for the presence of a fixed t.2. If it exists, it means we are in a branch for searching for alternative models.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.0.1.&#039;&#039;&#039; If t.2 is defined in the model, proceed to step 6.&lt;br /&gt;
::&#039;&#039;&#039;4.0.2.&#039;&#039;&#039; If t.2 is not defined, the program moves to step 4.1.&lt;br /&gt;
====Examination of Extremes====&lt;br /&gt;
On the preceding trend, extremes are checked sequentially from right to left (i.e., into the past) from t.3 (or from another analyzed bar in repeated applications of this step) according to the N1 bar rule (as a candidate for t.2). Each found candidate for t.2 is checked for the presence of a confirming extreme (which also serves as t.1) according to the following algorithm:&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.1.0.&#039;&#039;&#039; An extreme candidate for t.2 is found.&lt;br /&gt;
::&#039;&#039;&#039;4.1.1.&#039;&#039;&#039; The point of the last intersection of the candidate&#039;s level with the price is found. In this case, the program looks for the absolute maximum (if t.2 is a minimum, i.e., t.2 is low) or the absolute minimum (if t.2 is a maximum, i.e., t.2 is high) in the segment from the last intersection of the t.2 level with the price to t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.1.&#039;&#039;&#039; Maximum/minimum not found. In this case, the program discards this candidate for t.2.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.1.2.&#039;&#039;&#039; Maximum/minimum found. In this case, the potential t.2 is confirmed.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.2.&#039;&#039;&#039; The program reaches the starting point of the chart.&lt;br /&gt;
:::&#039;&#039;&#039;4.1.3.&#039;&#039;&#039; The check reaches the boundary of the Depth of Search for t.1 for the model and none of the above events (4.1.1. or 4.1.2.) occurred.&lt;br /&gt;
The search for Foundation Blocks (i.e., points 1 and 2) continues until one of the events in steps 4.2. and 4.3. occurs.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;4.2.&#039;&#039;&#039; The check reaches the bar containing the (presumed) starting point of the preceding trend.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1.&#039;&#039;&#039; One or several pairs of potential t.2 and t.1 are found. The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2.&#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;4.3.&#039;&#039;&#039; The check reaches the bar that intersects the level of the presumed point 4 of the considered model.&lt;br /&gt;
::=== Results ===&lt;br /&gt;
::As a result of the search for potential t.2 (i.e., upon the occurrence of 4.2. or 4.3.), two scenarios are possible:&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;4.2.1. / 4.3.1.&#039;&#039;&#039; One or more pairs of potential t.2 and t.1 are found (potential Foundation Blocks). The program moves to step 5.&lt;br /&gt;
:::&#039;&#039;&#039;4.2.2. / 4.3.2.&#039;&#039;&#039; No potential Foundation Blocks are found. In this case, the program looks for the next potential t.5 according to step 2.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=193</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=193"/>
		<updated>2023-08-26T15:02:54Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
If:&lt;br /&gt;
*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3&#039;&#039;&#039; If t.5&amp;quot; is not found, the program moves to step 4.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=192</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=192"/>
		<updated>2023-08-26T14:47:53Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.3.ext. Additional Trend Line Construction Through t.5&amp;quot;.&#039;&#039;&#039;&lt;br /&gt;
If:&lt;br /&gt;
*The t.5 bar does not exceed the range of t.4;&lt;br /&gt;
*At the time of model calculation, the level of t.4 is confirmed, then this model is checked for the possibility of constructing an additional Trend Line (TL) through t.5&amp;quot;. Note: If t.4 is not confirmed, this model should be recalculated upon the appearance of a bar that confirms it&#039;s t.4.&lt;br /&gt;
&#039;&#039;&#039; Definition: Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
Point 5&amp;quot; can lie in the segment between t.5 and the point confirming t.4. On this segment, a point is searched that meets the following requirements:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; High &#039;&#039;&#039;&lt;br /&gt;
To the left of the bar containing t.5&amp;quot;, the nearest high should be above the level of t.5.&lt;br /&gt;
To the right of t.5&amp;quot;, at least one nearest high should be below or equal to t.5. If the nearest high is equal to the level of t.5, then the next high should again be below or equal to the level of t.5, until at least one bar is strictly below the level of t.5.&lt;br /&gt;
&#039;&#039;&#039; Rule for Selecting Point 5&amp;quot; Low &#039;&#039;&#039;&lt;br /&gt;
To the left of the bar containing t.5&amp;quot;, the nearest low should be below the level of the extreme.&lt;br /&gt;
To the right of t.5&amp;quot;, at least one nearest low should be above or equal to t.5. If the nearest low is equal to the level of t.5, then the next low should again be above or equal to the level of t.5, until at least one bar is strictly above the level of t.5.&lt;br /&gt;
&#039;&#039;&#039; Special Cases for Point 5&amp;quot; &#039;&#039;&#039;&lt;br /&gt;
Point 5&amp;quot; may belong to a bar that has broken the level of t.4 (but only the first of such bars). If the bar of potential t.5&amp;quot; breaks the level of calculated t.6 from t.5, then it is impossible to construct a TL through t.5&amp;quot; for this model (this model does not contain such a point).&lt;br /&gt;
&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.1.&#039;&#039;&#039; Additional TL Calculation &lt;br /&gt;
:::If a bar is found that fits the rule for selecting 5&amp;quot;, an additional TL is calculated for the potential t.5&amp;quot; (hereafter TL&amp;quot;). This line is checked for the absence of breaks in the segment from t.3/3&#039;&#039; to potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.a.&#039;&#039;&#039; If there is an intersection, the program moves to check the next bar as a potential t.5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.b&#039;&#039;&#039; If there is no intersection, the found bar is compared with the previous candidate for t.5&amp;quot; (if there was one in the previous iteration of the cycle). If the considered bar is closer to the level of t.4 than the candidate for t.5&amp;quot;, then the considered bar becomes the new candidate for t.5&amp;quot;.&lt;br /&gt;
:::::The check of bars continues in a cycle until a bar confirming t.4 is reached. If a candidate for t.5 is found as a result of the check, the program moves to sub-step 3.3ext.1.1; otherwise, it moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.1&#039;&#039;&#039; If the analyzed model is built through t.3&#039;, a candidate for t.3&amp;quot; is sought in the segment t.3-t.3&#039;, through which such a line to t.5&amp;quot; can be built that will not have price intersections in the segment t.3-t.3&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.1.1&#039;&#039;&#039; If a candidate for t.3&amp;quot; is found, where there are no intersections, a check is made for the intersection of TL&amp;quot; by the bar following t.5&amp;quot;.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.A&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared canceled, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
::::::&#039;&#039;&#039;3.3.ext.1.1.1.B&#039;&#039;&#039; Otherwise, the program moves to step 13.2.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3.ext.1.1.2&#039;&#039;&#039; If a suitable t.3&amp;quot; is not found, a re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, if a candidate for t.5&amp;quot; was found, it becomes a canceled candidate for t.5&amp;quot;. The new candidate must already be further from t.4 than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3ext.1.2&#039;&#039;&#039; If the analyzed model is built through t.3, a check is made for the intersection of TL&#039;&#039; by the bar following t.5&amp;quot;.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.A&#039;&#039;&#039; If there are intersections, t.5&amp;quot; is declared as canceled t.5&#039;, and the next one is sought according to sub-step 3.3.ext.&lt;br /&gt;
:::::&#039;&#039;&#039;3.3ext.1.2.B&#039;&#039;&#039; If there are no intersections, the algorithm moves to step 13.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.ext.2&#039;&#039;&#039; TL&#039;&#039; is checked for price intersections in the segment between t.5 (inclusive) and potential t.5&amp;quot; (hereafter segment 5-5&amp;quot;).&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.1&#039;&#039;&#039; If there is an intersection, then this 5&amp;quot; is filtered out. A re-search for a candidate for t.5&amp;quot; is carried out according to sub-steps 3.3.ext., but in this case, the new candidate must already be further from t.4 (in terms of time) than the previously discarded ones.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.2&#039;&#039;&#039; If there are no intersections of TL&amp;quot; in the segment 5-5&amp;quot;, then t.5&amp;quot; is found.&lt;br /&gt;
::::In this case, the report displays: EAM5&amp;quot; EAM5&amp;quot;&lt;br /&gt;
::::The program moves to step 4.&lt;br /&gt;
::::&#039;&#039;&#039;3.3.ext.2.3&#039;&#039;&#039; If t.5&#039;&#039; is not found, the program moves to step 4.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=191</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=191"/>
		<updated>2023-08-26T12:12:05Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if current algorithm line is coming from 3.2.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=190</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=190"/>
		<updated>2023-08-26T12:10:36Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4.&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if coming from 3.2.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=189</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=189"/>
		<updated>2023-08-26T12:09:16Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step III. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4 ====&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if coming from 3.2.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=188</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=188"/>
		<updated>2023-08-26T12:08:20Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
===&#039;&#039;&#039; Step 3. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4 ====&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if coming from 3.2.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=187</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=187"/>
		<updated>2023-08-26T12:08:00Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
===&#039;&#039;&#039; Step 3. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3.ext, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4 ====&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.ext. if coming from 3.2.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=186</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=186"/>
		<updated>2023-08-26T11:18:18Z</updated>

		<summary type="html">&lt;p&gt;Admin: Adding Step 3&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
:&#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:&#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
::&#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
::&#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
:::&#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
::&#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
::::&#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
:::&#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
::&#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
 If there are 150 or more bars between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
:&#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
::&#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;br /&gt;
===&#039;&#039;&#039; Step 3. Confirmation of Point 4. Searching for Alternative t.5 and t.5&amp;quot; &#039;&#039;&#039;===&lt;br /&gt;
The program checks whether the bar of potential t.5 has reached the level of t.4. Two scenarios are possible:&lt;br /&gt;
:&#039;&#039;&#039;3.1.&#039;&#039;&#039; The Bar of Potential t.5 Has Reached t.4.&lt;br /&gt;
:In this case:&lt;br /&gt;
::The model is built through absolute t.5.&lt;br /&gt;
::The t.5 bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
::Point 4 is confirmed,&lt;br /&gt;
::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 (since there is already possible to display the model through t.5 on the chart).&lt;br /&gt;
:&#039;&#039;&#039;3.2.&#039;&#039;&#039; The Bar of Potential t.5 Has Not Reached t.4.  &lt;br /&gt;
:In this case, the program checks the next bar for reaching the level of t.4. The following options are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.2.1. The Considered Bar Reaches the Level of Potential t.4. &lt;br /&gt;
::In this case:&lt;br /&gt;
:::The model is built through absolute t.5.&lt;br /&gt;
:::The considered bar confirms t.4. The presence of a bar confirming t.4 indicates that:&lt;br /&gt;
:::Point 4 is confirmed,&lt;br /&gt;
:::Point 5 is confirmed.&lt;br /&gt;
::The program proceeds to sub-step 3.3 extended, but first goes through sub-step 3.3.&lt;br /&gt;
::&#039;&#039;&#039;3.2.2.&#039;&#039;&#039; The Considered Bar Does Not Reach the Level of t.4 ====&lt;br /&gt;
::In this case the program checks the next bar for overcoming the level of potential t.5. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.1.&#039;&#039;&#039; If the t.5 level is overcome, the analyzed bar is considered as a new potential t.5. The program processes this bar according to step 2.&lt;br /&gt;
:::&#039;&#039;&#039;3.2.2.2.&#039;&#039;&#039; If the t.5 level is not overcome, the analyzed bar is checked for reaching the level of t.4 according to sub-step 3.2.&lt;br /&gt;
::In parallel (i.e., an additional branch is created), the program proceeds to sub-step 3.3 (since there is already an option to display the model through t.5 on the chart). The model in this branch receives a &amp;quot;draw_flag&amp;quot; label.&lt;br /&gt;
:&#039;&#039;&#039;3.3.&#039;&#039;&#039; Construction of the Trend Line (TL).  &lt;br /&gt;
:A Trend Line (TL) is constructed from t.3 to t.5. Each bar between t.3 and t.5 is checked for breaking the TL. Two scenarios are possible:&lt;br /&gt;
::&#039;&#039;&#039;3.3.1.&#039;&#039;&#039;The Price Crosses the TL. &lt;br /&gt;
::In this case, the TL through t.3 is not constructed. The program searches for a candidate for point 3&#039; (hereafter - t.3&#039;). T.3&#039; is selected in such a way that the TL&#039; (constructed from t.3&#039; to t.5) is not crossed by the price in the 3-5 segment. Rule No.1 for t.3&#039; is not applied. T.3&#039; cannot belong to the same bar as t.4. Two scenarios are possible:&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.1.&#039;&#039;&#039; T.3&#039; is found, this model is classified as built through t.3&#039;. The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;br /&gt;
:::&#039;&#039;&#039;3.3.1.2.&#039;&#039;&#039; T.3&#039; is not found. In this case, the program searches for new potential t.5 and t.4 according to step 2.&lt;br /&gt;
::&#039;&#039;&#039;3.3.2.&#039;&#039;&#039; The Price Does Not Break the TL. &lt;br /&gt;
::In this case, this model is classified as built through t.3 (absolute extreme). The program proceeds to step 4, or to sub-step 3.3.extended if coming from 3.2.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=185</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=185"/>
		<updated>2023-08-26T06:38:30Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
: &#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:: &#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
:: &#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
:: &#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
:&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
:: &#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
::: &#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
:::: &#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
:::: &#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
::: &#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
:: &#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
&lt;br /&gt;
 If there are 150 or more bars between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
&lt;br /&gt;
:The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (or even equally distant) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check of the potential t.5 for beeing the &#039;&#039;&#039;potential absolute extreme&#039;&#039;&#039;. The following options are possible:&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=184</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=184"/>
		<updated>2023-08-26T06:36:16Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
: &#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:: &#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
:: &#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
:: &#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
:: &#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
::: &#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
:::: &#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
:::: &#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
::: &#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
:: &#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
&lt;br /&gt;
 If there are 150 or more bars between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
&lt;br /&gt;
The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values more distant (as well as equally distant ones) from the potential t.4 than the most distant from t.4 value of the analyzed bar. This is a check  of the potential t.5 for beeing the potential absolute extreme. The following options are possible:&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=183</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=183"/>
		<updated>2023-08-26T06:30:13Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
: &#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:: &#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
:: &#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
:: &#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
:: &#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
::: &#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
:::: &#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
:::: &#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
::: &#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
:: &#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
&lt;br /&gt;
 If there are 150 or more bars between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;2.4.&#039;&#039;&#039; Real-Time Verification of t.5 &lt;br /&gt;
&lt;br /&gt;
The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values further away from the potential t.4 than the most distant value from t.4 in the analyzed bar (as well as equally distant ones). This is a check for the potential extreme nature of the potential t.5. The following options are possible:&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;2.4.1.&#039;&#039;&#039; If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;2.4.2.&#039;&#039;&#039; If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=182</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=182"/>
		<updated>2023-08-26T06:29:21Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
: &#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:: &#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
:: &#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
:: &#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
:: &#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
::: &#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
:::: &#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
:::: &#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
::: &#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
:: &#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
&lt;br /&gt;
 If there are 150 or more bars between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;br /&gt;
&lt;br /&gt;
: 2.4. Real-Time Verification of t.5 &lt;br /&gt;
&lt;br /&gt;
The potential t.5 bar is checked for the presence of bars between the analyzed bar and the potential t.4 bar, which contain price values further away from the potential t.4 than the most distant value from t.4 in the analyzed bar (as well as equally distant ones). This is a check for the potential extreme nature of the potential t.5. The following options are possible:&lt;br /&gt;
&lt;br /&gt;
:: 2.4.1. If the extreme is potentially absolute, the program proceeds to step 3.&lt;br /&gt;
&lt;br /&gt;
:: 2.4.2. If the extreme is not potentially absolute, the program checks the next bar starting from this step (i.e., step 2).&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_I&amp;diff=181</id>
		<title>ALGORITHM I</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_I&amp;diff=181"/>
		<updated>2023-08-25T20:20:07Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; &#039;&#039;&#039;The Orientaion rule (N1 requirement) for Algorithm I is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 1 is low, then the level of point 3 should be equal to or higher than point 1. &lt;br /&gt;
  If point 1 is high, then the level of point 3 should be equal to or lower than point 1.&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with [[UMG General Concepts]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Find Point 1. Search for a Confirming Extreme.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program searches for the first possible extreme that satisfies Single Bar Rule. This extreme is a candidate for point 1.&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; When a candidate for point 1 (hereinafter referred to as t.1 candifate) is found, all bars to the left (i.e., in the past) of the bar containing the t.1 candidate extreme are checked until one of the following events occurs:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The place of the last intersection of the price level of the  t.1 candidate is found &amp;lt;ref&amp;gt;High or low equal to high or low of t.1 is an intersection&amp;lt;/ref&amp;gt;. In this case, the program searches for an absolute extreme that confirms point 1 from the intersection of the price with the t.1 candidate level (inclusive) to the bar of t.1 candidate (exclusive). There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;1.2.1.1.&#039;&#039;&#039; If the extreme is not found, the program searches for a new candidate for point 1.&lt;br /&gt;
::: &#039;&#039;&#039;1.2.1.2.&#039;&#039;&#039; If the absolute extreme is found, it is the beginning of the preceding trend. The point 1 is confirmed. &lt;br /&gt;
::: The program checks for the absence of extremes equal to point 1 from the Beginning of the preceding trend. &lt;br /&gt;
:::: &#039;&#039;&#039;1.2.1.2.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 1 is discarded (the program continues to process other t.1 candidates).&lt;br /&gt;
:::: &#039;&#039;&#039;1.2.1.2.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to process the next bar after point 1 according to point 2 of the Algorithm.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program has reached the starting point of the chart (i.e., after the starting point of the chart, the levels of points 1 and 2 have never intersected). The program searches for a confirming extreme from right to left to the starting point of the chart. The options are similar to the sub-steps 1.2.1.1. and 1.2.1.2.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The program has checked 50 bars &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 1&amp;lt;/ref&amp;gt; preceding the bar of the potential point 1, and none of the above events have occurred. The program searches for a confirming extreme from right to left in the area of 50 bars before the potential point 1. The options are similar to the sub-steps 1.2.1.1. and 1.2.1.2.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Searching for Points 3 and 2.&#039;&#039;&#039;===&lt;br /&gt;
If the program returns to this step during the construction of an alternative model, this branch of the algorithm stops.&lt;br /&gt;
&lt;br /&gt;
The bar being analyzed after point 1 (or in cases of repeated application of the step specified in the algorithm) is checked for non-exceedance of the level of point 1.&lt;br /&gt;
: &#039;&#039;&#039;2.1.&#039;&#039;&#039; If the level of point 1 is exceeded, the program discards this point 1.&lt;br /&gt;
: &#039;&#039;&#039;2.2. Searching for Point 3.&#039;&#039;&#039; If the level of point 1 is not exceeded, the bar being analyzed is checked by rule N1 as an extreme.&lt;br /&gt;
:: &#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If this bar is not an extreme according to rule N1 (as a potential point 3)&amp;lt;ref&amp;gt; Here and further under the formulation (as a potential T.3) a reminder is implied that this extremum should be aligned with the potential T.1. (see the Rule of alternating extremes).&amp;lt;/ref&amp;gt;, the program checks the next bar in accordance with step 2.&lt;br /&gt;
:: &#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If this bar is an extreme according to rule N1 (as a potential point 3), then&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If this step (step 2) is applied again after confirmed candidates for point 3 have been found (i.e., such point 3, for which there is a point 2 between point 3 and point 1), but for one reason or another they were rejected, and the algorithm returned to the search for point 3, then the exceedance of the level of the previous candidate for point 3 by this extreme is checked.&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.1.A.&#039;&#039;&#039; If the check is not passed (i.e., if the level of the previous candidate for point 3 is not exceeded), then the program processes the next bar in accordance with this step (step 2) and further according to the algorithm.&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.1.B.&#039;&#039;&#039; If the check is passed, then the program proceeds to sub-step 2.2.2.2.&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.2. Searching for Point 2.&#039;&#039;&#039; The program searches for an absolute minimum (if point 1 and point 3 are high) or maximum (if point 1 and point 3 are low) in the range from point 1 to point 3 (hereinafter segment 1-3) as point 2 (hereinafter point 2). Then this bar is checked for &amp;quot;extremity&amp;quot; according to N1 rule. Two variants are possible &amp;lt;ref&amp;gt;As part of this particular check, it should be noted that bars T.1 and T.3 should not reach the level of T.2&amp;lt;/ref&amp;gt;:&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.2.A.&#039;&#039;&#039; If the bar is an extreme, then this is a potential point 2, and the potential point 3 becomes a confirmed point 3. In this case, the program proceeds to step 3.&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.2.B.&#039;&#039;&#039; The bar is not an extreme. In this case, the program begins to search for another candidate for point 3, for which it returns to the beginning of step 2.&lt;br /&gt;
&lt;br /&gt;
If the program has processed 50 bars &amp;lt;ref&amp;gt;The range of continuous search is t.3 in one iteration for all models except EAM&amp;lt;/ref&amp;gt; in a row in accordance with this step (step 2), and potential points 2 and 3 have not been found (i.e., the program has not yet moved to another step of the algorithm), then this potential point 1 is discarded.&lt;br /&gt;
&lt;br /&gt;
If there are 150 or more bars &amp;lt;ref&amp;gt;Maximum search range t3 for all models except EAM&amp;lt;/ref&amp;gt; between the potential point 1 and the bar being analyzed, and the program has not yet moved to another step of the algorithm, this potential point 1 is discarded.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step III. Building TL. Search for t.4&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;3.1. Checking for Fragmentation of the Base:&#039;&#039;&#039; After finding candidates for points 1, 2, and 3, a check is performed for the fragmentation of the Base. This means that there should be no extremes, co-directed with t.1, between the levels of t.1 and t.3 (Extremes that Fragment the Base, hereinafter referred to as EFB).&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;3.1.1:&#039;&#039;&#039; If such extremes are present, the program checks each EFB for the presence of a confirming counter-directed extreme on the section from the last intersection of the price level of the EFB to the EFB (analogous to the search for a confirming extreme of a potential t.1 in sub-step 1.2.1). If the EFB does not have a confirming extreme, then such an EFB is no longer considered (i.e., if there are no EFBs with confirming extremes, then the check is passed). If there is at least 1 EFB with a confirming extreme, then:&lt;br /&gt;
:: - The Base is fragmented;&lt;br /&gt;
:: - The confirmed t.3 becomes a cancelled t.3;&lt;br /&gt;
:: The program searches for a new t.3, for which it processes the next bar after the bar of the last cancelled t.3 according to step 2 of the algorithm.&lt;br /&gt;
:: &#039;&#039;&#039;3.1.2:&#039;&#039;&#039; If the check is successful and no EFBs are found (including if there are no confirmed EFBs), then the program proceeds to sub-step 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.2. Building and Checking TL on the 1-3 Section&#039;&#039;&#039;&lt;br /&gt;
: &#039;&#039;&#039;Determining the Section on Which t.3&#039; Can Be Found&#039;&#039;&#039;&lt;br /&gt;
: &#039;&#039;&#039;Searching for t.3&#039;.&#039;&#039;&#039;&lt;br /&gt;
:The parameters of the Trend Line passing through t.1 and t.3 (hereinafter TL) are calculated. TL is checked for breakthroughs on the 1-3 section.&lt;br /&gt;
:: &#039;&#039;&#039;3.2.1.&#039;&#039;&#039; TL is Broken&lt;br /&gt;
:: The bar of the confirmed t.3 is checked for breaking the level of t.2.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.1.1.&#039;&#039;&#039; If the level of t.2 is broken by the bar of the confirmed t.3, the confirmed t.3 becomes a cancelled t.3. The program searches for a new t.3. To do this, the bar that broke the level of t.2 is processed according to sub-step 3.4.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.1.2.&#039;&#039;&#039; If the level of t.2 is not broken by the bar of the confirmed t.3, then the next bar is processed according to sub-step 3.2.3.&lt;br /&gt;
:: &#039;&#039;&#039;3.2.2.&#039;&#039;&#039; TL is Not Broken - the bar following the bar of the confirmed t.3 is processed according to sub-step 3.3.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.2.3. Determining the Section on Which t.3&#039; Can Be Found&#039;&#039;&#039;&lt;br /&gt;
::The analyzed bar is checked for breaking the level of the confirmed t.3.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.3.1.&#039;&#039;&#039; If the level of the confirmed t.3 is broken, the confirmed t.3 becomes a cancelled t.3. The program searches for a new t.3. For this, the bar that broke the level of the confirmed t.3 is processed according to step 2 and further according to the algorithm.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.3.2.&#039;&#039;&#039; If the level of t.3 is not broken, the program checks the analyzed bar for breaking the level of t.2.&lt;br /&gt;
:::: &#039;&#039;&#039;3.2.3.2.1.&#039;&#039;&#039; If the level of t.2 is not broken, the program analyzes the next bar according to sub-step 3.2.3.&lt;br /&gt;
:::: &#039;&#039;&#039;3.2.3.2.2. Searching for t.3&#039;.&#039;&#039;&#039;&lt;br /&gt;
:::: If it breaks the level of t.2, then the program looks for such a point 3&#039; (hereinafter t.3&#039;) through which a line can be drawn from t.1 to t.3&#039;, which will not contain extra touches by the price on the section from the bar of t.1 to the bar following the bar of t.3&#039; (inclusive), and this line should not contain extra breakthroughs (not touches) by the price on the section to the bar that broke the level of t.2 (not inclusive).&lt;br /&gt;
::::: &#039;&#039;&#039;3.2.3.2.2.A.&#039;&#039;&#039; If t.3&#039; is found, then the TL is rebuilt through t.3&#039; (i.e., TL is now the line from t.1 to t.3&#039;), and the algorithm searches for a potential t.4, for which it processes the bar that broke the level of t.2 (but if the bar that broke the level of t.2 coincides with the bar of t.3&#039;, then the program immediately proceeds to process the next bar) according to sub-step 3.4.&lt;br /&gt;
::::: &#039;&#039;&#039;3.2.3.2.2.B.&#039;&#039;&#039; If the point t.3&#039; is not found, then the confirmed t.3 becomes a cancelled t.3. The program searches for a new t.3, for which it processes each previously unprocessed bar for the cancelled t.3 according to step 2 and further according to the algorithm. &lt;br /&gt;
&lt;br /&gt;
: If between t.1 and the analyzed bar there are 150 or more bars, and the program has not yet moved to another step of the algorithm, this potential t.1 is discarded.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.3. Checking TL on the Section After t.3.&#039;&#039;&#039;&lt;br /&gt;
: The analyzed bar is checked for overcoming TL.&lt;br /&gt;
:: &#039;&#039;&#039;3.3.1. TL is not overcome&#039;&#039;&#039; - the analyzed bar is processed according to sub-step 3.4.&lt;br /&gt;
:: &#039;&#039;&#039;3.3.2. TL is overcome.&#039;&#039;&#039; In this case, there are 2 options:&lt;br /&gt;
::: &#039;&#039;&#039;3.3.2.1.&#039;&#039;&#039; If between the analyzed bar (not inclusive) and the bar of t.3 (inclusive) the level of t.2 was not reached, the program performs a search for t.3&#039;, for which it moves to sub-step 3.2.3.&lt;br /&gt;
::: &#039;&#039;&#039;3.3.2.2.&#039;&#039;&#039; If between the analyzed bar (not inclusive) and the bar of t.3 (inclusive) the level of t.2 was reached, the program performs a search for a new candidate for t.3. For this, the analyzed bar is processed according to step 2 and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.4: Searching for Potential or Alternative t.4&#039;&#039;&#039;&lt;br /&gt;
: If the program is searching for t.4 and the analyzed bar is further from t.1 than 5 times the distance between t.1 and t.3, then this potential t.1 is discarded.&lt;br /&gt;
: If the program is searching for an alternative t.4 and the analyzed bar is further from t.1 than 10 times the number of bars between t.1 and t.3, then the search for an alternative t.4 is terminated.&lt;br /&gt;
: The analyzed bar is checked for being an extreme according to rule N1 (as a potential t.4).&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;Step 3.4.1: If the Bar is not an Extreme&#039;&#039;&#039;&lt;br /&gt;
:: The program checks the analyzed bar for breaking through (in this case, not touching) the TL.&lt;br /&gt;
::: &#039;&#039;&#039;Step 3.4.1.1:&#039;&#039;&#039; If the TL is not reached (not broken), then the program processes the next bar according to step 3.4.&lt;br /&gt;
::: &#039;&#039;&#039;Step 3.4.1.2:&#039;&#039;&#039; If the TL is broken, then the analyzed bar is processed similarly to step 3.3.2.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;Step 3.4.2: If the Bar is an Extreme&#039;&#039;&#039;&lt;br /&gt;
:: This is potentially t.4, proceed to step 3.5.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.5. Checking the Position of t.4&#039;&#039;&#039;&lt;br /&gt;
: The program checks the position of the potential t.4 relative to the extreme of t.2. There are 3 possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;3.5.1.&#039;&#039;&#039; The level of the potential t.4 is closer to the level of t.1 than the level of t.2. A candidate for t.4 for the Wedge model is found. In this case:&lt;br /&gt;
::: &#039;&#039;&#039;3.5.1.0.&#039;&#039;&#039; The bar of the potential t.4 is checked for the presence between it and the bar of t.3 of bars containing price values&lt;br /&gt;
:::: more distant from t.3 than the value of the potential t.4, or&lt;br /&gt;
:::: equal to t.4.&lt;br /&gt;
:::: This is a check for the potential absoluteness of the extreme of the potential t.4. Possible options are:&lt;br /&gt;
::::: &#039;&#039;&#039;3.5.1.0.1.&#039;&#039;&#039; The potential t.4 is not a potentially absolute extreme (there are bars more distant from t.3). In this case, the next bar is processed according to sub-step 3.4.&lt;br /&gt;
::::: &#039;&#039;&#039;3.5.1.0.2.&#039;&#039;&#039; The potential t.4 is a potentially absolute extreme. In this case checking if t.2-t.4 line (this is the Aims Line, hereinafter - AL) is crossed by the price in the section between t.2 and t.4 (hereinafter - section 2-4). There are 2 options – 3.5.1.1. and 3.5.1.2.&lt;br /&gt;
:::::: &#039;&#039;&#039;3.5.1.1.&#039;&#039;&#039; If AL is crossed, the program checks the analyzed bar for reaching the TL.&lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.1.1.&#039;&#039;&#039; If the TL is not reached - the next bar is processed according to sub-step 3.4.&lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.1.2.&#039;&#039;&#039; If the TL is reached, the program searches for a new candidate in t.3/t.3&#039;. To do this, the analyzed bar is processed according to sub-step 3.2.3 and further according to the algorithm.&lt;br /&gt;
:::::: &#039;&#039;&#039;3.5.1.2.&#039;&#039;&#039; If there is no linecrossing, the bar t.4 is checked for reaching the TL. The following options are possible:&lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.2.1.&#039;&#039;&#039; If the bar t.4 reached the TL, then the [Wedge Found] Wedge model is fixed, for which the level of intersection of the TL and the AL is calculated, after which the program searches for t.3’ with the same points 1,2,3, or searches for a new t.3. To do this, the program processes the analyzed bar (in this case, the bar t.4, while reaching the TL) starting from sub-step 3.2.3. Model&#039;s Type (parameter G1) = WEDGE . &lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.2.2.&#039;&#039;&#039; If the t.4 bar did not reach the TL, then the next bar after it (and when reapplying this step - the next bar after the previously analyzed bar) is analyzed for reaching the TL. At the same time, a check is made for not overcoming the distance equal to (t.1-t.3)*10. If the distance is overcome, then we return (go in a cycle) to the search for t.3. The following options are possible:&lt;br /&gt;
:::::::::: &#039;&#039;&#039;3.5.1.2.2.1.&#039;&#039;&#039; If the analyzed bar reached the TL, then the program acts in analogy with sub-step 3.5.1.2.1. (i.e., the [Wedge Found] Wedge model is fixed and in a new branch of the algorithm the program processes the analyzed bar (in this case, the bar that reached the TL) starting from sub-step 3.2.3.&lt;br /&gt;
:::::::::: &#039;&#039;&#039;3.5.1.2.2.2.&#039;&#039;&#039; If the TL is not reached, then the analyzed bar is checked for reaching the level of t.4. The following options are possible:&lt;br /&gt;
:::::::::::: &#039;&#039;&#039;3.5.1.2.2.2.A.&#039;&#039;&#039; If the level of t.4 is not reached, the program analyzes the next bar for reaching the TL, options are similar to sub-steps 3.5.1.2.2.1. and 3.5.1.2.2.2.&lt;br /&gt;
:::::::::::: &#039;&#039;&#039;3.5.1.2.2.2.B.&#039;&#039;&#039; If the level of t.4 is reached, then the program checks the analyzed bar according to sub-step 3.4.&lt;br /&gt;
:: &#039;&#039;&#039;3.5.2.&#039;&#039;&#039; The level of the potential t.4 is further from the level of t.1 than the level of the potential t.2 - transition to step 4.&lt;br /&gt;
:: &#039;&#039;&#039;3.5.3.&#039;&#039;&#039; The level of the potential t.4 is equal to the level of the potential t.2 - the program checks whether the bar of the considered candidate in t.4 has broken through (touched) the Trend Line (TL).&lt;br /&gt;
::: &#039;&#039;&#039;3.5.3.1. If not&#039;&#039;&#039; - the program searches for the next candidate for t.4. For this, the program processes the next bar according to sub-step 3.4.&lt;br /&gt;
::: &#039;&#039;&#039;3.5.3.2. If yes&#039;&#039;&#039; – the program searches for a new t.3, for which it analyzes the next bar according to step 2 and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV. Checking for Intersection of the Aim Line (AL) by Price on Section 2-4&#039;&#039;&#039;===&lt;br /&gt;
The program checks for intersections of the Aim Line by price on the section from t.2 to t.4 (hereafter - section 2-4).&lt;br /&gt;
: &#039;&#039;&#039;4.1.&#039;&#039;&#039; If the AL is intersected by price on section 2-4 the program checks the analyzed bar (which is also the bar of the potential t.4) for a breakout (in this case, not a touch) of the Trend Line (TL).&lt;br /&gt;
:: &#039;&#039;&#039;4.1.1.&#039;&#039;&#039; If the TL is not reached, the program processes the next bar according to step 3.4.&lt;br /&gt;
:: &#039;&#039;&#039;4.1.2.&#039;&#039;&#039; If the TL is broken,&lt;br /&gt;
::: - t.3 becomes the cancelled t.3;&lt;br /&gt;
::: - the program searches for a new candidate for t.3. To do this, the analyzed bar is processed according to step 2.&lt;br /&gt;
: &#039;&#039;&#039;4.2.&#039;&#039;&#039; If the AL is not intersected by price on section 2-4 the program proceeds to step 5.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step V. Model Fixation at the TL Breakthrough. Search for t.5. Search for t.6.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
The bar t.4 (or in repeated applications of the step, the analyzed bar specified in the algorithm) is checked for reaching TL. The following scenarios are possible:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; TL is reached (there is a touch of TL). In this case, the program checks whether the level of t.4 has been surpassed in the section from t.4 to the moment of reaching the price of TL (excluding the analyzed - i.e., the bar that broke through TL). This is possible with repeated applications of the step, i.e., when not t.4 will be analyzed, but one of the subsequent bars.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the level of t.4 is not surpassed, then the model is considered formed [The model is formed without 6];&lt;br /&gt;
:: Then the program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; If the level of t.4 is surpassed, the program looks for an absolute extreme in the section from t.4 (excluding) to the bar that reached the level of t.4 (inclusive), as point 5 (hereinafter - t.5).&lt;br /&gt;
:: When searching for a potential t.5, it is necessary to take into account the requirement: in a particular case, if the bar t.4 belongs to the extreme, co-directed with t.5, t.5 must break through the level of this extreme (i.e., the level of t.5 should be further from the level of t.4).&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; If the extreme is found - this is a potential t.5.&lt;br /&gt;
::: There are 2 scenarios:&lt;br /&gt;
:::: &#039;&#039;&#039;5.1.2.1.1.&#039;&#039;&#039; T.5 belongs to the bar, which broke through the level of t.4. The program checks whether the bar, which contains t.5 (and which broke through the level of t.4), is a bar that also contains and an absolute extreme in the section from this bar (inclusive) to the point of breaking through TL, (i.e., the current bar) (excluding). There are 2 scenarios:&lt;br /&gt;
::::: &#039;&#039;&#039;5.1.2.1.1.1.&#039;&#039;&#039; The bar t.5 contains an absolute extreme, co-directed with t.4. In this case, the absolute extreme, co-directed with t.4, is a new potential t.4. The program builds an AL through this t.4 and checks the AL for the absence of price intersections in the section 2-4.&lt;br /&gt;
::::: There are 2 scenarios:&lt;br /&gt;
::::::: &#039;&#039;&#039;5.1.2.1.1.1.A.&#039;&#039;&#039; On the section 2-4, the AL intersects with the price. In this case -t.3 becomes the canceled t.3; - the program is looking for a new t.3, for which it processes the bar that reached TL according to step 2 and further according to the algorithm.&lt;br /&gt;
::::::: &#039;&#039;&#039;5.1.2.1.1.1.B.&#039;&#039;&#039; On the section 2-4, the AL does not intersect with the price. The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;5.1.2.1.1.2.&#039;&#039;&#039; The bar t.5 does not contain an absolute extreme, co-directed with t.4. The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.1.2.1.2.&#039;&#039;&#039; T.5. belongs to the bar between the bar t.4 and the bar that broke through the level of t.4. The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The extreme is not found, the program is looking for the next candidate for t.4. To do this, the program processes the bar that has surpassed the level of the potential t.4 according to step 3.4.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; LT is not reached. If the analyzed bar contains a potential t.4, the program checks the next bar according to step 5. If the analyzed bar does not contain a potential t.4, then it is subjected to simultaneous verification:&lt;br /&gt;
&lt;br /&gt;
: for extremity according to rule N1 (as t.5);&lt;br /&gt;
: for the presence between the analyzed bar and the bar of the potential t.4 of bars containing price values, more distant from the potential t.4, than the most distant from t.4 value of the analyzed bar, as well as&lt;br /&gt;
:-the presence between the analyzed bar and the bar t.4 of price values equal to the most distant value of the price of the analyzed bar (this is a check for the potential absoluteness of the extreme of the potential t.5).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If the bar is an extreme and it is potentially absolute, then this bar is a potential t.5. The program checks this bar for reaching the level of t.4. There are 2 scenarios:&lt;br /&gt;
::: &#039;&#039;&#039;5.2.1.1.&#039;&#039;&#039; If the level of t.4 is reached (confirmed by the bar of the potential t.5)&lt;br /&gt;
::: The program checks whether the bar, which contains t.5 (and which broke through the level of t.4), also contains an extreme, co-directed with the bar t.4:&lt;br /&gt;
::: There are 2 scenarios:&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.1.1.1.&#039;&#039;&#039; The bar t.5 contains an extreme, co-directed with t.4. In this case, the absolute extreme, co-directed with t.4, is a new potential t.4. The program rebuilds the AL through it and checks this LC for the presence of intersections in the section t.2-t.4. There are 2 scenarios:&lt;br /&gt;
::::: &#039;&#039;&#039;5.2.1.1.1.A&#039;&#039;&#039; On the section 2-4, the AL intersects with the price. the program processes the next bar according to steps 3.4.&lt;br /&gt;
::::: &#039;&#039;&#039;5.2.1.1.1.B&#039;&#039;&#039; On the section 2-4, the AL does not intersect with the price. The program checks the next bar according to step 5.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.1.1.2.&#039;&#039;&#039; The bar t.5 does not contain an extreme, co-directed with t.4. In this case, the confirmation of the bar t.4 by the bar t.5 occurs. &lt;br /&gt;
:::: The program proceeds to step 6. (there was an idea to redo to step 5.3.)&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.2.1.2.&#039;&#039;&#039; If the level of t.4 is not reached. The program proceeds to step 6 (there was an idea to redo to step 5.3.) At the same time, the program checks the next bar in accordance with this item (i.e., according to step 5), to find another model with the same t.1, t.2, t.3, t.4, but another t.5.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If the bar is not an extreme, or is not potentially absolute, then the program checks it for reaching the level of the potential t.4.&lt;br /&gt;
::: &#039;&#039;&#039;5.2.2.1.&#039;&#039;&#039; If the bar reaches the level of t.4, then the program looks for an absolute extreme between t.4 and the point of confirmation t.4 (i.e., repeated after t.4 reaching the level of t.4) as t.5. There are 2 scenarios:&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.2.1.1.&#039;&#039;&#039; If t.5 is present, the program proceeds to step 6 (there was an idea to redo to step 5.3.)&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.2.1.2.&#039;&#039;&#039; If t.5 is absent, the program proceeds to search for a new t.4, for which it processes the bar that reached the level of t.4 starting from step 3.4.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.2.2.2.&#039;&#039;&#039; If the bar does not reach the level of the potential t.4, then the program processes the next bar from the beginning of this step (i.e., according to step 5).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5.3.&#039;&#039;&#039; Algorithm for determining the presumed real p.6:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; Apply Algorithm I to the models, excluding AM.&lt;br /&gt;
: Identify the price value that is farthest from the t.1 level, which is the level the price reached from t.3 to the first time the price touches the TL (referred to as the touch of TL). The touch of ЛТ occurs after t.4, indicating the moment when the model is formed.&lt;br /&gt;
:The extremum identified in step 2 is considered the real t.6.&lt;br /&gt;
:Instead of x&#039;s representing price value or time and date, the report displays the following:&lt;br /&gt;
: P6: xxxxx (price value)&lt;br /&gt;
: P6t: xx:xx:xxxx (time and date)&lt;br /&gt;
&lt;br /&gt;
:The technical parameters P6 and P6t are finalized at the moment the model is fully formed, which is when the price touches TL after t.4.&lt;br /&gt;
:P6supp: -&lt;br /&gt;
:P6suppt: -&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; If the price has not touched ЛТ after t.4 of the analyzed model at the moment of determining the presumed real p.6, the program will check if the number of bars formed after t.4 is more than 300.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the number of bars formed after t.4 exceeds 300, the presumed real p.6 for this model will not be determined.&lt;br /&gt;
:: The report should display the following information:&lt;br /&gt;
:: P6: --&lt;br /&gt;
:: P6t: -- &lt;br /&gt;
:: P6supp: --&lt;br /&gt;
:: P6suppt: --&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the number of bars formed after t.4 does not exceed 300, several scenarios are possible.&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.1.&#039;&#039;&#039; One scenario is if the price has surpassed the t.4 level (meaning both t.4 and t.5 are confirmed). In this case, the program calculates the distance between the t.1 and t.4 levels.&lt;br /&gt;
:::: This distance is then marked off from t.4 towards the t.6 level, either upwards for an ascending model or downwards for a descending model.&lt;br /&gt;
:::: The program then checks if the price has surpassed this level in the section after t.4 of the analyzed model.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.2.&#039;&#039;&#039; If the price has reached t.4 level, the report does not provide information on the presumed real p.6. The report shows the following data:&lt;br /&gt;
&lt;br /&gt;
:::: P6: --&lt;br /&gt;
:::: P6t: -- &lt;br /&gt;
:::: P6supp: --&lt;br /&gt;
:::: P6suppt: --&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.3.&#039;&#039;&#039; In the given scenario, the program checks if the price has surpassed a the t.4 level. If it hasn&#039;t, the program then identifies the price value that is farthest from the level reached after a specific time point (t.4). This extreme value is considered as the presumed real p.6. In this situation, the report will show the following information instead of x&#039;s (which represent either price value or time and date):&lt;br /&gt;
&lt;br /&gt;
:::: P6: --&lt;br /&gt;
:::: P6t: -- &lt;br /&gt;
:::: Additionally, the report will display the following details related to the presumed real p.6:&lt;br /&gt;
:::: P6supp (the price value)&lt;br /&gt;
:::: P6suppt (a specific time and date in the format xx:xx:xxxx)&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the price has not surpassed the level of t.4 (meaning t.4 and t.5 are not confirmed), the potential t.4 is considered as the presumed real p.6. In this scenario, the report displays the following:&lt;br /&gt;
::: P6: --&lt;br /&gt;
::: P6t: -- &lt;br /&gt;
::: Additionally, the report will display the following details related to the presumed real p.6:&lt;br /&gt;
::: P6supp (the price value)&lt;br /&gt;
::: P6suppt (a specific time and date in the format xx:xx:xxxx)&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.3.3.&#039;&#039;&#039; For AM the process is similar, but with one key difference. The TL is not used when determining the real or presumed p.6. Instead, the level of t.3 of the model under consideration is used to determine the real or presumed p.6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.4.&#039;&#039;&#039; Algorithm for Determining Whether the Model is from the Start of the Trend Model or Along the Trend (Trend-Following) Model&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.4.1.&#039;&#039;&#039; For main models except for EAM &lt;br /&gt;
:: The program sequentially checks bars from right to left (i.e., into the past) from the bar containing the extreme candidate at t.2 until it finds a price intersection of t.2 level .&lt;br /&gt;
&lt;br /&gt;
::* If the program has checked 50 bars up to t.1 of the model and such an intersection is not found, the model is considered a trend-following model.&lt;br /&gt;
::* If the intersection lies to the left of the (presumed) starting point of the preceding trend (related to this model), the report displays:  &lt;br /&gt;
:: G3: HTModel&lt;br /&gt;
:: * If the intersection lies to the right of the (presumed) starting point of the preceding trend, the model is considered a model from the start of the trend, the report displays: &lt;br /&gt;
:: G3: BTModel&lt;br /&gt;
:: * If the program has checked less than 50 bars up to t.1 of the model and reached the initial bar of the chart, and the sought-after intersection is not found, the model is considered a trend-following model, the report displays:  &lt;br /&gt;
:: G3: NoData&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.4.2.&#039;&#039;&#039; For EAM, the same applies, but the program looks for an intersection at the level of t.4 instead of an intersection at the level of t.2.&lt;br /&gt;
&lt;br /&gt;
:The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step VI. Search for Tangents and Construction of the Auxiliary Attraction Model&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; Search for t.2’&lt;br /&gt;
&lt;br /&gt;
: The program conducts a search for t.2’ (tangent, i.e., the rule N1 is removed for it), which will yield the LC, without any intersections with the price in the section between T.1 and T.2. Bars are checked from right to left starting from the bar t.2 to the bar t.1 inclusive (further – section 1-2). Point 2’ (further – t.2’) can coincide with t.2, if the LC through t.2 does not have extra price intersections on 1-2, however t.2’ cannot belong to the bar t.1.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6.1.1.&#039;&#039;&#039; If t.2’ is found &lt;br /&gt;
&lt;br /&gt;
:: If t.2’ is found (including if t.2’ coincides with t.2), then the program calculates the Line of goals by the tangent from t.2’ to t.4 (further -AL’). It is then checked whether the considered model has the status [The model is formed without point 6].&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.1.1.1.&#039;&#039;&#039; The model has the status [The model is formed without point 6] &lt;br /&gt;
&lt;br /&gt;
::: If the model has the status [The model is formed without point 6], the program proceeds to step 7.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.1.1.2.&#039;&#039;&#039; The model does not have the status [The model is formed without point 6] &lt;br /&gt;
&lt;br /&gt;
::: If the model does not have the status [The model is formed without point 6], the program proceeds to sub-step 6.2.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.1.2.&#039;&#039;&#039; If T.2’ is not found &lt;br /&gt;
&lt;br /&gt;
::: If t.2’ is not found (i.e., it is impossible to build such a line through points t.2’ and t.4, which will not contain extra points on section 1-2), then this is a model without an Auxiliary AM. Theprogram proceeds to step 7.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Search for t.3’ of the Auxiliary AM &lt;br /&gt;
&lt;br /&gt;
:: The program constructs a line from t.3 (or t.3’ if it exists) to t.5 (Trend Line of the Auxiliary Attraction Model, further - TLam) and checks it for the presence of price intersections in the section between t.3 and t.5.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.2.1.&#039;&#039;&#039; Intersections are found &lt;br /&gt;
&lt;br /&gt;
::: If intersections are found, the line t.3/t.3’-t.5 in this case is not displayed on the chart. The program searches for such point 3’ of the Auxiliary Attraction Model (further t.3’am), through which it is possible to construct a line, which will not have price intersections on the section from t.3/t.3’ to t.5.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;6.2.1.1.&#039;&#039;&#039; If t.3’am is found&lt;br /&gt;
&lt;br /&gt;
:::: If t.3’am is found, then the program constructs the Line of trend of the auxiliary model of attraction by the tangent from t.3’am to t.5 (further – TLam’) and calculates the level of intersection of AL’ and TLmp’ (further – calculated t.6). There are 2 options:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;6.2.1.1.1.&#039;&#039;&#039; If the calculated t.6 is found&lt;br /&gt;
&lt;br /&gt;
:::: If the calculated t.6 is found, then a check is carried out for the minimum ratio of the time segment t.2-t.4 to the segment t.4-t.6 for the Auxiliary AM (should be within 0.5). If the check is not passed, then the model does not have an auxiliary MP (in this case LTmp is not displayed on the chart), the algorithm proceeds to sub-step 6.3. If the check is passed, the program checks whether the bar t.5 breaks through the level of the calculated p.6.&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;6.2.1.1.1.A.&#039;&#039;&#039; If the bar t.5 does not break through the level of the calculated p.6 &lt;br /&gt;
&lt;br /&gt;
::::: If the t.5  bar does not break through the level of the calculated p.6, then the program proceeds to sub-step 6.3. In the report is displayed: AUX AM&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;6.2.1.1.1.B.&#039;&#039;&#039; If the t.5 bar breaks through the level of the calculated p.6&lt;br /&gt;
&lt;br /&gt;
::::: If the t.5 bar breaks through the level of the calculated p.6, then this AM cannot be built and the program is looking for a new t.4. for this the next bar is checked according to sub-step 3.4., or in case if the model has a mark draw_flag this branch of the algorithm stops.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;6.2.1.1.2.&#039;&#039;&#039; The calculated point 6-th is not found&lt;br /&gt;
&lt;br /&gt;
:::: The calculated 6-th is not found (i.e., the lines do not intersect). In this case TLam is not displayed on the chart. In the report is displayed: AUX NoAM The program proceeds to sub-step 6.3.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.2.1.2.&#039;&#039;&#039; If t.3’am is not found&lt;br /&gt;
&lt;br /&gt;
::: If t.3’am is not found, then in the report is displayed: AUX NoAM The program proceeds to step 7.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6.2.2.&#039;&#039;&#039; Intersections are not found &lt;br /&gt;
&lt;br /&gt;
:: Intersections are not found. In this case, the program calculates the level of intersection of TLam and AL’ (this is the level of the calculated p.6). There are 2 options according to sub-steps 6.2.1.1.1. and 6.2.1.1.2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.3.&#039;&#039;&#039; Construction of the Auxiliary AM through t.5&lt;br /&gt;
&lt;br /&gt;
: The program checks for the presence of t.5’ (the first possible local extremum in time on the section T.4-T.5). If T.5’ is found, in the report is displayed: AimsBlock5’ 5&#039; If t.5’ is not, then in the report is displayed: AimsBlock5’ No5&#039;&lt;br /&gt;
&lt;br /&gt;
: If t.5&#039; is present, the program will follow a similar process as sub-step 6.2 to construct the Trend Line for the Auxiliary Attraction Model. However, this time it will start from t.5&#039; and, if necessary, use another suitable t.3&#039; (referred to as t.3&#039;am5&#039;). If the program successfully constructs a Auxiliary AM through t.5&#039; (indicating convergence of the lines), the model will be labeled as [The AM is built through t.5&#039;] in the report. &lt;br /&gt;
: The report will display: &lt;br /&gt;
: AUX5’: AUX5’&lt;br /&gt;
: Alternatively, if the MP is not built through t.5&#039;, the program will display: &lt;br /&gt;
: AUX5’: NoAUX5’ &lt;br /&gt;
: After this, the program will proceed to step.7.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step VII. Determination of SP and Model Type.&#039;&#039;&#039;===&lt;br /&gt;
The program recalls whether the model was built through t.2 or through t.2’&lt;br /&gt;
: &#039;&#039;&#039;7.1.&#039;&#039;&#039; In case if AL is built through t.2 does not have intersection with the price on the section t.1-t.2, or if there is ALam, built through t.2’. Here and further it is assumed that if the line, built through t.2 to t.4 does not have intersections with the price on the section t.1-t.2, then it is considered that t.2’=t.2 and AL’=AL.&lt;br /&gt;
&lt;br /&gt;
: The type of the model is determined by the position of the intersection point of TL and AL’ (this is the line built from t.2’ to t.4) in relation to t.4:&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.1.1.&#039;&#039;&#039; The intersection point of TL and AL’ lies to the right of t.4. In this case the intersection point of the lines is the calculated point 6 (further - calculated t.6).), then the program calculates the ratio of time segments from t.1 to t.4 and from t.4 to calculated point 6 for AM.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.1.1.&#039;&#039;&#039; If the section from t.1 to t.4, multiplied by 3 is greater than the section from t.4 to the calculated point 6 for CMP, this model&#039;s  type is  AM.&lt;br /&gt;
::: G1: AM&lt;br /&gt;
&lt;br /&gt;
::: If the model under consideration is AM and at the same time it is formed (i.e. after t.4 the TL is broken through), the program checks each bar after the t.4 bar, until one of the following events:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.1.1.1.1.&#039;&#039;&#039; A bar is found that has reached the level of t.3 (but has not reached the level of t.4). In this case, this branch of the algorithm is completed.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.1.1.1.2.&#039;&#039;&#039; A bar is found that has reached the level of t.4 (while either not reaching or reaching the level of t.3).&lt;br /&gt;
&lt;br /&gt;
:::: -in case of the presence of the draw_flag label – this branch stops;&lt;br /&gt;
:::: -in another case, the program checks for the presence on the section from t.4 (not including) to the bar, which reached the level of t.4 (inclusive) of the extremum, opposite to the extremum t.4 (i.e. co-directed with the extremum t.1 of the analyzed model. There are 2 options:&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;7.1.1.1.2.A.&#039;&#039;&#039; The extremum is found. In this case, the algorithm proceeds to step 8.&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;7.1.1.1.2.B.&#039;&#039;&#039; The extremum is not found. In this case the status of the formed model is canceled (the model is discarded);&lt;br /&gt;
::::: -t.3 becomes the canceled t.3;&lt;br /&gt;
::::: -the program searches for the next candidate for t.3. For this, the program processes the bar that broke through the TL according to step 2.&lt;br /&gt;
:::  &#039;&#039;&#039;7.1.1.2.&#039;&#039;&#039; If&lt;br /&gt;
::: -the section from t.1 to t.4, multiplied by 3 is less than or equal to the section from t.4 to the calculated t.6 (for converging lines) and at the same time&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is greater than the section t.4-t.6, this model is AM/DBM&lt;br /&gt;
::: G1: AM/DBM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.1.3.&#039;&#039;&#039; The section from t.1 to t.4 multiplied by 12 is less than or equal to the section from SP to t.1 (for TL and AL converging to the left), then this model is DBM. &lt;br /&gt;
::: G1: DBM&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.1.2.&#039;&#039;&#039; The intersection point of TL and AL’ (AL’ – this is the line from t.2’ – t.4) lies to the left of t.4 —this point is qualified as the Sacral Point (further – SP).&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.2.1.&#039;&#039;&#039; If&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 3 is less than or equal to the section from SP to t.1, and at the same time;&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is greater than the section from SP to t.1 then this is EM/DBM &lt;br /&gt;
::: G1: EM/DBM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.2.2.&#039;&#039;&#039; If the section from t.1 to t.4 multiplied by 3 is greater than the section from SP to t.1, this is eng. - EM.&lt;br /&gt;
::: G1: EM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.2.3.&#039;&#039;&#039; If&lt;br /&gt;
::: -TL and AL of the model are parallel, or&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is less than or equal to the section t.4-t.6 (for TL and AL converging to the right);&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is less than or equal to the section from SP to t.1 (for TL and AL converging to the left), then this model is eng. - DBM &lt;br /&gt;
::: G1: DBM&lt;br /&gt;
&lt;br /&gt;
::: The program proceeds to step 8.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;7.2.&#039;&#039;&#039; If for this model it was impossible to construct AL (AL’) in such a way that there were no extra intersections on the section t.1 (inclusive) - t.2, then the program checks where TL and AL from t.2 intersect.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.2.1.&#039;&#039;&#039; If the lines intersect to the right (i.e. after t.4), then&lt;br /&gt;
::: &#039;&#039;&#039;7.2.1.1.&#039;&#039;&#039; if the section from t.1 to t.4, multiplied by 3 is greater than the section from t.4 to the calculated t.6 (for converging lines), then this model is incorrect.&lt;br /&gt;
::: There are one of 2 options:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.1.1.1&#039;&#039;&#039; If the TL of the incorrect AM is broken through by the t.4 bar or the bar immediately following t.4, then&lt;br /&gt;
&lt;br /&gt;
:::: -in case of the presence of the draw_flag label – this branch stops;&lt;br /&gt;
:::: -in another case t.3 becomes the canceled t.3 and the program searches for a new t.3, for this it processes the bar that broke through the TL AM according to step 2.&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.1.1.2.&#039;&#039;&#039; If the TL of the incorrect CMP is not broken through by the t.4 bar or the bar immediately following it, then the program searches for a new t.4, for this the next bar is checked according to sub-step 3.4.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.1.2.&#039;&#039;&#039; -the section from t.1 to t.4, multiplied by 12 is greater than the section from t.4 to the calculated t.6, then this model is AM/DBM .&lt;br /&gt;
::: G1: AM/DBM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.1.3.&#039;&#039;&#039; the section from t.1 to t.4 multiplied by 12 is less than or equal to the section from t.4 to t.6 then this model is DBM .&lt;br /&gt;
::: G1: DBM&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.2.2.&#039;&#039;&#039; If TL and AL intersect to the left (i.e. in the past) relative to t.4, the program performs an indirect check for the Strength of the trend. For this, a pseudo SP is used – this is the intersection point of AL (built through t.2) and TL in case it is impossible to build AL through t.2 so that there are no extra points on it. The following options are possible:&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.2.1.&#039;&#039;&#039; If the pseudo SP lies to the right (i.e. later) of t.1 to t.3 (or t.3’, if the model is built on it), then the type of this model is determined as EM, moreover, the model is strong by pseudo SP.&lt;br /&gt;
&lt;br /&gt;
::: G1: EM&lt;br /&gt;
&lt;br /&gt;
::: SP: strongpseudoSP&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.2.2.&#039;&#039;&#039; Otherwise&lt;br /&gt;
::: If the lines intersect to the left of t.1 (i.e. earlier), the following options are possible:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.2.2.1.&#039;&#039;&#039; If the section from t.1 to t.3 (3’) is greater than the section from the intersection of TL and AL to t.1, the model is assigned the type EM, while the Strength of the model is not determined.&lt;br /&gt;
:::: G1: EM&lt;br /&gt;
&lt;br /&gt;
:::: SP: undef&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.2.2.2.&#039;&#039;&#039; If&lt;br /&gt;
:::: -the section from T.1 to t.3(3’) is less than or equal to the section from the intersection of TL and AL to t.1 and up to&lt;br /&gt;
:::: -the section from T.1 to t.3(3’) multiplied by 3 is greater than the section from the intersection of TL and AL to t.1, the model is assigned the type is EM. At the same time, the model is weak.&lt;br /&gt;
&lt;br /&gt;
:::: G1: EM&lt;br /&gt;
&lt;br /&gt;
:::: SP: weakpseudoST&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.2.2.3.&#039;&#039;&#039; If the section from t.1 to t.3(3’) multiplied by 3 is less than the section from the intersection of TL and AL to t.1, then the model type is EM/DBM.&lt;br /&gt;
:::: G1: EM/DBM&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;7.3.&#039;&#039;&#039; Also, occasionally there are cases when the model for some reason does not fall under any of the above options. Then the model type is not determined.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VIII: Search for Alternative Models. Launching a New Branch from the Previous t.1 but with a Different t.3 &#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
The program initiates a search for the subsequent model with the same t.1, but a new t.3. The bar following t.3/t.3’, according to step 2, is analyzed for this purpose. Concurrently, the program initiates a search for an alternative model in relation to the one already found. For this, it analyzes the bar that has broken through the level of t.4 as a potential t.4, according to step 3.4, and continues further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=180</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=180"/>
		<updated>2023-08-25T20:16:12Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
: &#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:: &#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
:: &#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
:: &#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
:: &#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
::: &#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
:::: &#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
:::: &#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
::: &#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
:: &#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
&lt;br /&gt;
 If there are 150 or more bars between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=179</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=179"/>
		<updated>2023-08-25T19:35:05Z</updated>

		<summary type="html">&lt;p&gt;Admin: Adding Step 2&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Search For Potentioal Points 5 and 4 &#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;The Orientation rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Search for Point 5.&#039;&#039;&#039; The bar following the bar of Point 3 (and in repeated applications of this step - the bar specified in this algorithm) is checked for not overcoming the level of point 3 (since  N1 requirement for Algorithm II must be observed).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;2.1.&#039;&#039;&#039; If the price has overcome the level of point 3, the program discards the considered step 3 (due to N1 requirement).&lt;br /&gt;
:: &#039;&#039;&#039;2.2.&#039;&#039;&#039; If N1 requirement is met for the analyzed bar, it is checked for compliance with N1 requirement as a potential point 5 (hereafter - point 5 or t.5).&lt;br /&gt;
:: &#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If the analyzed bar is not an extreme according to N1 requirement (as a potential point 5), the program checks the next bar from the beginning of step 2.&lt;br /&gt;
:: &#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If the analyzed bar is determined as an extreme according to N1 requirement (as a potential point 5), then this bar is checked for reaching (but not necessarily overcoming) the level of point 3. There are 2 options:&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If the level of point 3 is reached, the program analyzes the next bar according to this step (i.e., from the beginning of step 2).&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.2.&#039;&#039;&#039; If the level of point 3 is not reached, the analyzed bar is a potential point 5, and the program moves to substep 2.3.&lt;br /&gt;
&#039;&#039;&#039;2.3. Search for Point 4.&#039;&#039;&#039; The program searches for a bar, which was the last to cross the level of the considered potential point 5. Let&#039;s denote this bar as lcb5 (line-crossing-bar-5). If lcb5 coincides with the bar of point 3, we denote the bar following lcb5 as look4. Otherwise, look4 = lcb5. The program searches for a bar with the maximum (if point 3 is low) or minimum (if point 3 is high) price in the interval from lcb5 to potential point 5. Then this bar is checked for being an extreme according to N1 requirement as a potential pont 4 (hereafter – point 4 or t.4). There are 2 options:&lt;br /&gt;
:: &#039;&#039;&#039;2.3.1.&#039;&#039;&#039; The bar is an absolute extreme (as a potential point 4). In this case, potential point 4 is found.&lt;br /&gt;
::: &#039;&#039;&#039;2.3.1.1.&#039;&#039;&#039; If step 2 has already been determined (this is possible when this step is triggered during the search for an alternative model), the program checks the line chart for extra points in the section from step 2 to step 4. There are 2 options:&lt;br /&gt;
:::: &#039;&#039;&#039;2.3.1.1.A.&#039;&#039;&#039; If extra points are found, the program processes the next bar after potential point 5 according to step 2.&lt;br /&gt;
:::: &#039;&#039;&#039;2.3.1.1.B.&#039;&#039;&#039; Extra intersections are not found; the program moves to substep 2.4.&lt;br /&gt;
::: &#039;&#039;&#039;2.3.1.2.&#039;&#039;&#039; If substep 2.3.1. is triggered during the search for the basic model, the program moves to substep 2.4.&lt;br /&gt;
:: &#039;&#039;&#039;2.3.2.&#039;&#039;&#039; The bar is not an absolute extreme (as a potential point 4). In this case, the program looks for another candidate for point 5 according to this step (i.e., according to step 2).&lt;br /&gt;
 If the program has processed 50 bars in a row according to this step (step 2), and the program has not moved to another step of the algorithm, then this potential point 3 is discarded.&lt;br /&gt;
&lt;br /&gt;
 If there are 150 or more bars between potential point 3 and the analyzed bar, and potential points 4 and 5 are not found, then this potential point 3 is discarded.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=178</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=178"/>
		<updated>2023-08-25T04:46:18Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;The N1 rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 3. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 3.&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=177</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=177"/>
		<updated>2023-08-25T04:45:20Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;The N1 rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 1. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 1.&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if came from 1.2.1.), or :: - from the starting point of the chart (if came from 1.2.2.), or &lt;br /&gt;
:: - from 300 bars(if came from 1.2.3.) &lt;br /&gt;
:: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=176</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=176"/>
		<updated>2023-08-24T20:30:53Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;The N1 rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 1. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 1.&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039; The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if coming from 1.2.1.), or :: - from the starting point of the chart (if coming from 1.2.2.), or :: - from 300 bars to point 3 (if coming from 1.2.3.) :: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=175</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=175"/>
		<updated>2023-08-24T20:30:39Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;The N1 rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 1. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 1.&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039;T he program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if coming from 1.2.1.), or :: - from the starting point of the chart (if coming from 1.2.2.), or :: - from 300 bars to point 3 (if coming from 1.2.3.) :: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039; Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039; Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=174</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=174"/>
		<updated>2023-08-24T20:29:47Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;The N1 rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 1. &lt;br /&gt;
  If point 3 is high, then the level of point 5 should be lower than point 1.&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039;Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039;The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039;The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039;The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if coming from 1.2.1.), or :: - from the starting point of the chart (if coming from 1.2.2.), or :: - from 300 bars to point 3 (if coming from 1.2.3.) :: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039;Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039;Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_I&amp;diff=173</id>
		<title>ALGORITHM I</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_I&amp;diff=173"/>
		<updated>2023-08-24T20:21:48Z</updated>

		<summary type="html">&lt;p&gt;Admin: /*  Step VII. Determination of SP and Model Type. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; &#039;&#039;&#039;The N1 rule (N1 requirement) for Algorithm I is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 1 is low, then the level of point 3 should be equal to or higher than point 1. &lt;br /&gt;
  If point 1 is high, then the level of point 3 should be equal to or lower than point 1.&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with [[UMG General Concepts]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Find Point 1. Search for a Confirming Extreme.&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program searches for the first possible extreme that satisfies Single Bar Rule. This extreme is a candidate for point 1.&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; When a candidate for point 1 (hereinafter referred to as t.1 candifate) is found, all bars to the left (i.e., in the past) of the bar containing the t.1 candidate extreme are checked until one of the following events occurs:&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039; The place of the last intersection of the price level of the  t.1 candidate is found &amp;lt;ref&amp;gt;High or low equal to high or low of t.1 is an intersection&amp;lt;/ref&amp;gt;. In this case, the program searches for an absolute extreme that confirms point 1 from the intersection of the price with the t.1 candidate level (inclusive) to the bar of t.1 candidate (exclusive). There are two possibilities:&lt;br /&gt;
::: &#039;&#039;&#039;1.2.1.1.&#039;&#039;&#039; If the extreme is not found, the program searches for a new candidate for point 1.&lt;br /&gt;
::: &#039;&#039;&#039;1.2.1.2.&#039;&#039;&#039; If the absolute extreme is found, it is the beginning of the preceding trend. The point 1 is confirmed. &lt;br /&gt;
::: The program checks for the absence of extremes equal to point 1 from the Beginning of the preceding trend. &lt;br /&gt;
:::: &#039;&#039;&#039;1.2.1.2.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 1 is discarded (the program continues to process other t.1 candidates).&lt;br /&gt;
:::: &#039;&#039;&#039;1.2.1.2.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to process the next bar after point 1 according to point 2 of the Algorithm.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039; The program has reached the starting point of the chart (i.e., after the starting point of the chart, the levels of points 1 and 2 have never intersected). The program searches for a confirming extreme from right to left to the starting point of the chart. The options are similar to the sub-steps 1.2.1.1. and 1.2.1.2.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.3.&#039;&#039;&#039; The program has checked 50 bars &amp;lt;ref&amp;gt;The depth of the search for the extreme confirming point 1&amp;lt;/ref&amp;gt; preceding the bar of the potential point 1, and none of the above events have occurred. The program searches for a confirming extreme from right to left in the area of 50 bars before the potential point 1. The options are similar to the sub-steps 1.2.1.1. and 1.2.1.2.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step II. Searching for Points 3 and 2.&#039;&#039;&#039;===&lt;br /&gt;
If the program returns to this step during the construction of an alternative model, this branch of the algorithm stops.&lt;br /&gt;
&lt;br /&gt;
The bar being analyzed after point 1 (or in cases of repeated application of the step specified in the algorithm) is checked for non-exceedance of the level of point 1.&lt;br /&gt;
: &#039;&#039;&#039;2.1.&#039;&#039;&#039; If the level of point 1 is exceeded, the program discards this point 1.&lt;br /&gt;
: &#039;&#039;&#039;2.2. Searching for Point 3.&#039;&#039;&#039; If the level of point 1 is not exceeded, the bar being analyzed is checked by rule N1 as an extreme.&lt;br /&gt;
:: &#039;&#039;&#039;2.2.1.&#039;&#039;&#039; If this bar is not an extreme according to rule N1 (as a potential point 3)&amp;lt;ref&amp;gt; Here and further under the formulation (as a potential T.3) a reminder is implied that this extremum should be aligned with the potential T.1. (see the Rule of alternating extremes).&amp;lt;/ref&amp;gt;, the program checks the next bar in accordance with step 2.&lt;br /&gt;
:: &#039;&#039;&#039;2.2.2.&#039;&#039;&#039; If this bar is an extreme according to rule N1 (as a potential point 3), then&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.1.&#039;&#039;&#039; If this step (step 2) is applied again after confirmed candidates for point 3 have been found (i.e., such point 3, for which there is a point 2 between point 3 and point 1), but for one reason or another they were rejected, and the algorithm returned to the search for point 3, then the exceedance of the level of the previous candidate for point 3 by this extreme is checked.&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.1.A.&#039;&#039;&#039; If the check is not passed (i.e., if the level of the previous candidate for point 3 is not exceeded), then the program processes the next bar in accordance with this step (step 2) and further according to the algorithm.&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.1.B.&#039;&#039;&#039; If the check is passed, then the program proceeds to sub-step 2.2.2.2.&lt;br /&gt;
::: &#039;&#039;&#039;2.2.2.2. Searching for Point 2.&#039;&#039;&#039; The program searches for an absolute minimum (if point 1 and point 3 are high) or maximum (if point 1 and point 3 are low) in the range from point 1 to point 3 (hereinafter segment 1-3) as point 2 (hereinafter point 2). Then this bar is checked for &amp;quot;extremity&amp;quot; according to N1 rule. Two variants are possible &amp;lt;ref&amp;gt;As part of this particular check, it should be noted that bars T.1 and T.3 should not reach the level of T.2&amp;lt;/ref&amp;gt;:&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.2.A.&#039;&#039;&#039; If the bar is an extreme, then this is a potential point 2, and the potential point 3 becomes a confirmed point 3. In this case, the program proceeds to step 3.&lt;br /&gt;
:::: &#039;&#039;&#039;2.2.2.2.B.&#039;&#039;&#039; The bar is not an extreme. In this case, the program begins to search for another candidate for point 3, for which it returns to the beginning of step 2.&lt;br /&gt;
&lt;br /&gt;
If the program has processed 50 bars &amp;lt;ref&amp;gt;The range of continuous search is t.3 in one iteration for all models except EAM&amp;lt;/ref&amp;gt; in a row in accordance with this step (step 2), and potential points 2 and 3 have not been found (i.e., the program has not yet moved to another step of the algorithm), then this potential point 1 is discarded.&lt;br /&gt;
&lt;br /&gt;
If there are 150 or more bars &amp;lt;ref&amp;gt;Maximum search range t3 for all models except EAM&amp;lt;/ref&amp;gt; between the potential point 1 and the bar being analyzed, and the program has not yet moved to another step of the algorithm, this potential point 1 is discarded.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step III. Building TL. Search for t.4&#039;&#039;&#039;===&lt;br /&gt;
: &#039;&#039;&#039;3.1. Checking for Fragmentation of the Base:&#039;&#039;&#039; After finding candidates for points 1, 2, and 3, a check is performed for the fragmentation of the Base. This means that there should be no extremes, co-directed with t.1, between the levels of t.1 and t.3 (Extremes that Fragment the Base, hereinafter referred to as EFB).&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;3.1.1:&#039;&#039;&#039; If such extremes are present, the program checks each EFB for the presence of a confirming counter-directed extreme on the section from the last intersection of the price level of the EFB to the EFB (analogous to the search for a confirming extreme of a potential t.1 in sub-step 1.2.1). If the EFB does not have a confirming extreme, then such an EFB is no longer considered (i.e., if there are no EFBs with confirming extremes, then the check is passed). If there is at least 1 EFB with a confirming extreme, then:&lt;br /&gt;
:: - The Base is fragmented;&lt;br /&gt;
:: - The confirmed t.3 becomes a cancelled t.3;&lt;br /&gt;
:: The program searches for a new t.3, for which it processes the next bar after the bar of the last cancelled t.3 according to step 2 of the algorithm.&lt;br /&gt;
:: &#039;&#039;&#039;3.1.2:&#039;&#039;&#039; If the check is successful and no EFBs are found (including if there are no confirmed EFBs), then the program proceeds to sub-step 3.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.2. Building and Checking TL on the 1-3 Section&#039;&#039;&#039;&lt;br /&gt;
: &#039;&#039;&#039;Determining the Section on Which t.3&#039; Can Be Found&#039;&#039;&#039;&lt;br /&gt;
: &#039;&#039;&#039;Searching for t.3&#039;.&#039;&#039;&#039;&lt;br /&gt;
:The parameters of the Trend Line passing through t.1 and t.3 (hereinafter TL) are calculated. TL is checked for breakthroughs on the 1-3 section.&lt;br /&gt;
:: &#039;&#039;&#039;3.2.1.&#039;&#039;&#039; TL is Broken&lt;br /&gt;
:: The bar of the confirmed t.3 is checked for breaking the level of t.2.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.1.1.&#039;&#039;&#039; If the level of t.2 is broken by the bar of the confirmed t.3, the confirmed t.3 becomes a cancelled t.3. The program searches for a new t.3. To do this, the bar that broke the level of t.2 is processed according to sub-step 3.4.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.1.2.&#039;&#039;&#039; If the level of t.2 is not broken by the bar of the confirmed t.3, then the next bar is processed according to sub-step 3.2.3.&lt;br /&gt;
:: &#039;&#039;&#039;3.2.2.&#039;&#039;&#039; TL is Not Broken - the bar following the bar of the confirmed t.3 is processed according to sub-step 3.3.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;3.2.3. Determining the Section on Which t.3&#039; Can Be Found&#039;&#039;&#039;&lt;br /&gt;
::The analyzed bar is checked for breaking the level of the confirmed t.3.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.3.1.&#039;&#039;&#039; If the level of the confirmed t.3 is broken, the confirmed t.3 becomes a cancelled t.3. The program searches for a new t.3. For this, the bar that broke the level of the confirmed t.3 is processed according to step 2 and further according to the algorithm.&lt;br /&gt;
::: &#039;&#039;&#039;3.2.3.2.&#039;&#039;&#039; If the level of t.3 is not broken, the program checks the analyzed bar for breaking the level of t.2.&lt;br /&gt;
:::: &#039;&#039;&#039;3.2.3.2.1.&#039;&#039;&#039; If the level of t.2 is not broken, the program analyzes the next bar according to sub-step 3.2.3.&lt;br /&gt;
:::: &#039;&#039;&#039;3.2.3.2.2. Searching for t.3&#039;.&#039;&#039;&#039;&lt;br /&gt;
:::: If it breaks the level of t.2, then the program looks for such a point 3&#039; (hereinafter t.3&#039;) through which a line can be drawn from t.1 to t.3&#039;, which will not contain extra touches by the price on the section from the bar of t.1 to the bar following the bar of t.3&#039; (inclusive), and this line should not contain extra breakthroughs (not touches) by the price on the section to the bar that broke the level of t.2 (not inclusive).&lt;br /&gt;
::::: &#039;&#039;&#039;3.2.3.2.2.A.&#039;&#039;&#039; If t.3&#039; is found, then the TL is rebuilt through t.3&#039; (i.e., TL is now the line from t.1 to t.3&#039;), and the algorithm searches for a potential t.4, for which it processes the bar that broke the level of t.2 (but if the bar that broke the level of t.2 coincides with the bar of t.3&#039;, then the program immediately proceeds to process the next bar) according to sub-step 3.4.&lt;br /&gt;
::::: &#039;&#039;&#039;3.2.3.2.2.B.&#039;&#039;&#039; If the point t.3&#039; is not found, then the confirmed t.3 becomes a cancelled t.3. The program searches for a new t.3, for which it processes each previously unprocessed bar for the cancelled t.3 according to step 2 and further according to the algorithm. &lt;br /&gt;
&lt;br /&gt;
: If between t.1 and the analyzed bar there are 150 or more bars, and the program has not yet moved to another step of the algorithm, this potential t.1 is discarded.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.3. Checking TL on the Section After t.3.&#039;&#039;&#039;&lt;br /&gt;
: The analyzed bar is checked for overcoming TL.&lt;br /&gt;
:: &#039;&#039;&#039;3.3.1. TL is not overcome&#039;&#039;&#039; - the analyzed bar is processed according to sub-step 3.4.&lt;br /&gt;
:: &#039;&#039;&#039;3.3.2. TL is overcome.&#039;&#039;&#039; In this case, there are 2 options:&lt;br /&gt;
::: &#039;&#039;&#039;3.3.2.1.&#039;&#039;&#039; If between the analyzed bar (not inclusive) and the bar of t.3 (inclusive) the level of t.2 was not reached, the program performs a search for t.3&#039;, for which it moves to sub-step 3.2.3.&lt;br /&gt;
::: &#039;&#039;&#039;3.3.2.2.&#039;&#039;&#039; If between the analyzed bar (not inclusive) and the bar of t.3 (inclusive) the level of t.2 was reached, the program performs a search for a new candidate for t.3. For this, the analyzed bar is processed according to step 2 and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.4: Searching for Potential or Alternative t.4&#039;&#039;&#039;&lt;br /&gt;
: If the program is searching for t.4 and the analyzed bar is further from t.1 than 5 times the distance between t.1 and t.3, then this potential t.1 is discarded.&lt;br /&gt;
: If the program is searching for an alternative t.4 and the analyzed bar is further from t.1 than 10 times the number of bars between t.1 and t.3, then the search for an alternative t.4 is terminated.&lt;br /&gt;
: The analyzed bar is checked for being an extreme according to rule N1 (as a potential t.4).&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;Step 3.4.1: If the Bar is not an Extreme&#039;&#039;&#039;&lt;br /&gt;
:: The program checks the analyzed bar for breaking through (in this case, not touching) the TL.&lt;br /&gt;
::: &#039;&#039;&#039;Step 3.4.1.1:&#039;&#039;&#039; If the TL is not reached (not broken), then the program processes the next bar according to step 3.4.&lt;br /&gt;
::: &#039;&#039;&#039;Step 3.4.1.2:&#039;&#039;&#039; If the TL is broken, then the analyzed bar is processed similarly to step 3.3.2.&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;Step 3.4.2: If the Bar is an Extreme&#039;&#039;&#039;&lt;br /&gt;
:: This is potentially t.4, proceed to step 3.5.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;3.5. Checking the Position of t.4&#039;&#039;&#039;&lt;br /&gt;
: The program checks the position of the potential t.4 relative to the extreme of t.2. There are 3 possible scenarios:&lt;br /&gt;
:: &#039;&#039;&#039;3.5.1.&#039;&#039;&#039; The level of the potential t.4 is closer to the level of t.1 than the level of t.2. A candidate for t.4 for the Wedge model is found. In this case:&lt;br /&gt;
::: &#039;&#039;&#039;3.5.1.0.&#039;&#039;&#039; The bar of the potential t.4 is checked for the presence between it and the bar of t.3 of bars containing price values&lt;br /&gt;
:::: more distant from t.3 than the value of the potential t.4, or&lt;br /&gt;
:::: equal to t.4.&lt;br /&gt;
:::: This is a check for the potential absoluteness of the extreme of the potential t.4. Possible options are:&lt;br /&gt;
::::: &#039;&#039;&#039;3.5.1.0.1.&#039;&#039;&#039; The potential t.4 is not a potentially absolute extreme (there are bars more distant from t.3). In this case, the next bar is processed according to sub-step 3.4.&lt;br /&gt;
::::: &#039;&#039;&#039;3.5.1.0.2.&#039;&#039;&#039; The potential t.4 is a potentially absolute extreme. In this case checking if t.2-t.4 line (this is the Aims Line, hereinafter - AL) is crossed by the price in the section between t.2 and t.4 (hereinafter - section 2-4). There are 2 options – 3.5.1.1. and 3.5.1.2.&lt;br /&gt;
:::::: &#039;&#039;&#039;3.5.1.1.&#039;&#039;&#039; If AL is crossed, the program checks the analyzed bar for reaching the TL.&lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.1.1.&#039;&#039;&#039; If the TL is not reached - the next bar is processed according to sub-step 3.4.&lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.1.2.&#039;&#039;&#039; If the TL is reached, the program searches for a new candidate in t.3/t.3&#039;. To do this, the analyzed bar is processed according to sub-step 3.2.3 and further according to the algorithm.&lt;br /&gt;
:::::: &#039;&#039;&#039;3.5.1.2.&#039;&#039;&#039; If there is no linecrossing, the bar t.4 is checked for reaching the TL. The following options are possible:&lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.2.1.&#039;&#039;&#039; If the bar t.4 reached the TL, then the [Wedge Found] Wedge model is fixed, for which the level of intersection of the TL and the AL is calculated, after which the program searches for t.3’ with the same points 1,2,3, or searches for a new t.3. To do this, the program processes the analyzed bar (in this case, the bar t.4, while reaching the TL) starting from sub-step 3.2.3. Model&#039;s Type (parameter G1) = WEDGE . &lt;br /&gt;
:::::::: &#039;&#039;&#039;3.5.1.2.2.&#039;&#039;&#039; If the t.4 bar did not reach the TL, then the next bar after it (and when reapplying this step - the next bar after the previously analyzed bar) is analyzed for reaching the TL. At the same time, a check is made for not overcoming the distance equal to (t.1-t.3)*10. If the distance is overcome, then we return (go in a cycle) to the search for t.3. The following options are possible:&lt;br /&gt;
:::::::::: &#039;&#039;&#039;3.5.1.2.2.1.&#039;&#039;&#039; If the analyzed bar reached the TL, then the program acts in analogy with sub-step 3.5.1.2.1. (i.e., the [Wedge Found] Wedge model is fixed and in a new branch of the algorithm the program processes the analyzed bar (in this case, the bar that reached the TL) starting from sub-step 3.2.3.&lt;br /&gt;
:::::::::: &#039;&#039;&#039;3.5.1.2.2.2.&#039;&#039;&#039; If the TL is not reached, then the analyzed bar is checked for reaching the level of t.4. The following options are possible:&lt;br /&gt;
:::::::::::: &#039;&#039;&#039;3.5.1.2.2.2.A.&#039;&#039;&#039; If the level of t.4 is not reached, the program analyzes the next bar for reaching the TL, options are similar to sub-steps 3.5.1.2.2.1. and 3.5.1.2.2.2.&lt;br /&gt;
:::::::::::: &#039;&#039;&#039;3.5.1.2.2.2.B.&#039;&#039;&#039; If the level of t.4 is reached, then the program checks the analyzed bar according to sub-step 3.4.&lt;br /&gt;
:: &#039;&#039;&#039;3.5.2.&#039;&#039;&#039; The level of the potential t.4 is further from the level of t.1 than the level of the potential t.2 - transition to step 4.&lt;br /&gt;
:: &#039;&#039;&#039;3.5.3.&#039;&#039;&#039; The level of the potential t.4 is equal to the level of the potential t.2 - the program checks whether the bar of the considered candidate in t.4 has broken through (touched) the Trend Line (TL).&lt;br /&gt;
::: &#039;&#039;&#039;3.5.3.1. If not&#039;&#039;&#039; - the program searches for the next candidate for t.4. For this, the program processes the next bar according to sub-step 3.4.&lt;br /&gt;
::: &#039;&#039;&#039;3.5.3.2. If yes&#039;&#039;&#039; – the program searches for a new t.3, for which it analyzes the next bar according to step 2 and further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step IV. Checking for Intersection of the Aim Line (AL) by Price on Section 2-4&#039;&#039;&#039;===&lt;br /&gt;
The program checks for intersections of the Aim Line by price on the section from t.2 to t.4 (hereafter - section 2-4).&lt;br /&gt;
: &#039;&#039;&#039;4.1.&#039;&#039;&#039; If the AL is intersected by price on section 2-4 the program checks the analyzed bar (which is also the bar of the potential t.4) for a breakout (in this case, not a touch) of the Trend Line (TL).&lt;br /&gt;
:: &#039;&#039;&#039;4.1.1.&#039;&#039;&#039; If the TL is not reached, the program processes the next bar according to step 3.4.&lt;br /&gt;
:: &#039;&#039;&#039;4.1.2.&#039;&#039;&#039; If the TL is broken,&lt;br /&gt;
::: - t.3 becomes the cancelled t.3;&lt;br /&gt;
::: - the program searches for a new candidate for t.3. To do this, the analyzed bar is processed according to step 2.&lt;br /&gt;
: &#039;&#039;&#039;4.2.&#039;&#039;&#039; If the AL is not intersected by price on section 2-4 the program proceeds to step 5.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step V. Model Fixation at the TL Breakthrough. Search for t.5. Search for t.6.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
The bar t.4 (or in repeated applications of the step, the analyzed bar specified in the algorithm) is checked for reaching TL. The following scenarios are possible:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.1.&#039;&#039;&#039; TL is reached (there is a touch of TL). In this case, the program checks whether the level of t.4 has been surpassed in the section from t.4 to the moment of reaching the price of TL (excluding the analyzed - i.e., the bar that broke through TL). This is possible with repeated applications of the step, i.e., when not t.4 will be analyzed, but one of the subsequent bars.&lt;br /&gt;
:: &#039;&#039;&#039;5.1.1.&#039;&#039;&#039; If the level of t.4 is not surpassed, then the model is considered formed [The model is formed without 6];&lt;br /&gt;
:: Then the program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.1.2.&#039;&#039;&#039; If the level of t.4 is surpassed, the program looks for an absolute extreme in the section from t.4 (excluding) to the bar that reached the level of t.4 (inclusive), as point 5 (hereinafter - t.5).&lt;br /&gt;
:: When searching for a potential t.5, it is necessary to take into account the requirement: in a particular case, if the bar t.4 belongs to the extreme, co-directed with t.5, t.5 must break through the level of this extreme (i.e., the level of t.5 should be further from the level of t.4).&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.1.&#039;&#039;&#039; If the extreme is found - this is a potential t.5.&lt;br /&gt;
::: There are 2 scenarios:&lt;br /&gt;
:::: &#039;&#039;&#039;5.1.2.1.1.&#039;&#039;&#039; T.5 belongs to the bar, which broke through the level of t.4. The program checks whether the bar, which contains t.5 (and which broke through the level of t.4), is a bar that also contains and an absolute extreme in the section from this bar (inclusive) to the point of breaking through TL, (i.e., the current bar) (excluding). There are 2 scenarios:&lt;br /&gt;
::::: &#039;&#039;&#039;5.1.2.1.1.1.&#039;&#039;&#039; The bar t.5 contains an absolute extreme, co-directed with t.4. In this case, the absolute extreme, co-directed with t.4, is a new potential t.4. The program builds an AL through this t.4 and checks the AL for the absence of price intersections in the section 2-4.&lt;br /&gt;
::::: There are 2 scenarios:&lt;br /&gt;
::::::: &#039;&#039;&#039;5.1.2.1.1.1.A.&#039;&#039;&#039; On the section 2-4, the AL intersects with the price. In this case -t.3 becomes the canceled t.3; - the program is looking for a new t.3, for which it processes the bar that reached TL according to step 2 and further according to the algorithm.&lt;br /&gt;
::::::: &#039;&#039;&#039;5.1.2.1.1.1.B.&#039;&#039;&#039; On the section 2-4, the AL does not intersect with the price. The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;5.1.2.1.1.2.&#039;&#039;&#039; The bar t.5 does not contain an absolute extreme, co-directed with t.4. The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.1.2.1.2.&#039;&#039;&#039; T.5. belongs to the bar between the bar t.4 and the bar that broke through the level of t.4. The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.1.2.2.&#039;&#039;&#039; The extreme is not found, the program is looking for the next candidate for t.4. To do this, the program processes the bar that has surpassed the level of the potential t.4 according to step 3.4.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.2.&#039;&#039;&#039; LT is not reached. If the analyzed bar contains a potential t.4, the program checks the next bar according to step 5. If the analyzed bar does not contain a potential t.4, then it is subjected to simultaneous verification:&lt;br /&gt;
&lt;br /&gt;
: for extremity according to rule N1 (as t.5);&lt;br /&gt;
: for the presence between the analyzed bar and the bar of the potential t.4 of bars containing price values, more distant from the potential t.4, than the most distant from t.4 value of the analyzed bar, as well as&lt;br /&gt;
:-the presence between the analyzed bar and the bar t.4 of price values equal to the most distant value of the price of the analyzed bar (this is a check for the potential absoluteness of the extreme of the potential t.5).&lt;br /&gt;
:: &#039;&#039;&#039;5.2.1.&#039;&#039;&#039; If the bar is an extreme and it is potentially absolute, then this bar is a potential t.5. The program checks this bar for reaching the level of t.4. There are 2 scenarios:&lt;br /&gt;
::: &#039;&#039;&#039;5.2.1.1.&#039;&#039;&#039; If the level of t.4 is reached (confirmed by the bar of the potential t.5)&lt;br /&gt;
::: The program checks whether the bar, which contains t.5 (and which broke through the level of t.4), also contains an extreme, co-directed with the bar t.4:&lt;br /&gt;
::: There are 2 scenarios:&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.1.1.1.&#039;&#039;&#039; The bar t.5 contains an extreme, co-directed with t.4. In this case, the absolute extreme, co-directed with t.4, is a new potential t.4. The program rebuilds the AL through it and checks this LC for the presence of intersections in the section t.2-t.4. There are 2 scenarios:&lt;br /&gt;
::::: &#039;&#039;&#039;5.2.1.1.1.A&#039;&#039;&#039; On the section 2-4, the AL intersects with the price. the program processes the next bar according to steps 3.4.&lt;br /&gt;
::::: &#039;&#039;&#039;5.2.1.1.1.B&#039;&#039;&#039; On the section 2-4, the AL does not intersect with the price. The program checks the next bar according to step 5.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.1.1.2.&#039;&#039;&#039; The bar t.5 does not contain an extreme, co-directed with t.4. In this case, the confirmation of the bar t.4 by the bar t.5 occurs. &lt;br /&gt;
:::: The program proceeds to step 6. (there was an idea to redo to step 5.3.)&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.2.1.2.&#039;&#039;&#039; If the level of t.4 is not reached. The program proceeds to step 6 (there was an idea to redo to step 5.3.) At the same time, the program checks the next bar in accordance with this item (i.e., according to step 5), to find another model with the same t.1, t.2, t.3, t.4, but another t.5.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.2.2.&#039;&#039;&#039; If the bar is not an extreme, or is not potentially absolute, then the program checks it for reaching the level of the potential t.4.&lt;br /&gt;
::: &#039;&#039;&#039;5.2.2.1.&#039;&#039;&#039; If the bar reaches the level of t.4, then the program looks for an absolute extreme between t.4 and the point of confirmation t.4 (i.e., repeated after t.4 reaching the level of t.4) as t.5. There are 2 scenarios:&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.2.1.1.&#039;&#039;&#039; If t.5 is present, the program proceeds to step 6 (there was an idea to redo to step 5.3.)&lt;br /&gt;
:::: &#039;&#039;&#039;5.2.2.1.2.&#039;&#039;&#039; If t.5 is absent, the program proceeds to search for a new t.4, for which it processes the bar that reached the level of t.4 starting from step 3.4.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.2.2.2.&#039;&#039;&#039; If the bar does not reach the level of the potential t.4, then the program processes the next bar from the beginning of this step (i.e., according to step 5).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5.3.&#039;&#039;&#039; Algorithm for determining the presumed real p.6:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.1.&#039;&#039;&#039; Apply Algorithm I to the models, excluding AM.&lt;br /&gt;
: Identify the price value that is farthest from the t.1 level, which is the level the price reached from t.3 to the first time the price touches the TL (referred to as the touch of TL). The touch of ЛТ occurs after t.4, indicating the moment when the model is formed.&lt;br /&gt;
:The extremum identified in step 2 is considered the real t.6.&lt;br /&gt;
:Instead of x&#039;s representing price value or time and date, the report displays the following:&lt;br /&gt;
: P6: xxxxx (price value)&lt;br /&gt;
: P6t: xx:xx:xxxx (time and date)&lt;br /&gt;
&lt;br /&gt;
:The technical parameters P6 and P6t are finalized at the moment the model is fully formed, which is when the price touches TL after t.4.&lt;br /&gt;
:P6supp: -&lt;br /&gt;
:P6suppt: -&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.3.2.&#039;&#039;&#039; If the price has not touched ЛТ after t.4 of the analyzed model at the moment of determining the presumed real p.6, the program will check if the number of bars formed after t.4 is more than 300.&lt;br /&gt;
:: &#039;&#039;&#039;5.3.2.1.&#039;&#039;&#039; If the number of bars formed after t.4 exceeds 300, the presumed real p.6 for this model will not be determined.&lt;br /&gt;
:: The report should display the following information:&lt;br /&gt;
:: P6: --&lt;br /&gt;
:: P6t: -- &lt;br /&gt;
:: P6supp: --&lt;br /&gt;
:: P6suppt: --&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the number of bars formed after t.4 does not exceed 300, several scenarios are possible.&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.1.&#039;&#039;&#039; One scenario is if the price has surpassed the t.4 level (meaning both t.4 and t.5 are confirmed). In this case, the program calculates the distance between the t.1 and t.4 levels.&lt;br /&gt;
:::: This distance is then marked off from t.4 towards the t.6 level, either upwards for an ascending model or downwards for a descending model.&lt;br /&gt;
:::: The program then checks if the price has surpassed this level in the section after t.4 of the analyzed model.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.2.&#039;&#039;&#039; If the price has reached t.4 level, the report does not provide information on the presumed real p.6. The report shows the following data:&lt;br /&gt;
&lt;br /&gt;
:::: P6: --&lt;br /&gt;
:::: P6t: -- &lt;br /&gt;
:::: P6supp: --&lt;br /&gt;
:::: P6suppt: --&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;5.3.2.2.3.&#039;&#039;&#039; In the given scenario, the program checks if the price has surpassed a the t.4 level. If it hasn&#039;t, the program then identifies the price value that is farthest from the level reached after a specific time point (t.4). This extreme value is considered as the presumed real p.6. In this situation, the report will show the following information instead of x&#039;s (which represent either price value or time and date):&lt;br /&gt;
&lt;br /&gt;
:::: P6: --&lt;br /&gt;
:::: P6t: -- &lt;br /&gt;
:::: Additionally, the report will display the following details related to the presumed real p.6:&lt;br /&gt;
:::: P6supp (the price value)&lt;br /&gt;
:::: P6suppt (a specific time and date in the format xx:xx:xxxx)&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;5.3.2.2.&#039;&#039;&#039; If the price has not surpassed the level of t.4 (meaning t.4 and t.5 are not confirmed), the potential t.4 is considered as the presumed real p.6. In this scenario, the report displays the following:&lt;br /&gt;
::: P6: --&lt;br /&gt;
::: P6t: -- &lt;br /&gt;
::: Additionally, the report will display the following details related to the presumed real p.6:&lt;br /&gt;
::: P6supp (the price value)&lt;br /&gt;
::: P6suppt (a specific time and date in the format xx:xx:xxxx)&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.3.3.&#039;&#039;&#039; For AM the process is similar, but with one key difference. The TL is not used when determining the real or presumed p.6. Instead, the level of t.3 of the model under consideration is used to determine the real or presumed p.6.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;5.4.&#039;&#039;&#039; Algorithm for Determining Whether the Model is from the Start of the Trend Model or Along the Trend (Trend-Following) Model&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.4.1.&#039;&#039;&#039; For main models except for EAM &lt;br /&gt;
:: The program sequentially checks bars from right to left (i.e., into the past) from the bar containing the extreme candidate at t.2 until it finds a price intersection of t.2 level .&lt;br /&gt;
&lt;br /&gt;
::* If the program has checked 50 bars up to t.1 of the model and such an intersection is not found, the model is considered a trend-following model.&lt;br /&gt;
::* If the intersection lies to the left of the (presumed) starting point of the preceding trend (related to this model), the report displays:  &lt;br /&gt;
:: G3: HTModel&lt;br /&gt;
:: * If the intersection lies to the right of the (presumed) starting point of the preceding trend, the model is considered a model from the start of the trend, the report displays: &lt;br /&gt;
:: G3: BTModel&lt;br /&gt;
:: * If the program has checked less than 50 bars up to t.1 of the model and reached the initial bar of the chart, and the sought-after intersection is not found, the model is considered a trend-following model, the report displays:  &lt;br /&gt;
:: G3: NoData&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;5.4.2.&#039;&#039;&#039; For EAM, the same applies, but the program looks for an intersection at the level of t.4 instead of an intersection at the level of t.2.&lt;br /&gt;
&lt;br /&gt;
:The program proceeds to step 6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step VI. Search for Tangents and Construction of the Auxiliary Attraction Model&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.1.&#039;&#039;&#039; Search for t.2’&lt;br /&gt;
&lt;br /&gt;
: The program conducts a search for t.2’ (tangent, i.e., the rule N1 is removed for it), which will yield the LC, without any intersections with the price in the section between T.1 and T.2. Bars are checked from right to left starting from the bar t.2 to the bar t.1 inclusive (further – section 1-2). Point 2’ (further – t.2’) can coincide with t.2, if the LC through t.2 does not have extra price intersections on 1-2, however t.2’ cannot belong to the bar t.1.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6.1.1.&#039;&#039;&#039; If t.2’ is found &lt;br /&gt;
&lt;br /&gt;
:: If t.2’ is found (including if t.2’ coincides with t.2), then the program calculates the Line of goals by the tangent from t.2’ to t.4 (further -AL’). It is then checked whether the considered model has the status [The model is formed without point 6].&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.1.1.1.&#039;&#039;&#039; The model has the status [The model is formed without point 6] &lt;br /&gt;
&lt;br /&gt;
::: If the model has the status [The model is formed without point 6], the program proceeds to step 7.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.1.1.2.&#039;&#039;&#039; The model does not have the status [The model is formed without point 6] &lt;br /&gt;
&lt;br /&gt;
::: If the model does not have the status [The model is formed without point 6], the program proceeds to sub-step 6.2.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.1.2.&#039;&#039;&#039; If T.2’ is not found &lt;br /&gt;
&lt;br /&gt;
::: If t.2’ is not found (i.e., it is impossible to build such a line through points t.2’ and t.4, which will not contain extra points on section 1-2), then this is a model without an Auxiliary AM. Theprogram proceeds to step 7.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6.2.&#039;&#039;&#039; Search for t.3’ of the Auxiliary AM &lt;br /&gt;
&lt;br /&gt;
:: The program constructs a line from t.3 (or t.3’ if it exists) to t.5 (Trend Line of the Auxiliary Attraction Model, further - TLam) and checks it for the presence of price intersections in the section between t.3 and t.5.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.2.1.&#039;&#039;&#039; Intersections are found &lt;br /&gt;
&lt;br /&gt;
::: If intersections are found, the line t.3/t.3’-t.5 in this case is not displayed on the chart. The program searches for such point 3’ of the Auxiliary Attraction Model (further t.3’am), through which it is possible to construct a line, which will not have price intersections on the section from t.3/t.3’ to t.5.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;6.2.1.1.&#039;&#039;&#039; If t.3’am is found&lt;br /&gt;
&lt;br /&gt;
:::: If t.3’am is found, then the program constructs the Line of trend of the auxiliary model of attraction by the tangent from t.3’am to t.5 (further – TLam’) and calculates the level of intersection of AL’ and TLmp’ (further – calculated t.6). There are 2 options:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;6.2.1.1.1.&#039;&#039;&#039; If the calculated t.6 is found&lt;br /&gt;
&lt;br /&gt;
:::: If the calculated t.6 is found, then a check is carried out for the minimum ratio of the time segment t.2-t.4 to the segment t.4-t.6 for the Auxiliary AM (should be within 0.5). If the check is not passed, then the model does not have an auxiliary MP (in this case LTmp is not displayed on the chart), the algorithm proceeds to sub-step 6.3. If the check is passed, the program checks whether the bar t.5 breaks through the level of the calculated p.6.&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;6.2.1.1.1.A.&#039;&#039;&#039; If the bar t.5 does not break through the level of the calculated p.6 &lt;br /&gt;
&lt;br /&gt;
::::: If the t.5  bar does not break through the level of the calculated p.6, then the program proceeds to sub-step 6.3. In the report is displayed: AUX AM&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;6.2.1.1.1.B.&#039;&#039;&#039; If the t.5 bar breaks through the level of the calculated p.6&lt;br /&gt;
&lt;br /&gt;
::::: If the t.5 bar breaks through the level of the calculated p.6, then this AM cannot be built and the program is looking for a new t.4. for this the next bar is checked according to sub-step 3.4., or in case if the model has a mark draw_flag this branch of the algorithm stops.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;6.2.1.1.2.&#039;&#039;&#039; The calculated point 6-th is not found&lt;br /&gt;
&lt;br /&gt;
:::: The calculated 6-th is not found (i.e., the lines do not intersect). In this case TLam is not displayed on the chart. In the report is displayed: AUX NoAM The program proceeds to sub-step 6.3.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;6.2.1.2.&#039;&#039;&#039; If t.3’am is not found&lt;br /&gt;
&lt;br /&gt;
::: If t.3’am is not found, then in the report is displayed: AUX NoAM The program proceeds to step 7.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;6.2.2.&#039;&#039;&#039; Intersections are not found &lt;br /&gt;
&lt;br /&gt;
:: Intersections are not found. In this case, the program calculates the level of intersection of TLam and AL’ (this is the level of the calculated p.6). There are 2 options according to sub-steps 6.2.1.1.1. and 6.2.1.1.2.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;6.3.&#039;&#039;&#039; Construction of the Auxiliary AM through t.5&lt;br /&gt;
&lt;br /&gt;
: The program checks for the presence of t.5’ (the first possible local extremum in time on the section T.4-T.5). If T.5’ is found, in the report is displayed: AimsBlock5’ 5&#039; If t.5’ is not, then in the report is displayed: AimsBlock5’ No5&#039;&lt;br /&gt;
&lt;br /&gt;
: If t.5&#039; is present, the program will follow a similar process as sub-step 6.2 to construct the Trend Line for the Auxiliary Attraction Model. However, this time it will start from t.5&#039; and, if necessary, use another suitable t.3&#039; (referred to as t.3&#039;am5&#039;). If the program successfully constructs a Auxiliary AM through t.5&#039; (indicating convergence of the lines), the model will be labeled as [The AM is built through t.5&#039;] in the report. &lt;br /&gt;
: The report will display: &lt;br /&gt;
: AUX5’: AUX5’&lt;br /&gt;
: Alternatively, if the MP is not built through t.5&#039;, the program will display: &lt;br /&gt;
: AUX5’: NoAUX5’ &lt;br /&gt;
: After this, the program will proceed to step.7.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039; Step VII. Determination of SP and Model Type.&#039;&#039;&#039;===&lt;br /&gt;
The program recalls whether the model was built through t.2 or through t.2’&lt;br /&gt;
: &#039;&#039;&#039;7.1.&#039;&#039;&#039; In case if AL is built through t.2 does not have intersection with the price on the section t.1-t.2, or if there is ALam, built through t.2’. Here and further it is assumed that if the line, built through t.2 to t.4 does not have intersections with the price on the section t.1-t.2, then it is considered that t.2’=t.2 and AL’=AL.&lt;br /&gt;
&lt;br /&gt;
: The type of the model is determined by the position of the intersection point of TL and AL’ (this is the line built from t.2’ to t.4) in relation to t.4:&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.1.1.&#039;&#039;&#039; The intersection point of TL and AL’ lies to the right of t.4. In this case the intersection point of the lines is the calculated point 6 (further - calculated t.6).), then the program calculates the ratio of time segments from t.1 to t.4 and from t.4 to calculated point 6 for AM.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.1.1.&#039;&#039;&#039; If the section from t.1 to t.4, multiplied by 3 is greater than the section from t.4 to the calculated point 6 for CMP, this model&#039;s  type is  AM.&lt;br /&gt;
::: G1: AM&lt;br /&gt;
&lt;br /&gt;
::: If the model under consideration is AM and at the same time it is formed (i.e. after t.4 the TL is broken through), the program checks each bar after the t.4 bar, until one of the following events:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.1.1.1.1.&#039;&#039;&#039; A bar is found that has reached the level of t.3 (but has not reached the level of t.4). In this case, this branch of the algorithm is completed.&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.1.1.1.2.&#039;&#039;&#039; A bar is found that has reached the level of t.4 (while either not reaching or reaching the level of t.3).&lt;br /&gt;
&lt;br /&gt;
:::: -in case of the presence of the draw_flag label – this branch stops;&lt;br /&gt;
:::: -in another case, the program checks for the presence on the section from t.4 (not including) to the bar, which reached the level of t.4 (inclusive) of the extremum, opposite to the extremum t.4 (i.e. co-directed with the extremum t.1 of the analyzed model. There are 2 options:&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;7.1.1.1.2.A.&#039;&#039;&#039; The extremum is found. In this case, the algorithm proceeds to step 8.&lt;br /&gt;
&lt;br /&gt;
::::: &#039;&#039;&#039;7.1.1.1.2.B.&#039;&#039;&#039; The extremum is not found. In this case the status of the formed model is canceled (the model is discarded);&lt;br /&gt;
::::: -t.3 becomes the canceled t.3;&lt;br /&gt;
::::: -the program searches for the next candidate for t.3. For this, the program processes the bar that broke through the TL according to step 2.&lt;br /&gt;
:::  &#039;&#039;&#039;7.1.1.2.&#039;&#039;&#039; If&lt;br /&gt;
::: -the section from t.1 to t.4, multiplied by 3 is less than or equal to the section from t.4 to the calculated t.6 (for converging lines) and at the same time&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is greater than the section t.4-t.6, this model is AM/DBM&lt;br /&gt;
::: G1: AM/DBM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.1.3.&#039;&#039;&#039; The section from t.1 to t.4 multiplied by 12 is less than or equal to the section from SP to t.1 (for TL and AL converging to the left), then this model is DBM. &lt;br /&gt;
::: G1: DBM&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.1.2.&#039;&#039;&#039; The intersection point of TL and AL’ (AL’ – this is the line from t.2’ – t.4) lies to the left of t.4 —this point is qualified as the Sacral Point (further – SP).&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.2.1.&#039;&#039;&#039; If&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 3 is less than or equal to the section from SP to t.1, and at the same time;&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is greater than the section from SP to t.1 then this is EM/DBM &lt;br /&gt;
::: G1: EM/DBM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.2.2.&#039;&#039;&#039; If the section from t.1 to t.4 multiplied by 3 is greater than the section from SP to t.1, this is eng. - EM.&lt;br /&gt;
::: G1: EM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.1.2.3.&#039;&#039;&#039; If&lt;br /&gt;
::: -TL and AL of the model are parallel, or&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is less than or equal to the section t.4-t.6 (for TL and AL converging to the right);&lt;br /&gt;
::: -the section from t.1 to t.4 multiplied by 12 is less than or equal to the section from SP to t.1 (for TL and AL converging to the left), then this model is eng. - DBM &lt;br /&gt;
::: G1: DBM&lt;br /&gt;
&lt;br /&gt;
::: The program proceeds to step 8.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;7.2.&#039;&#039;&#039; If for this model it was impossible to construct AL (AL’) in such a way that there were no extra intersections on the section t.1 (inclusive) - t.2, then the program checks where TL and AL from t.2 intersect.&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.2.1.&#039;&#039;&#039; If the lines intersect to the right (i.e. after t.4), then&lt;br /&gt;
::: &#039;&#039;&#039;7.2.1.1.&#039;&#039;&#039; if the section from t.1 to t.4, multiplied by 3 is greater than the section from t.4 to the calculated t.6 (for converging lines), then this model is incorrect.&lt;br /&gt;
::: There are one of 2 options:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.1.1.1&#039;&#039;&#039; If the TL of the incorrect AM is broken through by the t.4 bar or the bar immediately following t.4, then&lt;br /&gt;
&lt;br /&gt;
:::: -in case of the presence of the draw_flag label – this branch stops;&lt;br /&gt;
:::: -in another case t.3 becomes the canceled t.3 and the program searches for a new t.3, for this it processes the bar that broke through the TL AM according to step 2.&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.1.1.2.&#039;&#039;&#039; If the TL of the incorrect CMP is not broken through by the t.4 bar or the bar immediately following it, then the program searches for a new t.4, for this the next bar is checked according to sub-step 3.4.&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.1.2.&#039;&#039;&#039; -the section from t.1 to t.4, multiplied by 12 is greater than the section from t.4 to the calculated t.6, then this model is AM/DBM .&lt;br /&gt;
::: G1: AM/DBM&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.1.3.&#039;&#039;&#039; the section from t.1 to t.4 multiplied by 12 is less than or equal to the section from t.4 to t.6 then this model is DBM .&lt;br /&gt;
::: G1: DBM&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;7.2.2.&#039;&#039;&#039; If TL and AL intersect to the left (i.e. in the past) relative to t.4, the program performs an indirect check for the Strength of the trend. For this, a pseudo SP is used – this is the intersection point of AL (built through t.2) and TL in case it is impossible to build AL through t.2 so that there are no extra points on it. The following options are possible:&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.2.1.&#039;&#039;&#039; If the pseudo SP lies to the right (i.e. later) of t.1 to t.3 (or t.3’, if the model is built on it), then the type of this model is determined as EM, moreover, the model is strong by pseudo SP.&lt;br /&gt;
&lt;br /&gt;
::: G1: EM&lt;br /&gt;
&lt;br /&gt;
::: SP: strongpseudoSP&lt;br /&gt;
&lt;br /&gt;
::: &#039;&#039;&#039;7.2.2.2.&#039;&#039;&#039; Otherwise&lt;br /&gt;
::: If the lines intersect to the left of t.1 (i.e. earlier), the following options are possible:&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.2.2.1.&#039;&#039;&#039; If the section from t.1 to t.3 (3’) is greater than the section from the intersection of TL and AL to t.1, the model is assigned the type EM, while the Strength of the model is not determined.&lt;br /&gt;
:::: G1: EM&lt;br /&gt;
&lt;br /&gt;
:::: SP: undef&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.2.2.2.&#039;&#039;&#039; If&lt;br /&gt;
:::: -the section from T.1 to t.3(3’) is less than or equal to the section from the intersection of TL and AL to t.1 and up to&lt;br /&gt;
:::: -the section from T.1 to t.3(3’) multiplied by 3 is greater than the section from the intersection of TL and AL to t.1, the model is assigned the type is EM. At the same time, the model is weak.&lt;br /&gt;
&lt;br /&gt;
:::: G1: EM&lt;br /&gt;
&lt;br /&gt;
:::: SP: weakpseudoST&lt;br /&gt;
&lt;br /&gt;
:::: &#039;&#039;&#039;7.2.2.2.3.&#039;&#039;&#039; If the section from t.1 to t.3(3’) multiplied by 3 is less than the section from the intersection of TL and AL to t.1, then the model type is EM/DBM.&lt;br /&gt;
:::: G1: EM/DBM&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;7.3.&#039;&#039;&#039; Also, occasionally there are cases when the model for some reason does not fall under any of the above options. Then the model type is not determined.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Step VIII: Search for Alternative Models. Launching a New Branch from the Previous t.1 but with a Different t.3 &#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
The program initiates a search for the subsequent model with the same t.1, but a new t.3. The bar following t.3/t.3’, according to step 2, is analyzed for this purpose. Concurrently, the program initiates a search for an alternative model in relation to the one already found. For this, it analyzes the bar that has broken through the level of t.4 as a potential t.4, according to step 3.4, and continues further according to the algorithm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=172</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=172"/>
		<updated>2023-08-24T20:17:09Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;The N1 rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 1. &lt;br /&gt;
  If point 1 is high, then the level of point 5 should be lower than point 1.&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Step I. Search For Point 3 of the External Attraction Model (EAM) and the Sarting Point of the Previous Trend.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039;Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039;The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039;The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039;The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if coming from 1.2.1.), or :: - from the starting point of the chart (if coming from 1.2.2.), or :: - from 300 bars to point 3 (if coming from 1.2.3.) :: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039;Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039;Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=171</id>
		<title>ALGORITHM II</title>
		<link rel="alternate" type="text/html" href="http://wiki.marketpawns.com/index.php?title=ALGORITHM_II&amp;diff=171"/>
		<updated>2023-08-24T20:13:24Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not finished&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;The N1 rule (N1 requirement) for Algorithm II is as follows:&#039;&#039;&#039;&lt;br /&gt;
  If point 3 is low, then the level of point 5 should be higher than point 1. &lt;br /&gt;
  If point 1 is high, then the level of point 5 should be lower than point 1.&lt;br /&gt;
&lt;br /&gt;
For an accurate understanding of the algorithm, you should get acquainted with UMG General Concepts.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;STEP I. SEARCH FOR POINT 3 OF THE EXTERNAL ATTRACTION MODEL (EAM) AND THE STARTING POINT OF THE PREVIOUS TREND.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.1.&#039;&#039;&#039; The program looks for the first possible extreme, satisfying Single Bar Rule. Such an extreme is a candidate for potential point 3 ( potential t.3).&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.2.&#039;&#039;&#039; Next, the program checks the bars from right to left (i.e., in the past) from the bar containing the extreme candidate for point 3 to one of the following events:&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039;Found the last intersection (breakthrough) point by the price level of the candidate for point 3.&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: FullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.2.&#039;&#039;&#039;The program reached the starting point of the chart (i.e., the price did not intersect the level of point 3 after the starting point of the chart).&lt;br /&gt;
::In this case, the report displays: &lt;br /&gt;
:: PREVdata: NoFullDataPrev &lt;br /&gt;
:: The program proceeds to substep 1.3.&lt;br /&gt;
:: &#039;&#039;&#039;1.2.1.&#039;&#039;&#039;The price checked 300 bars preceding point 3, but the level of step 3 did not intersect at this segment. The program looks for an absolute extreme (opposite to step 3) on the segment from the 300th bar before point 3 to point 3. The program proceeds to substep 1.3.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;1.3.&#039;&#039;&#039;The program looks for an absolute extreme (opposite to point 3 extreme) on the segment:&lt;br /&gt;
::- from the last intersection by the price level of the candidate for point 3 (inclusive) (if coming from 1.2.1.), or :: - from the starting point of the chart (if coming from 1.2.2.), or :: - from 300 bars to point 3 (if coming from 1.2.3.) :: to point 3 (excluding).&lt;br /&gt;
:: &#039;&#039;&#039;1.3.1.&#039;&#039;&#039;Absolute extreme found. The candidate for point 3 is confirmed; moreover, the found confirming extreme is the assumed (if coming from 1.2.2. or 1.2.3.) starting point of the preceding trend.&#039;&#039;&#039;&lt;br /&gt;
::The program checks for the absence of extremes equal to point 3 between the assumed starting point of the previous trend and point 3. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.1.&#039;&#039;&#039; If such an extreme is found, this candidate for point 3 is discarded, and this point 3 is discarded. &lt;br /&gt;
:::&#039;&#039;&#039;1.3.1.2.&#039;&#039;&#039; If such an extreme is not found, the program proceeds to step 2.&lt;br /&gt;
::&#039;&#039;&#039;1.3.2.&#039;&#039;&#039;Absolute extreme not found. This point 3 is discarded.&#039;&#039;&#039;&lt;br /&gt;
::Simultaneously with step 1, the program launches the search for the next potential point 3.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>