# TAIndicator

The indicator is based on the Tactica Adversa method. It shows key levels of models.

In accordance with Tactica Adversa, price movement is a consecutive alternation of Up and Down trends. Every trend is described with an Expansion Model (EM). This model is formed by two diverging lines – Trend Line and Target Line.

Formation is based on 4 points (extremes) following each other. Sequence of selecting extremes that form EM is:

- For Down-trend: high1 – low2 – high3 – low4 – high5 – low6
- For Up-trend: low1 – high2 – low3 – high4 – low5 – high6

Thus,

- Point 1 is the point of the BEGINNING of a trend, Point 6 is the point of its ENDING.
- Target Line is drawn through Points 2 and 4.
- Trend Line is drawn through Points 1 and 3.
- Until Point 6 appears there should NOT be more than 2 points on both Trend and Target Lines and those are the points which these lines are drawn through.
- Target 1 is calculated from the breakout point of the Trend. Trend line is considered broken even with its one-point touch of the price.

In case the Trend Line of EM is broken, there are 3 possible targets for the price:

- Target 1 – interval (Point 6 - breach point of the Trend) laid off from the breakout point in the direction of breakdown.
- Target 2 – price level of Point 1 of the broken EM.
- Target 3 – interval (Point 1 – Point 4) laid off from the breakout point in the direction of the breakout.

Implementation (i.e., consecutive reaching of price targets 1 through 3) of a formed EM may be canceled if:

- after break of the Trend Line price gets back to Point 6 BEFORE reaching Target 1.
- after break of the Trend Line price reaches Target 1 in time interval less than time interval (Point 6 – Breach point).
- while moving from Point 6 to Target 1 a NEW model was formed.

Ratio of interval (CP – Point 1) to interval (Point 1 – Point 3) gives us measure of Trend’s strength. If this ratio less than 1, we may conclude the Trend is strong and potent; if this ratio is more than 1, we may conclude the Trend is weak. For Cancellations: Model with weak Trend Line cancels previous model (if it has revealed completely ONLY!); model with strong Trend Line confirms previous model.

Another way of application of the CP is defining of Trend reversal.

As we know, Models are alternating. Each next model, describing trend, reverses trend of the previous model. But it occurs if model’s CP lies in interval (Point 4 – Point 6) of the previous model ONLY.

One strategy is based on the construction of the indicator is shown in the video.

### Input Parameters

**Point 1**- fractality point of the trend line. Start point of the trend. (The value must be between 2 and 7)**Point 2**- fractality point target line**Point 3**- fractality point trend line**Point 4**- fractality point target line**MinQuantityBase**- the minimum number of bars between points 1 and 3**TARestriction**- the number of bars in the past to look for patterns**TrendAsRay**- long trend line or cropped line**UpTrendColor**- the color of the rising trend line**DownTrendColor**- the color of the descending trend line**UpTargetColor**- color target line**DownTargetColor**- color target line**ChildUpTrendColor**- the color of the rising trend line**ChildDownTrendColor**- the color of the descending trend line**ChildUpTargetColor**- color target line**ChildDownTargetColor**- color target line**UpMirrorColor**- color of the line mirror model**DownMirrorColor**- color of the line mirror model**TextShift**- offset point number model