• Produk
  • Komunitas
  • Pasar
  • Broker
  • Lebih lanjut
Mulai
  • Indikator dan strategi
  • /Condition

Condition

"Swap" - Bool/Position/Value : Array / Matrix / Var AutoswapLibrary "swap" Side / Boundary Based All Types Swapper - three automagical types for Arrays, Matrixes, and Variables -- no signal : Long/ Short position autoswap -- true / false : Boolean based side choice -- Src / Thresh : if source is above or below the threshold - two operating modes for variables, Holding mode only for arrays/matrixes -- with two items, will automatically change between the two caveat is it does not delete table/box/line(fill VAR items automatically) -- with three items, a neutral is available for NA input or neutral - one function name for all of them. One import name that's easy to type/remember -- make life easy for your conditional items. side(source, thresh, _a, _b, _c)   side Change outputs based on position or a crossing level   Parameters:      source : (float) OPTIONAL value input      thresh : (float) OPTIONAL boundary line to cross      _a : (any) if Long/True/Above      _b : (any) if Short/False/Below      _c : (any) OPTIONAL NOT FOR MTX OR ARR... Neutral Item, if var/varip on a/b it will leave behind, ie, a table or box or line will not erase , if it's a varip you're sending in.   Returns: first, second, or third items based on input conditions Please notify if bugs found. Thanks.
Perpustakaan Pine Script®
oleh kaigouthro
Diupdate

Pilih data pasar yang disediakan oleh ICE Data Services. Pilih data referensi yang disediakan oleh FactSet. Hak Cipta © 2025 FactSet Research Systems Inc.Hak Cipta © 2025, American Bankers Association. Basis Data CUSIP disediakan oleh FactSet Research Systems Inc. Seluruh hak cipta dilindungi undang-undang. Dokumen SEC dan dokumen lainnya disediakan oleh Quartr.© 2025 TradingView, Inc.

Lebih dari sekadar produk
  • Superchart
Penyaring
  • Saham
  • ETF
  • Obligasi
  • Koin crypto
  • Pasangan CEX
  • Pasangan DEX
  • Pine
Heatmap
  • Saham
  • ETF
  • Crypto
Kalender
  • Ekonomi
  • Perolehan
  • Dividen
Produk lainnya
  • Kurva Imbal Hasil
  • Options
  • Aliran berita
  • Skrip Pine®
Aplikasi
  • Mobile
  • Desktop
Komunitas
  • Jejaring sosial
  • Tembok Cinta
  • Refer teman
  • Tata Tertib
  • Moderator
Ide-Ide
  • Trading
  • Edukasi
  • Pilihan editor
Skrip Pine
  • Indikator & strategi
  • Wizard
  • Freelancer
Peralatan & langganan
  • Fitur-fitur
  • Harga Akun
  • Data pasar
  • Paket hadiah
Trading
  • Ikhtisar
  • Broker
Penawaran spesial
  • Kontrak berjangka CME Group
  • Kontrak berjangka Eurex
  • Bundel saham AS
Tentang perusahaan
  • Tentang kami
  • Misi luar angksa
  • Blog
  • Karir
  • Media kit
Merchandise
  • Toko TradingView
  • Kartu tarot untuk trader
  • C63 TradeTime
Kebijakan & keamanan
  • Syarat penggunaan
  • Pernyataan Penyangkalan
  • Kebijakan Privasi
  • Kebijakan Cookie
  • Pernyataan Aksesibilitas
  • Tips keamanan
  • Program Pencari Bug
  • Halaman status
Solusi bisnis
  • Widget
  • Perpustakaan charting
  • Lightweight Charts™
  • Advanced Chart
  • Platform Trading
Peluang pertumbuhan
  • Periklanan
  • Integrasi broker
  • Program partner
  • Program Edukasi
Komunitas
  • Jejaring sosial
  • Tembok Cinta
  • Refer teman
  • Tata Tertib
  • Moderator
Ide-Ide
  • Trading
  • Edukasi
  • Pilihan editor
Skrip Pine
  • Indikator & strategi
  • Wizard
  • Freelancer
Solusi bisnis
  • Widget
  • Perpustakaan charting
  • Lightweight Charts™
  • Advanced Chart
  • Platform Trading
Peluang pertumbuhan
  • Periklanan
  • Integrasi broker
  • Program partner
  • Program Edukasi
Look FirstLook First