TrianglePoint strategyThis is trend following strategy ... when price is trading well above 200 ema and forms a triangle (based on number of bars defined)
BUY
====
when fast ema > 200 ema
check for triangle of last N bars (default set to 9)
EXIT
======
when fast ema crosses down middle term ema
if price reaches above 5% of buy , it changes the color to purple. You can close any time or wait for above signal.
STOP LOSS
=======
stop loss default value set to 5%
Note: No triangle shown on the chart. I will find out how to add the lines to the chart.
Warning
=========
For the use of educational purposes only
Trendfollowing
Reversal closing priceThe reversal closing price (RCP) is a candlestick pattern which follows two simples rules:
the low price of current candle needs to be lower than the low price of the last 2 candles
the closing price of current candle needes to be higher than the closing price of the last candle
This generates a signal for a long position. For a short position, the conditions are inverted:
the high price of current candle needs to be higher than the high price of the last 2 candles
the closing price of current candle needes to be lower than the closing price of the last candle
Since RCP is a trend follower indicator, the strategy is programmed in such a way that long positions are only placed if the short period EMA is above the long period EMA, and short positions are only placed if the short EMA is bellow the long EMA. Both periods are configurable, and should be ajusted for each asset.
This strategy uses a fixed stop loss and take profit, and the it's ratio is configurable. The stop price is one tick lower than the lowest price of X candles prior to the order execution for long positions, while in short positions it's one tick higher than the higher price. The amount of candles to lookback (X) is configurable. Both stop and take profit prices are displayed, the first as a red line, and the second as a green line.
This is the setting that I've found to work best with TVC:SPX , but you may find a better setting. While the RCP is universal, it's placement depends on the trend and it's strenght, something that is very heterogeneous among assets.
I really wish that I was able to place images, but I don't have PRO, so text will have to do.
This strategy was designed by Alexandre Wolwacz, a.k.a. Stormer.
MACD Trend Following Strategy How it work ?
Work like normal MACD because this is MACD without any modify but i add color of candlestick and strategy.
The color meaning :
Green= macd > signal and macd>0 (Buy)
Red= macd < signal and macd<0 (Sell)
Yellow= macd > signal and macd<0 (Maybe reversal point)
Blue= macd < signal and macd>0 (Maybe reversal point)
Feature
- Back test range
- Long/Short option
- Modifiable MACD Setting
Breakout Trend Follower StrategyThis strategy goes long when highs are broken and uses a trailing stop that follows swing lows. User can configure a back test date range and choose whether or not to only take trades above a selected moving average.
The desire for me to make this script was to try to capture those extreme breakouts that can occur after a consolidation/equilibrium pattern. This catches those using stop-buys as the entry. Out of all the scripts I have made thus far, this one is the one that has the best results. Time frames might vary due to commission structures, etc. I currently use this strategy on stocks on the 30-min time frame and crypto (with Coinbase's high fees) on the 2-hr time frame.
ADX | DMI Trend StrategyThis strategy takes the ADX Indicator I wrote and applies it to a strategy for back testing purposes.
I've also applied a date filter so you can back test specific date ranges and a moving average filter so you can choose whether to filter your longs/shorts based on a moving average.
MA-EMA Crossover LTJust a simple strategy based on dynamic zones by Allenster. Still a work in progress.
Trend Following BreakoutEasy Trend Following Strategy using Highs and Lows breakout of the last X candles to enter and exit trades.
You can easily change the ENTRY and EXIT value in order to find the best settings.
This strategy seems to be working well for $BTC and $ETH on the 4H and 1D.
I didn't play with it too much as I am testing script to trade on the 15 minutes chart with margin. This script can't do this successfully but I hope it can be helpful for what you want to achieve.
Trend Following or Mean RevertingThe strategy checks nature of the instruments. It Buys if the close is greater than yesterday's high, reverse the position if the close is lower than yesterday's low and repeat the process.
1. If it is trend following then the equity curve will be in uptrend
2. If it is mean reverting then the equity curve will be downtrend
Thanks to Rayner Teo.
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.
Estamina Trend Strategy By KrisWatersTrend following strategy based on moving avarage crossovers. Strategy provides only long signals. Use only for BTCUSDT pair on 4H timeframe.
First time coding - a 5min forex Scalping strategy This is my first attempt at producing a strategy in Pine Script.
I am NOT a professional coder. I'm not even a good coder at that. I've only started Pine Script coding since September 2019. I am teaching myself.
This script is far from finished. I need to tweak a number of things about this script. Namely:
Add a validity window to the 'trigger bar' condition. Ie, I want to shut down the condition when the price closes above EMA21
Change the order entry so they are stop orders, using the stop entry price derived from the signals
Make changes to lot sizing
Add a trailing stop condition
Comments welcome, but do not expect me to reply to any questions or requests. In fact, don't expect any replies from me. I consider myself notoriously bad at replies.
I do welcome any feedback from any seasoned coders out there, as I am still a novice coder, and have so much to learn!
As to anyone who wants to criticise me - constructive and helpful criticism are most welcome, criticism to make yourself feel superior to me - you kind can eat a dk.
For the strategy rules, google the user ForexSignals TV account and look for the video "SIMPLE and PROFITABLE Forex Scalping Strategy".
Share, learn, prosper
Peace to y'all
Serialhenry
6/11/19
Pivot Reversal Strategy - FIGS & DATES 2.0Simple Pivot Reversal Strategy with some adding settings.
Date Range: To test over specific market conditions.
Initial Capitol: $10K - This is a more realistic representation of funds used this strategy (for me anyway). The default of $100K can give different results (usually better) than when using a smaller balance.
Order Size: 100% Equity - These trend following strategies typically used this way, going all in each direction.
Commission: .075% - It's always disheartening to think you've found a ridiculously good setting, and then realize you forgot to add the commission.
All of these settings can be changed, but it's easier for me (and more fool proof) to have them set as default.
Lancelot vstop intraday trending strategyDear all,
Free strategy again.
I found using 3 volatility stop with different settings could be very helpful when trading an intraday trending market.
With the ATR setting or 5, 10, 15, we can weed out many false break.
Vstop setting is OHLC4.
On the other hand, this strategy also utilize Renko as part of the strategy, so you could say this strategy is mainly an intraday break out trend following strategy.
Works well on BTCUSD XBTUSD, as well as other major liquid alt Pairs.
And lastly,
Save Hong Kong, the revolution of our times.
Lancelot RR StrategyDear all,
Free strategy again.
This strategy consists of 2 indicators I think works well with each other as a trend following strategy.
The 2 indicators are Renko chart and Relative Vigor Index.
This is a long-only breakout strategy that aims to capture the majority of the trend.
Works well on BTCUSD XBTUSD, as well as other major liquid Pair.
Please acknowledge my effort by like and follow.
And lastly,
Save Hong Kong, the revolution of our times.
QuantNomad - SuperTrend - XBTUSD - 1mInteresting performance for Super Trend strategy for XBTUSD 1m chart.
Params: ST Mult: 2, ST Period 14.
Performance: 144% profit, 1988 trades, only 41% prof, 2.04% dd , 2.51 Sharpe.
On its own, it might be not a very good strategy, but the big amount of trades allows you to add more filters and improve it.
And remember:
Past performance does not guarantee future results.
QuantNomad - SuperTrend - TSLA - 1mInteresting performance for Super Trend strategy for Tesla ( TSLA ) 1m chart.
Params: ST Mult: 3, ST Period 120.
Performance:61% profit, 637 trades, only 33% prof, 4.84% dd , 0.4 Sharpe.
On its own, it might be not a very good strategy, but the big amount of trades allows you to add more filters and improve it.
The strategy is not bad both with "when" params when strategy executed on open of next bar and with stop orders when strategy enters on exact Super Trend level.
You can comment/uncomment lines in the code and switch from one approach to another.
And remember:
Past performance does not guarantee future results.
Ema BacktesterA simple, but useful script for backtesting purposes. Find the optimal Settings for your strategy.
tips are always welcome at: 38uGQJDDZDL6wX48x4gYTccPeQ3ZHVYmY4 (btc)
I hope you enjoy the script :)
Ichimoku trendfollowingIchimoku più che un indicatore potrebbe essere considerato un sistema di trading.
Ho quindi voluto implementare una strategia che utilizzasse soltanto i segnali che offre per l'ingresso ed uscita per verificarne l'efficacia nel lungo periodo su i diversi strumenti.
I segnali che offre sono i seguenti:
1) il prezzo taglia la tenkan (segnale molto debole per un ingresso)
2) il prezzo taglia la kijun (possibile trade in controtrend fino alla kumo)
3) tenkan incrocia la linea kijun
4) uscita della linea chikou span dal prezzo: se la linea è sotto il prezzo valutare solo short, se sopra valutare solo long, se sopra il prezzo si è in correzione ed è meglio restare flat
5) prezzo entra dentro la kumo. (Non si entra in posizione dentro la kuno)
6) la kumo cambia colore (conferma direzione del trend in atto)
7) uscita dal prezzo dalla kumo
8) uscita della tenkan dalla kumo (conferma situazione)
9) uscita kijun dalla kumo (conferma situazione)
10) trend in corso con chiusura del prezzo fra la chikou span da una parte, tenkan, kijun e kumo dall'altra.
Ichimoku è solitamente utilizzato come sistema trendfollowing, quindi considererò solo i segenti possibili ingressi:
1) breakout kumo (inizio trend di lungo periodo)
2) pullback (inizio trend di medio periodo o ripresa trend dopo correzione profonda con pullback su kumo)
le uscite tradizionali sono:
1) prezzo chiude sotto la kijun
2) SL inizialmente su minimo candela che rompe il livello
Filtri da applicare ai singoli ingressi:
Filtro long:
Close>kumo and chikou span > prezzo corrispondente and
Filtro short
Close<kumo and chikou span < prezzo corrispondente
Simple Trend Following StrategySuper simple short/long entry signal strategy based off the one used by the "Turtles" with 4 simple moving averages rolled into one indicator.
ATR and T3 strategyT3 Moving Average indicator was originally developed by Tim Tillson in 1998/99.
T3 Moving Average is considered as improved and better to traditional moving averages as it is smoother and performs better in trending market conditions.
It offers multiple opportunities when the price is in the state of retracement and therefore allows to minimize your exposed risk and allowing your profits run.
This strategy is for trend followers who are patient enough to have 6-10 trades per year.
What's included in strategy?
Two ATR (Code was taken from J.Dow and modified)
Tillson Moving average
Enter long signal:
When both ATR (Long and Short) are in uptrend and the bar closes above Upper Tillson's moving average band: Enter Long
Exit Long signal:
When hl2 is lower than Lower Tillson Moving Average band
Enter short signal:
When both ATR (Long and Short) are in downtrend and the bar closes below Lower Tillson's moving average band: Enter Short
Exit Shortsignal:
When hl2 is higher than Upper Tillson's Moving Average band
Best to use with Bitcoin on 12H TF
Can be used for different time frames as well but the settings must be adjusted accordingly
Remember, overtrading can be harmful to your trading account.
If this is helpful for you, consider a tip
BTC: 3FiBnveHo3YW6DSiPEmoCFCyCnsrWS3JBR
ETH: 0xac290B4A721f5ef75b0971F1102e01E1942A4578
Created by CryptoJoncis
Trend following with HAThis is my first script and it is basically a MA crossover/under strategy that uses heikin ashi closing prices. I've also used limit orders based on HA opening prices of the previous day for entry which improves the performance. However, this impose a restriction when prices are moving too fast and the algo is unable to enter the trade, resulting in a bad position for a long period, which I believe is preventing this strategy from performing better. Will appreciate any comments/ suggestions to improve this (such as enter market prices the next day when failed to enter on HA price - not sure if this is possible) as I'm still starting out and will be more than happy to learn from the community here. Cheers!