WebPlotting any data point for the pervious days value on a chart with a lower aggregation is just a matter of calling that data point to a plot statement and indexing it one bar back. Example: plot prevHigh = high (period = "DAY") [1]; plot prevLow = low (period = "DAY") [1]; Bull_City_Bull_919 1 yr. ago Oh you’re the dude! WebMay 6, 2009 · The thinkscript code might look like this: Def swinghigh = if high > high [1] and high > high [2] and high > high [-1] and high > high [-2] then 1 else 0; The code for a swing low is similar. This method is a pain because it requires you to hard code the swing period.
TOS & Thinkscript Collection - Jim Shingler Blog
WebJul 12, 2024 · Basically I searching for Swing low ( this i was able to do it) but if my current swing low is higher than the previous one than i want to increment the count by 1 and if my the current swing low is lower than my previous one i want to reset the count to 1 Here is the output that i have today With this code WebJan 9, 2024 · It's not really a swing high if it is followed by another swing high w/o an intervening low. This modification eliminates the problem High/Lows when the problem occurs after the correct High/Low. The problem I am having with this indicator is when the problem High/Low occurs before the correct High/Low. brock\\u0027s disease
Swing Low to Swing High with Fibonacci Retracement Indicator …
WebSep 10, 2024 · I coded an indicator that plot the highest high (and lowest lows) whenever a moving average cross happens. The code below works great but there is one issue with it, it's keeping the previous highs that were broken after the cross. WebAug 27, 2024 · A very simple yet useful indicator that draws the underlying High, Low and Close levels of the previous day. These levels are used in many simple trading strategies, which is why this... WebDec 27, 2024 · The “lowest” and “highest” are commands that order thinkScript to find the lowest or highest “ivol” over the previous 60 days. The “plot” command displays the results of a formula using the things we’ve defined. You … carbs in motts applesauce