Stochastic Moving AverageHi all,
This Strategy script combines the power of EMAs along with the Stochastic Oscillator in a trend following / continuation manner, along with some cool functionalities.
I designed this script especially for trading altcoins, but it works just as good on Bitcoin itself and on some Forex pairs.
______ SIGNALS ______
The script has 4 mandatory conditions to unlock a trading signal. Find these conditions for a long trade below (works the exact other way round for shorts)
- Fast EMA must be higher than Slow EMA
- Stochastic K% line must be in oversold territory
- Stochastic K% line must cross over Stochastic D% line
- Price as to close between slow EMA and fast EMA
Once all the conditions are true, a trade will start at the opening of the next
______ SETTINGS ______
- Trade Setup:
Here you can choose to trade only longs or shorts and change your Risk:Reward.
You can also decide to adjust your volume per position according to your risk tolerance. With “% of Equity” your stop loss will always be equal to a fixed percentage of your initial capital (will “compound” overtime) and with “$ Amount” your stop loss will always be 'x' amount of the base currency (ex: USD, will not compound)
Stop Loss:
The ATR is used to create a stop loss that matches current volatility. The multiplier corresponds to how many times the ATR stop losses and take profits will be away from closing price.
- Stochastic:
Here you can find the usual K% & D% length and overbought (OB) and oversold (OS) levels.
The “Stochastic OB/OS lookback” increase the tolerance towards OB/OS territories. It allows to look 'x' bars back for a value of the Stochastic K line to be overbought or oversold when detecting an entry signal.
The “All must be OB/OS” refers to the previous “Stochastic OB/OS lookback” parameter. If this option is ticked, instead of needing only 1 OB/OS value within the lookback period to get a valid signal, now, all bars looked back must be OB/OS.
The color gradient drawn between the fast and slow EMAs is a representation of the Stochastic K% line position. With default setting colors, when fast EMA > slow EMA, gradient will become solid blue when Stochastic is oversold and when slow EMA > fast EMA, gradient will become solid blue when Stochastic is overbought
- EMAs:
Just pick your favorite ones
- Reference Market:
An additional filter to be certain to stay aligned with the current a market index trend (in our case: Bitcoin). If selected reference market (and timeframe) is trading above selected EMA, this strategy will only take long trades (vice-versa for shorts) Because, let’s face it… even if this filter isn’t bulletproof, you know for sure that when Bitcoin tanks, there won’t be many Alts going north simultaneously. Once again, this is a trend following strategy.
A few tips for increased performance: fast EMA and D% Line can be real fast… 😉
As always, my scripts evolve greatly with your ideas and suggestions, keep them coming! I will gladly incorporate more functionalities as I go.
All my script are tradable when published but remain work in progress, looking for further improvements.
Hope you like it!
Altcoins
[astropark] Trend Skywalker V2 [strategy]Dear Followers,
today I'm glad to present you Trend Skywalker V2 , the evolution of Trend Skywalker V1 indicator that you can see here below:
This indicator works on every timeframe and market, it's quite responsive to market movements, so it's especially good on volatile markets.
In this new version you have 3 trend clouds available :
a short-term one (yellow)
a mid-term one (green)
a long-term one (blue)
You can also enable an option to show all trend clouds as one, the result will be similar to a special bollinger bands tool.
Of course you can edit trend clouds analysis period and color, also you can turn on or off the cloud that you prefer.
The indicator can run 4 different kinds of strategy : one for each trend cloud individually or a mixed one.
Also the indicator tracks for you a peak profit from entry: this tracker is a suggestion for you to take profits while price goes up!
All red-green circles you see in the chart is a reminder that a peak profit label was there in the past: what does this tell you?
if price starts losing the short-term trend and you had a lot of TP suggestions, maybe trend ended and you should start consider closing your trade before you give back all your profit.
On backtesting you can you test long and short setups individually or both, as well as performance in a specific time window.
This is a premium indicator , so send me a private message in order to get access to this script.
Crypto Scalper Divergence Macd Psar Ema 200This is a very efficient crypto scalper adapted to very short timeframes, however it can be optimized for other timeframes and assests as well.
Its components are
MACD
P SAR
EMA 200
Risk management
Rules for entry:
For short : we have an uptrend on PSAR , histogram is positive (divergence MACD) and close of a candle is below EMA 200
For long : we dont have an uptrend on PSAR, histogram is negative(divergence MACD) and close of a candle is above EMA 200
Rules for exit:
We exit when we either find a reverse condition than the entry one, or based on stop loss/take profit that are calculated on % movements of the price.
If you have any questions, let me know !
[Joy] Aladdin Long Trading Strategy 1.0.0 AlphaAladdin's Long trading strategy is to test out Aladdin for long trades only
This strategy is mainly used to test whether Aladdin is suitable for a coin/stocks/futures or for any trading. The profitability, average drawdown, average profits, etc are used by me to decide whether to use it for trading.
What is Aladdin and what does it do?
Using the volume and gradual flow of non-interrupted data (wicks and body of the candles), it tries to detect the macro condition of the market so that one may know in which direction the market is flowing.
* Bearish / Sell sign: On the candle's close, I open a short position
* Bullish sign: On the candle's close, I open a long position
* I take at least 50% profit when the indicator indicates to do so. One can configure that value as desired from the configuration depending on one's risk/money management. I might even convert some portion of the position into stable coins.
FAQ
Q: Does it use some EMA /MA/etc.? Does it use any indicator with tweaked settings?
Answer: No.
Q: What does it mostly depend on?
Answer: Volume and gradual flow of non-interrupted data. The logic depends purely on volume , price bars and the wicks.
Q: Does it work with all coins, stocks, futures, instruments?
Answer: I prefer to use the exchange with the best possible data. Then backtest out to find the best possible timeframe, stop loss and target all derived from this script data.
Q: Can you make it free or make it open source?
Answer: There is no free lunch in this world. I will never reveal or share the source code!
Q: Do you provide ongoing support for the indicator?
Answer: Yes, as long as I can, I will continue updating the indicator
Q: Are the bullish /buy & the bearish/sell markers automatic?
Answer: I have no control over the markers. It is driven purely by logic from the script.
Q: Is this financial advice?
Answer: This is not financial advice. I do not guarantee any profit or loss. I am not responsible for any of your losses or profits. My indicators do not assure profit or loss. It also does not auto-open or auto-close a trade.
Assumptions:
Only long trades are opened and closed. No short trades.
Starting Capital: $20,000
Order Size: 20% of Capital
Data used: Whatever data is available from 2011 till today on Trading view
Findings:
INDEX: BTCUSD 83% profitability using 2day tf
54 closed trades
Profit factor: 16
Sortino Ratio: 5.2
Average Winning Trade: 30%
Average Losing Trade: 9.12%
Largest Winning Trade: 1218%
Largest Losing Trade: 20.25%
Below are the profitability rate for the timeframe and the coins listed as found by running the trading strategy over the following as of today (Aug 1st 2021 12:40 pm Sydney Time).
⚜️ INDEX:BTCUSD 83% using 2day tf
⚜️INDEX:ETHUSD 80% using 1day tf
⚜️FTTUSD 81% using 2day tf
⚜️SRMUSD 71% using 1day tf
⚜️ADAUSDT 81% using 2day tf
⚜️ALGOUSD > 90% using 2day tf
⚜️ALTPERP 81% using 2day tf
⚜️AVAXUSDT 75% using 1day tf
⚜️BANDUSD > 90% using 2day tf
⚜️BCHUSD 82% using 2day tf
⚜️BNBUSD 79% using 1day tf
⚜️BNBUSD 85% using 2day tf
⚜️CHZUSD 71% using 1day tf
⚜️COMPUSD 81% using 1day tf
⚜️DOGEUSD 77% using 1day tf
⚜️EXCHPERP 83% using 1day tf
⚜️FILUSD > 90% using 1day tf
⚜️FTMUSD 70% using 2day tf
⚜️HTUSDT 75% using 2day tf
⚜️KINUSD >90% using 2day tf
⚜️LINKPERP 85% using 2day tf
⚜️LTCUSD 80% using 2day tf
⚜️MATICUSD 77% using 2day tf
⚜️NEOUSD 80% using 1day tf
⚜️NEXOUSD > 90% using 1day tf
⚜️OKBUSD 71% using 1day tf
⚜️OMGUSD 75% using 1day tf
⚜️RSRUSD 87% using 1day tf
⚜️RUNEUSD > 90% using 1day tf
⚜️SHITPERP > 90% using 1day tf
⚜️SOLUSD 84% using 1day tf
⚜️SUSHIUSD 71% using 1day tf
⚜️THETAUSD > 90% using 2day tf
⚜️UNIPERP 83% using 1day tf
⚜️VERTPERP > 90% using 1day tf
⚜️XAUUSD 63% using 2day tf
⚜️XTZUSD 83% using 2day tf
⚜️ZECUSD 72% using 2day tf
Disclaimer:
No one knows what will happen in the future. DYOR and decide on your own conditions. Do realize that neither I nor my indicator can guarantee any profit or loss. And there is no assurance that any trade will ever result in any profit. It is not financial advice.
Patient Volatility SniperThis strategy waits for moments of high volatility where an asset is significantly overbought/oversold and makes very short trades.
When the indicator line spikes, it means the script sees a "window of opportunity." However, it will only enter a position if the underlying oscillators are overbought/oversold as determined by the threshold you set.
It does not produce a particularly gaudy net profit compared to many other strategies and can go weeks without making a trade. However, since the win/loss ratio tends to be consistently favorable (based on backtests: see below) it may be useful as a supplement to more "active" trading strategies.
I backtested it over the last year or so with a handful of different altcoins (specifically: ETH, ADA, DOT, XLM, VET, ZEC, and OMG), and it seems fairly robust. Please keep in mind that past results do not guarantee future success. Feel free to confirm the backtesting for yourself, especially as it may change in the future after this was written.
USAGE NOTE: If you have access to custom timeframes on tradingview, I strongly recommend using this strategy on charts in the range of 10m to 12m. In practice, there's not much of a difference, but I did optimize it for those slightly shorter timeframes. There are a handful of tickers for which it does not seem to work very well once you go up to 15m (notably, as of the time of publishing, DOGE).
Commission fee included because not doing so is unrealistic.
MA Emperor insiliconot StrategyConverted EmperorBTC's EMA crossover indicator for easy backtesting and added ability to:
Specify time period for backtesting
Specify order quantity
Toggle original indicators (default off)
Quoting EmperorBTC:
Entry is to be made when the
1. Cross over gives a P(Positive Sign) and the candle completely closes above the cross-over
2. When the Heikin Ashi turns green and the next green HA candle goes above the previous green HA candle.
3. The price should be at-least above the 0.236 Level from the Swing high.
Kindly note that the strategy only attempts to do check number 1, where it ensures the entry opens above the cross-over.
4X EMA and volume strategyThis is a strategy made from multiple types of EMA and volume(EOM).
This is a long only strategy.
EMA 1 = 13
EMA 2 = 21
EMA 3 = 50
EMA 4 = 180
In this case we have 2 options for entry:
1.We check that are candles are in ascending order and EOM is above 0 - > long, descending and eom<0 -> exit long
2.We check if we have a crossover between the first ema with the second and the third. Cross up -> long, crossdown -> exit long
If you have any questions let me know!
Companion::InsurgentCompanion::Insurgent is a combined indicators strategy. Performances are pretty good on 1D, 4H and 1H timeframes and it can be used on Bitcoin and Altcoin markets.
Mainly, it is a trategy based on Ehlers formulas.
Used indicators:
- Ehlers Instantaneous Trend: trendline analysis;
- Ehlers Super Bandpass Filter: momentum detection;
- EMA: Long/Short time selector.
What the script does:
- determines trendlines combining mulitple indicators;
- automaticlally calculates Take profit and Stop Loss levels;
- permits automation generating Autoview signals (create an alert with {{strategy.order.alert_message}} in message text field to trap Autoview commands;
- supports for margin trading. Spot trading will be added in the future.
BACKTESTING
Backtest is not leveraged. Defaults are set as follow:
Capital: 10000
Percent of equity used for trades: 10%
Commission: 0.18% this is Bitfinex commission on orders
Change them accordingly on how you trade to get a more realistic backtest results.
JFRewards Indi Channel <Heikin> v4.0<>
SOP guidelines only given to JF members .
The ideas are:
1) Finding where to enter position of buying and sell.
2) Finding where is the realistic take profit target within 24 hours with maximum profits.
3) Finding Trailing STOP LOSS, Trailing Take Profit, Take Profit, STOP LOSS.
Fully tested with @Binance Exchanger with numerous of stablecoins and altcoins as well as BTC , ETH.
Performance cannot be shown due to non standard chart of Heikin Ashi.
BTC and ETH Long strategy - version 2I wrote my first article in May 2020. See below
BTC and ETH Long strategy - version1
After 6 months, it is now time to check the result of my script for the last 6 months.
XBTUSD (4H): 14/05/2020 --> 22/11/2020 = +78% in 4 trades
ETHXBT (4H): 14/05/2020 --> 22/11/2020 = +21% in 9 trades
ETHUSD (4H): 14/05/2020 --> 22/11/2020 = +90% in 6 trades
Using the signals from this strategy to trade manually has shown that this was a bit frustrating because of the low rate of winning trades.
If you have to enter 100 trades and see 75% of them failing and 25% winning, this is frustrating. For sure the strategy makes good money but it is difficult to hold this mentality.
So, I have reviewed and modified it to get a higher winning rate.
After few days of work, tests and validation, I managed to get a wining rate close to 60%.
The key element was also to decrease the number of trades by using a higher time frame. (4H candles instead of 2H candles).
- Entry in position is based on
MACD, EMA (20), SMA (100), SMA (200) moving up
AND EMA (20) > SMA (100)
AND SMA (100) > SMA (200)
- Exit the position if: Stoploss is reached OR EMA (20) crossUnder SMA (100)
The goal of this new script is to be able to follow the signals manually and only make few trades per years.
I have also validated it against some other altcoins where some are giving very good results.
Here are some results for 2020 (from 01/01/2020 until now (22/11/2020). Those results are the one I get when using 4H candles.
ETH/USD: +144% in 8 trades.
BTC/USD: +120% in 7 trades.
ETH/BTC: +33% in 9 trades.
ICX/USD: +123% in 10 trades.
LINK/USD: +155% in 11 trades.
MLN/USD: +388% in 8 trades.
ADA/USD: +180% in 7 trades.
LINK/BTC: +97% in 10 trades.
The best is that above results are without considering compound effect. If you re-invest all gains done in each new trade, this will give you the below results :)
ETH/USD: +189% in 8 trades.
BTC/USD: +260% in 7 trades.
ETH/BTC: +29% in 9 trades.
ICX/USD: +112% in 10 trades.
LINK/USD: +222% in 11 trades.
MLN/USD: +793% in 8 trades.
ADA/USD: +319% in 7 trades.
LINK/BTC: +103% in 10 trades.
As you can see, the results are good and the number of trades for 11 months is not big, which allows the trader to place orders manually.
But still, I'm lazy :), so, I have also coded this strategy in HaasScript language which allows you to automate this strategy using the HaasOnline software specialized in automated crypto trading.
I hope that this strategy will give you ideas or will be the starting point for your own strategy.
Let me know if you need more details.
MakeProfit v2The Make Profit Club team has developed a new generation indicator that allows you to choose certain strategies calculated by us at a distance and simply enter a position based on our signals with our algorithms
Each partner who is trying to make money on the stock exchange shall from part of trust not only to us but to your head before you start earning.
We added the most popular strategies for Bitcoin and altcoins to the indicator, but we also didn't forget about currencies like EUR/USD and EUR/USD/RUB.
The indicator additionally works with scalpel levels, which you can buy back (as well as trade in the specified scalpel corridor).
Not only scalping strategies are included, but also trend trading. Let's say that the 45-minute strategy on bitcoin gave almost 700% of the profit for 45 weeks (1-4 hours and 1 day are also available).
For the most unintelligent, we have added entry levels, exit levels, levels where you can enter a trade if you do not have time for the signal, and many other features that you will not find anywhere else.
We will constantly add new strategies and improve our own.
You can get test access by contacting me.
Команда Make Profit Club разработала индикатор нового поколения, позволяющий выбрать определенные стратегии, просчитанные нами на дистанции и просто входить в позицию по нашим сигналам с нашими алгоритмами
Каждый партнер, который пытается заработать на бирже должен от части довериться не только нам, но и своей голове, прежде чем начать зарабатывать.
В индикатор мы добавили самые ходовые стратегии для Bitcoin и altcoins, но и не забыли про валюты по типу EUR/USD and EUR/USD/RUB.
Индикатор дополнительно работает со скальповыми уровнями, по которым вы сможете докупаться (а также торговать в указанном скальповом коридоре).
Включены не только скальповые стратегии, но и торговля по тренду. Допустим, стратегия по 45 минут на биткоине дала почти 700% прибыли за 45 недель (доступны еще и 1-4 часа, и 1 день).
Для самых несообразительных мы добавили уровни входа, уровни выхода, уровни, где можно зайти в сделку, если не успели по сигналу и еще очень много других функций, которых вы нигде не найдете.
Обратившись ко мне, вы можете получить тестовый доступ.
Swingtrade strategy for volatile assets on the hourly chartThe strategy of this script is based on a setup that I used in 2016 for swingtrade on PETR4 and other IBOV actions. The intention of this script was to carry out a study to validate the effectiveness of the strategy precisely.
- This strategy works only to operate bought on the 1h (one hour) chart;
- The strategy is based on the strength of the market, which is measured according to moving averages;
- The setup uses targets of 3% above the input signal price and 11.5% stoploss for all operations;
- The stoploss is bigger than the target, this causes the hit rate to be high, but when there is a loss, the damage can be large;
- The setup performed well in some shares of the Brazilian stock market and cryptocurrencies of the dollar pair;
MONEY WORKERThe settings are only for bitfinex exchange btcusd.
Tested against a 5 minute time interval. The settings on it are for a 5 minute time frame.
Different settings may be required for different exchanges, parities and time periods.
Note that different parities and exchanges require new settings.
In non-pro free accounts, the profit results may differ as the time frame is deleted after a certain period of time.
Please note that you have to make different settings for different parities.
If you have questions and suggestions, you can send me a private message.
Note: I cannot recommend using Heikin ashi because this misleads you. It also includes a rule violation by house rules. And MOD PineCoders hides the strategy.
BTC.D StrategyThis is a strategy for trading alts based on BTC.D chart.
line 1 has to cross over line 2 to go long and cross down to go short.
only BTC.D data is used, the current chart has no effect other than seeing the trading results.
Simple Alt Coin Strategy - EMA and MACD w/Profit and StopThis script prints BUY and SELL signals based on settings you input. I use it to save time while scrolling through charts deciding what alts I want to look at.
BUY SIGNALS
Positive EMA Crossover
Positive MACD Crossover
Single Candle Gains
SELL SIGNALS
Profit Capture
Stop Loss
I don't trade based just on the BUY or SELL from this strategy, but I have found that these indicators do very well well looking at the large cap alt coins. It backtests well.
Default Settings EMA 5/12/50, MACD 9/12/26, Single Candle Gain 10%, Stop 10%, Profit Capture 45%
Cryptocurrency trend following EMA Ribbon LONG only strategyThis strategy is based on EMA Ribbon and uses multiple indicators to find optimal time to enter/exit the trade and filter out false signals. The script with default setting is developed mainly for trading altcoins/stable coin pair such as ADA/USDT etc on 4h timeframe but it can be applied to any pair/any timeframe with some settings adjustments.
For plot on chart features make sure that you have both study and strategy scripts on chart with same settings.
Strategy settings description:
1. Signal EMA Length - Value for exponencial moving average (slowest from EMA Ribbon)
1a. Buy price toleration (%) - Price deviation for filtering bounces of EMA - price must close defined percents above EMA to open long trade
1b. Sell price toleration (%) - Price deviation for filtering bounces of EMA - price must close defined percents bellow EMA to close long trade
1c. EMA deelay - EMA id delayed by defined bars for smoothening
2. Filter by Fast EMA - Strategy filters signals to prevent buy while coin is dropping
2a. Fast EMA Length - Value for fast exponencial moving average
3. Filter by SMA - Strategy filters signals to confirm trend change
3a. SMA Length - Value for simple moving average
4. Filter by RSI - Strategy filters signals to prevent buing/selling overbought/oversold coins
4a. RSI Length - Length of RSI identificator
4b. RSI Source candle - What price of candle is used for RSI calculation (open, close, high, low)
4c. RSI Long condition - When buy, RSI indicator must be below this value to prevent of buying already overbought coin
4d. RSI Short condition - When sell, RSI indicator must be above this value to prevent of selling already oversold coin
5. RSI Close Trade Condition - Strategy sell coin once RSI reach defined value
5a. RSI close trade condition - Sell once RSI indicator acquires defined value
6. Close trade by Take Profit or Stop Loss Condition (STRATEGY ONLY) - Strategy sell coin once defined take profit / stoploss level is reached
6a. Take Profit (%) - Take profit value in percent
6b. Stop Loss (%) - Stop loss value in percent
6c. Plot targets on chart - defined targets will be plotted as lines on chart
7. Date range from
7a From Year - To run strategy in interval
7b From Month - To run strategy in interval
7c From Day - To run strategy in interval
8. Date range to
8a To Year - To run strategy in interval
8b To Month - To run strategy in interval
8c To Day - To run strategy in interval
9. Wait to confirm the signal
9a Wait candless to buy - strategy will wait defined candless to confirm the signal before buy
9b Wait candless to sell - strategy will wait defined candless to confirm the signal before sell
10. Plotting on chart (STUDY ONLY)
10a Plot signal line channel with bows on chart
10b Plot simple moving average on chart
10c Plot EMA Ribbon on chart
10d Plot recent support and resistance levels on chart
11. Show Every signal (STUDY ONLY) - Unchecked shows only first signal based on strategy. But if you use take profit/stoploss settings within your bot, you might want to rebuy on next signal. Checked shows signal on each candle.
Throw on chart also buld-in RSI indicator and set the same as strategy
Notice that there might be false signals, especially when the coin is not trending or is strongly manipulated. Overall strategy is profitable though. You just take some minor loses and wont miss the big move.
You may also consider to compare buy&hold return vs profit from trading this strategy. In downtrend as we have seen recently, profit may not be as high as you expect but it is still much better than just hold and hope.
You can use the strategy script for fine tunning settings and find best settings for yourself.
Study script helps you to automate trading with use of alerts perharps with 3commas bot or even trade manually based on email/sms notification setted by tradingview
Notice that study script does not handle takeprofit/stoploss order. That is why sell arrows could be plotted by study script later than strategy script. To rebuy after takeprofit/stop-loss use "11. Show Every signal (STUDY ONLY)" setting
Make sure that you keep same settings for strategy and study scripts.
If you need any help with settings do not hesitate to ask. I would also appriciate any feedback and ideas how to improve this script.
Here is backtest result from 1. Nov 2018 using constant 100USD Buy ammount:
Altcoins StrategyBuy/Sell Altcoins strategy. Based on moving averages, divergences, price and volume
BB+AO STRATto be used with AO indicator, based on forex strat --
www.forexstrategiesresources.com
works on 1/3/5/15/30 candles, buy signals are best when the black 3 fast ema crosses up through the red mid band
WhenMewn 5.0Green Overlay = Trending up
Red Overlay = Trending down
Green Highlighted candle = Up Trend Confirmation.
Red Highlighted candle = Down Trend Confirmation.
Tested on 1hr timeframes.