📝 Description This script demonstrates a new approach to the trailing take profit. Trailing Take Profit is a price-following technique. When used, instead of setting a limit order for the take profit target exiting from your position at the specified price, a stop order is conditionally set when the take profit target is reached. Then, the stop price (a.k.a...
//@version=4 strategy("MACD Strategy", overlay=true) // Define MACD = macd(close, 12, 26, 9) // Define conditions for long entry longCondition = crossover(macdLine, signalLine) // Define conditions for short entry shortCondition = crossunder(macdLine, signalLine) // Define stop loss for long entry longStopLoss = low // Previous candle low // Define stop...
Moving average crosses are something you might use to start experiments with Pine scripting . When a death cross is observed as the fast moving average crosses below the slow moving average, we enter a short trade. When a golden cross is observed as the fast moving average crosses above the slow moving average, we enter a long trade. Basic stop losses are...
The end of month effect is a well known trading strategy in the stock market. Quite simply, most stocks go up at the end of the month. What's even better is that this effect spills over to the next phew days of the next month. In this script we backtest this theory which should work especially well on SP500 pair. By default the strategy buys 2 days before the...
NAME : Moving average strategy SUMMARY Long when Short MA period > Long MA period Exit when Short MA period < Long MA period Long only strategy, but you can modify this script. ============================== This strategy uses a moving average line. It buys when the short-term moving average crosses the long-term moving average and sells when the long-term...
The "Price and Volume Breakout Buy Strategy" is a trading strategy designed to identify buying opportunities by detecting concurrent price and volume breakouts over a specified range of candlesticks. This strategy is optimized for assets demonstrating high volatility and significant momentum spikes. HOW IT WORKS The strategy first takes the specific number of...
The "Alligator + MA Trend Catcher" is a trading strategy that integrates the William Alligator indicator with a Moving Average (MA) to establish robust entry and exit conditions, optimized for capturing trends. HOW IT WORKS This strategy combines the traditional William Alligator set up with an additional Moving Average indicator for enhanced trend...
The "Multi Timeframe RSI Buy/Sell Strategy" is a trading strategy that utilizes Relative Strength Index (RSI) indicators from multiple timeframes to provide buy and sell signals. This strategy allows for extensive customization, supporting up to three distinct RSIs, each configurable with its own timeframe, length, and data source. HOW DOES IT WORK This...
Description: This strategy applies the Avellaneda-Stoikov (A-S) model to generate buy and sell signals for underlying assets based on option pricing theory. The A-S model estimates bid and ask quotes for options contracts considering factors like volatility (sigma), time to expiration (T), and risk aversion (gamma). Key Concepts: Avellaneda-Stoikov Model: A...
Hi everyone, this will be my first published script on Tradingview, maybe more to come. For quite some time I have been looking for a script that performs no matter if price goes up or down or sideways. I believe this strategy comes pretty close to that. Although nowhere near the so called "buy&hold equity" of BTC, it has produced consistent profits even when...
The "Stochastic Z-Score Oscillator Strategy" represents an enhanced approach to the original "Buy Sell Strategy With Z-Score" trading strategy. Our upgraded Stochastic model incorporates an additional Stochastic Oscillator layer on top of the Z-Score statistical metrics, which bolsters the affirmation of potential price reversals. We also revised our exit...
█ Introduction and How it is Different Z-score: a statistical measurement of a score's relationship to the mean in a group of scores. Simple but effective approach. The "Price Based Z-Trend - Strategy " leverages the Z-score, a statistical measure that gauges the deviation of a price from its moving average, normalized against its standard deviation. This...
The "Buy Sell Strategy With Z-Score" is a trading strategy that harnesses Z-Score statistical metrics to identify potential pricing reversals, for opportunistic buying and selling opportunities. HOW DOES IT WORK The strategy operates by calculating the Z-Score of the closing price for each candlestick. This allows us to evaluate how significantly the current...
Introduction This publication introduces the " Fibonacci Retracement Trend Reversal Strategy, " tailored for traders aiming to leverage shifts in market momentum through advanced trend analysis and risk management techniques. This strategy is designed to pinpoint potential reversal points, optimizing trading opportunities. Overview The strategy leverages...
Presenting the Pineconnector RSI Strategy, a robust approach tailored for identifying favorable entry and exit points in uptrending assets across various markets such as cryptocurrencies, stocks, and gold. This strategy amalgamates Heikin Ashi candlestick patterns and the Relative Strength Index (RSI) to navigate potential price fluctuations effectively. Core...
The "Channels With NVI Strategy" is a trading strategy that identifies oversold market instances during a bullish trading market. Specifically, the strategy integrates two principal indicators to deliver profitable opportunities, anticipating potential uptrends. 2 MAIN COMPONENTS 1. Channel Indicators: This strategy gives users the flexibility to choose...
Quick History: I was frustrated with a standard fixed percent TP/SL as they often were not receptive to quick market rallies/reversals. I developed this TP/SL and eventually made it into a full fledge strategy and found it did well enough to publish. This strategy can be used as a standalone or tacked onto another strategy as a TP/SL. It does function as both with...