Percent Trailing Stop %===========
 Percent Trailing Stop % 
===========
Another Stop Loss Indicator today - our last Fixed SL/TP script went down quite well, this one is for adding a Percent Trailing Stop from Entry Price to your own strategy.
 You can ignore the actual entry/exit orders - they're based on a simple MA cross and are therefore NOT relevant, NOT profitable and NOT recommended! 
 You should be using this code as a way of adding a % Trailing Stop to your own scripts - hope it helps! 
You should also notice that a generally considered  losing  strategy (a simple MA cross) could actually become profitable with careful money management - try combining this Trailing Stop script with our  Fixed Stop/Take Profit  script for really accurate management of your capital.
-----------
Good Luck and Happy Trading!
Cari dalam skrip untuk "profit"
Sell Relative Strength Index [ChuckBanger]This is Sell Relative Strength Index (SRSI or “sell gravitation index”). This indicator was developed by Howard Wand as featured in the February 2019 issue of TASC magazine.
"Traders accumulate profits trade by trade, with the goal of maximizing profits. But selloffs happen and when they do, you see significant price drops that are fast. Here’s an indicator that uses the profit accumulation size to estimate subsequent selloff size.
Green lines represent buy, red represents sell and yellow represents a balance between buy and sell signals on the SRSI."
CBMA Bollinger Bands Strategy directed [ChuckBanger]I just did a Bollinger Bands script with my newly CB moving average  
While I'm generally against posting strategies because it's very easy to fake performance numbers... This is just to share a cool strategy snippet. My settings are 10 contracts/order with pyramiding set to 10. You can make the profitability a lot higher if you set the order size higher. But that dosent help you getting more out of this script when u make a bot of this script. I set the order size to 10 contracts to get your attention not to showcase the performance.
When the price is going down and outside of the lower side of the band. And when the price comes back into the channel the strategy buys. Usually that means the price is going up. And when the price is going up and outside of the upper band. The strategy sells when it crosses back in to the channel.
It is a very simple strategy but it is effective. I guess you need a proper stop-loss for this script to bee really profitable in a bot environment.
SMA_Cross + RSI1. long
a. RSI does not open an order when it is overbought, until the RSI falls below a certain threshold, and then open a position
b. There are already many positions. If the RSI is overbought, it will be profitable. When the RSI falls below a certain threshold, open a long position again until the moving average crossover signal turns short.
2. Short
a. RSI does not open an order when it is oversold, and then opens a position after RSI rises to a certain threshold
b. There are already short positions. If the RSI is oversold, it will be profitable to close the short position. When the RSI rises above a certain threshold, open the short position again until there is a reversal of the moving average crossing signal.
1. 做多
a. RSI在超买区间时不开单,直到RSI回落到某个阈值之下,再开仓
b. 已经有多仓,如果RSI超买,则平多获利,当RSI回落到某个阈值之下后,再次开多,直到有均线交叉信号反转做空
2. 做空
a. RSI在超卖区间时不开单,直到RSI上升到某个阈值之后,再开仓
b. 已经有空仓,如果RSI超卖,则平空获利,当RSI上升到某个阈值之上后,再次开空,直到有均线交叉信号反转做多
NR4 / NR7 + Inside BarIndicator Script for identifying Narrow Range 4 / 7 + Inside Bar
It also helps to check whether NR4 / NR7 breakout trading has been profitable or not in the past in a particular instrument.
It has helped me to select profitable scripts and avoid losing ones. Can be used for anytime frame.
SIGNAL
NR4 == Narrowest range of 4 periods + signal day is an inside bar
NR4 & NR7 == Narrowest range of 7 periods + signal day is an inside bar
SIGNAL "PROFIT" -
Prior day was NR4 / NR7 and next day price broke out of prior day range in 1 direction and closed in the direction of breakout away from breakout price, resulting in a profit trade.
SIGNAL "LOSS" -
Prior day was NR4 / NR7 and next day price broke out of prior day range and returned back to close inside the narrow zone OR went in opposite direction after the initial breakout, resulting in a loss trade.
TradingView Alerts to MT4 MT5 + dynamic variables NON-REPAINTINGAccidentally, I’m sharing open-source profitable Forex strategy. Accidentally, because this was aimed to be purely educational material. A few days ago TradingView released a very powerful feature of dynamic values from PineScript now being allowed to be passed in Alerts. And thanks to TradingConnector, they could be instantly executed in MT4 or MT5 platform of any broker in the world. So yeah - TradingConnector works with indices and commodities, too.
The logic of this EURUSD 6h strategy is very simple - it is based on Stochastic crossovers with stop-loss set under most recent pivot point. Setting stop-loss with surgical precision is possible exactly thanks to allowance of dynamic values in alerts. TradingConnector has been also upgraded to take advantage of these dynamic values and it now enables executing trades with pre-calculated stop-loss, take-profit, as well as stop and limit orders.
Another fresh feature of TradingConnector, is closing positions only partly - provided that the broker allows it, of course. A position needs to have trade_id specified at entry, referred to in further alerts with partial closing. Detailed spec of alerts syntax and functionalities can be found at TradingConnector website. How to include dynamic variables in alert messages can be seen at the very end of the script in alertcondition() calls. 
The strategy also takes commission into consideration.
Slippage is intentionally left at 0. Due to shorter than 1 second delivery time of TradingConnector, slippage is practically non-existing. This can be achieved especially if you’re using VPS server, hosted in the same datacenter as your brokers’ servers. I am using such setup, it is doable. Small slippage and spread is already included in commission value.
This strategy is NON-REPAINTING and uses NO TRAILING-STOP or any other feature known to be faulty in TradingView backtester. Does it make this strategy bulletproof and 100% success-guaranteed? Hell no! Remember the no.1 rule of backtesting - no matter how profitable and good looking a script is, it only tells about the past. There is zero guarantee the same strategy will get similar results in the future.
To turn this script into study so that alerts can be produced, do 2 things:
1. comment “strategy” line at the beginning and uncomment “study” line
2. comment lines 54-59 and uncomment lines 62-65.
Then add script to the chart and configure alerts.
This script was build for educational purposes only.
Certainly this is not financial advice. Anybody using this script or any of its parts in any way, must be aware of high risks connected with trading.
Thanks @LucF and @a.tesla2018 for helping me with code fixes :)
NoNonsense Forex - high timeframe trading absurd NON-REPAINTINGSome time ago I bumped into NoNonsense Forex - pretty good-looking course with well-designed videos, reasonable rules, etc. Nice explanatory videos, not selling anything, building indicators-only strategy. But there was one thing that really annoyed me - it was supposed to work only on Daily timeframe. What is the point in trading such high timeframe, if decisions changing market direction are playing out within 1 minute? What is the point in evaluating trades from 1994 if we are 25 years later?
Anyway, I have developed this strategy, which is:
- non-repainting
- not using trailing-stop
- not using any other known TradingView backtest bugs
And I'm showing it as an example of OVERFITTING. Backtesting results look absurd: 100% profitable. But if you change any of the many parameters in the Settings popup, they will turn into disaster. It means, the rules of this strategy are very fragile. Don't trade this! Remember about backtesting rule #1: past results do not guarantee success in the future.
I'm giving this strategy out with the source code. Feel free to do anything you want with it. But if you find parameters or modifications on, which allow profitable trading on lower timeframes, don't be shy, let me know :)
*********
Forex / Indices / Commodities traders who want to start AUTO-TRADING might want to take a look at "TradingConnector", which allows no-latency trades execution from TradingView to MT4/MT5.
Directional Movement Index with double exponential moving averagThe Directional system is a trend-following method developed by J. Welles Wilder,
in the mid-1970s. It identifies trends and shows
when a trend is moving fast enough to make it worth following. It helps traders to
profit by taking chunks out of the middle of important trends.
Trading Rules
1. Trade only from the long side when the positive Directional line is above the
negative one. Trade only from the short side when the negative Directional line
is above the positive one. The best time to trade is when the ADX is rising, show-
ing that the dominant group is getting stronger.
2. When ADX declines, it shows that the market is becoming less directional. There
are likely to be many whipsaws. When ADX points down, it is better not to use
a trend-following method.
3. When ADX falls below both Directional lines, it identifies a flat, sleepy mar-
ket. Do not use a trend-following system but get ready to trade, because major
trends emerge from such lulls.
4. The single best signal of the Directional system comes after ADX falls below
both Directional lines. The longer it stays there, the stronger the base for the
next move. When ADX rallies from below both Directional lines, it shows that
the market is waking up from a lull. When ADX rises by four steps
from its lowest point below both Directional lines, it “rings a bell” on a
new trend . It shows that a new bull market or bear market is being
born, depending on what Directional line is on top.
5. When ADX rallies above both Directional lines, it identifies an overheated mar-
ket. When ADX turns down from above both Directional lines, it shows that the
major trend has stumbled. It is a good time to take profits on a directional trade.
If you trade large positions, you definitely want to take partial profits.
This particular version uses DEMA (double exponential moving averages) in attempt to catch moves sooner.
Bilateral Stochastic Oscillator StrategyIntroduction 
Strategy based on the bilateral stochastic oscillator, this oscillator aim to detect trends and possible reversal points of the current trend. The oscillator is composed of 1 bull line in blue and 1 bear line in red as well as a signal line in orange, the strategy have many options such as two different strategy framework and a martingale mode. If you require more information about the indicator go check it into my uploaded indicators.
 Strategy Frameworks 
There are two frameworks available that can be selected from the strategy settings window. Both have the same closing conditions, the "Bull/Bear Cross" entry conditions are :
Buy : when the bull line cross over the bear line
Sell : when the bear line cross over the bull line
The "Signal Cross" entry conditions are :
Buy : when the bull line cross over the signal line
Sell : when the bear line cross over the signal line
Both have the same close conditions that is : close when bull/bear cross under the signal line.
 Introduction To Martingale 
The martingale money management system consist to double the order size after a loosing trade and can be described as a  2^x  where  x  is the current number of loosing trades since the last win trade, when we win a trade the order size return to the default order size. Therefore our order size function is based on exponential growth.
This system enable the trader to win back his previous losses plus a potential profit, martingales must always be used with stops and sometimes take profits in order to get control in a strategy.
It must always be taken into account that in a series of losses the balance can exponentially decay thus ending to 0 in a matter of trades, this is why it is not recommended to use such system. The strategy allow you to select a martingale multiplier that can be inferior to 2 thus limiting risks, a multiplied of 1 disable the martingale.
 Results 
Those are the some statistics of the strategy applied to some forex majors by using the default settings in a time frames of 15 minutes.
//-------------------------------------------------------
EURUSD - Order Size 1000 - Spread 0.0002
Profit : $ 21.08
Trades : 19
PP : 57.89 %
Profit Factor : 3.228
Max Drawdown : -$ 3.81
Average Trade : $ 1.11
//-------------------------------------------------------
GBPUSD - Order Size 1000 - Spread 0.0002
Profit : $ 2.31
Trades : 20
PP : 55 %
Profit Factor : 0.938
Max Drawdown : -$ 20.29
Average Trade : $ 0.12
//-------------------------------------------------------
EURAUD - Order Size 1000 - Spread 0.0002
Profit : -$ 9.22
Trades : 20
PP : 40 %
Profit Factor : 0.698
Max Drawdown : -$ 23.44
Average Trade : $ 0.46
//-------------------------------------------------------
EURCHF - Order Size 1000 - Spread 0.0002
Profit : $ 1.58
Trades : 24
PP : 54.17 %
Profit Factor : 1.103
Max Drawdown : -$ 7.23
Average Trade : $ 0.07
//-------------------------------------------------------
 Conclusions 
Based on the results the strategy does not posses the sufficient performance in order to apply a martingale or any other growth systems as order size. Parameters might be subject to drastic changes depending on the market/time-frame in order to return long-term positive results. I let you draw your conclusions.
 
WhiplashClimax setup looking for a reversal the next day after a gap, this works best if the signal is triggered after a prolonged move in one direction. Enter the position at the close of the day when you get a signal and exit for a loss the next day if not profitable, otherwise, trail a stop to lock profits.
Kozlod - Simple BB Strategy - XBTUSD - 1 minuteReally nice performance for simple BB on XBTUSD Bitmex 1 minute chart. 
BB length = 55, BB mult = 4.
No SL or PT used. 
Amazingly performance for the last week, 92% profitable. Tested on entire May percent profitable become 80%, still not bad. 
And remember: 
Past performance does not guarantee future results.
Peak Valley Estimation StrategyIntroduction 
Its the first strategy that i post here, so don't expect ground breaking stuff, when testing my indicators i always used prorealtime and not tradingview. This strategy use signals generated by the peak/valley estimator indicator i posted long ago, i think the signals generated where sometimes quite accurate in some markets thus providing potential material for a profitable strategy.
The indicator use 3 parameters, therefore the optimisation process is not easy, but i selected what i judged good parameters values at first glance. The strategy is in its more simple form without stop or anything, the detection of peaks and valley can allow for tighter stops since we expect the price to reverse, but take into account that sops and take profits are parameters subject to optimization process except if selected with strict money management rules and not profit optimization.
Of course trading the strategy in this form is far from being great, if we take into account the market non stationarity then we might expect loss during trending markets. Trend strength indicators could help switch from a reversal to breakout strategy thus maybe providing more control.  
I really hope you find an use for the strategy.
 Notes 
Its been three long years since i started tradingview, and i put more efforts in my indicators than in my studies and life overall, this have created complicated situations and i can't afford to follow up with this, therefore i announce that in the end of june i will leave tradingview for quite a long time, at least until i have my degree. I announce it in advance in case some of you want helps of any kind. I will post all the indicators, both in progress and finished i have made during those three years. I hope you can all understand.
Thanks for reading !
PivotBoss TriggersI have collected the four PivotBoss indicators into one big indicator. Eventually I will delete the individual ones, since you can just turn off the ones you don't need in the style controller. Cheers.
 Wick Reversal 
When the market has been trending lower then suddenly forms a reversal wick candlestick , the likelihood of 
a reversal increases since buyers have finally begun to overwhelm the sellers. Selling pressure rules the decline, 
but responsive buyers entered the market due to perceived undervaluation. For the reversal wick to open near the
high of the candle, sell off sharply intra-bar, and then rally back toward the open of the candle is bullish , as it 
signifies that the bears no longer have control since they were not able to extend the decline of the candle, or the
trend. Instead, the bulls were able to rally price from the lows of the candle and close the bar near the top of its 
range, which is bullish - at least for one bar, which hadn't been the case during the bearish trend. 
Essentially, when a reversal wick forms at the extreme of a trend, the market is telling you that the trend 
either has stalled or is on the verge of a reversal. Remember, the market auctions higher in search of sellers, and 
lower in search of buyers. When the market over-extends itself in search of market participants, it will find itself 
out of value, which means responsive market participants will look to enter the market to push price back toward 
an area of perceived value. This will help price find a value area for two-sided trade to take place. When the 
market finds itself too far out of value, responsive market participants will sometimes enter the market with 
force, which aggressively pushes price in the opposite direction, essentially forming reversal wick candlesticks . 
This pattern is perhaps the most telling and common reversal setup, but requires steadfast confirmation in order 
to capitalize on its power. Understanding the psychology behind these formations and learning to identify them 
quickly will allow you to enter positions well ahead of the crowd, especially if you've spotted these patterns at 
potentially overvalued or undervalued areas.
 Fade (Extreme) Reversal 
The extreme reversal setup is a clever pattern that capitalizes on the ongoing psychological patterns of 
investors, traders, and institutions. Basically, the setup looks for an extreme pattern of selling pressure and then 
looks to fade this behavior to capture a bullish move higher (reverse for shorts). In essence, this setup is visually 
pointing out oversold and overbought scenarios that forces responsive buyers and sellers to come out of the dark 
and put their money to work-price has been over-extended and must be pushed back toward a fair area of value 
so two-sided trade can take place. 
This setup works because many normal investors, or casual traders, head for the exits once their trade 
begins to move sharply against them. When this happens, price becomes extremely overbought or oversold, 
creating value for responsive buyers and sellers. Therefore, savvy professionals will see that price is above or 
below value and will seize the opportunity. When the scared money is selling, the smart money begins to buy, and 
Vice versa. 
Look at it this way, when the market sells off sharply in one giant candlestick , traders that were short 
during the drop begin to cover their profitable positions by buying. Likewise, the traders that were on the 
sidelines during the sell-off now see value in lower prices and begin to buy, thus doubling up on the buying 
pressure. This helps to spark a sharp v-bottom reversal that pushes price in the opposite direction back toward 
fair value.
 Engulfing (Outside) Reversal 
The power behind this pattern lies in the psychology behind the traders involved in this setup. If you have 
ever participated in a breakout at support or resistance only to have the market reverse sharply against you, then 
you are familiar with the market dynamics of this setup. What exactly is going on at these levels? To understand 
this concept is to understand the outside reversal pattern. Basically, market participants are testing the waters 
above resistance or below support to make sure there is no new business to be done at these levels. When no 
initiative buyers or sellers participate in range extension, responsive participants have all the information they 
need to reverse price back toward a new area of perceived value. 
As you look at a bullish outside reversal pattern, you will notice that the current bar's low is lower than the 
prior bar's low. Essentially, the market is testing the waters below recently established lows to see if a downside 
follow-through will occur. When no additional selling pressure enters the market, the result is a flood of buying 
pressure that causes a springboard effect, thereby shooting price above the prior bar's highs and creating the 
beginning of a bullish advance. 
If you recall the child on the trampoline for a moment, you'll realize that the child had to force the bounce 
mat down before he could spring into the air. Also, remember Jennifer the cake baker? She initially pushed price 
to $20 per cake, which sent a flood of orders into her shop. The flood of buying pressure eventually sent the price 
of her cakes to $35 apiece. Basically, price had to test the $20 level before it could rise to $35. 
Let's analyze the outside reversal setup in a different light for a moment. One of the reasons I like this setup 
is because the two-bar pattern reduces into the wick reversal setup, which we covered earlier in the chapter. If 
you are not familiar with candlestick reduction, the idea is simple. You are taking the price data over two or more 
candlesticks and combining them to create a single candlestick . Therefore, you will be taking the open, high, low, 
and close prices of the bars in question to create a single composite candlestick . 
 Doji Reversal 
The doji candlestick is the epitome of indecision. The pattern illustrates a virtual stalemate between buyers 
and sellers, which means the existing trend may be on the verge of a reversal. If buyers have been controlling a 
bullish advance over a period of time, you will typically see full-bodied candlesticks that personify the bullish 
nature of the move. However, if a doji candlestick suddenly appears, the indication is that buyers are suddenly 
not as confident in upside price potential as they once were. This is clearly a point of indecision, as buyers are no 
longer pushing price to higher valuation, and have allowed sellers to battle them to a draw-at least for this one 
candlestick . This leads to profit taking, as buyers begin to sell their profitable long positions, which is heightened 
by responsive sellers entering the market due to perceived overvaluation. This "double whammy" of selling 
pressure essentially pushes price lower, as responsive sellers take control of the market and push price back 
toward fair value.
Inside Bar FailureYou can check edge profitability by adjusting the forward looking input, eg. how profitable is this signal after X bars.
DARVAS BOX MTFMULTIPLE TIME FRAME VERSION OF DARVAS BOX:
You can view different time frame values of Darvas Box levels on any chart
What Is the Darvas Box?
The Darvas Box strategy was developed by Nicholas Darvas. Aside from being a well known dancer, he began trading stock in the 1950s. Based on his success in trading, he was approached to write a book on his strategy. The book, “How I Made $2,000,000 in the Stock Market,” outlines his rather simple approach … simple once you understand the basic concepts and rationale of the strategy.
Darvas Box is an indicator that simply draws lines along highs and lows, and then adjusts them as new highs and lows form. The indicator is available on many trading platforms, such as Thinkorswim. Traders may wish to draw their own boxes though, based on recent highs and lows; Darvas was able to do so (based on telegram quotes) more than half a century ago.
Darvas Box Rules
I shall not follow advisory services.
I shall be cautious of broker advice.
I shall ignore Wall Street sayings or truisms, no matter how ancient or revered.
I shall only trade stocks on major exchanges with adequate volume .
I shall not listen to (or trade off of) rumors or tips, no matter how well researched they may sound.
I will use a sound strategy instead of gamble…I must study this strategy (originally this approach was fundamental analysis , which didn’t work for him, so he developed his Darvas Box trading method).
I will hold one position for longer, as opposed to juggling a bunch of positions for a short period of time.
Darvas looked for increasing volume when selecting stocks to trade; this alerted him to stocks that were being accumulated and were likely to see strong trends.
Darvas believed in buying stocks that presented an upper box limit breakout, but also had an upward Earnings trend. This was especially the case when the major indexes had experienced a decline.
When an upper box limit is broken, buy. From his book, the entry price was usually about 1 to 2% above the upper box limit.
If you enter a trade and the price proceeds to drop out of the new box, and back into the old box, exit the trade.
Entry and stop loss orders should be set in advance, so trades aren’t missed and risk is controlled.
Place, and trail the stop loss order to below the low of the most recent box. This initial stop loss was pretty tight, because Darvas assumed when a price broke out of an old box, it was entering a new box. Therefore, the stop was placed just below the high of old box which was just broken (low of new box).
Record trades, including reasons why you entered and exited.
General conditions of the market must favor buying. Don’t buy stocks when the major indexes are in a bear market, or when volume is flat or declining.
If you are stopped out, but the price moves back into the higher box again providing another buy signal, buy again, using the same stop loss location.
Since the stop is being trailed up, more funds can be added on each consecutive breakout.
The Bottom Line
Nicholas Darvas was a dancer, but committed a great deal of time to developing and then mastering his stock trading method. It’s a trend following method based on breakouts to higher boxes. Risk is controlled by placing a stop below new higher boxes as they form. During choppy conditions the strategy won’t be profitable. This is why Darvas also attempted to only trade stocks with increasing volume and rising Earnings . Trading his method requires a lot of discipline, but can produce big profits when strong trends develop.
source: traderhq.com
Creator: Nicholas DARVAS
Here's the link to a complete list of all my indicators:
tr.tradingview.com
Şimdiye kadar paylaştığım indikatörlerin tam listesi için: tr.tradingview.com
Bollinger Bands %bb (normalised) & RSIIndicator for displaying both Bollinger Bands %bb (normalised) and RSI simultaneously (Usual 0 - 1 range of BB normalised to the 30 - 70 range of RSI). 
When both Bollinger Bands %bb and RSI are OB/OS then the column will turn blue and a buy/sell arrow will appear in the indicator provided other conditions pertaining to the OB/OS condition in one of the last two candles are also met. 
I use this mainly for Cryptocurrencies for shorter time periods to indicate possible trade opportunities. 
You could also set an alert on the arrow indicator appearing to auto trade.
DARVAS BOX by KIVANÇ fr3762What Is the Darvas Box?
 The Darvas Box strategy was developed by Nicholas Darvas. Aside from being a well known dancer, he began trading stock in the 1950s. Based on his success in trading, he was approached to write a book on his strategy. The book, “How I Made $2,000,000 in the Stock Market,” outlines his rather simple approach … simple once you understand the basic concepts and rationale of the strategy.
Darvas Box is an indicator that simply draws lines along highs and lows, and then adjusts them as new highs and lows form. The indicator is available on many trading platforms, such as Thinkorswim. Traders may wish to draw their own boxes though, based on recent highs and lows; Darvas was able to do so (based on telegram quotes) more than half a century ago.
 Darvas Box Rules
 
I shall not follow advisory services.
I shall be cautious of broker advice.
I shall ignore Wall Street sayings or truisms, no matter how ancient or revered.
I shall only trade stocks on major exchanges with adequate volume .
I shall not listen to (or trade off of) rumors or tips, no matter how well researched they may sound.
I will use a sound strategy instead of gamble…I must study this strategy (originally this approach was fundamental analysis , which didn’t work for him, so he developed his Darvas Box trading method).
I will hold one position for longer, as opposed to juggling a bunch of positions for a short period of time.
Darvas looked for increasing volume when selecting stocks to trade; this alerted him to stocks that were being accumulated and were likely to see strong trends.
Darvas believed in buying stocks that presented an upper box limit breakout, but also had an upward Earnings trend. This was especially the case when the major indexes had experienced a decline.
When an upper box limit is broken, buy. From his book, the entry price was usually about 1 to 2% above the upper box limit.
If you enter a trade and the price proceeds to drop out of the new box, and back into the old box, exit the trade.
Entry and stop loss orders should be set in advance, so trades aren’t missed and risk is controlled.
Place, and trail the stop loss order to below the low of the most recent box. This initial stop loss was pretty tight, because Darvas assumed when a price broke out of an old box, it was entering a new box. Therefore, the stop was placed just below the high of old box which was just broken (low of new box).
Record trades, including reasons why you entered and exited.
General conditions of the market must favor buying. Don’t buy stocks when the major indexes are in a bear market, or when volume is flat or declining.
If you are stopped out, but the price moves back into the higher box again providing another buy signal, buy again, using the same stop loss location.
Since the stop is being trailed up, more funds can be added on each consecutive breakout.
The Bottom Line
Nicholas Darvas was a dancer, but committed a great deal of time to developing and then mastering his stock trading method. It’s a trend following method based on breakouts to higher boxes. Risk is controlled by placing a stop below new higher boxes as they form. During choppy conditions the strategy won’t be profitable. This is why Darvas also attempted to only trade stocks with increasing volume and rising Earnings . Trading his method requires a lot of discipline, but can produce big profits when strong trends develop.
source: traderhq.com
 Creator: Nicholas DARVAS
PT MACD function with Multiframe ( incl. Histogram )I updated the name thus needing to release it again and also the precisions is now on default what we need it.
 - The green area is where Proft Trailer will try to buy
 - Updated colors for both white / black canvas
 - Script is open for you to read
PT Feeder - Market Trends Top 10 / BTC Moves Becasue nobody was kind enough to post some PT Feeder scripts and i knew i could just modify my trends / btc script that i originally created for PT Magic. Well i just did it.
What is this script for ? PT Feeder it allows you to better imagine what kind of values you should be expecting when setting the Market Trends and BTC moves.
Green are top 10 Markets:
"MaxTopCoinLongTermAverageChange": "-3"
"MinBaseCoinPriceChange": "3",
Blue is BTC:
"MinBaseCoinLongTermPriceChange": "-3"
"MaxBaseCoinPriceChange": "3",
Why only 10 markets well becasue tradingview is very limited but it is still better than nothing.
If you like agree and follow !
PT Magic - Market Trends Top 10 ( More is not possible )- Unfortunately more than top 10 trends is not possible sorry
- Some of the colors overlap i will try to fix it soon
PT Magic - BTC/ETH Trigger Trend ChangesThis Script shows you how BTC/ETH Percentage change in trends affect coins you trade.
- For ETH market please change BTC in Setting for ETH
What you need it PT Magic:
{
          "Name": "BTC1h", // UNIQUE market trend name (to be referenced by your triggers below)
          "Platform": "CoinMarketCap", // Platform to grab prices from (Allowed values are: CoinMarketCap, Exchange)
          "MaxMarkets": 1, // Number of markets/pairs to analyze sorted by 24h volume
          "TrendMinutes": 60 // Number of minutes to build a trend (1440 = 24h, 720 = 12h, 60 = 1h)
 },
 {
          "Name": "ETH1h", // UNIQUE market trend name (to be referenced by your triggers below)
          "Platform": "CoinMarketCap", // Platform to grab prices from (Allowed values are: CoinMarketCap, Exchange)
          "MaxMarkets": 2, // Number of markets/pairs to analyze sorted by 24h volume
          "IgnoredMarkets": "BTC",
          "TrendMinutes": 60 // Number of minutes to build a trend (1440 = 24h, 720 = 12h, 60 = 1h)
 },
PT MACD markedPT MACD indicator - marked green 
 - If you want to better see the values change the precision to the highest number.






















