The script is resampling the price based on its range/price-action and creates an alternative filter to smoothen price movements. Overview of features: Optional stop-loss Optional flags to control the position entry Optional flags to control the position exit Built-in backtesting engine with start balance, position size and pyramiding Inputs for a...
Pinescript - Common Label & Line Array Functions Library by RagingRocketBull 2021 Version 1.0 This script provides a library of common array functions for arrays of label and line objects with live testing of all functions. Using this library you can easily create, update, delete, join label/line object arrays, and get/set properties of individual label/line...
Hi BIG PLAYERS Each of us makes mistakes and exceptions confirm the rule. However, if you disregard the rules of trading, you lose your money - without any ifs and buts! I have therefore created a reminder label for myself, which trading approaches I always want to stick to. These rules serve me as a guideline when I should trade. Through the permanent...
This indicator looks simple but it was bit tricky to code and to make it work on all time frames . I have used array in this to showcase the use of array, array give you more flexibly. It works on all time frame 1m 2m 3m 5m 10m 15m 30m 60m 120m. When the time frame is greater than the or equal to "D" it will show the current bar volume only. Total volume is...
Script to display Supertrend trend state of 8 different securities in a panel. Timeframe & Tickers which are to be displayed can be configured from settings. Part of code is from the ADX DI Monitoring Panel script by u/wugamlo with his permission. Thanks to him for that and do please check out his work also.
An example of using str.replace_all() function to extract a crypto ticker without its pair. It can be useful if you didn't know syminfo.basecurrency existed. I didn't know syminfo.basecurrency exists. Lol
This is a script to make calculating position size easier. It calculates position size as a percentage of account balance and Risk/Reward based on input values of entry, exit, stoploss and shows the R/R box similar to tradingview's R/R tool. There is an option to toggle showing label and choosing of label text color. Have to enter the following inputs in order...
This screens for Hull MA trend reversal's in 10 different securities. If the label color is not visible due to the text in it being white colored, then choose a different color from settings. Also added a simple HullMA to it. If want can increase it upto 40 securities in the code which is upto user to decide. This was requested by soderstromkenan in comments and...
This screens for Supertrend reversal's in 10 different securities. The main logic for the screener is taken from "Simple Custom Screener in Pinescript" by QuantNomad with his permission. If the label color is not visible due to the text in it being white colored, then choose a different color from settings. Also added a simple supertrend to it. Terminology...
Function: labelling recent highs and lows automatically. Easy and clean. In this example, we can see the previous low of the ticker is around 105.5, the previous high is around 120. We can set up our entries and exits by referring to the last lows and highs. Users can adjust the searching bar range by themselves.
A good amount of users requested a text box showing various price statistics, the following script returns various of these stats in a user-selected range, and include classical ones such as a central tendency measurement (mean), dispersion (normalized range) and percent change, but also include less common statistics such as average traded volume and number of...
Some code for detecting the very rare occurrences of the Marubozu candle. This candle occurs when the High = Close, and Low = Open, or vice versa. They are continuation candles, so if you see a bullish Marubozu during an uptrend its possible that the uptrend will continue.
This is a simple RSI indicator that overlays the current chart to show labels for specified oversold and overbought areas defined with inputs. It will delete any labels of the same kind within the last 3 candles so you don't see as many labels as you would otherwise. Red labels with white text represent overbought RSI levels as defined by the user. Green labels...
Illustrates open and close of the superior candles; the timeframe is choosable from pulldown menu. Label shows the price of the open and indicate chosen superior candle's status (bull/bear) according to the current close. インジケーターの設定ドロップダウンメニューから上位足の始値と終値をスイッチングできるので、タイムフレームを跨がずに現在足からラインを引くことができます。表示した上位足の始値を示すラベルは、当該足が陽線か陰線かによって色が反転します。 ライントレードの補助用インジケータとしてご利用ください。
This simple strategy demonstrates the use of Pine Script version 4 "label" feature to show status box. This box can display anything, in this case it shows current market position, current profit and close price. It renders the box in green if profit is positive, red if negative and blue if neutral.
Hello traders A follower asked me to convert my Trend Direction Helper into a strategy So blessed this indicator reached the 1400+ likes milestone - I can't believe how many people are trading with it I based the setup as follow: - Entries on those green/red labels - exit whenever a Simple Moving Averages cross in the opposite direction happen -...
Hey guys, this script shows monthly, weekly and daily OHLC data represented as horizontal level. I tried to make it as user-friendly as possible. Therefore, you can add different colors and styles for each level, as well as turn them on and off. With the "Label Offset" -parameter you are in control where the label text should appear. You can shift it from left...
Hello traders Today is a Pinescript hack to display multiple colors in one label. I used that panel to show the Supertrend Long Term values (weekly, monthly, quarterly, yearly) What is a Supertrend? Definition : SuperTrend is an indicator that works on all timeframes and all instruments (stocks, futures, forex, ...). It is a great tool to follow market...