SamaaraDas

AoDivergenceLibrary_

SamaaraDas Telah dikemas kini   
Library "AoDivergenceLibrary_"
this has functions which calculate and plot divergences which are used for ao divergences. essentially, this finds divergences by using the ao divergence logic. this logic has been used in "AO Hid & Reg Div with LC & Kernel".

regBullDivergence(swingLow, osc, colour)
  Parameters:
    swingLow (bool)
    osc (float)
    colour (color)

regBearDivergence(swingHigh, osc, colour)
  Parameters:
    swingHigh (bool)
    osc (float)
    colour (color)

hidBullDivergence(swingHigh, osc, colour)
  Parameters:
    swingHigh (bool)
    osc (float)
    colour (color)

hidBearDivergence(swingHigh, osc, colour)
  Parameters:
    swingHigh (bool)
    osc (float)
    colour (color)
Nota Keluaran:
v2

Added:
findLowestAo(start, osc, _end)
  Parameters:
    start (int)
    osc (float)
    _end (int)

findHighestAo(start, osc, _end)
  Parameters:
    start (int)
    osc (float)
    _end (int)

credit goes to @sammie123567858
Nota Keluaran:
v3

Removed:
findLowestAo(start, osc, _end)

findHighestAo(start, osc, _end)
Nota Keluaran:
v4

Added:
findLowestAo(start, osc, _end)
  to find the lowest ao in the given range (starting from _end upto end)
  Parameters:
    start (int): is for the left side. the parameter value is supposed to be a bar index
    osc (float)
    _end (int): is for the right side. the parameter value is supposed to be a shift

findHighestAo(start, osc, _end)
  to find the highes ao in the given range (starting from _end upto end)
  Parameters:
    start (int): is for the left side. the parameter value is supposed to be a bar index
    osc (float)
    _end (int): is for the right side. the parameter value is supposed to be a shift
Nota Keluaran:
v5

Added:
findLowestPrice(start, end)
  to find the lowest price in the given range (starting from start upto end)
  Parameters:
    start (int): is for the right side. the parameter value is supposed to be a bar index
    end (int): is for the left side. the parameter value is supposed to be a bar index

findHighestPrice(start, end)
  to find the highest price in the given range (starting from start upto end)
  Parameters:
    start (int): is for the right side. the parameter value is supposed to be a bar index
    end (int): is for the left side. the parameter value is supposed to be a bar index

Perpustakaan Pine

Di dalam semangat sebenar TradingView, pengarang telah menerbitkan kod Pine ini sebagai perpustakaan sumber terbuka, jadi pengaturcara-pengaturcara Pine yang lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara peribadi atau pada penerbitan-penerbitan sumber terbuka lain, tetapi penggunaan semula kod ini di dalam penerbitan adalah ditadbir oleh Peraturan Dalaman.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Mahu gunakan perpustakaan ini?

Salin garisan ini dan tampalkan ia di dalam skrip anda.