Intelligent Moving AverageFor 4 simple moving averages, the script tests every single combination for maximum profitability and finds the best pair.
Combinations:
sma1 and sma2,
sma1 and sma3,
sma1 and sma4,
sma2 and sma3,
sma2 and sma4,
sma3 and sma4
And then paint the pair which get best performance. sma lengths are optional, so you can change lengths as you wish.
You will see in some charts that for example sma1 and sma2 pair was best perfrmance and colored on the chart but then sma2 and sma3 pair got better performance, so script starts to paint sma2 and sma3. so it's dynamic based on best performance.
keep in mind => length1 < length2 < length3 < length4 will be better
I didn't have enough time to test the script, so please comment when you test it.
by LonesomeTheBlue
Strategy!
Three Outside Down Strategy This is a three candlestick bearish reversal pattern consisting of a bearish
engulfing pattern formed by the first two candlesticks then followed by a down
candlestick with a lower close than the prior candlestick.
WARNING:
- This script to change bars colors.
MACD Enhanced System MTF with optional TSL and Alerts [LTB]This script is developed to analyse MACD, MACD Signal, MACD Histogram movements by using current and higher time frame. Script calculates higher time frame automatically, no manuel entry. there is trailing stop loss line that is optional.
You can change the parameters as you wish.
btw. you should know that MACD is more successful when there is a trend.
I already shared this as a strategy script. Some ppl wanted to see the code.
You might want to see strategy test =>
by LonesomeTheBlue
Fisher Transform Multi-Timeframe (Backtest)This is the Backtest Strategy for mortdiggiddy's "Fisher Transform Multi-Timeframe"
For more details check his study:
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
Three Inside Up Strategy This is a three candlestick bullish reversal pattern consisting of a
bullish harami pattern formed by the first 2 candlesticks then followed
by up candlestick with a higher close than the prior candlestick.
WARNING:
- This script to change bars colors.
Candlestick Signals StrategyThis strategy allows you to pick from 9 different candlestick patterns, and test them against historical data from your chart. You can get a good idea what patterns work best for each chart by turning each pattern on and off in the settings.
Basic Hammer StrategyThis is a basic strategy that will buy after a hammer is printed, and sell when a predetermined risk or reward price is hit. You can change the risk and reward values in the settings. Risk and reward values are in increments of $0.01. Default values are 75 ($0.75) and 200 ($2.00). If the strategy is producing losses, try adding a zero to the end of the risk value and the reward value. Example: Higher valued stocks may do better with a Risk of 750 ($7.50) and a Reward of 2000 ($20.00). Maybe even a Risk of 750 ($7.50) and reward of 1000 ($10.00). Play around with these values to get the best result for different charts. Initial investment is set to $1000
Three Inside Down Strategy This is a three candlestick bearish reversal pattern consisting of a bearish
harami pattern formed by the first 2 candlesticks then followed by down
candlestick with a lower close than the prior candlestick.
WARNING:
- This script to change bars colors.
Adaptive Zero Lag EMA Strategy [Ehlers + Ric]Behold! A strategy that makes use of Ehlers research into the field of signal processing and wins so consistently, on multiple time frames AND on multiple currency pairs.
The Adaptive Zero Lag EMA (AZLEMA) is based on an informative report by Ehlers and Ric .
I've modified it by using Cosine IFM, a method by Ehlers on determining the dominant cycle period without using fast-Fourier transforms
Instead, we use some basic differential equations that are simplified to approximate the cycle period over a 100 bar sample size.
The settings for this strategy allow you to scalp or swing trade! High versatility!
Since this strategy is frequency based, you can run it on any timeframe (M1 is untested) and even have the option of using adaptive settings for a best-fit.
>Settings
Source : Choose the value for calculations (close, open, high + low / 2, etc...)
Period : Choose the dominant cycle for the ZLEMA (typically under 100)
Adaptive? : Allow the strategy to continuously update the Period for you (disables Period setting)
Gain Limit : Higher = faster response. Lower = smoother response. See for more information.
Threshold : Provides a bit more control over entering a trade. Lower = less selective. Higher = More selective. (range from 0 to 1)
SL Points : Stop Poss level in points (10 points = 1 pip)
TP Points : Take Profit level in points
Risk : Percent of current balance to risk on each trade (0.01 = 1%)
www.mesasoftware.com
www.jamesgoulding.com(Measuring%20Cycles).doc
RENKO strategyStandard simple strategy RENKO. Entry on the first reversing bar. No repaints. Caution arrows when price crossing RENKO levels
Doji Strategy This is a candlestick where the open and close are the same.
WARNING:
- This script to change bars colors.
Powerfull strategy MACD+RSI+STOCH ATR stop best on Crude OilMy strategy uses a combination of three indicators MACD Stochastic RSI .
The Idea is to buy when ( MACD > Signal and RSI > 50 and Stochastic > 50) occures at the same time the BUY STop we place on previous day HIGH
and sell (short) when the opposite condition occurs we place SELL STOP on previous day LOW
We exit on Take profit or Stop loss which is calculated by ATR (10) or on the opposite signal "Volatility breakout"
This strategy works well on stocks, commodities and cryptos especially during market breaking up after consolidation
The best results are on Daily charts , so its NOT a scalping strategy. But it can work also on 1H charts.
The strategy does not have any stops and profit targets, so we can take all the market can give us at the moment.
The exit point only when MACD goes under Signal
Its Preformance is significantly better with "buy stop on High.1 and sell stop on Low.1" idea and exit on "volatility price breakout"
So, use it, trade it.
If it will help you to imprive your trading results, please donate me
BTC: 12kd1F8buWisUBdq27BBwRkUvzW7Ey3og
Powerfull strategy MACD + RSI + Stoch buy on High exit on ATRMy strategy uses a combination of three indicators MACD Stochastic RSI .
The Idea is to buy when ( MACD > Signal and RSI > 50 and Stochastic > 50) occures at the same time the BUY STop we place on previous day HIGH
We exit on Take profit or Stop loss which is calculated by ATR (10) or on the opposite signal "Volatility breakout"
This strategy works well on stocks, commodities and cryptos especially during market breaking up after consolidation
The best results are on Daily charts , so its NOT a scalping strategy. But it can work also on 1H charts.
The strategy does not have any stops and profit targets, so we can take all the market can give us at the moment.
The exit point only when MACD goes under Signal
Its Preformance is significantly better with "buy stop on High.1" idea and exit on "volatility price breakout"
So, use it, trade it.
If it will help you to imprive your trading results, please donate me
BTC: 12kd1F8buWisUBdq27BBwRkUvzW7Ey3og5
Dark Cloud Strategy This is a bearish reversal pattern formed by two candlesticks within a uptrend.
Consists of an up candlestick followed by a down candlestick which opens lower
than the prior candlestick and closes below the midrange of the prior candlestick.
It is the reverse of the Piercing Line.
WARNING:
- This script to change bars colors.
Bullish Harami Strategy This is a bullish reversal pattern formed by two candlesticks in which a small
real body is contained within the prior session's unusually large real body.
Usually the second real body is the opposite color of the first real body.
The Harami pattern is the reverse of the Engulfing pattern.
WARNING:
- This script to change bars colors.
Bearish Harami Copyright by HPotter 15/01/2019
This is a bearish reversal pattern formed by two candlesticks in which a short
real body is contained within the prior session's long real body. Usually the
second real body is the opposite color of the first real body. The Harami pattern
is the reverse of the Engulfing pattern.
WARNING:
- This script to change bars colors.
[New series!] [Consistent Losing Strategies] 34 EMA Scalping//---------------------------INTRO------------------------------
Hi All!
Let me introduce myself as a semi-successful forex trader & lover of automation.
I've taken to algo trading and have been hunting down strategies (that usually use indicators) to automate, backtest, and hopefully implement in MT4.
Unfortunately, most strategies are complete bulls*** and the select cases that are shown to "prove" success are limited.
These strategy sources often do not provide useful analytics either.
I want to change that approach to trading! We can really benefit each other and the community by being methodical about backtesting
as well as evaluating our results with some kind of scoring heuristic.
As for what that standardized process looks like..well I'm still working on it.
I'm pretty much on Tv for multiple hours of the day, screening strategies via Pinescript and I'd like to start sharing my progress!
This is a new series I'd like to start on consistently losing strategies. I'll make all the code public, so if you think I've made a blunder
or approached a problem the wrong way, then drop me a DM or paste your fix into the comments.
//---------------------------STRAT------------------------------
34 EMA Scalping strategy (ref. forextradingstrategies4u )
How you're supposed to trade it:
BUY:
1. Market is in an down trend as shown by the 34 EMA
2. Price breaks above a downwards trend line
3. Price breaks above the 34 EMA
4. Look for a very bullish candlestick or chart pattern
SELL:
1. Look for the 34 EMA to show we are in an uptrend
2. Price breaks below an upwards sloping trend line
3. Price breaks below 34 EMA
4. Look for a bearish candlestick or a chart pattern
//---------------------------CONC------------------------------
Q: Why does it fail?
A: I believe this strategy relies too much on subjective input (aka, trendlines).
Q: Why does it fail as an algo?
A: The 34 EMA is no more predictive than any other EMA, although it does a good job at filtering out noise.
Q: Should I try it out?
A: No, it's trash. This is the proof that it is trash.
Tulkens ETHUSDC StrategyV3Hello,
My first strategy! I'nt know how to get it working on poloniex. Can somebody help me pls?
I also want to add a stop-loss off some kind but i coudn't get it to work properly.
Please comment on what i need to aprove.
MA cross strategy VtsThe simple Moving average cross strategy is here implemented.
I guess there are multitudes of similar scripts around.
I post this one since I was asked by some friends, and I'll let it free to use for anybody.
Here you can choose the year where to start backtesting, the source, the type of MA, the SL and TP multiplicators of ATR, for which you can also choose the averaging period.
Feel free to modify this script. I would be grateful if you could preserve the first lines of comments including my user names.
The MA cross strategies can be very effective, especially when used on the daily TF.
Try for example the combo EMA15-EMA30 SL=1.5ATR TP=1ATR on EURCHF daily to get an impressive 83% win ratio.
Or EMA20-EMA81 on the GBPCHF to get an 87%.
In those cases where EMA does not perform well, try to set a less lagging MA, like the Hull MA.
I hope you like this script so that you could push the like button multiple (odd) times and you start following me.
I've got a bunch of other interesting scripts to share.
Comments and suggestions are welcome.
Renko Strategy Open_CloseSimple Renko strategy, very profitable. Thanks to vacalo69 for the idea.
Rules when the strategy opens order at market as follows:
- Buy when previous brick (-1) was bearish and previous brick (-2) was bearish too and actual brick close is bullish
- Sell when previous brick (-1) was bullish and previous brick (-2) was bullish too and actual brick close is bearish
Rules when the strategy send stop order are the same but this time a stop buy or stop sell is placed (better overall results).
Note that strategy open an order only after that condition is met, at the beginning of next candle, so the actual close is not the actual price.
Only input is the brick size multiplier for stop loss and take profit: SL and TP are placed at (brick size)x(multiplier) Or put it very high if you want startegy to close order on opposite signal.
Adjust brick size considering:
- Strategy works well if there are three or more consecutive bricks of same "color"
- Expected Profit
- Drawdown
- Time on trade
This strategy uses Renko charts with TRADITIONAL bricks, so no repaint.
Study with alerts, MT4 expert advisor and jforex automatic strategy are available at request.
Please use comment section for any feedback.
RSIVolume_2graf.01[wozdux] Tactics and strategy Tactics and strategy
The indicator combines 2 variants of the RSI indicator. The first option is calculated relative to the normal close price. The second option is calculated relative to the volume price. The volume price is calculated as the product of the volume price. For normal RSI, the default period is 9, for the volume price .
Settings. Level_close sets the width of the middle region, the oscillations of the indicator chart for the average of the closing price. Level_volume*close sets the critical level for the volume price. Period 24 (len1) specifies the RSI calculation period for the volume price. Period 9 (len3) specifies the RSI calculation period for the regular price.
The combination of two versions of the indicator helps to see more truthful information about the mood of buyers and sellers. When the volume price reaches its critical level of 8 units, it is a signal to a strong fall in the price. In this state, you should monitor the classic RSI. Thus, the classic RSI determines the tactical movement, and the volumetric RSI – strategic.
-------------------------------------
Тактика и стратегия
Индикатор совмещает в себе 2 варианта индикатора RSI. Первый вариант вычисляется относительно обычной цены закрытия. Второй вариант вычисляется относительно объемной цены. Объемную цену вычисляют как произведение цены на объем. Для обычного RSI по умолчанию берется период 9 , для объемной цены .
Настройки. Level_close задает ширину средней области колебания графика индикатора для обычной цены закрытия. Level_volume*close задает критический уровень для объемной цены. Период 24 (len1) задает период вычисления RSI для объемной цены. Период 9(len3) задает период вычисления RSI для обычной цены.
Сочетание двух вариантов индикатора помогает увидеть более правдивую информацию о настроениях покупателей и продавцов. Когда объемная цена достигает своего критического уровня 8 единиц, то это является сигналом к сильному падению цены. В этом состоянии следует следить за классической RSI. Таким образом классическое RSI определяет тактическое движение, а объемное RSI – стратегическое.