Mliv1979

Trend Lines

Mliv1979 מעודכן   
Hello Everyone.

This is my first script on TV, hope you find it useful.

How it works?

- On each bar it finds last x (depending on your settings) higher and lower Pivot Points ( PP ).
- It searches for possible trend line from oldest PP to newest, once found it stops and draws the line.
- The higher the time frame the lower the number of PP needed. Play around with the number of PP and left/right bars needed to confirm a PP and you get different results.

For suggestions don't hesitate to contact me
הערות שחרור:
Added line width
הערות שחרור:
Updated how lines are found, now there should always be an uptrend line and a downtrend line
הערות שחרור:
Added the option to display the lines as zones/channels.
Added alert conditions for entering, rejecting or breaking the zone (untested).
הערות שחרור:
Wrong chart added in previous update
סקריפט מוגן
סקריפט זה פורסם במקור סגור ותוכל להשתמש בו באופן חופשי. אתה יכול להגדירו כמועדף כדי להשתמש בו בגרף. אינך יכול להציג או לשנות את קוד המקור שלו.
כתב ויתור

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

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