OPEN-SOURCE SCRIPT

Footprint strategy

Güncellendi
This strategy uses imbalance volume data obtained by footprint calculation technology.

There are two signals to enter a trade:
  • trend - the current buy volume on the bar is greater than the current sell volume and there is at least one imbalance line.
  • reversal - the current bar is falling, but the general market trend is positive (growing) and the imbalance buy volume exceeds the imbalance sell volume.

When any of the conditions is triggered, two orders are placed: Take Profit and Stop loss (according to the percentage value from the inputs).

A little advice on use:
  • The strategy performs best on a 15 minute timeframe.
  • It is necessary to choose acceptable values of Take Profit and Stop loss depending on the order of symbol prices.


Inputs related to the strategy:
  1. Stop loss - percentage size of stop loss to exit the trade.
  2. Enable stop loss - stop loss activation.
  3. Take Profit - percentage size of Take Profit.
  4. Calculation timeframe - this is the timeframe from which the volume will be collected for distribution to buy and sell (if you do not have access to the seconds chart, set here 1 minute, the accuracy will be less, but it will work).
  5. Trend timeframe - this is the timeframe from which the trend will be calculated.
  6. Enable trend - activation of trend calculation.


Inputs related to the calculation of footprints (collection of the volume of purchases and sales):
  1. Count show bars - Number of bars from rt bar to history to calculate.
  2. Display all available bars - Strategy calculation on all available bars (based on the available amount of data with reduced resolution (set in Calculation timeframe)).
  3. Ticks Per Row - Sets the price step, calculated by multiplying the entered value by syminfo.mintick.
  4. Auto - The automatic "Ticks Per Row" calculation is based on the first available bar and applied to subsequent bars.
  5. Max row - sets the acceptable number of rows within a bar.
  6. Imbalance Percent - A percentage coefficient to determine the Imbalance of price levels.
  7. Stacked levels - And minimum number of consecutive Imbalance levels required to draw extended lines.


If you have suggestions for improving the strategy and adding new conditions for entering and exiting the trade, please write).
Sürüm Notları
minor fix
Volume

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının yazarı komut dosyasını açık kaynak olarak yayınlamıştır, böylece yatırımcılar betiği anlayabilir ve doğrulayabilir. Yazar çok yaşa! Ücretsiz olarak kullanabilirsiniz, ancak bu kodun yayında yeniden kullanımı Ev kurallarına tabidir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?

Feragatname