Library "intersect" Find Line Intersection X/Y coordinates. Simple to use, will find intersection if it exists on the segments if the line segments do not cross on segment, an 'na' value will be returned if you plot new items with the output coords, they still plot. avoid this by setting a na(x) condition before plotting new items
get(l1, l2, (optional _round)) line intersection coordinates Parameters: l1: (line) first line l2: (line) second line _round: True to make an INT for plotting if not used, will not round ( overload loophole) Returns: [x,y] with x as int if bool is used
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。