RicardoSantos

FunctionGenerateRandomPointsInShape

Library "FunctionGenerateRandomPointsInShape"
Generate random vector points in geometric shape (parallelogram, triangle)

random_parallelogram(vector_a, vector_b) Generate random vector point in a parallelogram shape.
  Parameters:
    vector_a: float array, vector of (x, y) shape.
    vector_b: float array, vector of (x, y) shape.
  Returns: float array, vector of (x, y) shape.

random_triangle(vector_a, vector_b) Generate random vector point in a triangle shape.
  Parameters:
    vector_a: float array, vector of (x, y) shape.
    vector_b: float array, vector of (x, y) shape.
  Returns: float array, vector of (x, y) shape.
ספריית Pine

ברוח TradingView אמיתית, המחבר פרסם את קוד Pine זה כספריית קוד פתוח כך שמתכנתי Pine אחרים מהקהילה שלנו יוכלו לעשות בו שימוש חוזר. כל הכבוד למחבר! אתה יכול להשתמש בספרייה זו באופן פרטי או בפרסומים אחרים בקוד פתוח, אך השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בספרייה זו?

העתק את השורה הבאה והדבק אותה בסקריפט שלך.