Donchian Breakout StrategyThis strategy buys when the Donchian Channel is broken to the upside and uses the lower Donchian Channel line as a trailing stop. You can also choose to use a moving average as a filter to keep you out of trades that are counter trend.
You can also configure which dates you want to backtest, so you can see how this behaves over specific time frames and market cycles.
Strategy!
Strategy Quadratic Semaphore I add a basic strategy for the "Quadratic traffic light" indicator, it can help to find a good configuration.
Regards.
Combo Strategy 123 Detrended Price Oscillator This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
The Detrend Price Osc indicator is similar to a moving average,
in that it filters out trends in prices to more easily identify
cycles. The indicator is an attempt to define cycles in a trend
by drawing a moving average as a horizontal straight line and
placing prices along the line according to their relation to a
moving average. It provides a means of identifying underlying
cycles not apparent when the moving average is viewed within a
price chart. Cycles of a longer duration than the Length (number
of bars used to calculate the Detrend Price Osc) are effectively
filtered or removed by the oscillator.
WARNING:
- For purpose educate only
- This script to change bars colors.
RSI channel ob/os breakout [ChuckBanger]This is a breakout signal script based on reverse engineering of RSI. It shows a channel of overbought and oversold readings that the trader can sett in settings. When low crosses under lower line it shows bullish signal and when high is crossing upper line it shows a bearish signal. The script also has wilder's moving average as filter instead of high/low.
Good luck traders!
Ichimoku Kinko Hyo Cloud - no offset - no repaint - strategyIchimoku Kinko Hyo Cloud - no offset - no repaint - RSI filter - strategy
The indicator contains both the standard Ichimoku Cloud , as well as the one without the visual offset.
The Strategy Tester indicates good backtest results when the Ichimoku Cloud is paired with the RSI .
However, it seems it likes to work more as a standalone system.
The indicator can be easily converted to the study() mode by commenting/uncommenting a few lines,
then the alarms can be configured.
There are entry and exit signals ready to be used by the alert system.
The coloring of the cloud without offset contains all 3 conditions: Uptrend , Downtrend , Transition .
Strategy Death To The Bear Simple strategy for the indicator "Death To The Bear".
Simple rules:
- Entry according to the selected weapons.
- Take profit 1 (TP1) in% of daily ATR (can be set, default 20%)
- Active Stop in Breakeven when I take profit in TP1.
- Take profit 2 (TP1) in% of daily ATR (can be set, default 30%)
* Pyramidization can be changed from the configuration (maximum number of tickets to average your price)
* Many do not like to pyramid, but I can assure you that with good management, and good choice of the instrument and time frame, you will get good money.
Note: at the request of some people who cannot see the EMOJI in the configuration you can choose TEXT.
Thumbs up
Strategy MACD vs BBStrategy based on MACD and Bollinger Bands, where BBs are calculatend from macd signal.
Strategy doesn't open at breakout of bands but it waits for a pullback.
Upper and lower bands are used as resistance and support.
There are various parameters that can be optimized.
I have also a study with alerts.
Please use comment section for any feedback or cointact me if you need support.
BEST Trailing Stop StrategyHello traders
Here we go again.... with the second strategy snippet.
Reminder: the first snipper was a Trailing Profit strategy script
What's on the menu?
A trailing stop is designed to protect gains by enabling a trade to remain open and continue to profit as long as the price is moving in the investor's favor.
The order closes the trade if the price changes direction by a specified percentage or dollar amount.
Trigger me I'm famous
I developed many trading strategies in my career and often I've been asked to trigger a trailing-stop once a certain % move has been made.
On the screenshot below, the SL trigger is plotted in maroon.
Once the price goes past that level for the first time, I'll start trailing the trailing stop level.
In other words, when we see a price makes an interesting move in percentage value - we decide to trail the stop for at least not losing any more
All the BEST
Dave
T3+SMA This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
© 03.freeman
This strategy is based only on T3 moving average, but uses sma 200 as filter for enter long or short.
The default settings considers a daily timeframe.
The strategy is very simple: long if T3 increase, short if T3 decrease.
Note that if you set volume factor to 0 you will have an exponential moving average, while if you set to 1 you'll get a DEMA.
HXRO Bot Backtest Time HighlightThis script allows you to highlight the HXROBot backtest interval with the possibility of fragmenting the view to better identify the key areas of your strategy
BEST Trailing Take Profit StrategyHello traders
Hope you enjoyed your weekend on my behalf. Was staying home working ... ^^
This is my first strategy educational post I'm doing ever
While I'm generally against posting strategies because it's very easy to fake performance numbers... I cannot prevent myself from sharing a few cool strategy snippets anyway.
So from now on, I'll be sharing a few strategies also - generally not to showcase performance but only to show what pinescript can do.
As once again strategy performance can be faked is so many ways... :)
What's on the menu?
We all know what a trailing-stop is. right? right? Ok... sharing the definition here :)
A trailing stop is designed to protect gains by enabling a trade to remain open and continue to profit as long as the price is moving in the investor's favor. The order closes the trade if the price changes direction by a specified percentage or dollar amount.
But...do you know what a trailing profit is?
Short definition : Well the same but with your profit limit order.
Long definition : A trailing profit is designed to increase your gains by enabling a trade to remain open and continue to profit as long as the price is moving in the investor's favor. The order closes the trade if the price hits the trailing profit level specified percentage or dollar amount.
Some trading strategies used both a trailing stop AND trailing profit. Not making any recommendation here - only sharing what's possible in the realm of trading and pinescripting
Trigger me I'm famous
I developed many trading strategies in my career and often I've been asked to trigger a trailing-stop or trailing-profit once a certain % move has been made.
I integrated here a Take Profit trigger - once hit, it will activate the trailing profit
On the screenshot below, the TP trigger is plotted in orange. Once the price goes past that level for the first time, I'll start trailing the profit level.
In other words, when we see a price makes an interesting move in percentage value - we decide to offset the profit as we concluded that once it reached such distance - then it leads often to more profit
Of course, using only a trailing profit without stop/trailing-stop/invalidation isn't smart and the surest way to kiss goodbye a trading capital and trading and your good mood
See you tomorrow for another strategy snippet
All the BEST
Dave
Moving Average Ribbon strategy [2H timeframe]Moving average based strategy.
This strategy basically buys when close price of n previous + current candle is above ribbon and sells when below.
You can change the type of MA directly in the parameters.
Best use on 2H TF.
Jurik Moving Average Crossover Strategy [ChuckBanger]The classic moving average crossover strategy does not work well in markets that, instead of trending, tend to frequently reverse within a trading range. The lag between the actual time the market has reversed direction and when the moving average is signalling a trade, the trend is already over and the market is about to go against your position. In this environment, a more appropriate trading strategy is suggested here using an JMA Keltner Channel.
The idea is to create a channel based of support and resistance. When the market breaks out of the channel, and fails to maintain momentum. It is likely the price will fall back toward the center of the channel. This tendency can be exploited in the following manner.
In the chart above, The aqua and maroon (center line) and the blue lines are part of a channel. The middle line is a slow running JMA of the closing prices, with Length = 30 and phase = 0. The upper blue band is constructed by adding 1.5 times of 30-bar ATR (average true range) to the center JMA line and the lower blue band by deducting the same amount. There is a grey line running through the data- That is a fast running JMA with length = 5 and phase = 100 representing the price.
The red dots indicate that the the price is going back in the channel and the market is retracting from a failed upward breakout, and the green dots mark when price is retracting from a failed downward breakout. These are places where one might want to enter the trade. The orange dots indicate where price crosses the center line, a reasonable place to take profit from or even exit the trade.
The center line also shows the up or down movements if the setting is ticked. This feature is useful to use when exit a trade. For example, you enter a long position on a green dot signal and the color is maroon. You can wait for 3-5 candles (depending of markets). And if the color doesn’t change it can be an indication that the price is going lower. Here it is possible to switch to a short possible or the opposite apply if you enter on a red dot.
The parameter use in this study is for demonstrating purposes only. This is to show how you can use JMA. Do not trade with real money without thoroughly test the strategy. And always use stop-losses.
Expert studio strategy 1 - GBPUSDThis is part of a series of strategies developed automatically by a online software.
I cannot share the site url, which is not related to me in any way, because it is against the TV reules.
This strategy was optimized for GBPUSD, timeframe 1D, fixed lots 0.1, initial balance 1000€.
LOGIC:
- LONG ENTRY when previous candle is bear
- LONG EXIT: RVI > signal line
- SHORT ENTRY when previous candle is bull
- SHORT EXIT: RVI < signal line
NOTE: I considered the open of actual candle instead of close otherwise there will be a back shift of 1 candle in pine script
Take profit = no
Stop loss = no
I have also a study with alarms.
Please use comment section for any feedback.
High Gain Volume Strategy Only 2 Candles The result after having a good wine...
Data with reliable volume required.
to enjoy!
CCI strategy on OIL1HThis indicator is based on Commodity Channel Index.
It buys when CCI on period 200 is under -130 and it´s rising last 12 bars. It closes the position by hitting Take Profit, Stop Loss or opening short position.
It sells when CCI on period 200 is over 130 and it´s falling last 12 bars. It closes the position by hitting Take Profit, Stop Loss or opening short position.
This strategy seems to working just on USOIL on 1 hour chart. This can predict that it´s just luck and not proper strategy or indicator I would use for trading.
This script is just for educational purposes and that´s why the script is open. I will be happy if you will leave comment and try to come up with some ideas how to improve this strategy, so it can be used also on other commodities/forex pairs.
Combo Backtest 123 Reversal & D_Three Ten Osc This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
TradeStation does not allow the user to make a Multi Data Chart with
a Tick Bar Chart and any other type a chart. This indicator allows the
user to plot a daily 3-10 Oscillator on a Tick Bar Chart or any intraday interval.
Walter Bressert's 3-10 Oscillator is a detrending oscillator derived
from subtracting a 10 day moving average from a 3 day moving average.
The second plot is an 16 day simple moving average of the 3-10 Oscillator.
The 16 period moving average is the slow line and the 3/10 oscillator is
the fast line.
For more information on the 3-10 Oscillator see Walter Bressert's book
"The Power of Oscillator/Cycle Combinations"
WARNING:
- For purpose educate only
- This script to change bars colors.
Highest/Lowest Center Lookback StrategyBasicaly long when price above middle of highest and lowest price in lookback period.
EVWMA VWAP Cross Strategy [QuantNomad]Continue to experiement with VWAP and EVWMA.
It seems that just simple crosses between VWAP and EVWMA can be pretty good signals. VWAP is a bit choppy so you can use VWAP smoothing input to smoth it a bit.
Here are few other strategies based on EVWMA:
EVWMA VWAP MACD Strategy
QuantNomad - EVWMA MACD Strategy
I Like Winners And Love Loosers!Maby you could, use this simple long/short strategy with a few % leverage to work around your hodl position?
Scripting Tutorial B - TManyMA - Commission/FeesThis script is for a triple moving average strategy where the user can select from different types of moving averages, price sources, lookback periods and resolutions.
Features:
- 3 Moving Averages with variable MA types, periods, price sources, resolutions and the ability to disable each individually.
- Crossovers are plotted on the chart with detailed information regarding the crossover (Ex: 50 SMA crossed over 200 SMA )
- Forecasting available for all three MAs. MA values are forecasted 5 values out and plotted as if a continuation to the MA.
- Forecast bias also applies to all forecasting. Bias means we can forecast based on an anticipated bullish , bearish or neutral direction in the market.
- To understand bias, please read the source code, or if you can't read the code just send me a message on here or Twitter . Twitter should be linked to my profile.
- Ribbons added and on by default. Optional setting to disable the ribbons. 5 ribbons between MA1 and MA2 and another 5 between MA2 and MA3.
- Ribbons are alpha-color coded based on their relation to their default MAs.
- Ribbons are only visible between MAs if the MAs being compared share the same Type, Resolution, and Source because there is no way to consolidate those three in a simple manner.
- Ribbon values are calculated based on calculated MA Periods between the MAs.
- Converted the existing study into a strategy.
- Strategy only enters long positions with a market order when MA crossovers occur.
- Strategy exits positions when crossunders occur.
- Trades 100% of the equity with one order/position by default.
- Ability to disable trading certain crosses with input checks.
- Ability to exit trades with a take profit or stop loss.
- User input to allow quick changes to the take profit or stop loss percentages.
- Strategy now calculates on every tick
- Strategy also includes fixed commission values based on Coinbase standard order fees
This script is meant as an educational script with well-formatted styling, and references for specific functions.
*** PLEASE NOTE - THIS STRATEGY IS MEANT FOR LEARNING PURPOSES. DEPENDING ON IT'S CONFIGURATION IT MAY OR MAY NOT BE USEFUL FOR ACTUAL TRADING. THE STRATEGY IS NOT FINANCIAL ADVICE ***
On Balance Volume Oscillator Strategy [QuantNomad]Looking for the way to use OBV Oscillator in a strategy.
Here is my first try. I just enter to position of a cross of 2 emas based on OBV.
Here is my original oscillator indicator:
Combo Strategy 123 Reversal & Cueing Off Sup/Res Levels This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
Cueing Off Support And Resistance Levels, by Thom Hartle
modified by HPotter for trade signals.
The related article is copyrighted material from Stocks & Commodities.
WARNING:
- For purpose educate only
- This script to change bars colors.