OPEN-SOURCE SCRIPT

Footprint strategy

ที่อัปเดต:
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).
เอกสารเผยแพร่
minor fix
Volume

สคริปต์โอเพนซอร์ซ

ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถเข้าใจและตรวจสอบได้ ต้องขอบคุณผู้เขียน! ที่ให้คุณใช้ได้ฟรี แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?

คำจำกัดสิทธิ์ความรับผิดชอบ