• מוצרים
  • קהילה
  • שווקים
  • ברוקרים
  • עוד
התחל
  • קהילה
  • /אינדיקטורים ואסטרטגיות
  • /DATE

DATE

How To Set Backtest Date RangeExample how to select and set date range window to be backtested. Normally when you change chart period it changes the number of days being backtested which means as you increas the chart period (for example from 5min to 15min) you also increase the number of days traded, so you can not compare apples to apples for which period would yield best returns for your strategy. Now you can. Incorporate this code replacing buy and sell with your strategy, then simply input the From and To dates in Format -> Inputs, and then change the chart period to view updated results. NOTE: There is a limit in backtesting to 2000 orders, so please be aware of this when setting your date ranges. If you set your range too high, you may be exceeding this limit on some periods and not on others, so this would yield incorrect comparison of returns per period. If you see in your backtesting results that you are nearing this limit for one of your periods you are testing, then reduce the date range to a smaller number of days. Enjoy! (Thanks to @Gesundheit "Adeel" for pointing me in the right direction on this!)
אסטרטגיית Pine Script®
מאת ‎allanster‎
מעודכן
131131
1122
…999999

נתוני שוק נבחרים המסופקים על ידי ICE Data Services. נתוני ייחוס נבחרים המסופקים על ידי FactSet. זכויות יוצרים © 2025 FactSet Research Systems Inc.זכויות יוצרים © 2025, American Bankers Association. מסד נתונים CUSIP מסופק על ידי FactSet Research Systems Inc. כל הזכויות שמורות. מילוי דוחות ניירות ערך ומסמכים אחרים מסופקים על ידי Quartr.© 2025 TradingView, Inc.

יותר ממוצר
  • סופר גרפים
סורקים
  • מניות‏
  • תעודות סל
  • אג"ח
  • מטבעות קריפטו
  • צמדי CEX
  • צמדי DEX
  • Pine
מפות חום
  • מניות‏
  • תעודות סל
  • קריפטו
לוחות שנה
  • כלכלי
  • דו"חות רווחים
  • דיבידנדים
מוצרים נוספים
  • עקומות תשואה
  • אופציות
  • זרם חדשות
  • Pine Script®
אפליקציות
  • נייד
  • שולחן עבודה
קהילה
  • רשת חברתית
  • קיר של אהבה
  • הפנה חבר
  • כללי הבית
  • מנחים
רעיונות
  • מסחר
  • השכלה
  • בחירות העורכים
Pine Script
  • אינדיקטורים ואסטרטגיות
  • אשפים
  • פרילנסרים
כלים ומנויים
  • מאפיינים
  • מחירון
  • נתוני שוק
מסחר
  • סקירה כללית
  • ברוקרים
הצעות מיוחדות
  • חוזים עתידיים של קבוצת CME
  • חוזים עתידיים של Eurex
  • חבילת מניות בארה"ב
אודות החברה
  • מי אנחנו
  • משימת חלל
  • בלוג
  • קריירה
  • ערכת מדיה
מוצרים
  • חנות TradingView
  • קלפי טארוט לסוחרים
  • זמן המסחר של C63
מדיניות ואבטחה
  • תנאי שימוש
  • כתב ויתור
  • מדיניות פרטיות
  • מדיניות עוגיות
  • הצהרת נגישות
  • טיפים בנושא אבטחה
  • תוכנית Bug Bounty
  • דף סטטוס
פתרונות עסקיים
  • וידג'טים
  • ספריות גרפים
  • Lightweight Charts™
  • גרפים מתקדמים
  • פלטפורמת מסחר
הזדמנויות צמיחה
  • פּרסום
  • אינטגרציית ברוקר
  • תוכנית שותפים
  • תכנית לימודית
קהילה
  • רשת חברתית
  • קיר של אהבה
  • הפנה חבר
  • כללי הבית
  • מנחים
רעיונות
  • מסחר
  • השכלה
  • בחירות העורכים
Pine Script
  • אינדיקטורים ואסטרטגיות
  • אשפים
  • פרילנסרים
פתרונות עסקיים
  • וידג'טים
  • ספריות גרפים
  • Lightweight Charts™
  • גרפים מתקדמים
  • פלטפורמת מסחר
הזדמנויות צמיחה
  • פּרסום
  • אינטגרציית ברוקר
  • תוכנית שותפים
  • תכנית לימודית
Look FirstLook First