algozinitech

Pivot Extension Strategy AZT

Calculating Pivot Points

By definition, a pivot point is a point of rotation. The prices used to calculate the pivot point are the previous period’s high, low and closing price for a security. Prices can be taken from daily stock charts, Another way of calculating Pivot Point is using the hourly charts of stock market.

However most traders prefer to take the pivots, as well as the support and resistance levels, off of the daily charts and then apply those to the intraday charts (i.e., hourly, every 30 minutes or every 15 minutes). When calculated using price information from a shorter time-frame, tends to reduce both accuracy and significance.

The calculation for a pivot point is as follows:

Central Pivot Point (P) = (High + Low + Close) / 3

The formula used for primary resistance and support is as follow:

First Resistance (R1) = (2*P) – Low

First Support (S1) = (2*P) – High

The formula used for secondary resistance and support is as follows:

Second Resistance (R2) = P + (R1-S1)

Second Support (S2) = P – (R1- S1)

Strategy Rules

LE Rules: When a input Price value is found that meets the requirement of a pivot point at low, a long entry order is placed for the next bar.

LX Rules: A low pivot bar is defined by this strategy. As a bar that is preceded by Left Strength (Input) number of higher Price values and followed by Right Strength (Input) number of higher Price values. Long exit takes place

SE Rules: When a Price (Input) value is found that meets the requirement of a pivot point at high, a short entry order is placed for the next bar.

SX Rules: A high pivot bar is defined by this strategy as a bar that is preceded by Left Strength (Input) number of lower Price values and followed by Right Strength (Input) number of lower Price values, short exit takes place.

Setting Up Alert

Before setting up alert make sure that You have selected desired script, timeframe, strategy settings, apibridge is configured and running. Click in settings add alert and paste {{strategy.order.comment}} in message box.

Important: do not change any settings during live trading.
Script protetto
Questo script è pubblicato con codice protetto, ma puoi comunque usarlo gratuitamente. Mettendolo tra i preferiti potrai applicarlo al grafico, senza però la possibilità di visualizzare o modificare il codice sorgente.
Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?