Editing
ALGORITHM I
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===''' Step VII. Determination of SP and Model Type.'''=== The program recalls whether the model was built through t.2 or through t.2β : '''7.1.''' 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. : 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: :: '''7.1.1.''' 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. ::: '''7.1.1.1.''' 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's type is AM. ::: G1: AM ::: 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: :::: '''7.1.1.1.1.''' 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. :::: '''7.1.1.1.2.''' A bar is found that has reached the level of t.4 (while either not reaching or reaching the level of t.3). :::: -in case of the presence of the draw_flag label β this branch stops; :::: -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: ::::: '''7.1.1.1.2.A.''' The extremum is found. In this case, the algorithm proceeds to step 8. ::::: '''7.1.1.1.2.B.''' The extremum is not found. In this case the status of the formed model is canceled (the model is discarded); ::::: -t.3 becomes the canceled t.3; ::::: -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. ::: '''7.1.1.2.''' If ::: -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 ::: -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 ::: G1: AM/DBM ::: '''7.1.1.3.''' 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. ::: G1: DBM :: '''7.1.2.''' 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). ::: '''7.1.2.1.''' If ::: -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; ::: -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 ::: G1: EM/DBM ::: '''7.1.2.2.''' 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. ::: G1: EM ::: '''7.1.2.3.''' If ::: -TL and AL of the model are parallel, or ::: -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); ::: -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 ::: G1: DBM ::: The program proceeds to step 8. : '''7.2.''' 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. :: '''7.2.1.''' If the lines intersect to the right (i.e. after t.4), then ::: '''7.2.1.1.''' 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. ::: There are one of 2 options: :::: '''7.2.1.1.1''' If the TL of the incorrect AM is broken through by the t.4 bar or the bar immediately following t.4, then :::: -in case of the presence of the draw_flag label β this branch stops; :::: -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. :::: '''7.2.1.1.2.''' 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. ::: '''7.2.1.2.''' -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 . ::: G1: AM/DBM ::: '''7.2.1.3.''' 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 . ::: G1: DBM :: '''7.2.2.''' 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: ::: '''7.2.2.1.''' 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. ::: G1: EM ::: SP: strongpseudoSP ::: '''7.2.2.2.''' Otherwise ::: If the lines intersect to the left of t.1 (i.e. earlier), the following options are possible: :::: '''7.2.2.2.1.''' 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. :::: G1: EM :::: SP: undef :::: '''7.2.2.2.2.''' If :::: -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 :::: -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. :::: G1: EM :::: SP: weakpseudoST :::: '''7.2.2.2.3.''' 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. :::: G1: EM/DBM : '''7.3.''' 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.
Summary:
Please note that all contributions to MarketPawns may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
MarketPawns:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
MarketPawns Key Ideas
Universal Market Geometry
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information