Rainbow IndicatorName of the indicator:  Rainbow indicator
 
 A brief description of the indicator: 
Using this indicator, you can see the "margin of safety" for opening a position in shares of fundamentally strong companies with an acceptable P/E level, as well as the price range for closing a position.
 
 The background to the creation of the indicator: 
I got the idea to create this indicator thanks to the concept of the "margin of safety", which was invented by the father of value investing - Benjamin Graham. According to his idea, it is reasonable to buy shares of a company only when the price offered by the market is lower than the "intrinsic value" calculated on the basis of financial statements. The value of this difference is the "margin of safety”. At the same time, the indicator does not copy Graham's idea but develops it relying on my own methodology.
 
So, according to Graham, the "margin of safety" is a good discount to the intrinsic value of the company. That is, if a company's stock is trading at prices that are well below the company's intrinsic value (on a per-share basis), it's a good opportunity to consider buying it. In this case, you will have a certain margin of safety in case the company is in financial distress and its stock price goes down. Accordingly, the greater the discount, the better.
 
When it comes to the intrinsic value of a company, there are many approaches to determining it - from calculating the Price-to-book value financial ratio to the discounted cash flow method. As for my approach, I am not trying to find the cherished intrinsic value, but I am trying to understand how fundamentally strong the company is in front of me, and in how many years the investment in it will pay off. To determine fundamental strength, I use the appropriate  Fundamental Strength Indicator . To estimate the payback period, I use the P/E ratio (*). If I am satisfied with both of these indicators, I move on to the Rainbow Indicator.
 
(*) If you want to learn more about the P/E ratio, I suggest reading my two articles on TradingView: 
 Price / Earnings: Interpretation #1 
 Price/Earnings: amazing interpretation #2 
 Indicator calculation methodology: 
The Rainbow indicator starts with a simple moving average of one year (this is the thick red line in the center). Hereinafter a year will mean the last 252 trading days.
  
Applying a moving average of this length - is a good way to smooth out sharp price fluctuations which can happen during a year as much as possible, keeping the trend direction as much as possible. Thus, the moving average becomes for me the center of fluctuations of the imaginary pendulum of the market price.
Then the deviations are calculated from the center of fluctuations. To do this, a certain amount of earnings per share is subtracted from and added to the moving average. This is the diluted EPS of the last year.
 
Deviations with a "-" sign form the  Lower Rainbow  of four colors:
- The blue spectrum of the lower rainbow begins with a deflection of  -4  EPS and ends with a deflection of  -8  EPS.
- Green spectrum of the lower rainbow begins with a deflection of  -8  EPS and ends with a deflection of  -16  EPS.
- The orange spectrum of the lower rainbow begins with a deflection of  -16  EPS and ends with a deflection of  -32  EPS.
- Red spectrum of the lower rainbow begins with a deflection of  -32  EPS and goes to infinity.
 
The Lower Rainbow is used to determine the price ranges that can be considered for buying stocks. It is in the spectra of the Lower Rainbow that the very "margin of safety" according to my methodology is located. The Lower Rainbow has the boundaries between the spectra  as a solid line . And only the red spectrum of the Lower Rainbow has only one boundary.
  
 
Deviations with a "+" sign form the  Upper Rainbow  of four similar colors:
- The red spectrum of the upper rainbow begins with a deflection of  0  EPS and ends with a deflection of  +4  EPS.
- The orange spectrum of the upper rainbow begins with a deflection of  +4  EPS and ends with a deflection of  +8  EPS.
- Green spectrum top rainbow begins with a deflection of  +8  EPS and ends with a deflection of  +16  EPS.
- The blue spectrum of the upper rainbow begins with a deflection of  +16  EPS and goes to infinity.
 
The Upper Rainbow is used to determine the price ranges that can be considered for selling stocks already purchased. The top rainbow has boundaries between the spectra  in the form of crosses . And only the blue spectrum of the upper rainbow has only one boundary.
  
 
The presence of the Empty Area (the size of 4 EPS) above the Lower Rainbow creates some asymmetry between the two rainbows - the Lower Rainbow looks wider than the Upper Rainbow. This asymmetry is deliberate because  the market tends to fall much faster and deeper than it grows . Therefore, a wider Lower Rainbow is conducive to buying stocks at a good discount during a period of massive "sell-offs.
 
The situation, when the Lower Rainbow is below the center of fluctuations (the thick red line) and the Upper Rainbow, is above the center of fluctuations is called an  Obverse .  It is only  possible  to buy a stock in an Obverse situation .
  
The situation when the Lower Rainbow is above the center of fluctuations and the Upper Rainbow is below the center of fluctuations is called  Reverse . In this situation, the stock  cannot  be considered for purchase , according to my approach.
  
Selling a previously purchased stock is possible in both situations: Reverse and Obverse. After loading the indicator, you can see a hint next to the closing price - Reverse or Obverse now.
Due to the fact that the size of the deviation from the center of fluctuation depends on the size of the diluted EPS,  several important conclusions  can be made:
- The Obverse situation is characteristic of companies that show a profit over the last year.
- The Reverse situation is typical for companies that show a loss over the last year.
- An increase in the width of both rainbows in the Obverse situation tells us about an increase in profits for the company.
- A decrease in the width of both rainbows in the Obverse situation tells us about a decrease in the company's profits.
- An increase in the width of both rainbows in the Reverse situation tells us about an increase in the company's losses.
- A decrease in the width of both rainbows in the Reverse situation tells us about a decrease in the company's losses.
- The higher the profit level of the company, the greater your "margin of safety" should be. This will provide the necessary margin of safety in case you go into a cycle of declining financial results. The appropriate width of the Lower Rainbow will just create this "margin".
- Increased profits in the company (after buying its stock) will allow you to stay in position longer by widening the Upper Rainbow.
- A decrease in profits in the company (after buying its stock) will allow you to close your position more quickly by narrowing the Upper Rainbow.
 
 Conditions for opening and closing positions: 
So, the Lower Rainbow has four differently colored spectra: blue, green, orange, and red. Each one highlights the desired range of prices acceptable for buying in an Obverse situation. The blue spectrum is upper with respect to the green spectrum, and the green spectrum is lower with respect to the blue spectrum, etc.
 
- If the current price is in the Blue Spectrum of the Lower Rainbow, that is a reason to consider that company for buying the first portion (*) of the stock.
- If the current price has fallen below (into the Green Spectrum of the Lower Rainbow), that is a reason to consider this company to buy a second portion of the stock.
- If the current price has fallen below (into the Orange Spectrum of the Lower Rainbow), it is a reason to consider this company to buy a third portion of the stock.
- If the current price has fallen below (into the Red Spectrum of the Lower Rainbow), that is a reason to consider that company to buy a fourth portion of the stock.
 
(*) The logic of the Rainbow Indicator implies that no more than 4 portions of one company's stock can be purchased. One portion refers to the number of shares you can consider buying at the current price (depending on your account size and personal diversification ratio - see information below).
The Upper Rainbow also has four differently colored spectra: blue, green, orange, and red. Each of them highlights the appropriate range of prices acceptable for closing an open position.
 
- If the current price is in the red spectrum of the Upper Rainbow, I close one portion of an open position bought in the red spectrum of the Lower Rainbow.
- If the current price is in the orange spectrum of the Upper Rainbow, I close one portion of an open position bought in the orange spectrum of the Lower Rainbow.
- If the current price is in the green spectrum of the Upper Rainbow, I close one portion of an open position bought in the green spectrum of the Lower Rainbow.
- If the current price is in the blue spectrum of the Upper Rainbow, I close one portion of an open position bought in the blue spectrum of the Lower Rainbow.
 
This position-closing logic applies to both the Obverse and Reverse situations. In both cases, the position is closed in portions in four steps. However, there are 3 exceptions to this rule when it is possible to close an entire position in whole rather than in parts:
- If there is a Reverse situation and the current price is above the thick red line.
- If I decide to invest in another company and I do not have enough available cash to purchase the necessary number of portions.
- If I find out about events that pose a real threat to the further existence of the company (for example, a bankruptcy filing), I can close the position earlier, without waiting for the price to hit the corresponding Upper Rainbow spectrum.
 
So, the basic scenario of opening and closing a position assumes the gradual purchase of shares in 4 stages and their gradual sale in 4 stages. However, there is a situation where one of the stages is skipped in the case of buying shares and in the case of selling them. For example, because the Fundamental Strength Indicator and the P/E ratio became acceptable for me only at a certain stage (spectrum) or the moment was missed for a transaction due to technical reasons. In such cases, I buy or sell more than one portion of a stock in the spectrum I am in. The number of additional portions will depend on the number of missed spectra. For example, if I have no position in the stock of the company in question, all conditions for buying the stock have been met, and the current price is in the orange spectrum of the Lower Rainbow, I can buy three portions of the stock at once (for the blue, green, and orange spectrum). I will sell these three portions in the corresponding Upper Rainbow spectra (orange, green, and blue). However, if for some reason the orange spectrum of the Upper Rainbow was missed, and the current price is in the green spectrum - I will sell two portions of the three (in the green spectrum). I will sell the last, third portion only when the price reaches the blue spectrum of the Upper Rainbow.
 
The Rainbow Indicator also helps calculate the number of shares that can be considered for purchase at the current price position in the Lower Rainbow spectra. To do this, you need to go to the indicator settings.
  
 
 + Cash in - Cash out +/- Closed profit/loss + Dividends - Fees - Taxes 
Here I indicate the amount of funds deposited to my account, withdrawn from it, profit/loss on closed positions, dividends credited to the account, and taxes deducted from the account.
 
 Diversification coefficient 
The diversification coefficient determines how diversified I want my portfolio to be. For example, a diversification coefficient of 20 means that I plan to buy 20 share portions of different companies, but no more than 4 portions per company (based on the number of Lower Rainbow spectra).
 
 The cost of purchased shares of this company (fees excluded) 
Here I specify the amount of already purchased shares of the company in question in the currency of my portfolio. For example, if at this point in time, I have purchased 1000 shares at $300 per share, and my portfolio is expressed in $, I enter - $300,000.
 
 The cost of all purchased shares in the portfolio (fees excluded) 
Here I enter the amount of all purchased shares for all companies in the currency of my portfolio (without commissions spent on the purchase). This is necessary to determine the amount of available funds available to purchase shares.
 
After entering all the necessary data, I go to the checkbox, by checking it I confirm that the company in question has been studied with the  Fundamental Strength Indicator  and the P/E ratio, and their values are satisfactory to me. No calculation is performed without the checkbox checked. This is done intentionally because the application of the Rainbow Indicator for stock acquisition purposes is possible only after studying the Fundamental Strength of the company and an acceptable P/E value.
 
Next, I click "Ok" and get the calculation in the form of a table on the left.
  
 
 Free cash in the portfolio 
This is the amount of free cash available to purchase stocks. Please note that the price of the stock and the funds in your portfolio must be denominated in the same currency. On TradingView, you can choose which currency to display the stock price in.
 
 Cash amount for one portion 
The amount of cash needed to buy one portion of a stock. Depends on the diversification ratio entered.
 
 Potential portions amount 
Number of portions, available for purchase at the current price. Can be a fractional number.
 
 Cash amount to buy 
The amount of cash needed to buy portions available for purchase at the current price.
 
 Shares amount to buy 
Number of shares in portions available for purchase at the current price.
The table also contains additional information in the form of the current value of the company's market capitalization and P/E ratio.
 
 Mandatory requirements for using the indicator: 
- works only on a daily timeframe;
- the indicator is only applicable to shares of public companies;
- quarterly income statements for the last year are required;
- an acceptable for you P/E ratio is required to consider the company's stock for purchase;
- the Rainbow Indicator only applies in tandem with the Fundamental Strength Indicator. To consider a company's stock for purchase, you need confirmation that the company is fundamentally strong.
 
 What is the value of the Rainbow Indicator? 
- clearly demonstrates a company's profit and loss dynamics;
- shows the price ranges that can be used to open and close a position;
- takes into account the principle of gradual increase and decrease of a position;
- allows calculating the number of shares to be purchased;
- shows the current value of the P/E ratio;
- shows the current capitalization of the company.
 
 Example: 
As an example, consider the situation with NVIDIA Corporation stock (ticker - NVDA).
 September 02, 2022: 
Fundamental Strength Indicator - 11.46 (fundamentally strong company).
P/E - 39.58 (acceptable to me).
Current Price - $136.47 (is in the Orange Spectrum of the Lower Rainbow).
Situation - Obverse.
  
The basic conditions for buying this company's stock are met. The Rainbow Indicator settings are filled out as follows:
  
The table to the left of the Rainbow Indicator shows how many shares are possible to buy in the Orange Spectrum of Lower Rainbow at the current price = 10 shares. This corresponds to 2.73 portions. 
To give you an example, I buy 10 shares of NVDA at $136.47 per share.
 October 14, 2022: 
NVDA's stock price has moved into the red spectrum of the Lower Rainbow.
The Fundamental Strength Indicator is 10.81 (fundamentally strong company).
P/E is 35.80 (an acceptable level for me).
Current Price - $112.27 (is in the Red Spectrum of the Lower Rainbow).
Situation - Obverse.
  
The basic conditions for buying this company's stock are still met. The Rainbow Indicator settings are populated as follows:
  
The table to the left of the Rainbow Indicator shows how many shares are possible to buy in the Lower Rainbow Red Spectrum at the current price (5 shares). This corresponds to 1.12 portions.
To give you an example, I buy 5 shares of NVDA at $112.27 per share. A total of 3.85 portions were purchased, which is the maximum possible number of portions at the current price level. The remainder in the form of 0.15 portions can be purchased only at a price level below $75 per share.
 January 23, 2023: 
The price of NVDA stock passes through the red spectrum of the Upper Rainbow and stops in the orange spectrum. As an example, I sell 5 shares bought in the red spectrum of the Lower Rainbow, for example at $180 per share (+60%). And also a third of the shares bought in the orange spectrum, 3 shares out of 10, for example at $190 a share (+39%). That leaves me with 7 shares.
  
 January 27, 2023: 
NVDA's stock price has continued to rise and has moved into the green spectrum of the Upper Rainbow. This is a reason to close some of the remaining 7 shares. I divide the 7 shares by 2 and round up to a whole number - that's 4 shares. For my example, I sell 4 shares at $199 a share (+46%). Now I am left with 3 shares of stock.
  
 February 02, 2023: 
The price of NVDA stock moves into the blue spectrum of the Upper Rainbow, and I close the remaining 3 shares, for example, at $216 per share (+58%). The entire position in NVDA stock is closed.
  
As you can see, the Fundamental Strength Indicator and the P/E ratio were not used in the process of closing the position. Decisions were made only on the basis of the Rainbow Indicator.
As another example, let's look at the situation with the shares of  Papa Johns International, Inc.  (ticker PZZA).
 November 01, 2017: 
Fundamental Strength Indicator - 13.22 points (fundamentally strong company).
P/E - 21.64 (acceptable to me).
Current Price - $62.26 (is in the blue spectrum of the Lower Rainbow).
Situation - Obverse.
  
The basic conditions for buying shares of this company are met. The settings of the Rainbow Indicator are filled as follows:
  
The table to the left of the Rainbow Indicator shows how many shares are possible to buy in the Lower Rainbow Blue Spectrum at the current price - 8 shares. This corresponds to 1 portion. 
To give you an example, I buy 8 shares of PZZA at a price of $62.26.
 August 8, 2018: 
PZZA's share price has moved into the green spectrum of the Lower Rainbow.
The Fundamental Strength Indicator is a 9.83 (fundamentally strong company).
P/E is 16.07 (an acceptable level for me).
Current Price - $38.94 (is in the green spectrum of the Lower Rainbow).
Situation - Obverse.
  
The basic conditions for buying shares of this company are still met. The Rainbow Indicator settings are populated as follows:
  
The table to the left of the Rainbow Indicator shows how many shares are possible to buy in the Lower Rainbow Green Spectrum at the current price - 12 shares. This corresponds to 0.93 portions. 
To give you an example, I buy 12 shares of PZZA at a price of $38.94. A total of 1.93 portions were purchased.
 October 31, 2018: 
PZZA's stock price moves into the Upper Rainbow red spectrum and is $54.54 per share. Since I did not have any portions purchased in the Lower Rainbow red spectrum, there is no closing part of the position.
  
 February 01, 2019: 
After a significant decline, PZZA's stock price moves into the orange spectrum of the Lower Rainbow at $38.51 per share. However, I am not taking any action because the company's Fundamental Strength on this day is 5.02 (a fundamentally mediocre company).
  
 March 27, 2019: 
PZZA's stock price passes the green and blue spectrum of the Upper Rainbow. This allowed to close the previously purchased 12 shares, for example, at $50 a share (+28%) and 8 shares at $50.38 a share (-19%).
  
Closing the entire position at once was facilitated by a significant narrowing in both rainbows. As we now know, this indicates a decline in earnings at the company.
 Risk disclaimer: 
When working with the Rainbow Indicator, keep in mind that the release of the Income statement (from which diluted EPS is derived) occurs some time after the end of the fiscal quarter. This means that the new relevant data for the calculation will only appear after the publication of the new statement. In this regard, there may be a significant change in the Rainbow Indicator after the publication of the new statement. The magnitude of this change will depend on both the content of the new statement and the number of days between the end of the financial quarter and the publication date of the statement. Prior to the publication date of the new statement, the latest actual data will be used for the calculations. Also, once again, please note that the Rainbow Indicator can only be used in tandem with the  Fundamental Strength Indicator  and the P/E ratio. Without these additional filters, the Rainbow Indicator loses its intended meaning.
The Rainbow Indicator allows you to determine the price ranges for opening and closing a position gradually, based on available data and the methodology I created. You can also use it to calculate the number of shares you can consider buying taking into account the position you already have. However, this Indicator and/or its description and examples cannot be used as the sole reason for buying or selling stocks or for any other action or inaction related to stocks.
Pesquisar nos scripts por "profit"
LuBotINTRODUCTION 
This indicator was born from a personal need to have everything needed in one place and to allow any trader to see the market as I see it, so that everyone, even the novice trader, immediately feels at ease as I do me when I look at the graphs.
Over time I have also developed other indicators which I associate with the LuBot, however it is designed to be used as a standalone indicator which can suit any trading style.
Of course, no indicator or strategy can predict the future. Only a good mindset and good money management can lead you to be a consistently profitable trader in the long run. Which is why together with the indicator I will provide further examples of use with personal insights and thoughts about my way of seeing the market.
Below you will find everything you need to understand what you will get with this indicator and how to use it, but there are so many configurations that you can do that could make you find a better setup than mine as each of us has different needs and different timing.
Some of us don't mind keeping positions open overnight and others want to close everything by the end of the day. There are those who look at charts with very low timeframes and those like me who prefer to look at higher timeframes like the Daily for reasons of practicality and more "relaxed" timing.
Because of this I don't want to limit the use of the indicator to what is my way of using it. Each of us has different needs, and this indicator is used to show you the way forward and satisfy your needs.
 WHAT IS LuBot? 
LuBot is a multi-piece indicator that provides any trader with everything they need to trade in one place.
The idea is to make it easier to see the market and give everyone the opportunity to start trading with a simple method that is within everyone's reach.
The LuBot indicator works on any TradingView chart and timeframe and includes several basic components including:
 - Long and Short signals:  distinguishable in SwingSignals and MultiSignals.
SwingSignals have an alternating Long-Short sequence. The logic of these signals is to indicate the trend to follow which, if supported by the other components, allows inputs in favor of swings. MultiSignals signals add intermediate signals to favor entry even on a single signal and could be used both to add further confirmation to the trend-following trade and for scalping, thus exiting the trade as soon as possible.
  
  
 - Reversal Bands :  placed at the ends of the chart, they indicate an area of probable price reversal (overbought and oversold areas). They are divided into colored bands each of which increases its repelling force as the intensity of the color increases. If the price crosses an extreme we expect an even stronger reversal.
  
 - Customizable Moving Averages :  3 in total which can be modified in length, source and type of moving average (ema, sma, wma, etc.). By default I have entered the settings that I use personally.
 - Trend Cloud :  colored band according to the trend. By default the colors are green for bullish trend, red for bearish trend and gray for sideways/neutral phase. Coupled with moving averages they are a perfect tool to better follow the trend.
  
 - Swings :  shows swings on the chart so you can better understand their structure and refine trend tracking. Excellent as reference points for new trades.
 - Reversal Signals :  small signals shown as arrows above and below the chart. Those above appear when the price is overbought, conversely those below appear when the price is oversold. They are not entry inputs but they help for both entry and exit of the trade.
  
 - Trend Candles :  the candles are colored according to the trend defined in the code. Additional support to avoid entering against the trend or to exit the market when the trend reverses.
 - Supports and Resistances :  supply and demand levels will appear automatically and will update over time. They take the pivot points as references and it is possible to modify their period. A higher value will show wider levels, a lower value will show levels based on the latest price movements.
 - Trend Channel :  Show an automatic trend channel based on the period entered in the settings. A value of 100 will show a channel based on the price average of the last 100 candles.
  
 - Alerts :  finally we find the alerts both for Long and Short signals and for the appearance of a new swing. Before activating alerts, make sure you have chosen the signal settings you prefer so that you only receive that type of alert. The alert will adapt to the parameters you have chosen and will notify you whenever a new signal or swing appears. The "Any function alert" will alert you whenever a Long or Short SwingSignals appear.
 SIGNAL SETTINGS 
These are the signal setting modes.
First we open the indicator settings by clicking on the gear in the upper left next to the indicator name, or by double clicking on one of the indicator components in the chart.
 
At this point a menu will open in which the various components appear in an orderly manner.
The first group concerns the signal settings.
The first item indicates the Signal Type in which we can choose whether to display the SwingSignals or MultiSignals signals.
The second item indicates the Signal Style in which we can choose a value from 0 to 3.
Value 0 will show all signals not filtered by the trend. The value 1 will add a first trend filter and increase the restriction on the trend by increasing the value.
Next we find 3 selectable boxes called Limit Signals.
Each of these boxes will add further filters to the signals in order to limit the signals in periods of laterality and to avoid an excess of signals shown on the chart.
By acting on these settings we could find the right setup that best suits our needs.
Finally, the last modifiable parameter concerns the display of the last signals which by default is set to 3000. This means that all the signals in the last 3000 candles will be displayed on the chart.
 HOW I USE IT 
As I wrote above my favorite timeframe is the Daily. This timeframe allows me to study the market very calmly and gives me all the time necessary to decide how to behave on the market. Furthermore, the Daily timeframe fits perfectly with my vision of trading, which is the one that allows you to have time for yourself instead of working all day and not being able to devote yourself to family or other businesses.
In this way I observe the market only in the morning or in the evening and thanks to this indicator I can make decisions very quickly unlike when I had to analyze chart by chart with other manual tools. Moreover, thanks to this configuration I can easily do everything from my smartphone. You don't know what satisfaction it feels like to sit comfortably on your sofa in the evening and observe the markets from your mobile phone and open and close trades thanks to this indicator.
Now let's move on to the practical part and see the main actions I take when I look at a graph from scratch. The examples will cover the Long position but the reverse applies for the Short position.
 HOW TO ENTER THE MARKET 
1- First I set the signals with the Limit Signals type 3 option and use the SwingSignals signals. In this way I avoid too much confusion in the graph and consider the last signal 
    that points me in the main direction to follow.
  
2- In the image above we see a Long signal as the last. So from then on I will only look for Long entries.
3- I wait for the TrendCloud to turn green and thus favor the direction bullish.
4- I wait for the price to rise above the ema21 (orange moving average set by default) and the TrendCloud.
5- If the TrendCloud is above the ema100 (blue moving average) and the ema200 (yellow moving average) this increases the idea of bullish strength.
6- I expect a retracement and then a return of prices towards the zone ema21 or TrendCloud.
7- At this point, as we can see from the image below, I start looking at the Swing.
  
Swings determine the structure and trend of the market.
Increasing highs and lows = Uptrend
Lower highs and lower lows = Bearish trend
If in this case the swing low is positive then HL (HigherLow) we are more likely to enter in favor of a positive trend and be able to bring home a profit.
8- The break of the high of the swing candle (the one where we find the label HL) is already an entry trigger in itself, but to improve the probability of success and avoid 
    entering false movements we add MultiSignals signals to have input patterns specific.
  
In this case we have a Long entry pattern so the entry on the break of the maximum is confirmed.
9- A further confirmation is given by the TrendCandles that we can activate from the settings. If the last candles are green and the candle of ours probable trade is also 
    green, we have a further confirmation of possible rise.
 TRADE MANAGEMENT AND EXIT 
1- The moment we decide to open the position we need to know in advance where you mainly enter the stop loss and then the take profit.
2- To enter the stop loss we can use the last swing low as reference, or the TrendCloud. Based on the risk you want to get on that trade.
    If the conditions are particularly positive you can place the stop loss a few pips below the swing low. The take profit instead it depends on how long you want to hold the 
    trade. Personally I prefer to exit trades as soon as possible to avoid staying too long exposed to reversal risks. This is about a trading approach short term. 
    So it could be placed on the level of the previous high as in the following example.
  
In this case the trade lasts only 4 candles and the overnight costs and the risk of closing the trade with a loss are limited.
3- To view the exit levels for TP and SL you can also use the automatic Support and Resistance tool.
  
In this example we see that the closest support level coincided with the low of the swing so inserting the stop loss below the low of the swing would have had greater validity. The Take Profit, on the other hand, could be placed on the closest Resistance level.
4- A more conservative approach would lead us to place the stop loss below the TrendCloud or below the previous swing low (more recommended approach). In this way we 
    will avoid the risk of being stopped and subsequently seeing the market continue in our direction as often happens.
  
In this example we see a Long trade on a subsequent MultiSignals signal which is stopped when the price makes a retracement on the TrendCloud. In this case we see that if we had placed the stop below the previous swing low or below the TrendCloud we would still have remained in the market and would be positive.
5- In the example above, it must also be considered that the market had already made several positive swings without making a more important retracement on the 
    TrendCloud, so after making 1 or 2 trades I would avoid forcing too much by chasing all the signals because it is the most correct approach.
    After 3-4 consecutive swings without retracements, I recommend waiting.
    When the market has made a major retracement then the swing count can start over and we could enter on the next swing high mark or break.
 CONCLUSIONS 
As you will have understood, the main approach is Trend is Your Friend, the trend is our main friend in trading and insisting on counter-trend operations is not profitable and sustainable in the long run. Even with LuBot you can do countertrend trades but they are not the ones I recommend so I won't talk about them here.
Last but not least it must be said that the indicator does not repaint, this means that the signals will not disappear over time and the alerts are reliable.
Each of these components has been inserted on the basis of a personal need and on the basis of studies done directly by me in the field. This is the first official release after 3 years of developments.
This indicator is not a strategy, does not show backtest results and does not show Take Profit or Stop Loss levels. The purpose of this indicator is to give everyone an idea of price behavior and to implement a discretionary strategy. Signals are not always a reason to enter and TP and SL levels vary depending on the type of trade, which is why an automated backtest could show different results than you might have.
This indicator is intended to help the trader (beginner or not) to find the trades to make more easily and to allow anyone to follow a strategy. Since this is an indicator for discretionary trading, I don't invite you to follow all the signals, but to reason with all the tools available within it. When there are more elements that match, the chances of success are higher. You have to be patient and avoid getting caught up in haste and emotions. Considering that the market is unpredictable and there can be no certainties about its future movement, I take no responsibility for your use of this indicator.
Round Numbers Breakouts Smart Formula Signals and AlertsThis indicator uses Round Numbers breakouts and then uses smart formula with the near Round Numbers to determine best TP (take profit)/SL (stop loss) areas. Furthermore, it calculates win percentage, shows in-profit/in-loss peaks and the price amount result over a customizable date range, which when combined well with the smart formula provides decent profitable outcome. I have decided to write my own backtesting engine as the integrated TradingView strategy one has limitations and has shown inconsistencies when compared to manual backtesting…
There are many settings you can manually change to trade any instrument, any style, any approach and there are presets included for Bitcoin(BTCUSD), FOREX(EURUSD), SPY(S&P500), so you can start trading immediately! Alerts correspond to indicator settings and are turned on with a few clicks. There are 3 tables (each can be shown/hidden) showing everything you need to see/know to calibrate the indicator as you wish.
Labels, lines, tables explanations (everything can be hidden/shown):
-	LONG Labels: medium-green: position open, dark-green: SL, bright-green: TP, blue: TP2
-	SHORT Labels: medium-red: position open, dark-red: SL, bright-red: TP, purple: TP2
-	Gray circles: position entry area | Yellow crosses: SL area
-	Green line: Long TP1, Blue line: Long TP2 | Red Line: Short TP1, Purple line: Short TP2
-	Grey lines: Round Numbers (customized via “Round Number up/down measure unit” input)
-	Yellow labels at end of each week: end of week OVERALL total results
-	Red colored background: power segment
-	3 tables: 1) INFO | STATS, 2) SPY Options Calculator, 3) Indicator Settings
If you decide to fully customize the indicator yourself, on the very top - under “PRESETS” select “MANUAL”! NOTE: If you select any of the pre-set presets, only GLOBAL settings can be changed, the rest of the settings will be “frozen” until you switch it to “MANUAL”!
- Global Settings are self-explanatory and mainly observational, show/hide, etc.
- Manual TP2 (Multi-Take-Profit) Settings:
>>>>> Include TP2 System? Turn on/off multi-profit system, with this unchecked, every trade will either end with SL or with TP1.
>>>>> TP2 System: NEAREST/FORMULA, NEAREST – after TP1 is taken > next TP2 will be a round number price target nearest to where TP1 was taken (sometimes it can be very near, sometimes further away…), FORMULA – 2nd round number price target will be optimally selected based on the distance behind and ahead of TP1 area. For TP2 – FORMULA would be the most logical choice as with multi-take-profit setting turned on – you’d want to ride it out as far as possible.
>>>>> TP1/TP2 division type: 1) Each price target (TP1, TP2) will be ½ of the position 2) TP1 will be 2/3 of the position and TP2 will be the remaining 1/3.
>>>>> TP2 hit type: “close” > candle has to close on top/crossing the price target line, “touch” > once candle touches the price target – you will be immediately alerted to take the partial profit (if you will use such setting – you will need to take the partial profits as soon as you receive the alert.
>>>>> TP1 > Back to Entry hit type: similar to TP2, “close” > candle close, “touch” > candle touch. Please note: this is a very tricky setting as if you use “close” option – your profitable trade may become a loss if a huge candle will close against your position eliminating your TP1 profit, however often the price will touch and cross the entry area to only bounce and continue with your position direction for even bigger profits… so experiment with the date range results to see what works best for your instrument/setting/strategy.
>>>>> TP2 count towards trades count: this can be a bit confusing, but it is simply how should TP2 be treated towards trades count. The indicator will show you Win Percentage and Win % is obtained from winning trades count divided by total trades count. While TP2 is not “a new trade”, it expands the profit of the trade. This is an experimental setting to count TP2 as the whole winning trade, ½ of a trade, or not count it at all.
- Manual Signals/TP1 Settings:
>>>>> TP1/TP2 offset: this one is really cool, with this feature you can hunt these conditions when the price comes very near the profit target area, but never touches it. With this setting turned on and with a good offset amount – you will be able to catch these for TP1 and TP2!
>>>>> TP1/TP2 offset amount: just what the title says, please be careful with this as this number varies significantly depending on the instrument you will be trading. Examples: 1) For SPY 0.1 would be $0.10 offset - if TP1 is $400 and price hits $399.90 > TP1 considered taken/signal shown/alert) | 2) For EURUSD, it is very different and if wrong will show TP1 immediately at position open, typical good offset for EURUSD is: 0.0005 | 3) For BTCUSD, 10 - $10 offset, if TP is $15,000 > $14,990, etc.
>>>>> Round Number up/down measure unit (in dollars $): this one is very important if you will be using “MANUAL” selection to build your own setup as it is very different for every instrument. For SPY, round numbers are single dollars or even half-dollar 50 cent numbers: 1 or 0.5 (350, 351, 352, etc. or 350.50, 351, 351.50, 352, etc.), while for Bitcoin (BTCUSD) a single unit ($1) is too small to be a round number as Bitoin moves much faster and wider every second and it would have to be at least 50 ($50) to make sense. Similar for FOREX (EUR/USD) a single 1 unit ($1) will be too big as EURUSD will never move a whole $1 in 15 minutes or even a day.. and would have to be something like 1.05500. You can easily determine if this number makes sense for your instrument by observing the grey Round Number lines which will correspond based on this setting. You can also visually observer if the price of the instrument appreciates these round numbers.
>>>>> Close Position Before Market Closes: just what the title says. Indicator will close the position 15 minutes before market closes (US session), update backtesting stats, alert you.
>>>>> Close Position Before Power Hour: 3PM – 4PM ET is the last hour of US trading session, where sudden move in any direction can happen with huge volatility, while sometimes nothing will happen at all… Many try to avoid it, so if you wish to avoid it as well - turn this on and it will alert you to close your positions 15 minutes before Power Hour starts, backtesting/stats will be adjusted accordingly.
>>>>> Skip OVERSIZED candles in signals: turn on this setting to skip signals, which happen to fall on big candles. This is basically a protection from huge volatility moves, which usually happen during financial news/events and if you are not a fan of these – you can set this option for indicator to not open anything based on the candle size.
>>>>> Color OVERSIZED candles: this will help you calibrate the size of the OVERSIZED candles if you decide to use this setting and overall visually see them.
>>>>> OVERSIZED candle size: OVERSIZED candle size must be input as it varies significantly. Please note: for each instrument – the size number is completely different, as for SPY: 2 would mean any candle bigger than $2 distance will be considered OVERSIZED, for Bitcoin it would have to be several hundred dollars, like 400-500. For FOREX, this would have to be a decimal, for EURUSD something like 0.0005. It’s best to experiment visually with this setting depending on the instrument you will be trading while setting up the size. To see a typical huge unusual candle – look up financial calendar for something like FOMC meeting, then measure the candle input it into this setting.
>>>>> OVERSIZED candle size calculation type: this is just more flexibility for your preference. If you wish to calculate the size of the candle based on the open/close – select “BODY”, if you wish to use high/low – select “STICKS (from tip to tip)”. Hard to say which one is better, so it is up to you to decide.
>>>>> Include EMA in signal formula: LONG signals will only be shown only if above EMA, SHORT if below EMA. EMA length is of course customizable in below.
>>>>> Skip opposite candle types in signals: signals where the candle color confirms the direction of the trade, but the candle type is opposite (like a green colored bearish hammer for example) will be avoided (such candles can be very uncertain/deceptive).
>>>>> Skip doji: signals where the signal candle is doji (uncertain) will be avoided.
>>>>> TP1 hit type/system: same thing as TP2 hit type/system.
>>>>> SL hit type/system: same as TP1 and TP2 types/systems.
>>>>> Intraday Session Signals Active Time in ET: time range during the day when indicator will show signals (open trades, alert you, etc.). This is specifically for intraday trading. You can turn it off completely by selecting a BLANK option.
>>>>> Intraday TP/SL Active Time in ET: same as above, but for taking profits/stop losses.
*** To add the alerts
-Right-click anywhere on the TradingView chart
-Click on Add alert
-Condition: Select this indicator by it’s name
-Alert name: Whatever you want
-Hit “Create”
-Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
If you wish to try this out for a week or so – please write me directly and I will give you access.
CFB-Adaptive Velocity Histogram [Loxx]CFB-Adaptive Velocity Histogram   is a velocity indicator with One-More-Moving-Average Adaptive Smoothing of input source value and Jurik's Composite-Fractal-Behavior-Adaptive Price-Trend-Period input with Dynamic Zones. All Juirk smoothing allows for both single and double Jurik smoothing passes. Velocity is adjusted to pips but there is no input value for the user. This indicator is tuned for Forex but can be used on any time series data.
 What is Composite Fractal Behavior ( CFB )? 
All around you mechanisms adjust themselves to their environment. From simple thermostats that react to air temperature to computer chips in modern cars that respond to changes in engine temperature, r.p.m.'s, torque, and throttle position. It was only a matter of time before fast desktop computers applied the mathematics of self-adjustment to systems that trade the financial markets.
Unlike basic systems with fixed formulas, an adaptive system adjusts its own equations. For example, start with a basic channel breakout system that uses the highest closing price of the last N bars as a threshold for detecting breakouts on the up side. An adaptive and improved version of this system would adjust N according to market conditions, such as momentum, price volatility or acceleration.
Since many systems are based directly or indirectly on cycles, another useful measure of market condition is the periodic length of a price chart's dominant cycle, (DC), that cycle with the greatest influence on price action.
The utility of this new DC measure was noted by author Murray Ruggiero in the January '96 issue of Futures Magazine. In it. Mr. Ruggiero used it to adaptive adjust the value of N in a channel breakout system. He then simulated trading 15 years of D-Mark futures in order to compare its performance to a similar system that had a fixed optimal value of N. The adaptive version produced 20% more profit!
This DC index utilized the popular MESA algorithm (a formulation by John Ehlers adapted from Burg's maximum entropy algorithm, MEM). Unfortunately, the DC approach is problematic when the market has no real dominant cycle momentum, because the mathematics will produce a value whether or not one actually exists! Therefore, we developed a proprietary indicator that does not presuppose the presence of market cycles. It's called CFB (Composite Fractal Behavior) and it works well whether or not the market is cyclic.
CFB examines price action for a particular fractal pattern, categorizes them by size, and then outputs a composite fractal size index. This index is smooth, timely and accurate
Essentially, CFB reveals the length of the market's trending action time frame. Long trending activity produces a large CFB index and short choppy action produces a small index value. Investors have found many applications for CFB which involve scaling other existing technical indicators adaptively, on a bar-to-bar basis.
 What is Jurik Volty used in the Juirk Filter? 
One of the lesser known qualities of Juirk smoothing is that the Jurik smoothing process is adaptive. "Jurik Volty" (a sort of market volatility ) is what makes Jurik smoothing adaptive. The Jurik Volty calculation can be used as both a standalone indicator and to smooth other indicators that you wish to make adaptive.
 What is the Jurik Moving Average? 
Have you noticed how moving averages add some lag (delay) to your signals? ... especially when price gaps up or down in a big move, and you are waiting for your moving average to catch up? Wait no more! JMA eliminates this problem forever and gives you the best of both worlds: low lag and smooth lines.
Ideally, you would like a filtered signal to be both smooth and lag-free. Lag causes delays in your trades, and increasing lag in your indicators typically result in lower profits. In other words, late comers get what's left on the table after the feast has already begun.
 What are Dynamic Zones? 
As explained in "Stocks & Commodities V15:7 (306-310): Dynamic Zones by Leo Zamansky, Ph .D., and David Stendahl"
Most indicators use a fixed zone for buy and sell signals. Here’ s a concept based on zones that are responsive to past levels of the indicator.
One approach to active investing employs the use of oscillators to exploit tradable market trends. This investing style follows a very simple form of logic: Enter the market only when an oscillator has moved far above or below traditional trading lev- els. However, these oscillator- driven systems lack the ability to evolve with the market because they use fixed buy and sell zones. Traders typically use one set of buy and sell zones for a bull market and substantially different zones for a bear market. And therein lies the problem.
Once traders begin introducing their market opinions into trading equations, by changing the zones, they negate the system’s mechanical nature. The objective is to have a system automatically define its own buy and sell zones and thereby profitably trade in any market — bull or bear. Dynamic zones offer a solution to the problem of fixed buy and sell zones for any oscillator-driven system.
An indicator’s extreme levels can be quantified using statistical methods. These extreme levels are calculated for a certain period and serve as the buy and sell zones for a trading system. The repetition of this statistical process for every value of the indicator creates values that become the dynamic zones. The zones are calculated in such a way that the probability of the indicator value rising above, or falling below, the dynamic zones is equal to a given probability input set by the trader.
To better understand dynamic zones, let's first describe them mathematically and then explain their use. The dynamic zones definition:
Find V such that:
For dynamic zone buy: P{X <= V}=P1
For dynamic zone sell: P{X >= V}=P2
where P1 and P2 are the probabilities set by the trader, X is the value of the indicator for the selected period and V represents the value of the dynamic zone.
The probability input P1 and P2 can be adjusted by the trader to encompass as much or as little data as the trader would like. The smaller the probability, the fewer data values above and below the dynamic zones. This translates into a wider range between the buy and sell zones. If a 10% probability is used for P1 and P2, only those data values that make up the top 10% and bottom 10% for an indicator are used in the construction of the zones. Of the values, 80% will fall between the two extreme levels. Because dynamic zone levels are penetrated so infrequently, when this happens, traders know that the market has truly moved into overbought or oversold territory.
Calculating the Dynamic Zones
The algorithm for the dynamic zones is a series of steps. First, decide the value of the lookback period t. Next, decide the value of the probability Pbuy for buy zone and value of the probability Psell for the sell zone.
For i=1, to the last lookback period, build the distribution f(x) of the price during the lookback period i. Then find the value Vi1 such that the probability of the price less than or equal to Vi1 during the lookback period i is equal to Pbuy. Find the value Vi2 such that the probability of the price greater or equal to Vi2 during the lookback period i is equal to Psell. The sequence of Vi1 for all periods gives the buy zone. The sequence of Vi2 for all periods gives the sell zone.
In the algorithm description, we have: Build the distribution f(x) of the price during the lookback period i. The distribution here is empirical namely, how many times a given value of x appeared during the lookback period. The problem is to find such x that the probability of a price being greater or equal to x will be equal to a probability selected by the user. Probability is the area under the distribution curve. The task is to find such value of x that the area under the distribution curve to the right of x will be equal to the probability selected by the user. That x is the dynamic zone.
 Included: 
 
 Bar coloring
 3 signal variations w/ alerts
 Divergences w/ alerts
 Loxx's Expanded Source Types
 
CFB-Adaptive, Williams %R w/ Dynamic Zones [Loxx]CFB-Adaptive, Williams %R w/ Dynamic Zones   is a Jurik-Composite-Fractal-Behavior-Adaptive Williams % Range indicator with Dynamic Zones. These additions to the WPR calculation reduce noise and return a signal that is more viable than WPR alone. 
 What is Williams %R? 
Williams %R , also known as the Williams Percent Range, is a type of momentum indicator that moves between 0 and -100 and measures overbought and oversold levels. The Williams %R may be used to find entry and exit points in the market. The indicator is very similar to the Stochastic oscillator and is used in the same way. It was developed by Larry Williams and it compares a stock’s closing price to the high-low range over a specific period, typically 14 days or periods.
 What is Composite Fractal Behavior ( CFB )? 
All around you mechanisms adjust themselves to their environment. From simple thermostats that react to air temperature to computer chips in modern cars that respond to changes in engine temperature, r.p.m.'s, torque, and throttle position. It was only a matter of time before fast desktop computers applied the mathematics of self-adjustment to systems that trade the financial markets.
Unlike basic systems with fixed formulas, an adaptive system adjusts its own equations. For example, start with a basic channel breakout system that uses the highest closing price of the last N bars as a threshold for detecting breakouts on the up side. An adaptive and improved version of this system would adjust N according to market conditions, such as momentum, price volatility or acceleration.
Since many systems are based directly or indirectly on cycles, another useful measure of market condition is the periodic length of a price chart's dominant cycle, (DC), that cycle with the greatest influence on price action.
The utility of this new DC measure was noted by author Murray Ruggiero in the January '96 issue of Futures Magazine. In it. Mr. Ruggiero used it to adaptive adjust the value of N in a channel breakout system. He then simulated trading 15 years of D-Mark futures in order to compare its performance to a similar system that had a fixed optimal value of N. The adaptive version produced 20% more profit!
This DC index utilized the popular MESA algorithm (a formulation by John Ehlers adapted from Burg's maximum entropy algorithm, MEM). Unfortunately, the DC approach is problematic when the market has no real dominant cycle momentum, because the mathematics will produce a value whether or not one actually exists! Therefore, we developed a proprietary indicator that does not presuppose the presence of market cycles. It's called CFB (Composite Fractal Behavior) and it works well whether or not the market is cyclic.
CFB examines price action for a particular fractal pattern, categorizes them by size, and then outputs a composite fractal size index. This index is smooth, timely and accurate
Essentially, CFB reveals the length of the market's trending action time frame. Long trending activity produces a large CFB index and short choppy action produces a small index value. Investors have found many applications for CFB which involve scaling other existing technical indicators adaptively, on a bar-to-bar basis.
 What is Jurik Volty used in the Juirk Filter? 
One of the lesser known qualities of Juirk smoothing is that the Jurik smoothing process is adaptive. "Jurik Volty" (a sort of market volatility ) is what makes Jurik smoothing adaptive. The Jurik Volty calculation can be used as both a standalone indicator and to smooth other indicators that you wish to make adaptive.
 What is the Jurik Moving Average? 
Have you noticed how moving averages add some lag (delay) to your signals? ... especially when price gaps up or down in a big move, and you are waiting for your moving average to catch up? Wait no more! JMA eliminates this problem forever and gives you the best of both worlds: low lag and smooth lines.
Ideally, you would like a filtered signal to be both smooth and lag-free. Lag causes delays in your trades, and increasing lag in your indicators typically result in lower profits. In other words, late comers get what's left on the table after the feast has already begun.
 What are Dynamic Zones? 
As explained in "Stocks & Commodities V15:7 (306-310): Dynamic Zones by Leo Zamansky, Ph .D., and David Stendahl"
Most indicators use a fixed zone for buy and sell signals. Here’ s a concept based on zones that are responsive to past levels of the indicator.
One approach to active investing employs the use of oscillators to exploit tradable market trends. This investing style follows a very simple form of logic: Enter the market only when an oscillator has moved far above or below traditional trading lev- els. However, these oscillator- driven systems lack the ability to evolve with the market because they use fixed buy and sell zones. Traders typically use one set of buy and sell zones for a bull market and substantially different zones for a bear market. And therein lies the problem.
Once traders begin introducing their market opinions into trading equations, by changing the zones, they negate the system’s mechanical nature. The objective is to have a system automatically define its own buy and sell zones and thereby profitably trade in any market — bull or bear. Dynamic zones offer a solution to the problem of fixed buy and sell zones for any oscillator-driven system.
An indicator’s extreme levels can be quantified using statistical methods. These extreme levels are calculated for a certain period and serve as the buy and sell zones for a trading system. The repetition of this statistical process for every value of the indicator creates values that become the dynamic zones. The zones are calculated in such a way that the probability of the indicator value rising above, or falling below, the dynamic zones is equal to a given probability input set by the trader.
To better understand dynamic zones, let's first describe them mathematically and then explain their use. The dynamic zones definition:
Find V such that:
For dynamic zone buy: P{X <= V}=P1
For dynamic zone sell: P{X >= V}=P2
where P1 and P2 are the probabilities set by the trader, X is the value of the indicator for the selected period and V represents the value of the dynamic zone.
The probability input P1 and P2 can be adjusted by the trader to encompass as much or as little data as the trader would like. The smaller the probability, the fewer data values above and below the dynamic zones. This translates into a wider range between the buy and sell zones. If a 10% probability is used for P1 and P2, only those data values that make up the top 10% and bottom 10% for an indicator are used in the construction of the zones. Of the values, 80% will fall between the two extreme levels. Because dynamic zone levels are penetrated so infrequently, when this happens, traders know that the market has truly moved into overbought or oversold territory.
Calculating the Dynamic Zones
The algorithm for the dynamic zones is a series of steps. First, decide the value of the lookback period t. Next, decide the value of the probability Pbuy for buy zone and value of the probability Psell for the sell zone.
For i=1, to the last lookback period, build the distribution f(x) of the price during the lookback period i. Then find the value Vi1 such that the probability of the price less than or equal to Vi1 during the lookback period i is equal to Pbuy. Find the value Vi2 such that the probability of the price greater or equal to Vi2 during the lookback period i is equal to Psell. The sequence of Vi1 for all periods gives the buy zone. The sequence of Vi2 for all periods gives the sell zone.
In the algorithm description, we have: Build the distribution f(x) of the price during the lookback period i. The distribution here is empirical namely, how many times a given value of x appeared during the lookback period. The problem is to find such x that the probability of a price being greater or equal to x will be equal to a probability selected by the user. Probability is the area under the distribution curve. The task is to find such value of x that the area under the distribution curve to the right of x will be equal to the probability selected by the user. That x is the dynamic zone.
 Included: 
 
 Bar coloring
 3 signal variations w/ alerts
 Divergences w/ alerts
 Loxx's Expanded Source Types
 
Unicorn QuantDeeply customizable trading algorithm with instant backtesting. It emulates real trading and displays all the actions it takes on the chart. For example, it shows when to enter or partially close a position, move Stop-Loss to breakeven, etc. The user can replicate these actions in their trading terminal in real time. The algorithm uses up to three Take-Profit levels, and a Stop-Loss level that can move in a trade to protect the floating profit.
The script can send real-time alerts to the user’s Email and to the cell phone via notifications in the TradingView app.
The indicator is designed to be used on all timeframes, including lower ones for intraday trading and scalping.
 HOW TO USE 
Set the Stop-Loss and up to three Take-Profit levels. Choose the rules for moving the Stop-Loss level in a trade. Adjust the sensitivity of the trading signals. And check the backtest result in the Instant Backtesting dashboard. If the performance of the strategy satisfies you, proceed with the forward testing or live trading.
When using this script, please, keep in mind that past results do not necessarily reflect future results and there are many factors that influence trading results.
 FEATURES 
 Trading Signals 
The feature calculates Buy and Sell signals for trend or swing trading. The user can change the Sensitivity parameter to control the frequency of the signals. This allows them to be adjusted for different markets and timeframes.
 Position Manager 
To make the Position Manager setup as easy as possible, the algorithm calculates Stop-Loss and Take-Profit levels in Average True Range (ATR) units. They are self-adjusting for any market and timeframe, since they account for its average volatility .
You don't have to worry about what market you are trading - Forex, Stocks, Crypto, etc. With the self-adjusting Stop-Loss and Take-Profit, you can find settings that work for one market and use the same numerical values as a starting point for a completely different market.
 Instant Backtesting 
After changing any settings, you can immediately see the performance of the strategy on the Instant Backtesting panel. Two metrics are displayed there - the percentage of profitable trades and the total return. This information, as well as the historical trades shown on the chart, will help you quickly and easily evaluate the settings.
 SETTINGS 
TRADING SIGNALS
 Sensitivity  - controls the sensitivity of the trading signals algorithm. It determines the frequency of the trading signals. The higher the value of this parameter, the less trading signals you get and the longer trends the algorithm tries to catch. The lower the sensitivity value, the more signals you receive. This can be useful if you want to profit from small price movements.
POSITION MANAGER
 SL  - sets the Stop-Loss level measured in ATR units.
 TP1, TP2, TP3  - set the Take-Profit levels measured in the ATR units.
 Close % at TP1, Close % at TP2, Close % at TP3  - set portions of the open position (as a percentage of the initial order size) to close at each of the TP levels.
 At TP1 move SL to, At TP2 move SL to  - set the rules for moving the Stop-Loss level in an open trade to protect the floating profit.
 Show Open Position Dashboard  - turns on/off a dashboard that shows the current Stop-Loss and Take-Profit levels for the open position.
BACKTESTING
 Use Starting Date  - turns on/off the starting date for the strategy and backtests. When off, all available historical data is used.
 Starting Date  - sets the starting date for the strategy and backtests.
 Show Instant Backtesting Dashboard  - turns on/off a dashboard that shows the current strategy performance: the percentage of profitable trades and total return.
 Leverage  - sets the leverage that the strategy uses.
Trade & Risk Management Tool (Expo)█  Trade & Risk Management Tool (Expo)  is a sophisticated and complete trading tool that helps traders manage their position and risk. This tool makes risk and trade management simple and convenient; literally, anyone can use it.  The key feature is its ability to set the stop-loss automatically. 
█  The key feature  of this tool is that it sets the  stop loss automatically  depending on the current market characteristics; in other words, it's a stop-loss that adapts dynamically and optimizes to suggest the best possible stop-loss at that time. In addition, the user can set the preferred risk-reward, and the tool will automatically calculate the RR and Take Profit Levels for you. There is also a possibility to add up to 4 take profit levels, all based on your set RR. 
The  Auto Stop-loss  feature comes with even more customization, and the trader can enable a trailing stop and set a custom stop-loss instead of using the default one. 
█  The Trade & Risk Management Tool  also calculates the current position  P&L  in points/pips or %.  Positions size  is automatically calculated based on the account size and % of the capital you want to risk. In addition, we have added  Expected Return  in % for the active position. This is a feature that experienced traders commonly use. Set the Probability of Gain and the Probability of Loss, and the tool will calculate the expected return based on the SL and TP. The probability of gain/loss can be calculated using historical data or for experienced traders by making an educated guess. 
█  Why is this tool needed?  
Trade & Risk management is a key concept to grasp and use in your trading, and it's one of the most critical aspects that will determine your long-term success in this industry. The market is uncertain, and it's impossible to know what the future holds. The only way to take control of the unknown is to have a sound risk management system that ensures you don't blow your account in one trade. Therefore all traders need to understand the importance of using a  risk- and money management tool  that calculates and provides stop-loss and take-profit levels in real-time. This way, you will always know where to take your stop-loss and secure profit. 
 The position size calculator prevents  you from taking too much risk and the predefined stop-loss and take-profit levels help you manage your position. The tool makes sure you maximize the profit potential while minimizing the losses. It also prevents you from taking too much risk. 
 It all comes down to managing the risk and managing profit.  Make sure that you always know how much you can risk at each trade, where to put your stop-loss, and take profit. A general rule is to find a good balance between reward and risk (RR), preferably a risk-reward ratio of 2:1 or 3:1, where your targeted profits are always double that of your maximum losses. 
 
█  This trading tool makes something so important so easy for you, and it's a must-have to succeed in trading for the long term. 
█ HOW TO USE
Use the tool to manage your active position. 
-----------------
Disclaimer
Copyright by Zeiierman.
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Easy Backtester PROWHAT IS EasyBacktester ?
EasyBacktester is a tool that helps you backtest trading strategies built by yourself with an included strategy builder and a multitude of options.
From within the parameters of the tool, you can specifically pick your entry settings across 12 most common indicators, such as "RSI", "MACD", "Moving Averages" etc... Then you can immediately visualise your setup's Stop-loss & Take Profit, your expected Profits & Loss and a lot of other statistics for your entry strategy. Once you are satisfied with your entry strategy, you are given a set of tools to optimize your setup using stop-loss rules, take profits rules, partial profits, trailing-stops, entry timing...
WHY IS THIS TOOL DIFFERENT ?
EasyBacktester is a backtesting engine with no coding skills required. TradingView allows for "Strategy Scripting" using PineScript, which is not an option for non-coder audience. EasyBacktester fills this gap and allow non-coders to get an idea of how their trading strategies may perform using mouse clicks only.
Some similar attempts have been made on TradingView, allowing some limited options, but none have the same capabilities EasyBacktester offers, for instance, as of April 2022 these features have not been seen in any other TradingView tools:
   - partial take profits
   - leverage simulation
   - a multitude of trailing stop-loss possibilities including trail triggers and trail parameters
   - visualisation of entries including stop-loss, take profits, partial take profits, and trailing stops. One can now visualize such complex setups.
   - visualisation of Profits & Loss
   - time in trade
   - wait strategy after a signal: for example, when RSI is oversold, "WAIT until price retraces 100% of the original signal" amongst other possibilities
QUICK START GUIDE:
STEP 1: DEFINE YOUR SIGNAL STRATEGY
   From the settings of the tool, find the "SIGNALS STRATEGY" section.
   Select a type of entry you wish to simulate, for example "LONGs", and activate the checkbox right before "Simulate".
   Right below, you will find 4 signal builder for you to play with and pick your strategy accordingly.
   For example, to simulate a signal when RSI is oversold, follow these steps:
         - On the 1st multiple choice box, select "RSI"
         - On the 2nd multiple choice box, select "is below..."
         - On the 3rd multiple choice box, select "OverSold level"
   Don't forget to activate this rule by checking the checkbox in front of it.
After this first step, one should immediately see the chart affected with some plots. The dots represents the signal entry defined by the rule we just created, and the red/green boxes visually represent trades that could have been taken with this signal which, in this example, occurs "when RSI is below oversold level". Note that all specific parameters for RSI including its specific "oversold level" is customisable at the end of the tools settings along with all other indicators settings.
STEP 2: STATISTICS
   By default, the "APPEARANCE" section only plots potential entry signals (materialized by dots) and actual entry boxes (materialized by red/green boxes).
   But the user can easily add other precious statistics to the chart, and obviously the most important one for backtesting: Profits & Loss (P&L).
   In the "STATISTICS" section please check the "P&L" box to see appear a chart of the simulated P&L for our example. You should immediately see a new graph below the chart representing the evolution of the P&L after each entry.
   Other statistics are available to the user, including: Equity, Number of Trades, Time in Position, Number of trades Won, Number of trades Lost, Number of trades Stopped.
   Play around with those to see them plotted on your chart.
STEP 3: OPTIMIZE YOUR ENTRY
   Under the "ENTRY STRATEGY" section, one can pick how to enter AFTER the signal, which provides the user with an extensive flexibility to pick its timing.
   Here there are a various set of choices offered, ranging from the default "Market Order at Next Candle Open", to "Limit Order: at signal's candle open" or even "Stop-Buy: at break of last candle high". As its name suggests, this option allows you to actually wait before randomly enter in trade.
   It is important to also note that the user can totally prevent entry if the conditions are not filled after a customizable number of candles represented in "Max bars to wait for entry" (default being 1, meaning the engine will wait the condition to be filled during only 1 candle)
STEP 4: MANAGE YOUR RISK
   Under the "RISK MANAGEMENT" section, the user is given a series of options to set the amount (s)he would like to risk.
   This is extremely important to set, and is the result of a combination of customizable options including: 
         - the Initial Capital of the account
         - the amount to risk per trade, and HOW to risk it: some fixed % the initial equity or adjust the stop-loss to the desired risk ?
         - use of leverage or not
         - initial stop-loss, as well as minimum and maximum
         - trailing stop-loss: what should trigger the trailing ? and by how much should the engine trail ?
STEP 5: HAVE AN EXIT PLAN
   Under the "EXIT STRATEGY", the user can define how to exit the trade.
   For instance, here again a lot of options are given:
         - Take Profit: exit at some level of profits defined by a multiple of the stop-loss, or a multiple of the ATR, or some % or points
         - Partial Profit taking before exit
         - Panic close position after some time spent on the trade
STEP 6: FURTHER OPTIMIZATIONS
   Under the sections "Commissions" & "Calendar & Sessions", one can simulate real trading conditions by including commissions fees as well as filtering actual dates and trading sessions. These sections are straightforward for any user to use.
SETP 7: INDICATORS SETTINGS
   Since EasyBacktester uses a predefined set of indicators to get started, those indicators are also customizable in the last section of the settings. Here, one can easily customize RSI periodicity, MACD lengths, Moving averages types & lengths, ATR, etc...
STEP 8: GOING FURTHER
   This is only a start to give users an overview of how various options affect their trading performance. But of course, each trader has its special recipe and specific detailed setup that is not possible to embed in a single tool. For advanced simulation, EasyBacktester provides plug & play connectors for advanced users. Namely, there are 3 connectors:
       - signal connector
       - trail trigger connector
       - exit connector 
   Each of these connectors are an opportunity to customize the engine signals, trail trigger and exit choices with the user's own options. This case does require a little bit of coding, but it can easily be implemented by copy-pasting existing resources or with a slight help of a professional. In fact, the only conditions to build a proper connector is to export a plot with the numbers 1 (for signals), 2 (for trigger trails) and 3 (for exits). Here is an example of custom SIGNAL connector compatible with EasyBacktester, to produce a signal when last RSI was below 30 and current RSI reads above 30:
============================================================
//@version=5
indicator("My custom RSI signal")
// when previous RSI 14 was below 30 and current RSI 14 is above 30, set "custom_signal" to 1, otherwise set "custom_signal" to 0 
custom_signal = ta.rsi(close, 14)  < 30 and ta.rsi(close, 14)  > 30 ? 1 : 0
// Export a plot of "custom_signal", but do not display it
plot(custom_signal, title="my signal", display=display.none)
============================================================
   Once this indicator has been built, the user only needs to connect it with EasyBacktester as follow:
         1. Open a desired chart, and add both EasyBacktester indicator as well as the custom "My custom signal" we just created above.
         2. Open EasyBacktester's settings, and in the first option, there is "Connect signals source" which by default is set to "close". In the multiple choices, find your custom signal which should be named something like "My custom RSI signal: my signal", generally speaking the name is built like this " :  ". 
         3. Now the custom code is connected to EasyBacktester, but we need to indicate the engine we actually want to use it as custom signal.
         4. Under the "SIGNALS STRATEGY" section, where we generally build signals rules, there is special rule for this specific connection named "Use external source as entry signal". Just check the checkbox to activate it and see how the chart took our custom signal into consideration.
That's it for the overview of EasyBacktester. Thank you for reading and happy trading :)
[blackcat] L3 Chip TrendsLevel 3  (Stock ONLY)
Background
Chip theory is an intersting TA for trading. The profit and loss (pnl) ratio represents the ratio of profit-making or loss-making orders in the current market. The larger the profit ratio, the more investors are in a profitable state. Stock chip analysis is a kind of stock technical analysis. Investors can analyze it in combination with other indicators and data.
Function
This is a chip distribution and trend indicator I developed that consists of three different colored histograms. Yellow represents the percentage of floating chips, green represents the percentage of hold-ups, and red represents the percentage of profit. Among them, the more red columns, the more profitable chips, the more green columns, the more trapped chips. At the same time, I used three colored moving averages to represent the trends of these three types of chips for reference. At the same time, a table will appear in the middle of the indicator, indicating the chip ratio value of the latest bar in the form of a percentage.
Key Signal
profit chip percentage and trend--> red color
floating chip percentage and trend  --> yellow color
loss chip percentage and trend --> green color
Remarks
This is a Level 3 free and closed source indicator.
NOT applicable for instruments except stocks.
Feedbacks are appreciated.
TT Price/Trend IndicatorThe TT Price/Trend Indicator identifies potential trend changes and advises of safe places to set orders at retracements.
 Main Signals: 
When a "BUY" signal prints, it is suggested to set a buy order at the Blue trendline and wait until price retraces back.
When a "SELL" signal prints, it is suggested to set a short order at the Blue trendline and wait until price rises up.
 Take Profit: 
The Reactive Trendline (the thick line that switches from Green to Red, and Red to Green frequently) is good at finding local bottoms.
It is suggested to Take Profit on your Long once you see the first switch from Green to Red. If the Reactive Trendline is already Red when your LONG order is filled, wait until it goes from Red-Green-Red to Take Profit.
It is suggested to Take Profit on your Short once you see the first switch from Red to Green. If the Reactive Trendline is already Green when your SHORT order is filled, wait until it goes from Green-Red-Green to Take Profit.
 Stop Loss Suggestions: 
If you are LONG (BUY), set your Stop/Loss to slightly below the last Higher Low (HL)
If you are SHORT (SELL), set your Stop/Loss to slightly above the last Lower High (LH)
Alternatively, if you want to maximise your Risk:Reward ratio, you can CLOSE your order once a candle engulfs and closes over both the Blue Line AND the Grey Line. Once these levels are broken and you are underwater, the risk to hold that position is no longer worth it. However, this approach can shake you out of winning trades, so I advise you to use other strategies such as Volume, Fibonnaci and RSI etc to help you make a final decision.
 Important: If you are taking this approach, don't panic sell - wait for the close of the current engulfing candle to make this decision, because quite often it will just be a wick up or down in your favour. 
 What are the best Strategies? 
The best timeframes are as follows:
- 1 Hour
- 2 Hour
- 4 Hour
- 1 Day
- 1 Week
My Favourite is 1 Hour.
Scalping for advanced traders:
- 1 minute
- 5 minutes
If you are scalping, it is highly recommended to use the TT Volume Indicator as well, to confirm price with volume (see scripts under my profile). Price on its own will not be good enough.
I also recommend the RSI with a 14 SMA to identify Strength breakouts.
Other Features:
- VWAP (Dotted Red/Green line) - this is common liquidity and can be one of the most important Support/Resistance levels in Crypto, which is why it is included.
 Can you FOMO order? 
Unless you are using this with a combination of other indicators (such as the TT Volume Indicator), it is not recommended to FOMO orders at the "BUY" or "SELL" signal unless you have a clear volume breakout. Please see this explanation on FOMO ordering for further information:
TradeChartist Actuator™TradeChartist Actuator  is an extremely functional indicator that converts the price action volatility and momentum into a meaningful trading system (based on user defined Standard Deviation Factor), that consists of expanding/contracting Volatility Range Bands, Dynamic Trend Support/Resistance Bands and 2 types of Breakout Signals in a visually stunning design. The script also neatly packs in ZigZag & manual/automatic Fibonacci Retracement tools, option to filter the signals using an external filter and other useful extras like ™TradeChartist Dollar Candles and much more. 
===================================================================================================================
 ™TradeChartist Actuator User Manual 
 █ Actuator Range Bands 
Actuator Range Bands consists of a Mean line, an Upper Band and a Lower Band  which are based on user defined Standard Deviation Factor (Default - 1.618, Min - 0.5, Max - 2). The 1.618 factor works extremely well as the unnecessary volatility data of the bands are eliminated by Actuator's logic. In my personal tests, 1.618 works consistently better than any other value in visually showcasing the true volatility range. By eliminating the unnecessary volatility data from the original non-stabilized bands, Actuator helps detect price momentum by detecting  two types of breakouts.
    Bands Breakout - Filtered 
When the price breaks out of the upper or lower band after a trend, there is a strong possibility of a reversal especially when the volatility expansion/contraction takes place. This is detected using a built in filter with the Filtered Bands Breakout and the user can choose to use the closing price or High/Low price as the trigger for breakouts. This trade setup is very useful especially at zones where the Actuator Range Bands contract or squeeze after an expansion as shown in the  OANDA:XAUUSD  1hr chart below.
  
Also, after a consistent expansion of the bands with price trending in the upper channel or the lower channel, users can spot good profit taking or Short trade opportunities with confirmation of overbought price and if possible a strong bear divergence as show in the  BINANCE:LUNAUSDTPERP  1hr chart below.
  
It can be seen from the chart above that even though Actuator is designed to detect Extreme Bands Breakout using High/Low price, it is done with a little bit of filtering by the script logic and hence didn't generate a Bear signal at the lower band support zone.  
    Mean Breakout - Filtered 
In most Mean Reversion models, mostly oscillators, the mean plays an important role in helping traders predict the price dynamic, but it also presents a challenge whether that mean will act as support or resistance so the trader can take a position that will have a high probability of success. Filtered Mean Breakout helps exactly to identify the price dynamic at the mean zone and helps reduce the dilemma. Actuator uses Volatility Trend and Momentum of the price action at mean to determine Bull/Bear breakouts. Following  NASDAQ:AAPL  1hr chart shows an example of 2 instances of Filtered Mean Breakout detection, one bull and one bear and further area where no Breakout was detected in spite of price crossing the mean. 
  
This Breakout type is really helpful in spotting early moves and also reduces the high volatility risk of Extreme Bands Breakout in some cases. 
===================================================================================================================
 █ External Filter 
  Actuator breakout signals can be further filtered using the feature of connecting an external signal as a trade filter.  
  External filter like RSI , MACD etc. can be used to filter breakouts by connecting to ™TradeChartist Actuator  under ╔═══ 𝗣𝗹𝘂𝗴 𝗙𝗶𝗹𝘁𝗲𝗿 𝗵𝗲𝗿𝗲 ═══ 🔌 dropdown by enabling 𝐔𝐬𝐞 𝐄𝐱𝐭𝐞𝐫𝐧𝐚𝐥 𝐅𝐢𝐥𝐭𝐞𝐫.  
  To get the external filter to work, 𝐒𝐢𝐠𝐧𝐚𝐥 𝐓𝐲𝐩𝐞 must be set right. For plots that are non oscillatory like Moving Averages, Super Trend etc., choose type as  Non Oscillatory  and for Oscillators like RSI , CCI , MACD etc., choose type as  Oscillatory . 
  For Oscillators, levels must be specified for 𝐎𝐬𝐜𝐢𝐥𝐥𝐚𝐭𝐨𝐫 𝐁𝐮𝐥𝐥 𝐅𝐢𝐥𝐭𝐞𝐫 𝐯𝐚𝐥𝐮𝐞 and 𝐎𝐬𝐜𝐢𝐥𝐥𝐚𝐭𝐨𝐫 𝐁𝐞𝐚𝐫 𝐅𝐢𝐥𝐭𝐞𝐫 𝐯𝐚𝐥𝐮𝐞, especially if the Oscillator doesnt have 0 as midline, like RSI . Even for 0 mid oscillators like CCI , filter levels like 100/-100 work effectively to filter noise. 
  Use 𝐁𝐮𝐥𝐥/𝐁𝐞𝐚𝐫 𝐁𝐚𝐜𝐤𝐠𝐫𝐨𝐮𝐧𝐝 𝐅𝐢𝐥𝐥 under  Actuator Visuals  section to paint the trade zones background. It helps visually see the effect of filters on the breakout entries and also the trade performance. 
The following chart shows the Filter settings with  ™TradeChartist Momentum Drift Oscillator   connected to Actuator as Oscillatory signal with filter values 0.
  
The two example charts of 1hr  BINANCE:BTCUSDT  below shows the difference in Actuator signals based on Oscillatory signal from  ™TradeChartist Momentum Drift Oscillator  and the difference can be seen from the highlighted Bull/Bear Background Fill.
 Without External Filter 
  
 With External Filter 
  
===================================================================================================================
 █ Dynamic Trend Support/Resistance Bands 
In addition to Volatility Range Bands, Actuator also plots Dynamic Trend Support and Resistance bands that are more sensitive to price action and helps the user determine growing support/resistance which is indicated by coloured dots. These dots normally appear when the Support or Resistance stays at the same level for a few bars and change between Bull and Bear colours based on how the price interacts with them as shown below.
  
===================================================================================================================
 █ Useful Trade Tools 
   ™TradeChartist Dollar Candles 
Dollar Candles help detect the volatility exhaustion prices and plots $ signs to help the trader take profits or move stop loss levels to secure gains. The $ signs do not appear for every trade zone, but whenever price hits a critical level, it shows up above price bar (for Bull trend) or below price bar (for Bear trend) in real time. Users can also set alerts for Dollar Candles with Once Per Bar setting. The Daily  NASDAQ:TSLA  chart below shows the Dollar Candles on both Bull and Bear trends.
  
It is important to note that taking pockets of profits on a leveraged trade position or moving up stop loss to maximize trend gains at $ candles will help increase  Average Profitability Per Trade (APPT) .
   Bull/Bear Background Fill 
Bull/Bear Background Fill paints the trade zones in Bull and Bear colours. This helps visualize the difference in trade zones when testing various settings and also helps analyze past performance of Actuator Signals with or without the use of External Filter. 
  
   Entry Stop Loss Reference 
Reference zone for stop loss has always been a tricky one for traders. Using a fixed percentage stop at entry may not be best during high volatility moves. Over the extensive period of Actuator testing, a simple solution to this problem was found. The previous trend's Range Bands Mean Line served as a perfect reference point for Entry Stop. Also while analysing this Mean line, it was found to be a perfect horizontal support/resistance line and also helped detect unproductive trades. The example 15m chart of  NASDAQ:AMD  shows how the Entry Stop Loss Reference performed.
  
Stop Line Touch Points plot orange touch points on the Stop Line whenever the price hits it during the trade. 
   Actuator Colour Bars 
Actuator Colour Bars paints the Momentum Strength on the price bars. This helps visually see the price bars venturing into the Overbought or the Oversold zones. Also, this feature also helps spot divergences as higher highs or lower lows with less intense Bull/Bear colour than the previous high/low shows diminishing momentum as shown in the 1h chart of  OANDA:GBPJPY  below.
  
===================================================================================================================
 █ ZigZag & Fibonacci Toolkit 
  Actuator plots developing and completed ZigZags based on Bull and Bear trend depending on the Breakout Type and Breakout Price from the settings. 
  Option to enable or disable 𝐙𝐢𝐠𝐙𝐚𝐠 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐨𝐫 which can be helpful for Harmonic traders. 
  Option to display 𝐙𝐢𝐠𝐙𝐚𝐠 𝐇𝐢𝐠𝐡𝐬/𝐋𝐨𝐰𝐬 and 𝐑𝐒𝐈 𝐚𝐭 𝐇𝐢𝐠𝐡𝐬/𝐋𝐨𝐰𝐬 in one of two styles. 
  Two types of Fibonacci to choose from - 𝐀𝐮𝐭𝐨-𝐅𝐢𝐛𝐬 and 𝐅𝐢𝐛𝐬 𝐛𝐚𝐬𝐞𝐝 𝐨𝐧 𝐋𝐨𝐨𝐤𝐛𝐚𝐜𝐤. 
  𝐀𝐮𝐭𝐨-𝐅𝐢𝐛𝐬 option plots Auto Fibonacci levels based on Bull/Bear trend depending on user specified Breakout Type and Breakout Price. 
  𝐅𝐢𝐛𝐬 𝐛𝐚𝐬𝐞𝐝 𝐨𝐧 𝐋𝐨𝐨𝐤𝐛𝐚𝐜𝐤 plots Fibonacci levels based on the highest high and lowest low of the lookback period (𝐃𝐚𝐲𝐬 or 𝐂𝐚𝐧𝐝𝐥𝐞𝐬). 
  Fibonacci levels can be reversed by enabling 𝐑𝐞𝐯𝐞𝐫𝐬𝐞 from settings. 
  Enabling 𝐂𝐮𝐫𝐫𝐞𝐧𝐭 𝐏𝐫𝐢𝐜𝐞 𝐅𝐢𝐛 𝐋𝐚𝐛𝐞𝐥 displays the current Fib level of the developing price bar. 
  Option to customize Fib levels and colours. 
 4hr chart of  BINANCE:BTCUSDT  showing Auto Fibonacci levels, Zig-Zag with Trend High/Lows, Zig-Zag connectors with Fib Ratios and RSI at Trend High/Low prices. 
  
 Note: 
  If momentum doesn't slow down, the fibs can extend beyond 1 and may continue way beyond 4.618 fib level. These are quite rare depending on how distant the near high/low is based. 
  ZigZag and Fibonacci are good reference indicators and should always be used as confirmations rather than standalone indicators. 
===================================================================================================================
█  Actuator Colour Scheme 
Actuator employs 3 built in colour schemes namely  Chilli ,  Flame  and  Sublime Grayscale  and a versatile colour scheme  Custom  which enables the user to customise the colour combinations of the components of the Actuator script.
===================================================================================================================
█  Alerts 
Alerts can be created for the following.
  Actuator Bull Breakout Signal - Once Per Bar Close
  Actuator Bear Breakout Signal - Once Per Bar Close
  Actuator Long Dollar - Take Profit - Once Per Bar
  Actuator Short Dollar - Take Profit - Once Per Bar
  Actuator Stop Line Hit - Once Per Bar
 Note: The script doesn't repaint, so the alerts can be used with confidence. To check this, users can do bar replays to check if the plots and markers stay in the same place. 
 
===================================================================================================================
 Best Practice: Test with different settings first using Paper Trades before trading with real money 
===================================================================================================================
Day Trading SPYThis script can be used to see a potential trend change, ride a trend and to scalp following the current trend.
Indicators:
-	ATR (bright green/maroon) – is a longer term trend ATR line
-	MA (green/red) - is a shorter term MA, where the fast MA is dotted and the long MA is a line
-	Support and Resistance (white bold line) – long-term support and resistance areas
-	Scalping signals (red/green) – small triangles above/below the candles bouncing off fast MA
-	Black candles - oversized huge candles, which must be addressed carefully, especially when these candles change the trend per ATR, as with such huge candle – it is hard to determine where to place the stop-loss (if it is above/below the candle, since the candle is so big - it becomes a big risk). Also such candles may point to an unusual market moves. The size can be adjusted from 0.1 and up, it’s set to 1.4 by default, but it can be changed as needed. With such candles, it is best to wait and see what market does. If the black candle is following the ATR trend or changing the trend per ATR – wait for next 1-3 candles or so, usually those re-bounce in the opposite direction of the ATR trend, which allows you to open the position with a tighter stop-loss.
-	Olive and Maroon candles – overbought and oversold candles per RSI (80/15 default) levels. At this levels just watch out for a potential soon reversal. Keep in mind, price may continue going oversold/overbought for a while, so look for additional confirmations.
1)	ATR (long-term trend): The flag “Buy” and “Sell” signals (can set Alerts), which happens when the price is crossing through ATR line, marking a potential trend change. If ATR matches MA and ideally there is a breakout - open position in the direction of the signal and use the ATR line as your initial hard stop-loss until you reach the first price target / take first profit. It is best to use the most recent high/low pivot or a Fibonacci extension for the first price target. Once you take it – move SL to entry to secure the profits. If the trend continues and you take the next price target, you can use the fastMA (dotted line) as your dynamic stop-loss to ride the trend. Use the bold white line (long-term support and resistance) where price may certainly reverse where you can close your position completely if you day-trading Options.
2)	MA (scalping): The small green and red triangles below/above the bars (can set Alerts), which appear when the price “touches” the fast MA (dotted line) and re-bounces from it with the candle matching the direction (bullish/bearish). Make sure ATR and MA are both going in the same direction for best results. This can be used to scalp for small profits or to jump into the trend. To minimize the risk, since you are jumping into the trend, I suggest placing your stop-loss slightly above/below the candle (the one which bounced off the fast MA). Price targets are similar – most recent high/low pivot or a Fibonacci extension. Same way, once you take the first profit/reach the first price target, move SL to entry and on the next price target – use the fast MA as your dynamic stop-loss.
If you don’t know how to divide up your position - here is an example on how I take profits between the price targets:
-	Open position with buying a multiple of x4 contracts
-	Sell ½ of the position at first price target and move my SL to entry
-	Sell ½ of the remaining position at a second price target
-	Sell the rest of the position at the third price target or sell ½ of it and use the fast MA as my dynamic stop-loss for the remaining of the position
Also, keep an eye on the breakouts, especially if they go along the ATR and MA trend and keep an eye on the volume, which may help confirming the direction of the price.
Intraday FOREX london scalperThis forex System is only for ECN Broker Account.
Pairs: Major with spread < 0.0001 (EUR/USD).
Setup: 
Wait for the market to make to 60 minute from the open.
If the market is near the intraday high be prepared to go short 
If the market is near an intraday low for the same time period, then be prepared to go long.
Rules for entry
For sell setups: Enter on sell stop 1 pip from low of the last 15 min bar. 
For buy setups: Enter in buy stop 1 pip from high of the last 15-minute bars.
 
Rules for exit
Take profit: Close out positions on 6 pips profit..
Stop Loss: Close out on 5 pips loss or if trade takes more than 1 minute.
Realtime Delta Volume Action [LucF]█  OVERVIEW 
This indicator displays on-chart, realtime, delta volume and delta ticks information for each bar. It aims to provide traders who trade price action on small timeframes with volume and tick information gathered as updates come in the chart's feed. It builds its own candles, which are optimized to display volume delta information. It only works in realtime.
█  WARNING 
This script is intended for traders who can already profitably trade discretionary on small timeframes. The high cost in fees and the excitement of trading at small timeframes have ruined many newcomers to trading. While trading at small timeframes can work magic for adrenaline junkies in search of thrills rather than profits, I DO NOT recommend it to most traders. Only seasoned discretionary traders able to factor in the relatively high cost of such a trading practice can ever hope to take money out of markets in that type of environment, and I would venture they account for an infinitesimal percentage of traders. If you are a newcomer to trading, AVOID THIS TOOL AT ALL COSTS — unless you are interested in experimenting with the interpretation of volume delta combined with price action. No tool currently available on TradingView provides this type of close monitoring of volume delta information, but if you are not already trading small timeframes profitably, please do not let yourself become convinced that it is the missing piece you needed. Avoid becoming a sucker who only contributes by providing liquidity to markets.
The information calculated by the indicator cannot be saved on charts, nor can it be recalculated from historical bars.
If you refresh the chart or restart the script, the accumulated information will be lost.
█  FEATURES 
 Key values 
The script displays the following key values:
 • Above the bar: ticks delta (DT), the total ticks for the bar, the percentage of total ticks that DT represents (DT%)
 • Below the bar: volume delta (DV), the total volume for the bar, the percentage of total volume that DV represents (DV%).
 Candles 
Candles are composed of four components:
 1. A top shaped like this: ┴, and a bottom shaped like this: ┬ (picture a normal Japanese candle without a body outline; the values used are the same).
 2. The candle bodies are filled with the bull/bear color representing the polarity of DV. The intensity of the body's color is determined by the DV% value. 
   When DV% is 100, the intensity of the fill is brightest. This plays well in interpreting the body colors, as the smaller, less significant DV% values will produce less vivid colors.
 3. The bright-colored borders of the candle bodies occur on "strong bars", i.e., bars meeting the criteria selected in the script's inputs, which you can configure.
 4. The POC line is a small horizontal line that appears to the left of the candle. It is the volume-weighted average of all price updates during the bar.
 Calculations 
This script monitors each realtime update of the chart's feed. It first determines if price has moved up or down since the last update. The polarity of the price change, in turn, determines the polarity of the volume and tick for that specific update. If price does not move between consecutive updates, then the last known polarity is used. Using this method, we can calculate a running volume delta and ticks delta for the bar, which becomes the bar's final delta values when the bar closes (you can inspect values of elapsed realtime bars in the Data Window or the indicator's values). Note that these values will all reset if the script re-executes because of a change in inputs or a chart refresh.
While this method of calculating is not perfect, it is by far the most precise way of calculating volume delta available on TradingView at the moment. Calculating more precise results would require scripts to have access to tick data from any chart timeframe. Charts at seconds timeframes do use exchange/broker ticks when the feeds you are using allow for it, and this indicator will run on them, but tick data is not yet available from higher timeframes. Also, note that the method used in this script is far superior to the intrabar inspection technique used on historical bars in my other "Delta Volume" indicators. This is because volume and ticks delta here are calculated from many more realtime updates than the available intrabars in history. Unfortunately, the calculation method used here cannot be used on historical bars, where intrabar inspection remains, in my opinion, the optimal method.
 Inputs 
The script's inputs provide many ways to personalize all the components: what is displayed, the colors used to display the information, and the marker conditions. Tooltips provide details for many of the inputs; I leave their exploration to you.
 Markers 
Markers provide a way for you to identify the points of interest of your choice on the chart. You control the set of conditions that trigger each of the five available markers.
You select conditions by entering, in the field for each marker, the number of each condition you want to include, separated by a comma. The conditions are:
  1 —  The bar's polarity is up/dn.
  2 —  `close` rises/falls ("rises" means it is higher than its value on the previous bar).
  3 —  DV's polarity is +/–.
  4 —  DV% rises (↕).
  5 —  POC rises/falls.
  6 —  The quantity of realtime updates rises (↕).
  7 —  DV > limit (You specify the limit in the inputs. Since DV can be +/–, DV– must be less than `–limit` for a short marker).
  8 —  DV% > limit (↕).
  9 —  DV+ rises for a long marker, DV– falls for a short.
 10 —  Consecutive DV+/DV– on two bars.
 11 —  Total volume rises (↕).
 12 —  DT's polarity is +/–.
 13 —  DT% rises (↕).
 14 —  DT+ rises for a long marker, DT– falls for a short.
Conditions showing the (↕) symbol do not have symmetrical states; they act more like filters. If you only include condition 4 in a marker's setup, for example, both long and short markers will trigger on bars where DV% rises. To trigger only long or short markers, you must add a condition providing directional differentiation, such as conditions 1 or 2. Accordingly, you would enter "1,4" or "2,4".
For a marker to trigger, ALL the conditions you specified for it must be met. Long markers appear on the chart as "Mx▲" signs under the values displayed below candles. Short markers display "Mx▼" over the number of updates displayed above candles. The marker's number will replace the "x" in "Mx▲". The script loads with five markers that will not trigger because no conditions are associated with them. To activate markers, you will need to select and enter the set of conditions you require for each one.
 Alerts 
You can configure alerts on this script. They will trigger whenever one of the configured markers triggers. Alerts do not repaint, so they trigger at the bar's close—which is also when the markers will appear.
█  HOW TO USE IT 
As a rule, I do not prescribe expected use of my indicators, as traders have proved to be much more creative than me in using them. Additionally, I tend to think that if you expect detailed recommendations from me to be able to use my indicators, it's a sign you are in a precarious situation and should go back to the drawing board and master the necessary basics that will allow you to explore and decide for yourself if my indicators can be useful to you, and how you will use them. I will make an exception for this thing, as it presents fairly novel information. I will use simple logic to surmise potential uses, as contrary to most of my other indicators, I have NOT used this one to actually trade. Markets have a way of throwing wrenches in our seemingly bullet-proof rationalizing, so drive cautiously and please forgive me if the pointers I share here don't pan out.
The first thing to do is to disable your normal bars. You can do this by clicking on the eye icon that appears when you hover over the symbol's name in the upper-left corner of your chart.
The absolute value and polarity of DV mean little without perspective; that's why I include both total volume for the bar and the percentage that DV represents of that total volume. I interpret a low DV% value as indecision. If you share that opinion, you could, let's say, configure one of the markers on "DV% > 80%", for example (to do so you would enter "8" in the condition field of any marker, and "80" in the limit field for condition 8, below the marker conditions).
I also like to analyze price action on the bar with DV%. Small DV% values should often produce small candle bodies. If a small DV% value occurs on a bar with much movement and high volume, I'm thinking "tough battle with potential explosive power when one side wins". Conversely, large bodies with high DV% mean that large volume is breaching through multiple levels, or that nobody is suddenly willing to take the other side of a normal volume of trades.
I find the POC lines really interesting. First, they tell us the price point where the most significant action (taking into account both price occurrences AND volume) during the bar occurred. Second, they can be useful when compared against past values. Third, their color helps us in figuring out which ones are the most significant. Unsurprisingly, bunches of orange POCs tend to appear in consolidation zones, in pauses, and before reversals. It may be useful to often focus more on POC progression than on `close` values. This is not to say that OHLC values are not useful; looking, as is customary, for higher highs or lower lows, or for repeated tests of precise levels can of course still be useful. I do like how POCs add another dimension to chart readings.
What should you do with the ticks delta above bars? Old-time ticker tape readers paid attention to the sounds coming from it (the "ticker" moniker actually comes from the sound they made). They knew activity was picking up when the frequency of the "ticks" increased. My thinking is that the total number of ticks will help you in the same way, since increasing updates usually mean growing interest—and thus perhaps price movement, as increasing volatility or volume would lead us to surmise. Ticks delta can help you figure out when proportionally large, random orders come in from traders with other perspectives than the short-term price action you are typically working with when you use this tool. Just as volume delta, ticks delta are one more informational component that can help you confirm convergence when building your opinions on price action.
What are strong bars? They are an attempt to identify significance. They are like a default marker, except that instead of displaying "Mx▲/▼" below/above the bar, the candle's body is outlined in bright bull/bear color when one is detected. Strong bars require a respectable amount of conditions to be met (you can see and re-configure them in the inputs). Think of them as pushes rather than indications of an upcoming, strong and multi-bar move. Pushes do, for sure, often occur at the beginning of strong trends. You will often see a few strong bars occur at 2-3 bar intervals at the beginning or middle of trends. But they also tend to occur at tops/bottoms, which makes their interpretation problematic. Another pattern that you will see quite frequently is a final strong bar in the direction of the trend, followed a few bars later by another strong bar in the reverse direction. My summary analyses seemed to indicate these were perhaps good points where one could make a bet on an early, risky reversal entry.
The last piece of information displayed by the indicator is the color of the candle bodies. Three possible colors are used. Bull/bear is determined by the polarity of DV, but only when the bar's polarity matches that of DV. When it doesn't, the color is the divergence color (orange, by default). Whichever color is used for the body, its intensity is determined by the DV% value. Maximum intensity occurs when DV%=100, so the more significant DV% values generate more noticeable colors. Body colors can be useful when looking to confirm the convergence of other components. The visual effect this creates hopefully makes it easier to detect patterns on the chart.
One obvious methodology that comes to mind to trade with this tool would be to use another indicator like  Technical Ratings  at a higher timeframe to identify the larger context's trend, and then use this tool to identify entries for short-term trades in that direction.
█  NOTES AND RAMBLINGS 
 Instant Calculations 
This indicator uses instant values calculated on the bar only. No moving averages or calculations involving historical periods are used. The only exception to this rule is in some of the marker conditions like "Two consecutive DV+ values", where information from the previous bar is used.
 Trading Small vs Long Timeframes 
I never trade discretionary at the 5sec–5min timeframes this indicator was designed to be used with; I trade discretionary at 1D, 1W and 1M timeframes, and let systems trade at smaller timeframes. The higher the timeframe you trade at, the fewer fees you will pay because you trade less and are not churning trading volume, as is inevitable at smaller timeframes. Trading at higher timeframes is also a good way to gain an instant edge on most of the trading crowd that has its nose to the ground and often tends to forget the big picture. It also makes for a much less demanding trading practice, where you have lots of time to research and build your long-term opinions on potential future outcomes. While the future is always uncertain, I believe trades riding on long-term trends have stronger underlying support from the reality outside markets.
To traders who will ask why I publish an indicator designed for small timeframes, let me say that my main purpose here is to showcase what can be done with Pine. I often see comments by coders who are obviously not aware of what Pine is capable of in 2021. Since its humble beginnings seven years ago, Pine has grown and become a serious programming language. TradingView's growing popularity and its ongoing commitment to keep Pine accessible to newcomers to programming is gradually making Pine more and more of a standard in indicator and strategy programming. The technical barriers to entry for traders interested in owning their trading practice by developing their personal tools to trade have never been so low. I am also publishing this script because I value volume delta information, and I present here what I think is an original way of analyzing it.
 Performance 
The script puts a heavy load on the Pine runtime and the charting engine. After running the script for a while, you will often notice your chart becoming less responsive, and your chart tab can take longer to activate when you go back to it after using other tabs. That is the reason I encourage you to set the number of historical values displayed on bars to the minimum that meets your needs. When your chart becomes less responsive because the script has been running on it for many hours, refreshing the browser tab will restart everything and bring the chart's speed back up. You will then lose the information displayed on elapsed bars.
 Neutral Volume 
This script represents a departure from the way I have previously calculated volume delta in my scripts. I used the notion of "neutral volume" when inspecting intrabar timeframes, for bars where price did not move. No longer. While this had little impact when using intrabar inspection because the minimum usable timeframe was 1min (where bars with zero movement are relatively infrequent), a more precise way was required to handle realtime updates, where multiple consecutive prices often have the same value. This will usually happen whenever orders are unable to move across the bid/ask levels, either because of slow action or because a large-volume bid/ask level is taking time to breach. In either case, the proper way to calculate the polarity of volume delta for those updates is to use the last known polarity, which is how I calculate now.
 The Order Book 
Without access to the order book's levels (the depth of market), we are limited to analyzing transactions that come in the TradingView feed for the chart. That does not mean the volume delta information calculated this way is irrelevant; on the contrary, much of the information calculated here is not available in trading consoles supplied by exchanges/brokers. Yet it's important to realize that without access to the order book, you are forfeiting the valuable information that can be gleaned from it. The order book's levels are always in movement, of course, and some of the information they contain is mere posturing, i.e., attempts to influence the behavior of other players in the market by traders/systems who will often remove their orders when price comes near their order levels. Nonetheless, the order book is an essential tool for serious traders operating at intraday timeframes. It can be used to time entries/exits, to explain the causes of particular price movements, to determine optimal stop levels, to get to know the traders/systems you are betting against (they tend to exhibit behavioral patterns only recognizable through the order book), etc. This tool in no way makes the order book less useful; I encourage all intraday traders to become familiar with it and avoid trading without one.
BitcoinNinjas NINJASIGNALS V4 (Script)BitcoinNinjas NINJASIGNALS V4 (Script) 
 (for Cryptocurrencies, Forex, GunBot, ProfitTrailer, Autoview, CryptoHopper, manual or automated trading, and more) 
This is version 4 of our Ninja Signals trading script, with accompanying backtesting strategy.
 BitcoinNinjas NINJASIGNALS V4 (Strategy)    
•Allows users to easily set automated buy/long and sell/short alerts on TradingView for use with automatic and manual trading of cryptocurrencies, Forex securities, and more (alerts are compatible with automatic trading software such as GunBot, ProfitTrailer, Autoview, CryptoHopper, and more). 
•Synthesizes many powerful indicators  [e.g., Relative Strength Index (RSI), Stochastic RSI, Money Flow Index (MFI), Moving Average Convergence Divergence (MACD), etc.) into one powerful script to generate very precise buy and sell signals in virtually all market conditions.
•Features user-defined adjustable calibration settings, allowing traders to customize the script to fit any currency / security on any exchange available through TradingView.com, simply by adjusting settings.
•Buy/Long arrows, Sell/Short arrows, & EMA trendline can be customized or hidden, if desired.
•Complete with backtesting strategy version of script which allows users to test various trading strategies based on the alerts the script generates (see information and screenshots below).
•Backtesting strategy features a user-defined adjustable date range, so traders can estimate performance of the script over specific periods of time, such as the last week, month, or year.
•Script and backtesting strategy feature many user-adjustable settings including stop loss and take profit alerts, an ‘only sell for profit’ option (Gunbot-specific), many different buy and sell filters, and more. Simply adjust the script settings and the backtesting results will automatically refresh.
•Backtesting strategy allows for pyramid buying to test various average down / dollar cost average trading strategies. Simply adjust the number of pyramid buys and the quantity of each buy.
•Fully compatible with margin and futures trading for any currency / security on TradingView.com.
 DISCLAIMER:  By using our BitcoinNinjas ‘Ninja Signals’ planning script, you agree to the BitcoinNinjas 'Terms of Use'. No sharing, copying, reselling, modifying, or any other forms of use are authorized for our documents, script / strategy, and the information published with them. This informational planning script / strategy is strictly for individual use and educational purposes only. This is not financial or investment advice. Investments are always made at your own risk and are based on your personal judgement. BitcoinNinjas is not responsible for any losses you may incur. Please invest wisely. 
[astropark] Volume AnalyzerDear Followers,
today another awesome Analysis Tool, that you can use for day scalping:  Volume Analyzer !
This indicator
 
 works on every market, pair and timeframe 
 lets you see analysis of a different timeframes using the  resolution  parameter
 has an optional  trend colored background  (I suggest to disable it if you use a different resolution)
 integrates a  tape profit strategy  based on RSI (you can config it and enable/disable it) 
 lets you setup  alarms  on bull/bear signal as well as on TP RSI-based signals
 
I prefer to use this indicator in my  day trading on low timeframes , like 5m - 15m - 1h, as you can have access to a more detailed volume information, but it works on high timeframes too as you can see in examples at the bottom of the description.
I truly think that Volume says a lot about future price action, as stated in my Cumulative Volume Delta (CVD) indicator, which you can find here below:
In this indicator, I'm much more interested in the  bullish or bearish effect of volume  generated by traders and following price action.
Be sure to understand that at current status this is not a complete automated strategy, but an analysis tool which aims to give you a positive bias, a profitable hedge in your trading journey.
As I always say, all tools are great if you use them correctly:  this is not the "Holy Grail", so always use proper money and risk management strategies. 
This indicator quite often calls  bottoms and tops , most of the times it announces a coming  reversals , sometimes it fails too of course.
Check this screenshot to have a clear idea of what I'm talking about:
You are supposed to discard signals of the same type that comes later and at a worse price (related to the trend) or you can use to re-fill your still-open position, using it as a re-entry.
You are supposed to act at first signals and average up/down if price goes against you when a new bear/bull signal appears at a better price.
Here it is another element you must consider:  price action can deny a reversal stated by volume analysis .
In these cases, you must apply a stop loss in your trade and reverse your position. Don't average up/down your entry.
The reason in this screenshot below:
As you can see, the local downtrend was broken, as it was a simple pullback, previous bull trend was restored and price went up a lot!
The indicator here detected bears rejecting the run-up as much violently as they could, but that was a pullback, nothing more than that: main bull trend was still intact.
Another important advice:  don't be greedy, always remember to take profits ! Avoid turning a winning trade into a losing one, which is a common mistake traders do.
That's why I decided to include an  RSI based Take Profit algorithm  inside:
 
 when background is colored by green (and you can't see any bull signal), then you are in over bought region: start taking profits on you buy/long position or close it or set a trailing stop or a stop loss in profit!
 when background is colored by red (and you can't see any bear signal), then you are in over sold region: start taking profits on you sell/short position or close it or set a trailing stop or a stop loss in profit!
 when price is in a big overbought or oversold region, then you can see a "ob" label or a "os" label respectively
 if you are in a bullish trend (you can see it from the trend colored green background as last signal was a "bull" one), "ob" becomes a clear "tp" - Take Profit advice
 if you are in a bearish trend (you can see it from the trend colored red background as last signal was a "bear" one), "os" becomes a clear "tp" - Take Profit advice
 
Here some examples how you can use the signals produced by the indicator in order to be a successful trader.
I circled with pink signals you as supposed to take, then with a "$" pink backgrounded region where you are supposed to take profits, I finally put an X on failing signals, where you would theoretically have been stopped-out.
GBPUSD, 15m
ETHUSD, 1h
TSLA, 5m
BTCUSD, 15m
XAGUSD, 1h
EURUSD, 15m
SPX500, 1h
ETHUSD, 1D
ETHBTC, 6h
This is a  premium indicator , so  send me a private message in order to get access to this script.
Fibonacci-Trading-Indikator_3Daily (weekly, monthly) profits with the Fibonacci trading indicator_3 
Quotes move in Fibonacci ratios in liquid markets. With this indicator you receive information for daily trades or for position trades based on a week or on a monthly basis, in which area you should ideally enter the market and where the minimum achievable price target is. This price target is 61.8% of yesterday's trading range, or the trading range of the previous week, or the trading range of the previous month, depending on the time frame for which the indicator should calculate the minimum achievable high / low. This is also where you realize your profit.
For this calculation, the following entries must be made in the properties window of the indicator:
• Preselection uptrend / downtrend.
• Time frame (day, week, ...) of the price bar for the possible high / low to be determined.
• Trading range of the previous day, or the previous week, or the previous month.
• Current lowest low of the selected time frame when trading has started and prices are rising.
• Current highest high of the selected time frame when trading has started and prices are falling.
Important areas for trading are:
• The entry range 0% - 23.6% for long or short.
• The target price level 61.8%.
Choose a suitable time frame to detect the direction of movement while the quotes are still moving in the entry area. The camelback indicator can be of great help. Also test the resolution setting of the camelback indicator. With a resolution of 1 hour in the 6 or 12 minute chart, you get a perspective for the broader direction. Movement patterns of corrections or consolidations, if they last more than a day or a week, also give clues to the coming direction of movement for the trade. So look back to see what happened yesterday, a week ago, or a month ago. Pay attention to the market anatomy, find out how the market works, count the price bars in consolidations and trends.
After entering the values the indicator will show the Fibonacci expansion price levels for the possible high or low for the selected time frame. Buy / sell within the entry range between 0% and 23.6% as the market moves towards the last long / or short entry point. This is the course range up to the 23.6% course level. The 61.8% price level is the minimum expected price target. We assume that the current bar will reach at least 61.8% of the trading range of the previous day, week or month. Depending on the set time frame. You should therefore realize the profits you have made with 50% of the position when the prices have reached the 61.8% level. With a suitable trailing stop you can be stopped with the rest of the position, but do not risk more than 50% of the profits.
With the quarter or year preselection and the corresponding entries, the minimum expected quarterly high / quarterly low or annual high / annual low can be determined.
The Fibonacci price levels can be shown and hidden. In the chart click on the gear wheel for “Chart Settings”. In the “Scaling” menu, the price levels can be displayed with the preselection “Label for indicator names” and “Label for last indicator value”. Slide the chart to the right to find possible support and resistance at the price levels that could provide confirmation of the target.
In the event of input errors or missing entries for a time frame, the indicator is hidden.
Pay attention to your trade management to avoid losses.
 
The new Fibonacci Trading Indicator_3 has the following additions and changes: 
Area code for the quarter time frame has been added.
The entry area received a 23.6% and a 50% subdivision. Two envelope lines above the 23.6% entry level in the case of an upward trend and below the 23.6% entry level in the case of a downtrend, with a width of 23.6% and 14.6% of the entry level, are intended to indicate that the closing price is higher the quotations have broken out of the entry-level area.
A volatility stop for upward and downward trends can be activated.
A factor is added to the fluctuation range of each price bar for the stop. Then a moving average is calculated with an adjustable period. The period setting should be set between 5 and 10. The result can be smoothed adjustable.
Presetting:
Periods = 10
Factor = 1.4
Smoothing = 7
With the assumption that the market entry in an upward trend occurs when the prices break out above a bar high, the result of the stop calculation is subtracted from the bar high. In the case of a downward trend, the result of the stop calculation is added to the price bar low.
When entering the market, set the factor to 2.4. If inside bars follow a trend movement, the stop should be brought closer. Try the factor setting 0.4 or less. The smallest adjustable factor is 0.1.
For the entry into an established trend, as described in an idea contribution by me, there are two switchable moving averages. The application for the (MA_H) takes place on high and for the (MA_L) adjustable on high, low, shot, h + 1/2 etc. Period and offset (shift) are adjustable. With this idea, the entry into the market occurs between a 618% correction (the Fibonacci entry point) and the DEP (average entry point). The DEP in this case is the MA_H with period = 4 and an offset = 1 in the case of a downward trend, or the MA_L with the same setting and application to lows in an upward trend.
Also test the MA_L in trends with the settings (period, offset) 3.3 or 5, 3 or 7.5 and applying it to closing prices for a close encompassing of the highs / lows.
 Tägliche (wöchentliche, monatliche) Gewinne mit dem Fibonacci-Trading Indikator_3 
Kursnotierungen bewegen sich in liquiden Märkten in Fibonacci-Verhältnisse. Mit diesem Indikator erhalten Sie für Tagesgeschäfte, oder für Positionstrades auf Basis einer Woche, oder auf Basis eines Monats Informationen, in welchem Bereich Sie idealerweise in den Markt einsteigen sollten und wo das mindeste erreichbare Kursziel liegt. Dieses Kursziel liegt bei 61,8% der gestrigen Handelspanne, oder der Handelspanne der Vorwoche, oder der Handelspanne des Vormonats, also abhängig davon für welchen Zeitrahmen der Indikator das mindeste erreichbare Hoch/Tief berechnen soll. Dort realisieren Sie auch Ihren Gewinn.
Für diese Berechnung sind folgende Eingaben im Eigenschaftenfenster des Indikators einzustellen:
•	Vorwahl Aufwärtstrend/ Abwärtstrend.
•	Zeitrahmen (Tag, Woche, …) des Kursbalkens für das zu ermittelnde mögliche Hoch/ Tief.
•	Handelspanne des vorherigen Tages, oder der vorherigen Woche, oder des vorherigen Monats.
•	Aktuell tiefstes Tief des vorgewählten Zeitrahmens, wenn der Handel begonnen hat und die Notierungen steigen.
•	Aktuell höchstes Hoch des vorgewählten Zeitrahmens, wenn der Handel begonnen hat und die Notierungen fallen.
Wichtige Bereiche für das Trading sind:
•	Der Einstiegsbereich 0% - 23,6% für long oder short.
•	Der Kursziellevel 61,8%.
Wählen Sie für die Erkennung der Bewegungsrichtung einen geeigneten Zeitrahmen, während sich die Notierungen noch im Einstiegsbereich bewegen. Der Camelback-Indikator kann eine gute Hilfe sein. Testen Sie auch die Auflösung-Einstellung des Camelback-Indikators. Mit der Auflösung 1 Stunde Im 6- oder 12 Minuten-Chart erhalten Sie einen Blickwinkel für die große Richtung. Auch Bewegungsmuster von Korrekturen oder Konsolidierungen, wenn sie mehr als einen Tag oder eine Woche andauern geben Hinweise auf die kommende Bewegungsrichtung für den Trade. Schauen Sie also zurück um zu prüfen, was sich gestern, vor einer Woche oder vor einem Monat abgespielt hat. Achten sie auf die Marktanatomie, finden Sie heraus wie der Markt funktioniert, zählen Sie Kursstäbe in Konsolidierungen und Trends.
 
Nach Eingabe der Werte zeigt der Indikator die Fibonacci-Ausweitungskurslevels für das mögliche Hoch oder Tief für den ausgewählten Zeitrahmen. Kaufen/ verkaufen Sie innerhalb des Einstiegsbereichs zwischen 0% und 23,6%, während sich der Markt in Richtung des letzten long-/ oder short-Einstiegspunktes bewegt. Das ist der Kursbereich bis zum 23,6%- Kurslevel. Der 61,8%-Kurslevel ist das mindeste erwartbare Kursziel. Wir gehen davon aus, dass der aktuelle Kursbalken mindestens 61,8% der Handelsspanne des vorherigen Tages, der vorherigen Woche oder des vorherigen Monats erreichen wird. Abhängig vom eingestellten Zeitrahmen. Realisieren Sie deshalb die angelaufenen Gewinne mit 50% der Position, wenn die Notierungen den 61,8% - Level erreicht haben. Mit einem geeigneten Trailing-Stopp lassen Sie sich mit der restlichen Position ausstoppen, riskieren Sie dafür aber nicht mehr als 50 % der angelaufenen Gewinne.
Mit der Vorwahl Quartal oder Jahr und den entsprechenden Eingaben kann auch das mindeste erwartbare Quartalshoch/ Quartalstief bzw. Jahreshoch/ Jahrestief ermittelt werden.
Die Fibonacci-Kurslevels lassen sich ein- und ausblenden. Klicken Sie im Chart auf das Zahnrad für „Chart Einstellungen“. Im Menü „Skalierungen“ kann mit der Vorwahl „Label für Indikatornahmen“ und „Label für letzten Indikatorwert“ die Kurslevels angezeigt werden. Schieben Sie den Chart nach rechts um mögliche Unterstützungen und Widerstände an den Kurslevels zu finden, die Bestätigung für das Ziel geben könnten.
Bei Eingabefehlern oder fehlenden Eingaben zu einem Zeitrahmen wird der Indikator ausgeblendet.
Achten Sie zur Vermeidung von Verlusten auf ihr Handelsmanagement. 
 Der neue Fibonacci-Trading-Indikator_3 besitz folgende Zusätze und Änderungen: 
Vorwahl für den Zeitrahmen Quartal wurde hinzugefügt.
Der Einstiegsbereich erhielt eine 23,6% und eine 50% Unterteilung. Zwei Umschlagslinien über dem 23,6%-Einstiegslevel bei einem Aufwärtstrend, bzw. unter dem 23,6%-Einstiegslevel bei einem Abwärtstrend, mit der Breite 23,6% und 14,6% vom Einstiegsbereich, sollen bei höherem Schlusskurs signalisieren, dass die Notierungen aus dem Einstiegsbereich ausgebrochen sind.
Ein Volatilitätsstopp jeweils für Aufwärts- und Abwärtstrend kann zugeschaltet werden.
Für den Stopp wird die Schwankungsbreite jedes Kursbalkens wird mit einem Faktor beaufschlagt. Danach erfolgt die Berechnung eines gleitenden Durchschnitts mit einstellbarer Periode. Die Periodeneinstellung sollte zwischen 5 und 10 eingestellt werden. Das Ergebnis kann einstellbar geglättet werden.
Voreinstellung:
Perioden = 10
Faktor = 1,4
Glättung = 7
Mit der Annahme, dass der Markteinstieg in einem Aufwärtstrend bei Ausbruch der Notierungen über ein Kursbalkenhoch erfolgt, wird das Ergebnis der Stoppberechnung vom Kursbalkenhoch subtrahiert. Bei einem Abwärtstrend wird das Ergebnis der Stoppberechnung zum Kursbalkentief addiert. 
Stellen Sie bei Markteintritt den Faktor auf 2,4. Folgen nach einer Trendbewegung Innenstäbe sollte der Stopp näher herangeführt werden. Probieren Sie die Faktoreinstellung 0,4 oder kleiner. Der kleinste einstellbare Faktor ist 0,1.
Für den Einstieg in einen etablierten Trend, wie in einem Ideenbeitrag von mir beschrieben, gibt es zwei zuschaltbare gleitende Durchschnitte. Die Anwendung für den (MA_H) erfolgt auf Hochs und für den (MA_L) einstellbar auf Hoch, Tief, Schuss, h+l/2 usw.. Periode und Offset (Verschiebung) sind einstellbar. Bei dieser Idee erfolgt der Einstieg in den Markt zwischen einer 618%-Korrektur (dem Fibonacci-Einstiegspunkt) und dem DEP (Durchschnittlicher Einstiegspunkt). Der DEP ist in diesem Fall der MA_H mit Periode = 4 und einem Offset = 1, bei einem Abwärtstrend, oder der MA_L mit identischer Einstellung und Anwendung auf Tiefs in einem Aufwärtstrend.
Testen Sie den MA_L auch in Trends mit den Einstellungen (Periode, Offset) 3,3 oder 5, 3 oder 7,5 und Anwendung auf Schlusskurse für eine enge Umfassung der Hochs/ Tiefs.
[NLX-L2] QQE++- NLX Modular Trading Framework -  
I've written this QQE Indicator from scratch and the functionality is self-explaining. 
The Qualitative Quantitative Estimation (QQE) indicator is computed based on a combination of smoothed RSI and the average true range.
 - Getting Started - 
1. Add this QQE Indicator to your Chart 
2.  Add the Backtest module to your Chart  
3. Select the QQE Indicator in the Backtest Settings 
 - Alerts for Automated Trading -  
This module is coming soon and you will be able to create alerts for the QQE Signals as part of my framework. 
See my signature below for more information.
 - Note -  
The high win-rate in the backtest is the result of taking partial take-profits in between trade entry and exit. 
Don't be fooled, it's impossible to achieve 80% profitable trades but due to take-profit orders 80% of the trades at least secure some profit.
Trading Psychology - Fear & Greed Index by DGTPsychology of a Market Cycle - Where are we in the cycle? 
Before proceeding with the question "where", let's first have a quick look at  "What is market psychology?" 
 Market psychology  is the idea that the movements of a market reflect the emotional state of its participants. It is one of the main topics of behavioral economics - an interdisciplinary field that investigates the various factors that precede economic decisions. Many believe that emotions are the main driving force behind the shifts of financial markets and that the overall fluctuating investor sentiment is what creates the so-called psychological market cycles - which is also dynamic. 
 Stages of Investor Emotions: 
* Optimism  – A positive outlook encourages us about the future, leading us to buy stocks.
* Excitement  – Having seen some of our initial ideas work, we begin considering what our market success could allow us to accomplish.
* Thrill  – At this point we investors cannot believe our success and begin to comment on how smart we are.
* Euphoria  – This marks the point of maximum financial risk. Having seen every decision result in quick, easy profits, we begin to ignore risk and expect every trade to become profitable.
* Anxiety  – For the first time the market moves against us. Having never stared at unrealized losses, we tell ourselves we are long-term investors and that all our ideas will eventually work.
* Denial  – When markets have not rebounded, yet we do not know how to respond, we begin denying either that we made poor choices or that things will not improve shortly.
* Fear  – The market realities become confusing. We believe the stocks we own will never move in our favor.
* Desperation  – Not knowing how to act, we grasp at any idea that will allow us to get back to breakeven.
* Panic  – Having exhausted all ideas, we are at a loss for what to do next.
* Capitulation  – Deciding our portfolio will never increase again, we sell all our stocks to avoid any future losses.
* Despondency  – After exiting the markets we do not want to buy stocks ever again. This often marks the moment of greatest financial opportunity.
* Depression  – Not knowing how we could be so foolish, we are left trying to understand our actions.
* Hope  – Eventually we return to the realization that markets move in cycles, and we begin looking for our next opportunity.
* Relief  – Having bought a stock that turned profitable, we renew our faith that there is a future in investing.
It's hard to predict with certainty where we exactly are in the market cycle, we can only make an educated guess as to the rough stage based on data available. And here comes the study  "Trading Psychology - Fear & Greed Index"   
Factors taken into account in this study include: 
 1-Price Momentum  : Price Divergence/Convergence versus its Slow Moving Average
 2-Strenght :   Rate of Return (RoR) also called Return on Investment (ROI) is a performance measure used to evaluate the efficiency of an investment, net gain or loss of an investment over a specified time period, the rate of change in price movement over a period of time to help investors determine the strength
 3-Money Flow  : Chaikin Money Flow (CMF) is a technical analysis indicator used to measure Money Flow Volume over a set period of time. CMF can be used as a way to further quantify changes in buying and selling pressure and can help to anticipate future changes and therefore trading opportunities. CMF calculations is based on Accumulation/Distribution
 4-Market Volatility  : CBOE Volatility Index (VIX), the Volatility Index, or VIX, is a real-time market index that represents the market's expectation of 30-day forward-looking volatility. Derived from the price inputs of the S&P 500 index options, it provides a measure of market risk and investors' sentiments. It is also known by other names like "Fear Gauge" or "Fear Index." Investors, research analysts and portfolio managers look to VIX values as a way to measure market risk, fear and stress before they take investment decisions
 5-Safe Haven Demand : in this study GOLD demand is assumed 
 What to look for :
*Fear and Greed Index as explained above, 
*Divergencies 
Tool tip of the label displayed provides details of references 
 Conclusion:
 As investors, we always get caught up in the day to day price movements, and lose sight of the bigger picture. The biggest crashes happen not when investors are cautious and fearful, it's when they're euphoric and expecting financial instruments to continue going higher. So as we continue investing, don’t forget to stop and ask yourself, where in the chart do you think we are right now? The Market Psychology Cycle shines light on how emotions evolve, fear and greed index can come in handy, provided that it is not the only tool used to make investment decisions. It is easy to look back at market cycles and recognize how the overall psychology changed. Analyzing previous data makes it obvious what actions and decisions would have been the most profitable. However, it is much harder to understand how the market is changing as it goes - and even harder to predict what comes next. Many investors use technical analysis (TA) to attempt to anticipate where the market is likely to go. Investors are advised to keep tabs on fear for potential buying the dips opportunities and view periods of greed as a potential indicator that financial instruments might be overvalued.
Warren Buffett's quote, buy when others are fearful, and sell when others are greedy
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
 Disclaimer : The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Buy Sell SignalsWill be making more enhancements to the Buy Sell indicator in the coming days..
The main idea of the indicator is to pick up small but powerful ups and downs in the market.
I personally use 1 min Time Frame as it works the best for me. These are quick entries, you can either exit quickly or trail your stoplosses for a nice profit. 
The design is to provide possible entry points. It is not designed to provide you with Exit points.
Also added the Current Day High & Current Day Low (CDH & CDL can change when new highs or new lows are made in intraday).
PDH & PDL denotes the Previous Day High and Low (these are static lines that do not change)
This gives you a sense of how the day is moving. 
Please do your own analysis before you take up entries. Trade at your own risk..!
Time Frame: works best in intra day time frames like 1 min, 3 min and 5 mins
 Signal: 
 Possible Long Trend:  Background color is GREEN, there is a high possibility that the price would shoot up
 Possible Short Trend:  Background color is RED, there is a high possibility that the price would take a nose dive
A continued GREEN or RED background does not indicate a fresh entry, it merely shows that the conditions still haven't changed.
Risky traders can still take up a new position or add to their positions when there is a continuous same color - GREEN or RED
When there is no background color, it means that not all conditions are met to give a clear direction. In short the view is neutral.
 Recommended Stop Loss or Take Profit: 
I personally use 0.5% as the SL and 0.5% as TP. You can use multiples of 0.5% to keep trailing your profits. I've seen some very good results with this. By default, 0.5% for both SL & TP is shown with a grey dotted line for both the Long positions and Short positions.
Alternatively, you can also use the Resistance levels and Support levels as your SL and TP areas too.
Do backtest and find your sweet spot.
Good luck..!
PRIMEVAL_SERIES_0001.0  -  Hyper-bullish EMA SequenceThe Primeval Series is the domain of combinations between EMAs of any specific length that apparently dictates the fabric of equity price movements. For best use, the 45-minute timeframe is ideal for short-term, explosive plays.
The series can be split into major and minor sub-series, i.e., "Epoch" and "Triassic." Epoch EMAs refer to the lengths of 618 periods and 1618 periods - these are the averages that denote major directional shifts when they cross each other on any timeframe. The Triassic EMAs are the 21, 62, and 186 lengths of any timeframe that offer incredible directional insight when they interact with the Epoch EMAs.
Triassic EMAs' seldom interact with Epoch EMAs intraday. However, their interactions with each other can be useful for quick swing trades. After discovering these oddly specific EMA lengths, my study and application of their interactions have increased my understanding of markets ten-fold. I hope they do for you as well.
Aside from the EMA lines themselves, I have created colored background lines for specific crossovers that seem to follow a bullish sequence. I have annotated the sequence in the script itself, but will also include here for ease of use. See below for more details:
Hyper-bullish EMA Sequence:
1) For best use, look for charts that are in a long-term bullish trend and have pulled back over the last 2 months.
2) Once such a stock has been identified, set the chart timeframe to 45 minutes, and apply the script.
3) The sequence begins on the nearest AQUA colored crossover. This denotes the beginning of the most-local retracement from near-term (could be all-time) highs.
4) Then, find the next ROYAL BLUE crossover background line for a potential entry. If I were tracking a stock that just displayed a ROYAL BLUE crossover, I would enter 1/4th of my planned full position.
5) Next, search for the next crossover highlighted in DARK BLUE. This is the key crossover. Enter your full position, as it is a very strong bullish confirmation signal.
6) Hold the long position until you see the penultimate GREEN crossover line. In certain cases, this is the final confirmation for the uptrend and denotes an extension upward. I would not add here, but would alternatively take 1/3rd of my profits.
7) If you take 1/3rd of your profits, you can ride the extension knowing that the trade is profitable regardless. House money trades are my favorite trades for this reason.
8) The toughest part is selling the remaining 2/3rds of your position, but there is a solution: when you see the first RED crossover line after GREEN, sell half of your remaining position. The price could come down a bit but would hold the remaining position until the next RED line appears.
**IMPORTANT: This strategy assumes that there is only ONE AQUA line at the very beginning of any given sequence. If there appears another AQUA line at any point in the sequence, SELL ALL. That is the only hard rule and is extremely unlikely to occur after a DARK BLUE cross. Keep in mind that some charts are so bullish that a GREEN LINE may never appear because the price action is so far above the Epoch_Zero EMA (yellow EMA ) that it will not be a factor for some time. Lastly, most RED crossover lines are insignificant until the GREEN line appears. Even then, they are only potential places to sell. AQUA lines are most meaningful and if you see one occur after a GREEN line, exit immediately.
Before you use this strategy, backtest it in the following way: pick any bullish stock over the past 3 months and see how the sequence pans out. I have done this over 100 times and it has worked 100 times WHEN you follow the rules listed in the "IMPORTANT" section above. Once validated, use this as a powerful weapon during bullish times.
Good luck and I hope this can make the world profitable someday.
- Perma H. Pig
Relative Normalized VolatilityThere are plenty of indicators that aim to measure the volatility (degree of variation) in the price of an instrument, the most well known being the average true range and the rolling standard deviation. Volatility indicators form the key components of most bands and trailing stops indicators, but can also be used to normalize oscillators, they are therefore extremely versatile.
Today proposed indicator aim to compare the estimated volatility of two instruments in order to provide various informations to the user, especially about risk and profitability.
 CALCULATION 
The relative normalized volatility (RNV) indicator is the ratio between the moving average of the absolute normalized price changes value of two securities, that is:
 SMA(|Δ(a)/σ(a)|)
―――――――――――
SMA(|Δ(b)/σ(b)|) 
Where  a  and  b  are two different securities  (note that notation "Δ(x)" refer to the 1st difference of x, and the "||" notation is used to indicate absolute value, for example "|x|" means absolute value of x) .
 INTERPRETATION 
The indicator aim tell us which security is more volatile between  a  and  b , with a value of the indicator greater than 1 indicating that  a  is on average more volatile than  b  over the last  length  period, while a value lower than 1 indicating that the security  b  is more on average volatile than  a . 
The indicator use the current symbol as  a , while the second security  b  must be defined in the setting window (by default the S&P500). Risk and profitability are closely related to volatility, as larger price variations could potentially mean larger losses (but also larger gains), therefore a value of the indicator greater than 1 can indicate that it could be more risked (and profitable) to trade security  a .
  
RNV using AMD (top) volatility against Intel (bottom) volatility. 
  
RNV using EURUSD (top) volatility against USDJPY (bottom) volatility. 
  
Larger values of  length  will make the indicator fluctuate less often around 1. You can also plot the logarithm of the ratio instead in order to have the indicator centered around 0, it will also help make values originally below 1 have more importance in the scale.
 POSSIBLE ERRORS 
If you compare different types of markets the indicator might return NaN values, this is because one market might be closed, for example if you compare AMD against BTCUSD with the indicator you will get NaN values. If you really need to compare two markets then increase your time frame, else use an histogram or area plot in order to have a cleaner plot.
 CONCLUSION 
An original indicator comparing the volatility between two securities has been presented. The choice of posting a volatility indicator has been made by my twitter followers, so if you want to decide which type of indicator i should do next make sure to check my twitter to see if there are polls available (i should do one after every posted indicator).
Cracking Cryptocurrency - Bottom FeederThe Bottom Feeder 
The Bottom Feeder is designed to algorithmically detect significantly oversold conditions in price that represent profitable buying opportunities. Combining this with it’s unique Stop and Target System, the Bottom Feeder is designed to return consistent return with minimal draw down. Whether used as a Market Bottom Detector or as a system for executing safe, profitable mean reversion trades, the Bottom Feeder is a powerful tool in any trader’s arsenal.
Bottom Feeder was designed to be used on BTCUSD , however it is also effective on other USD/USDT pairs. One will have to check the individual pair they wish to trade with the Strategy Tester to simulate performance.
 Options 
Let’s go through the input options one by one, so that you are able to comfortably navigate all that this indicator has to offer. The link below will display a picture of the layout of the settings for your convenience.
For the sake of simplicity, let’s note now that all settings marked **Conservative Mode** will not work in Aggressive Mode.
 Mode:  Determines how aggressively Bottom Feeder generates a buy signal. In Conservative Mode, trades can only be opened once per candle and the stop and target will update as new signals appear. In Aggressive Mode, a separate trade is opened each time Bottom Feeder signals, which may be multiple times within one Daily candle.
 Plot Target and Stop Loss:  Toggles on/off the visualized take profit and stop losses on the chart.
 **Conservative Mode** TP Multiplier:  This is an input box, it requires a float value. That is, it can accept either a whole number integer or a number with a decimal. This number will determine your Take Profit target. It will take whatever number is entered into this box and multiply the Average True Range against it to determine your Take Profit.
 **Conservative Mode** SL Multiplier:  See above - this will modify your Stop Loss Value.
 **Conservative Mode** Average or Median True Range:  This is a drop-down option, the two options are Average True Range or Median True Range. If Average True Range is selected, then this indicator will use the Average True Range calculation, that is, the average of a historical set of True Range values to determine the Average True Range value for Target and Stop Loss calculation. If Median True Range is selected, it will not take an average and will instead take the Median value of your historical look back period.
 **Conservative Mode** True Range Length:  This is an input that requires an integer. This will represent your historical look back period for Average/Median True Range calculation.
 **Conservative Mode** True Range Smoothing:  This is a drop-down with the following options: Exponential Moving Average ( EMA ), Simple Moving Average ( SMA ), Weighted Moving Average ( WMA ), Relative Moving Average (RMA). This will determine the smoothing type for calculating the Average True Range if it is selected. Note: if Median True Range is selected above, this option will not have any effect as there is no smoothing for a Median value.
 **Conservative Mode** Custom True Range Value?:  This is a true/false option that is false by default. If enabled, it will override the Average/Median True Range calculation in favor of a users custom True Range value to be input below.
 **Conservative Mode** Custom True Range Value:  This is an input box that requires a float value. If Custom True Range is enabled this is where a user will input their desired custom True Range value for Target and Stop Loss calculation.
 Stop and Target Description 
Because Bottom Feeder is designed only to scalp the various market bottoms that can appear over time in the market and not to identify trends or to trade ranges, it’s imperative that the indicator notify us not just to when to enter our trades, but when to exit! In the service of that, CC Bottom Feeder has a built in Stop and Target system that tracks and displays the stop loss and take profit levels of each individual open trade, whether in Aggressive or Conservative Mode.
Conservative Mode Targeting: In Conservative Mode, Bottom Feeder signals are aggregated into a compound trade. The signal will appear as a green label pointing up below a candle, and will appear upon a candle close. If Bottom Feeder then generates another signal the stop loss and target price will be updated. The process will continue until the aggregated trade completes in either direction. On a trade with multiple signals, a larger position is slowly entered into upon each buy signal.
Aggressive Mode Targeting: In Aggressive Mode, Bottom Feeder signals are individually displayed as they are generated, regardless of how many signals are generated on any single candle. If Bottom Feeder continues to signal, each individual open trade will have their own stop loss and target that will be displayed on the chart until the individual trade completes in either direction. As opposed to a large compound position, aggressive mode represents a higher number of independent signals with their own stop and target levels.
Stop losses and targets are designed to be hard, not soft. That is, they are intended to be stop market orders, not mental stop losses. If price wicks through the target or stop, it will activate.






















