ice-e-fresh

STPFunctions

ice-e-fresh Diupdate   
Library "STPFunctions"
These functions are used as part of the STP trading strategy and include commonly used candle patterns, trade triggers and frequently monitored stock parameters

MAs() Determines if the last price is abover or below key moving averages. MAs used on the daily are SMA20, SMA50 and SMA200. SMA20 and SMA50 are used intraday.
  Returns: 1 if the last price/close was over the moving averages. -1 is returned if the last price/close is below the moving averages. 0 is returned otherwise.

HTFOrderFlow(HTF1_open, HTF2_open) Determine the state of the higher time frame order flow.
  Parameters:
    HTF1_open: float value representing the higher time frame open.
    HTF2_open: float value representing the higher time frame open.
  Returns: 1 if the last price/close was over the higher time frame open. -1 is returned if the last price/close is below the higher time frame open. 0 is returned otherwise.

OrderFlow() Determine the recent order flow... basically are we well bid or well offered
  Returns: 1 if the last 2 candles are well bid. -1 is returned if the last 2 candles are well offered. 0 is returned otherwise.

isInside() Used to flag inside candles
  Returns: 1 if the close >= open. -1 is returned if the close <= open. 0 is returned otherwise.

isOutside() Used to flag outside or engulfing candles
  Returns: 1 if the close >= open. -1 is returned if the close <= open. 0 is returned otherwise.

isUTN() Used to flag the U-turn reversal pattern
  Returns: 1 for a BUTN. -1 is returned for a BRUTN. 0 is returned otherwise.

isSNapBack() Flag for Snapback Entries
  Returns: 1 for a bullish snapback setup. -1 is returned for a bearish snapback setup. 0 is returned otherwise.
Catatan Rilis:
v1.1 Removed MA 'fudge factor' from 50SMA
Catatan Rilis:
v3

Updated:
OrderFlow() Determine the recent order flow... basically are we well bid or well offered
  Returns: 1 if the last 2 candles are well bid. -1 is returned if the last 2 candles are well offered. 0 is returned otherwise.
Catatan Rilis:
v4
Catatan Rilis:
v5

Updated:
OrderFlow() Determine the recent order flow... basically are we well bid or well offered
  Returns: 1 if the last 2 candles are well bid. -1 is returned if the last 2 candles are well offered. 0 is returned otherwise.
Catatan Rilis:
v6

Updated:
OrderFlow() Determine the recent order flow... basically are we well bid or well offered
  Returns: 1 if the last 2 candles are well bid. -1 is returned if the last 2 candles are well offered. 0 is returned otherwise.

Perpustakaan pine

Dalam semangat TradingView yang sesungguhnya, penulis telah membuat Pine Code sebagai perpustakaan sumber-terbuka sehingga programmer Pine lainnya dapat menggunakannya kembali. Beri semangat kepada penulis! Anda dapat menggunakan perpustakaan ini secara pribadi maupun dalam publikasi terbuka, namun menggunakan ulang kode ini diatur dalam Tata Tertib.

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Ingin menggunakan perpustakaan ini?

Copy garis berikut ini dan tempel pada script anda.