NSDT Daily Key LevelsSimple script to show key levels of current day and previous day. Labels can be turned on and off as needed. Line colors, thickness and style can be changed. Modified the "M/W/D Level" script from paaax. Credit for original code goes to him. Link to script and profile posted in code of this script.
Previoushighlow
|AG| Previous Analysis█ OVERVIEW
Analysis of previous levels is one of the best strategies in order to get good entries or take profits levels. This analysis involves Monthly and Weekly Previous Levels and One User Definition Option. So u could select any period like Daily or even hours according to ur trading style. The previous levels are High and Low. And the Current (NOT PREVIOUS) open level.
This script also includes one Fibonacci Selector that will calculate the Fibbo level between previous High and Low Levels of the user selection. Almost everything could be modified in the input panel.
Input Options
A detailed explanation of input settings:
• # Of Previous
• This option leads us to select the number of previous weeks, months, or the user selection back.
• Example: If we select Previous High, Low WEEKLY so if # Of previous is one is going to be the past levels but if is 2 so consequently 2 previous levels.
• In the case of 0 is going to be the actual levels
• Fibbo & Label Selector
Here we can select the period.
• Monthly, Weekly, And User Definition is available.
• Fibonacci Selector :
• Here we could choose between different levels of Fibonacci or No_Plot Option
• Label Offset
• Here we select the amount of distance between label and actual price
• Time Start
• Here we could highlight one period START and END like one Week start day and end day.
• User Definition Value in order to be more flexible.
Interesting Code Lines:
• Fibonacci function
getFib(a, b)=>
fib1 = a + (b - a) * -0.618
fib2 = a + (b - a) * -0.270
fib3 = a + (b - a) * 0.114
fib4 = a + (b - a) * 0.214
fib5 = a + (b - a) * 0.382
fib6 = a + (b - a) * 0.500
fib7 = a + (b - a) * 0.618
fib8 = a + (b - a) * 0.786
fib9 = a + (b - a) * 0.886
ext_ = a + (b - a) * 1.270
ext1 = a + (b - a) * 1.618
• Exact Distance and % Distance
f_dist (_src, _src3) =>
float _dist = _src3 - _src
float _perc = _dist / _src3 //* 100
Floor Pivots_DWMBasic Pivot points.
Script is easy to modify to personal requirements, and explained step-by-step on Kodify.com.
Original script credits: Kodify.com (kodify.net)
All past LevelsContains all past levels that we need
1. Previous Monthly High
2. Previous Monthly Low
3. Previous Weekly High
4. Previous Weekly Low
5. Previous Daily High
6. Previous Daily Low
7. Previous Monthly Range Average (PMH+PML)/2
8. Previous WeeklyRange Average (PWH+PWL)/2
9. Previous Daily Range Average (PDH+PDL)/2
10. Monthly Open
11. Weekly Open
12. Daily Open
Previous Day Week Highs & LowsThis script plots the previous n day and week highs and lows (previous two days and previous week by default).
Here are some additional info about the script behavior:
Plots highs and/or lows
Plots for days and/or weeks
Day highs and lows are shown only on intraday timeframes
Week highs and lows are shown only on timeframes < weekly
Previous 2Days High/LowTesting simple range of highs/lows of previous 2 days, for reference, working on every timeframe.