Thinkscript fold - Pine Script to thinkScript Converter. This is a done-for-you service where I take your request and convert the entire TradingView indicator into a ThinkorSwim indicator. Upon completion, you’ll receive a fully working ThinkorSwim version. All you have to do is import the code into your ThinkorSwim platform and enjoy. CONVERT NOW.

 
For lower aggregations (5 minute and less) Settings > Price Axis > Fit Studies may need to be checked yes to show ATR Daily limit lines. If using on a thinly traded equity there may not be a trade at the RTH open and the Daily Implied Move may not plot for that day. # Study Limitation: Average True Range is an average of the averaged …. Leaked livvy dunne

Jul 14, 2023. #1. Author Message: The provided code is a custom indicator called "Trendilo" in TradingView. It helps traders identify trends in price data. The indicator calculates the percentage change of the chosen price source and applies smoothing to it. Then, it calculates the Arnaud Legoux Moving Average (ALMA) of the smoothed percentage ...May 3, 2021 · May 3, 2021. #1. Hi everyone, Hope all is well! I wanted to ask the community to see if we can get some other possible ideas to optimize this piece of code by removing the fold statement: Code: def bn = barnumber(); def v = volume; def isRTH = GetTime() >= RegularTradingStart(GetYYYYMMDD()) and GetTime() < RegularTradingEnd(GetYYYYMMDD()); The Himalayas, Alps, Andes and Appalachian Mountains are examples of fold mountains. The Jura Mountains in Switzerland and France and the Zagros Mountains in Iran and Iraq are also... input period = 20; #hint period:Number of bars to look in def Hi = fold i = 0 to period with n = high do Max(n, GetValue(high, i, period - 1)); def Lo = fold k = 0 to period with m = low do Min(m, GetValue(low, k, period - 1)); AddLabel(1, "High in last " + period + " bars = " + Round(Hi,2), Color.GREEN); AddLabel(1, "Low in last " + period ... It’s so handy to fold up your bike, pack it in the trunk, and head off to the lakes or camping ground ready to enjoy some leisurely riding with your family or friends. Be eco-frien...P/L Open and P/L Day both show your unrealized gains or losses. The difference is how ThinkorSwim calculates your potential profit/loss. P/L Open computes the total profit/loss on your position since the day you open it. P/L Day calculate how much you made or lost since yesterday.Whether you travel for work or for leisure, travel mirrors are essential tools to make sure you look your best while on the go. We may be compensated when you click on product link...GetValue. GetValue ( IDataHolder data, IDataHolder dynamic offset, int max offset); Default values: max offset: 0 Description. Returns the value of data with the specified dynamic offset.. Note: For positive offset values, dynamic offset should be less than or equal to max offset.For negative offset values, dynamic offset should be less than or equal to max offset. The fold operator allows you to perform iterated calculations. The list below explains the operator's logic (variable names are taken from the sample syntax above): 1. The purpose of the fold operator is to perform an iterated calculation and assign the final value to the result variable. 2. The index variable serves as a loop counter. 3. Luxury folding chairs are a versatile and practical addition to any space, providing comfort and style. Whether you use them for special events, outdoor gatherings, or as part of y...Jun 13, 2023 · Since for this study I need to iterate through a price range to check if the area_above(p) = area_below(p), and I'm not aware of another way of iterating in thinkscript other than using fold, I wrote a script that is passed the relevant variables and calculates the areas, then tried to call that script in another fold statement (passing the ... Oct 24, 2022 · The Highest() function in thinkScript returns the highest value of a condition or variable for the last specified bars. Highest() syntax and parameters. The syntax for the Highest() function is Highest(source, length); Source: The highest value from this data. Length: The lookback period in which the highest value is found. thinkScript Highest ... Jul 14, 2023. #1. Author Message: The provided code is a custom indicator called "Trendilo" in TradingView. It helps traders identify trends in price data. The indicator calculates the percentage change of the chosen price source and applies smoothing to it. Then, it calculates the Arnaud Legoux Moving Average (ALMA) of the smoothed percentage ...Support and Resistance MACD Scalping Long Term Trading Toolbox Learn thinkScript ThinkorSwim: FAQ Premium Indicators Bitcoin Indicator Theta Gang Indicators ... def x_sum = if bar_index then na else fold i = 0 to len with p do p + i; def xx_sum = if bar_index then na else fold ii = 0 to len with pp do pp + ii * ii; def y_sum = sum(src, len ...Oct 6, 2022 · The plot () function is thinkScript is very flexible. You can declare the plot first and then define its value afterward or vice versa. To top it off, you can use different colors and styling options to make the plot more visible on your chart. The plot () function in thinkScript is the most repeatedly used function to render and display data ... 2 days ago · thinkScript® is a built-in programming language that gives you the capability of creating your own analysis tools such as studies, strategies, watchlist columns, etc. In …Apr 16, 2022 · Thinkscript fold. Thread starter cay7man; Start date Apr 15, 2022; C. cay7man Member. Apr 15, 2022 #1 Could someone explain fold operator in C/C# for example? TY ... The fold operator allows you to perform iterated calculations. The list below explains the operator's logic (variable names are taken from the sample syntax above): 1. The purpose of the fold operator is to perform an iterated calculation and assign the final value to the result variable. 2. The index variable serves as a loop counter. 3.Can someone help to write a script draw a line on previous 4h, 1h, 30m and 15m Candle's High and Low that can show in the lower timeframe chart? Thank you!The reference of Bars [1] + 1 is a recursive function (referencing bars itself). It starts at the begin time with 1 and counts each bar and adds it to the previous Bars [1] count until the end time where Bars [1] holds the final count for the day. Todayvol is doing the same as the Bars, but just accumulating volume instead.plot UpperLR = MiddleLR + dist; plot LowerLR = MiddleLR - dist; The code draws a regression channel where the highest and the lowest borders are defined with the help of the maximum deviation between the price and regression line. The deviation is calculated for all bars using the HighestAll function. Highest HighestWeighted.Jul 7, 2021 · sum vs fold. markt. Jul 7, 2021. M. markt. New member. Jul 7, 2021. #1. I'm a newbie to thinkscript. As such I decided to write my own little piece of code to calculate …The indexing operator [] is used to access the previous or future data in an array of data. The square brackets indicate the shift against the current moment. The positive values of the shift represent the values in the past, the negative shift values represent the values in the future. The indexing operator can be applied to fundamental data ...If you’re looking to stay fit and healthy, investing in a treadmill can be a great idea. Treadmills provide the convenience of exercising from the comfort of your own home while al...There might be a way to get various counts using fold or compoundvalue, but I chose to just carry some variables forward and solve that way. Now you can use a "percent" mode on another lower study to see the percent of time a given count is achieved. This is based on visible data, so the longer the chart, the better the accuracy. Chart:Oliver Velez Trading Bands for ThinkorSwim. November 17, 2022. This is a simple day trading indicator, as explained by Oliver Velez. It uses the previous day’s high, low, and close in addition to the daily 20-period moving average. Assume the trend is bullish when the stock price crosses above the upper band (green).Apr 16, 2022 · Thinkscript fold. Thread starter cay7man; Start date Apr 15, 2022; C. cay7man Member. Apr 15, 2022 #1 Could someone explain fold operator in C/C# for example? TY ... input period = 20; #hint period:Number of bars to look in def Hi = fold i = 0 to period with n = high do Max(n, GetValue(high, i, period - 1)); def Lo = fold k = 0 to period with m = low do Min(m, GetValue(low, k, period - 1)); AddLabel(1, "High in last " + period + " bars = " + Round(Hi,2), Color.GREEN); AddLabel(1, "Low in last " + period ... Before we start the comparison, one thing I really like about ThinkorSwim and Active Trader Pro is that they’re brokerage-owned. This means these two platforms are integrated with their corresponding …. thinkScript101 is the ultimate resource for creating a ThinkorSwim indicator from scratch. Learn from our coding examples.Finishes out wave 5 to bottom. R3 top of wave 1. S2 bottom of wave 2. 2 up to 3 top of wave 3. Down to wave 4. Wave 4 begins the sweet spot up to finish wave 5. Then wait for another wave to develop using the 5- 15 min you even throw a 2min chart up for fast markets. So my suggestion is to label the waves as 1-5.Most likely you will have to refactor the entire script by adjusting offsets so that everything is referenced from the point of view of the current bar looking back only. For example, a simple three bar pivot high in Thinkscript might be coded like this : pivoth = GetValue (high, -1) < GetValue (high, 0) and GetValue (high, 1) < GetValue (high, 0)halcyonguy said: post#2 svanoy , has the correct answer. not sure if it will help, but having the same condition in while and do is redundant. i removed the subtraction. Code: def greenStreak = fold counter = 1 to length with greenBar while (getValue (close,counter) > getValue (open,counter)) do greenBar + 1;May 25, 2019. #1. Anchored VWAP indicator can useful for intraday trading. It can also be used on any timeframe including hourly, daily, and weekly. VWAP can be a great tool for analyzing the market, especially for day traders. A strong uptrend is signaled when the price consistently stays above the VWAP and the VWAP itself is sloping upward.Apr 21, 2022 · Fold () - useThinkScript Community. Forums. Indicator Forums. Questions. Fold () british43. Apr 21, 2022. B. british43. Member. VIP. Apr 21, 2022. #1. Is there a …October 30, 2022. In a recent update (rel-10-29-2022), ThinkorSwim added the Relative Strength Index Hann (RSIH) indicator to its platform. The Relative Strength Index Hann (RSIH), created by John Ehlers, is a technical analysis indicator based on the Relative Strength Index (RSI). The RSIH helps to solve some of the limitations of the RSI.Go to ThinkScript r/ThinkScript ... Scanning with fold() I have a study that uses, in part, fold i=0 to lastbar..... where lastbar is previously defined as: HighestAll(if close then BarNumber() else 0); The study works perfectly fine. But if I …If you do a great deal of word processing in Corel WordPerfect, you may find that you want a type of font that is not currently available in WordPerfect. People sometimes think tha...Google is working with Microsoft, Zoom, Netflix, and Amazon to make some of their popular apps best suited for the Pixel Fold. Google launched its first foldable device, the Pixel ...I have been trying to translate this Indicator from Thinkscript to Pinescript but I have encountered some difficulties as I do not know some equivalences between the two languages. ... def lastH; if highPoint and offset > 1 { lastH = fold iH = 1 to offset with tH = priceH while !IsNaN(tH) and !GetValue(newState, -iH) do if GetValue(newMax, -iH ...If you do a great deal of word processing in Corel WordPerfect, you may find that you want a type of font that is not currently available in WordPerfect. People sometimes think tha...October 30, 2022. In a recent update (rel-10-29-2022), ThinkorSwim added the Relative Strength Index Hann (RSIH) indicator to its platform. The Relative Strength Index Hann (RSIH), created by John Ehlers, is a technical analysis indicator based on the Relative Strength Index (RSI). The RSIH helps to solve some of the limitations of the RSI.I just turn it off and use this script to add the price at the peaks and valleys for every len ticks.. I haven't been able to figure out how to get it to work for the most recent len bars or how to prevent values that are too close from stacking. But …The Graduate Record Examination (GRE) is a standardized test that is widely recognized and accepted by graduate schools and business schools around the world. The purpose of the GR...Jun 2, 2022 · As it stands I got FOLD to do a calculation, but what it is doing is input value = "lookback" * first period (High-Low). It is not doing what I want it to do and this is value = "lookback" + all lookback periods. *On a 1 min chart. *Looking for 1hr Specific Time Frame High-Low SUM using FOLD. 2 days ago · thinkScript® is a built-in programming language that gives you the capability of creating your own analysis tools such as studies, strategies, watchlist columns, etc. In …thinkScript® is a built-in programming language that gives you the capability of creating your own analysis tools such as studies, strategies, watchlist columns, etc. In thinkScript®, you decide which kind of data to analyze with which methods. Functions present in this programming language are capable of retrieving both market and fiscal ...Nov 7, 2022 · Step 1: Go to the Finviz Screener page. Step 2: Set the Float filter to Under 20M. Step 3: Set the Average Volume to Over 300K. Step 4: Set Price to Under $10. The filters above are merely the framework. If you have your own criteria to scan for low float stocks, then you can modify the screener to fit your needs. Jun 3, 2022 · Thinkscript FOLD question. Can someone please assist me in what I have wrong here. I have FOLD used for 2 different formulas. The FIRST one works halfway …Jul 10, 2019 · There might be a way to get various counts using fold or compoundvalue, but I chose to just carry some variables forward and solve that way. Now you can use a "percent" mode on another lower study to see the percent of time a given count is achieved. This is based on visible data, so the longer the chart, the better the accuracy. Chart: I think I found the issue. Inside the fold if the condition was not good, it was setting the value to zero. I changed it to set to the last value instead. I think this was causing a weird bug where the running tally was being reset. I updated the original post with the new link, I'm still new to thinkscript and sharing.def barcnt = fold k = 1 to (lookback + 1) with p. # this looks for smaller bars before the current bar. # while (high > getvalue (high, k) and low < getvalue (low, k)) while ( getvalue (tot, k) < totminvalue ) do p + 1; # barcnt will = the offset # , pointing back to the bar with the desired value of tot.BenTen. As requested, here is the Wolf Waves indicator for ThinkorSwim. It automatically plots support and resistance on your chart, as well as trend lines that you can use to catch potential breakouts or breakdown. This indicator was created by Mobius. As mentioned by the author, this is similar to other Pivot Studies that mark different types ...Intertrigo is inflammation of the skin folds. It tends to occur in warm, moist areas of the body where two skin surfaces rub or press against each other. Such areas are called inte...try setting the loop length to a big number, use while with a stop condition, and see if your stop condition is triggered. experiment with different values for length. fold will keep looping as long as the while statement is true, and the i counter is < length i changed the trigger condition to use OR instead of AND, so all 3 variables will ...Here is the adjusted code to add to your chart for totals of price at the highs/lows. For example, def xh, which used xh[1] + 1, to get the price, def xhp used xhp[1] + price to accumulate the prices.@rad14733posted that the bubbles in the code will show how many times the study repaints. However, if the zigzag study repaints, there is no way ...The past year turned out to be quite constructive for Indian equity. Markets made fresh lifetime highs on the back of improving domestic macros indicators, supportive global equity...There are 2 ways to do alerts. 1) thinkScript Alert () function. Platform and chart have to be open. 2) Platform alert, found on Marketwatch -> Alerts. Platform doesn't have to be open and you can get email/SMS. You can use thinkscript, with some limitations. The Alert () function is irrelevant to a platform alert.I am trying to create a formula without hard coding the values of x into my def of sumXY. I took a try at using the fold and getvalue function but I am not getting the correct values. Any thoughts to where I am going wrong. Thanks def x = 5; def y = close; Plot sumXY = (1 * y[4]) + (2 * y[3])...Look, I'm not going to sit here and pretend like the entire world didn't know this was happening next week, but are theatrics too much to ask? Look, I’m not going to sit here and p...Jan 6, 2022 · ThinkScript itself is already iterated on a bar by bar basis; all variables, functions, etc., are essentially arrays. The fold terminates at to, the fold can be interrupted prematurely by while. The fold itself executes every bar, so for example, in this particular case, on bar 60 it will fold back to bar 20 unless interrupted. All of my folds now break for some reason. If I read the label from the cycle above I might get exactly 30, in non-decimal form. This goes into a variable CyclicMemory which is domCycle * 2. However, when I started fold'ing, my script compiles, but won't render with the error: "Folding integer 'to' is expected.The Up/Down Volume Ratio aids in finding stocks with strong buying demand. Import the source code above and add it to your ThinkorSwim chart. Volume ratio below 1 = selling pressure. Volume ratio above 1 = buying pressure. Volume ratio above 2 = significant buying pressure. This indicator is insufficient on its own.Jul 10, 2019 · There might be a way to get various counts using fold or compoundvalue, but I chose to just carry some variables forward and solve that way. Now you can use a "percent" mode on another lower study to see the percent of time a given count is achieved. This is based on visible data, so the longer the chart, the better the accuracy. Chart: California Closets is renowned for its innovative solutions when it comes to maximizing space and providing functional, stylish furniture. One such solution that has garnered signi...Mar 11, 2021 · First you would need to identify the number of bars since the last entry signal. Def NumBarFromEntry = the number of bars since the last entry signal. You would use that variable as the limit counter in your fold condition which works its way backwards from the current bar. This condition would define "hold". A little background, as I know it to be, is that thinkscript is its own unique language that has its roots in Java. It was created as a new language by a number of Russian Programmers. There are many things that would be nice to have in this language but as I understand it, Arrays is the biggest one that hinders us from creating a more …Hi there, Looking for thinkscript fold equivalent in ninja, here is my simple thinkscript logic: def data = fold i = 0 to 10 with s do s + (if Close > getValue(Open, i) then 1 else if Close < getValue(Open, i) then - 1 else 0);Apr 14, 2019 · The fold manual gives an example: input price = close; input length = 9; plot SMA = (fold n = 0 to length with s do s + getValue(price, n, length - 1)) / lenth; This effectively calls a function iteratively like in a for loop body. When I use this statement to call my own function as follows, then it breaks because the loop index variable is ... The strategies presented in this guide are for educational purposes only and are not a recommendation of a specific investment or investment strategy. Past performance of a security or strategy does not guarantee future results or success. Supporting documentation for any claims, comparison, statistics, or other technical data will be supplied ... GetValue. GetValue ( IDataHolder data, IDataHolder dynamic offset, int max offset); Default values: max offset: 0 Description. Returns the value of data with the specified dynamic offset.. Note: For positive offset values, dynamic offset should be less than or equal to max offset.For negative offset values, dynamic offset should be less than or equal to max offset.Oct 11, 2022 · October 11, 2022. This indicator for ThinkorSwim plots the Effective Federal Funds Rate as a study on the lower subgraph chart. The Federal Reserve uses the EFFR as a primary tool for implementing monetary policy. Effective Federal Funds Rate (EFFR) is calculated as “a volume-weighted median of overnight federal funds transactions.”. BenTen. Here is a multi-moving averages indicator for ThinkorSwim so that you can easily add more than one simple or exponential moving averages without adding multiple indicators. Normally if you want to add a 5 and 10 SMA into your chart, you would need to include 2 different inputs and 2 copies of the same indicator. Now you don't have to.Napkins are not just a practical tool to keep your clothes clean during meals; they can also be used to add an elegant touch to your dining experience. By learning a few easy napki...Jul 27, 2019. #1. If you search for the most popular charting patterns, you will find that the cup and handle pattern is right at the top of the list. According to Investor’s Business Daily, the cup and handle pattern is “the starting point for scoring runs and winning the investing game.”. And yet, despite the popularity of this ...Sep 21, 2021 · halcyonguy. Sep 21, 2021. fold can be tough to wrap your mind around it. it took me awhile, of looking at many examples. take a look at all the posts here. i tried to explain some fold code to someone. some good links there too. i explained a couple of fold loops. https://usethinkscript.com/threads/...onfirming-a-thinkscript-line.6662/#post ... def barcnt = fold k = 1 to (lookback + 1) with p. # this looks for smaller bars before the current bar. # while (high > getvalue (high, k) and low < getvalue (low, k)) while ( getvalue (tot, k) < totminvalue ) do p + 1; # barcnt will = the offset # , pointing back to the bar with the desired value of tot.The Himalayas, Alps, Andes and Appalachian Mountains are examples of fold mountains. The Jura Mountains in Switzerland and France and the Zagros Mountains in Iran and Iraq are also...Mar 11, 2021 · A user asks for help with converting a logic of using a trigger condition to search for behaviors in indicators under specific circumstances to code. The solution …Solution. Joshua. Jul 2, 2022. Yes, as you probably know, close [5] will get the close from 5 bars ago. Likewise, a negative offset such as close [-5] will get the close from 5 bars …Apr 21, 2022 · in the script E , x should be an integer, not a price. it is used as a count number in a fold. change it to = 0. inputs in subs can be set to 0, then when called, real values will be passed into the script. original. Script E {. input y = close; input x = close; new. Script E {. input y = close; SHANGHAI, March 27, 2023 /PRNewswire/ -- JDDJ and Shop Now, the on-demand retail business jointly launched by JD.com, and Dada Group (Nasdaq: Dada... SHANGHAI, March 27, 2023 /PRNe...Here’s a bullish indicator for ThinkorSwim, inspired by a lead strategist at JPMorgan Chase & Co. The VIX (Cboe Volatility Index) is a widely-followed measure of stock market volatility. JPMorgan strategists, led by Mislav Matejka, have developed an indicator based on the VIX that could be used to trade the markets more effectively. 1.

Jul 5, 2020 · Hi halcyonguy, question. I am doing something similar in that I'm trying to addchartbubble for pivot high and pivot low for multiple timeframe on a single chart (ie, pivots for 30, 60, 4-HR, D will show on the 30 minute chart). . Automotive technician mercedes salary

thinkscript fold

Pine Script to thinkScript Converter. This is a done-for-you service where I take your request and convert the entire TradingView indicator into a ThinkorSwim indicator. Upon completion, you’ll receive a fully working ThinkorSwim version. All you have to do is import the code into your ThinkorSwim platform and enjoy. CONVERT NOW.Feb 9, 2023 · input period = 20; #hint period:Number of bars to look in def Hi = fold i = 0 to period with n = high do Max(n, GetValue(high, i, period - 1)); def Lo = fold k = 0 to period with m = low do Min(m, GetValue(low, …lov is just previous day low and up previous day high..never mind, since meanwhile I found out, that I cant use various timeframes in watchlist column..(I am basicaly checking for specific entry signals around previous days low and high) In any case would be usefull for me to know way how to get this data what I wanted: with code above I am able …What would be the code for a scan that shows a line for yesterday's high/low and premarket high/low? I've found similar scans, but they all include bells and whistles that I do not want, like Fib retracement levels and candlestick coloring, and I mess up the code when I try to edit the extra stuff out.Hi there, Looking for thinkscript fold equivalent in ninja, here is my simple thinkscript logic: def data = fold i = 0 to 10 with s do s + (if Close > getValue(Open, i) then 1 else if Close < getValue(Open, i) then - 1 else 0);plot UpperBand = Highest(high[1], length); plot MiddleBand = (LowerBand + UpperBand) / 2; The plots in the example illustrate the Donchian Channels system where the Lower Band and the Upper Band are calculated as the minimum low and maximum high for the previous length bars. Note that the low and high for the current bar are left out of account ...Rules of this forum. 1. This is where you can share ThinkorSwim indicators with the community. 2. DO NOT post your questions in this forum. For general questions or request for indicators, post them here. 3. If you plan on including images in your post, be sure to go through this tutorial. It will show you how to attach images.California Closets is renowned for its innovative solutions when it comes to maximizing space and providing functional, stylish furniture. One such solution that has garnered signi...plot UpperBand = Highest(high[1], length); plot MiddleBand = (LowerBand + UpperBand) / 2; The plots in the example illustrate the Donchian Channels system where the Lower Band and the Upper Band are calculated as the minimum low and maximum high for the previous length bars. Note that the low and high for the current bar are left out of account ...Author Message: Description: The "⨊ Standardized Orderflow" indicator is a powerful tool designed to enhance your technical analysis and trading strategies. This script brings together several unique features such as divergences, order flow, and volume-based sentiment analysis to provide traders with valuable insights into trend direction and …NewHighLowBreakout Indicator In an effort to learn how to use the Thinkscript "fold" command, I wrote this indicator which measures the number of bars taken to exceed the price since it was at this same level. I freely admit that I studied other indicator code and copied and modified the work of others to create this indicator!SHANGHAI, March 27, 2023 /PRNewswire/ -- JDDJ and Shop Now, the on-demand retail business jointly launched by JD.com, and Dada Group (Nasdaq: Dada... SHANGHAI, March 27, 2023 /PRNe...Jun 3, 2022 · Thinkscript FOLD question. Can someone please assist me in what I have wrong here. I have FOLD used for 2 different formulas. The FIRST one works halfway …As it stands I got FOLD to do a calculation, but what it is doing is input value = "lookback" * first period (High-Low). It is not doing what I want it to do and this is value = "lookback" + all lookback periods. *On a 1 min chart. *Looking for 1hr Specific Time Frame High-Low SUM using FOLD.May 3, 2021 · May 3, 2021. #1. Hi everyone, Hope all is well! I wanted to ask the community to see if we can get some other possible ideas to optimize this piece of code by removing the fold statement: Code: def bn = barnumber(); def v = volume; def isRTH = GetTime() >= RegularTradingStart(GetYYYYMMDD()) and GetTime() < RegularTradingEnd(GetYYYYMMDD()); Oct 24, 2022 · The Highest() function in thinkScript returns the highest value of a condition or variable for the last specified bars. Highest() syntax and parameters. The syntax for the Highest() function is Highest(source, length); Source: The highest value from this data. Length: The lookback period in which the highest value is found. thinkScript Highest ... @ssara Not possible in thinkscript the way you describe for a couple reasons.-No arrays-There isn't a true LOOP function in thinkscript, FOLD is as close as you could get.-Thinkscript is not a traditional programming language, it's designed for primarily plotting on a graph. It can be done though, In, order to do what you want, one …@cos251 @germanburrito @SleepyZ The indicator now works as expected. Thanks for your help. The next challenge is writing a scanner on 15 minutes. With the following DOWN candle with Bull and not isExp (this is signal is for short trades when the candle is bull and weak “pink color” with wick pointing down; print red dot or Red circle). ….

Popular Topics