TradingWolf

TradingWolfLibary

TradingWolf Güncellendi   
Library "TradingWolfLibary"

getMA(int, string)
  Gets a Moving Average based on type
  Parameters:
    int: length The MA period
    string: maType The type of MA
  Returns: A moving average with the given parameters

minStop(float, simple, float, string)
  Calculates and returns Minimum stop loss
  Parameters:
    float: entry price (Close if calculating on the entry candle)
    simple: int Calculate how many bars back to look at swings
    float: Minimum Stop Loss allowed (Should be x 0.01) if input
    string: Direciton of trade either "Long" or "Short"
  Returns: Stop Loss Value
Sürüm Notları:
v2

Added:
minmaxStop(float, simple, float, float, string)
  Calculates and returns Minimum/Maximum stop loss
  Parameters:
    float: entry price (Close if calculating on the entry candle)
    simple: int Calculate how many bars back to look at swings
    float: Minimum Stop Loss allowed (Should be x 0.01) if input
    float: Maximum Stop Loss allowed (Should be x 0.01) if input
    string: Direciton of trade either "Long" or "Short"
  Returns: Stop Loss Value
Sürüm Notları:
v3

Updated:
minmaxStop(float, simple, float, float, string)
  Calculates and returns Minimum/Maximum stop loss
  Parameters:
    float: entry price (Close if calculating on the entry candle)
    simple: int Calculate how many bars back to look at swings
    float: Minimum Stop Loss allowed (Should be x 0.01) if input
    float: Maximum Stop Loss allowed (Should be x 0.01) if input
    string: Direciton of trade either "Long" or "Short"
  Returns: Stop Loss Value
Sürüm Notları:
v4

Added:
tpCalc(float, float, float, string)
  Calculates the take profit value
  Parameters:
    float: entry price (Close if calculating on the entry candle)
    float: stop would be the variable calculated just before your TP, you can use the minmaxStop
    float: ratio is a reward multiplier
    string: direction is the direction of the trade
Sürüm Notları:
v5
Sürüm Notları:
v6
Sürüm Notları:
v7

Added:
atrStop(_entry, _risk, _direction)
  Calculates the Stop Loss using ATR
  Parameters:
    _entry
    _risk
    _direction
  Returns: Take proit value

atrTake(_entry, _reward, _direction)
  Calculates the Take profitusing ATR
  Parameters:
    _entry
    _reward
    _direction
  Returns: Take proit value
Sürüm Notları:
v8 changed if statement bug

Pine kitaplığı

Gerçek TradingView ruhuyla yazar, topluluğumuzdaki diğer Pine programcılarının yeniden kullanabilmesi için bu Pine kodunu açık kaynaklı bir kitaplık olarak yayınladı. Yazarın eline sağlık! Bu kitaplığı özel olarak veya diğer açık kaynaklı yayınlarda kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları tarafından yönetilir.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu kütüphaneyi kullanmak ister misiniz?

Metni panoya kopyalayın ve komut dosyanıza yapıştırın.