EMA Cross StrategyI write this script for my self to test EMA cross strategy for crypto futures trading.
Göstergeler ve stratejiler
Volatility Stop with Vwap StrategyFirst the credits goes to @TradingView for their release of the volatility stop mtf indicator.
I have took it, and inside I have added a weekly vwap for a better trend direction and at the same time I have added a dynamic risk managment which is calculated from the distance between the volatility line to the close of the candle.
The rules for entry are simple:
For long:We enter when our close of the candle is above the volatility stop line and at the same time the close of the candle is above weekly vwap
For short we enter when our close of the candle is below the volatility stop line and at the same time the close of the candle is below weekly vwap.
We exit when we either have a reverse signal than the one we enterred, or based on the TP/SL which is calculated with the distance from vwap to the close of the candle.
If you have any questions please let me know !
The Gral : Alpha Scalping Demo (Atom)You want to make money. This bot will allow you to do it.
We know how it can be challenging, frustrating, struggling to make money especially in bear market. Save your energy, your emotions, your nerves! Alpha Scalping will allow you to sleep better and make money while you sleep!
We tested hundreds of indicators, strategies, mt4 ea and bots since 2010, today we will start to release a series of successful bots and automatic strategies for you, some of them will be free, some of them will be paid (monthly subscriptions)
We will also indicate how to connect the Alpha Scalping to your Binance or FTX account so you can trade automatically.
Enjoy, subscribe and stay tuned!
NB : This bot is a demo only, it will work only on ATOMUSDTPERP
Bot for ALGOUSDTPERP :
The Gral : Alpha Scalping Demo (Algo) You want to make money. This bot will allow you to do it.
We know how it can be challenging, frustrating, struggling to make money especially in bear market. Save your energy, your emotions, your nerves! Alpha Scalping will allow you to sleep better and make money while you sleep!
We tested hundreds of indicators, strategies, mt4 ea and bots since 2010, today we will start to release a series of successful bots and automatic strategies for you, some of them will be free, some of them will be paid (monthly subscriptions)
We will alsoindicate how to connect the Alpha Scalping to your Binance or FTX account so you can trade automatically.
Enjoy, subscribe and stay tuned!
NB : This bot is a demo only, it will work only on ALGOUSDTPERP
Bot for ATOMUSDTPERP :
BT-Bollinger Bands - Trend FollowingEsse script foi criado para estudo de Backtest.
O script usa as Bandas de Bollinger para indicar o início de uma tendência, a entrada é configurada quando o preço abre abaixo e fecha acima da banda superior ou para venda quando o preço abre acima e fecha abaixo da banda inferior.
Não há um stop fixo e nem alvo fixo a saída se dá quando o preço toca a média da banda.
Você pode usar uma média móvel como filtro combinado com a estratégia.
O Script também pode ser usado com algum serviço de bot como 3commas.io , basta colocar as mensagens de entrada e saída para o bot.
Autor : Credsonb - Nick: M4TR1X_BR
Neste gráfico estou usando as seguintes configurações:
Bandas Bollinger: 7
Desvio Padrão: 1.5
Time Frame: 12hs
Ticker: ETH
This script was created for Backtest study.
script uses Bollinger Bands to indicate the start of a trend, entry is set when price opens below and closes above the upper band or for short when price opens above and closes below the lower band.
There is no fixed stop and no fixed target, the exit occurs when the price touches the average of the band.
You can use a moving average as a filter combined with the strategy.
The Script can also be used with some bot service like 3commas. io , just put the input and output messages to the bot.
Author : Credsonb - Nick: M4TR1X_BR
Supertrend - Long & Short -Sachin Ughadethis indicator for super trend strategy with buy and sell signals
USD Liquidity Conditions Index Swing Stock Strategy Original credits goes to @ElDoggo22 www.tradingview.com
I looked in the post created by him, of USD liquidity and I have noticed that if you are going to apply a percentile top and bottom to it, can become an interesting swing strategy for US Stocks.
So in this case I decided to create a 99th percentile for top and 4th percentile for bot with a big length, preferably 100+ candles, for this example i took 150.
Rules for entry :
Long : either bot or top lines are ascending
We exit long either the top line is descending, or we have sudden cross of the moving average with both top and bot within the same candle
Short: we enter short when we have a sudden cross down of the moving average with both top and bot within the same candle
We exit short when we have a cross over of the moving average with both top and bot within the same candle ( or we have a long entry condition)
If there are qny questions, please let me know !
Trend Breakout high/low #1What is the Trend Breakout high/low #1?
This script uses the high/low of each fixed time period as a conditional judgment, and when the high/low is broken as a buy/sell signal, trying to capture a trend.
How to use this script?
Start date and Stop date: You can choose the date of the test.
Trading cycle: Selected time period is used as the basis for determining the high/low and is limited to one trade only.
Stop range: This value will calculate the stop loss range. Set 50-100 that is better
Fixed mode: Fixed of lots per transaction.
---Additional Functions---
Reversal mode: Reversing the buy and sell signals, may be useful in certain situations.
Wighted mode: Increased profitability under certain conditions
When win & When lose:Judgment when there is an ongoing loss/profit as a condition, may be useful in certain situations.
Use closing price: Use the closing price breakout high/low as a conditional judgment, but this function sometimes fails.
Notes:
Trading cycle and your chart time period can't be set too close,that will result repainting.
Stop range can't be set too small,that will result repainting either.
Balance of Power Heikin Ashi Investing Strategy Balance of Power Heikin Ashi Investing Strategy
This is a swing strategy designed for investment help.
Its made around the Balace of Power indicator, but has been adapted on using the Monthly Heikin Ashi candle from the SPY asset in order to be used with correlation for US Stock/ETF/Index Markets.
The BOP acts as an oscilallator showing the power of a bull trend when its positive and a bearish trend when its in negative. At the same time we can spot reversals, based on the percentiles ( 99/1)
The rules for entry :
For long : The 99 percentile is ascending, and we are either in a positive value (>0), or we crossed the bottom place ( -0.35)
For short : the 99 and 1 percentile are descending, and we are either in a negative value(<0), or we crossed down the top place ( 0.6)
If you have any questions please let me know !
supertrend advanceHELLO FRIENDS ...............THIS IS SUPERTREND ADVANCE WITH HENKIASHI CANDLE ...I got so many request on supertrend with henkiashi. This is for all of them ..I am making it open for all so you can change its coding according to your need
SOME IMPONTENT UPDATE IN THIS SUPERTRNED
1) You Can Use It for option trading ...you can do algo option trading using this strategy
2) YOU CAN USE CUSTOME SYNTAX TO ALGO TRADE IN STOCK,FOREX,COMMODITY AND CRYPTO
3) YO CAN USE IT IN INTRADAY TIME PERIOD ALSO U CAN SET ITS ENTRY AND EXIT TIME
4) YOU CAN USE HENKIASHI SUPERTREND ON NORMAL CANDLE STICK CHART
5) YOU CAN USE ITS QUNTITY FEATURE .BY THIS WAY U CAN DOUBLE YOUR QUNTITY SIZE ON LOSSING TRADE AND WHEN PROIFT TRADE OCCUR ITS QUNTITY AGAIN AUTOMATICALLY SHIFTED TO NORMAL QUNTITY ....THIS FEATURE ONLY HELP TRADER WITH MORE MARGIN....USE THIS FEATURE PROPERLY.THIS FEATURE BEST WORK ON ONE SIDE MEANS ONLY BUY SIDE TRADE OR SELL SIDE TRADE
6)YOU CAN SET YOUR TARGET AND STOPLOSS IN POINTS AND IN PERCENTAGE
7) YOU CAN CHOSE ONE SIDE TO TRADE ONLY BUY SIDE OR SELL SIDE
HOPE THIS FEARTURES HELPS EVERY ONE
ALL THE BEST FOR SUCESSFULL TRADING
MARKET BOSS FOR ALLTHIS STRATEGY USE FOR ANY TYPE OF MARKET INDIAN,COMMODITY,FOREX ,CRYPTO...This strategy used to determine and anticipate potential changes in market price and reversals. The Highs referred to in the title are created based on the number of bars that exhibit lower highs on either side of a High, whereas the Lows are created based on the number of bars that exhibit higher lows on either side Low.it also analyzing price changes and reversals, a trader has more of an ability to determine and predict price patterns and general price trends...
The backtest results are based on BANKNIFTY last year's data. It has an initial capital of 10000 and the size of the lot is 1. The commission paid is 50 RS cash per trade and the slippage is 5 ticks per trade. Some of the Indian broker's commission is only 10 cash per trade. Adjust the commission as per your broker. Trades are conducted based on the intraday time in India set from 9.20 am to 3:20 pm. All positions will get square off at 3.20 pm. All other parameters are suitable for Robo trading with Indian stock brokers.
Also added Quantity feature it automatically double the quantity on losing trade
reasons why to use strategy
1) human psychology never focus on one thing... We never follow one strategy for long time... Bcs we hve greed... If some one says indicator give u 95% than we chnge our strategy which on we r working but indicator didn't give u back testing... Our strategy gives back testing... On 5 min chart of banknifty future... Tv on premium membership give one year back testing... And on crypto it gives 2month backtesing on 5min chart
2) we hve sufficient back testing trades... On 1year back testing minimum 700 trade should be done for back testing bcs thn we know how our strategy work on all market conditions.... For crypto in 2 month back testing more thn 300 trade needed to know it's performance... Our strategy produce suffiend trades... So we know how it works on all market conditions
3) we provide banknifty strategy for intraday... So it's open trade after 9 20 and close all position on 15: 20...so it's backtesing is sure shot perfect
4) for banknifty option strategy... We have made it to book profit or loss in 5 to 15 min... So no time factor effect... So vry profitable for option buyers
5) for banknifty option we had made it fully auto it's automatically buy at auto strike price.. So no tension to select strike price
6) u can also choose weekly or monthly expirey
7) we hve provided table for monthly proprofits... So we know how it's work on every month
8) last but not least...key of 🔑Sucess in stock market and crypto is following the right path for long time... With non biased strategy with positive backtesting result... And all the best
Coral Trend Pullback Strategy (TradeIQ)Description:
Strategy is taken from the TradeIQ YouTube video called "I Finally Found 80% Win Rate Trading Strategy For Crypto".
Check out the full video for further details/clarification on strategy entry/exit conditions.
The default settings are exactly as TradeIQ described in his video.
However I found some better results by some tweaking settings, increasing R:R ratio and by turning off confirmation indicators.
This would suggest that perhaps the current confirmation indicators are not the best options. I'm happy to try add some other optional confirmation indicators if they look to be more effective.
Recommended timeframe: 1H
Strategy incorporates the following features:
Risk management:
Configurable X% loss per stop loss
Configurable R:R ratio
Trade entry:
Based on strategy conditions below
Trade exit:
Based on strategy conditions below
Backtesting:
Configurable backtesting range by date
Trade drawings:
Each entry condition indicator can be turned on and off
TP/SL boxes drawn for all trades. Can be turned on and off
Trade exit information labels. Can be turned on and off
NOTE: Trade drawings will only be applicable when using overlay strategies
Alerting:
Alerts on LONG and SHORT trade entries
Debugging:
Includes section with useful debugging techniques
Strategy conditions
Trade entry:
LONG
C1: Coral Trend is bullish
C2: At least 1 candle where low is above Coral Trend since last cross above Coral Trend
C3: Pullback happens and price closes below Coral Trend
C4: Coral Trend colour remains bullish for duration of pullback
C5: After valid pullback, price then closes above Coral Trend
C6: Optional confirmation indicators (choose either C6.1 or C6.2 or NONE):
C6.1: ADX and DI (Single indicator)
C6.1.1: Green line is above red line
C6.1.2: Blue line > 20
C6.1.3: Blue trending up over last 1 candle
C6.2: Absolute Strengeh Histogram + HawkEye Volume Indicator (Two indicators combined)
C6.2.1: Absolute Strengeh Histogram colour is blue
C6.2.2: HawkEye Volume Indicator colour is green
SHORT
C1: Coral Trend is bearish
C2: At least 1 candle where high is below Coral Trend since last cross below Coral Trend
C3: Pullback happens and price closes above Coral Trend
C4: Coral Trend colour remains bearish for duration of pullback
C5: After valid pullback, price then closes below Coral Trend
C6: Optional confirmation indicators (choose either C6.1 or C6.2 or NONE):
C6.1: ADX and DI (Single indicator)
C6.1.1: Red line is above green line
C6.1.2: Blue line > 20
C6.1.3: Blue trending up over last 1 candle
C6.2: Absolute Strengeh Histogram + HawkEye Volume Indicator (Two indicators combined)
C6.2.1: Absolute Strengeh Histogram colour is red
C6.2.2: HawkEye Volume Indicator colour is red
NOTE: All the optional confirmation indicators cannot be overlayed with Coral Trend so feel free to add each separately to the chart for visual purposes
Trade exit:
Stop Loss: Calculated by recent swing low over previous X candles (configurable with "Local High/Low Lookback")
Take Profit: Calculated from R:R multiplier * Stop Loss size
Credits
Strategy origin: TradeIQ's YouTube video called "I Finally Found 80% Win Rate Trading Strategy For Crypto"
It combines the following indicators for trade entry conditions:
Coral Trend Indicator by @LazyBear (Main indicator)
Absolute Strength Histogram | jh by @jiehonglim (Optional confirmation indicator)
Indicator: HawkEye Volume Indicator by @LazyBear (Optional confirmation indicator)
ADX and DI by @BeikabuOyaji (Optional confirmation indicator)
BTC Profitable Wallets StrategyBTC Profitable Wallets Strategy - plots the percentage of profitable BTC wallets and places long orders when the profitable wallet share crosses above 50%, historically a very accurate point to catch the next Bull Run early.
The only setting is a smoothing option using the Moving Average method and length of your choice.
On Chain Data is queried from IntoTheBlock.
This is a 'HODL' strategy, with no exit given. If you'd like to see the historical performance check the Open Profit or place a sell order at the current date.
Ultra Moving Average Rating Trend StrategyThis is a technical analysis strategy based initially on the rating strategy, but fully adapted and converted to moving average rating.
In this case we are using: Ichimoku, SMA, EMA, ALMA, SMMA, LSMA, VWMA, DEMA, HMA, KAMA FRAMA, VIDYA, JMA, TEMA, ZLEMA, TRIMA and T3 moving averages.
With all of them together I am making an index.
Rules for entry and exit:
If % percentage of all the moving averages is telling to go long , we go long or exit short. And viceversa for short.
If there are any questions, please let me know !
Bollinger Pair TradeNYSE:MA-1.6*NYSE:V
Revision: 1
Author: @ozdemirtrading
Revision 2 Considerations :
- Simplify and clean up plotting
Disclaimer: This strategy is currently working on the 5M chart. Change the length input to accommodate your needs.
For the backtesting of more than 3 months, you may need to upgrade your membership.
Description:
The general idea of the strategy is very straightforward: it takes positions according to the lower and upper Bollinger bands.
But I am mainly using this strategy for pair trading stocks. Do not forget that you will get better results if you trade with cointegrated pairs.
Bollinger band: Moving average & standard deviation are calculated based on 20 bars on the 1H chart (approx 240 bars on a 5m chart). X-day moving averages (20 days as default) are also used in the background in some of the exit strategy choices.
You can define position entry levels as the multipliers of standard deviation (for exp: mult2 as 2 * standard deviation).
There are 4 choices for the exit strategy:
SMA: Exit when touches simple moving average (SMA)
SKP: Skip SMA and do not stop if moving towards 20D SMA, and exit if it touches the other side of the band
SKPXDSMA: Skip SMA if moving towards 20D SMA, and exit if it touches 20D SMA
NoExit: Exit if it touches the upper & lower band only.
Options:
- Strategy hard stop: if trade loss reaches a point defined as a percent of the initial capital. Stop taking new positions. (not recommended for pair trade)
- Loss per trade: close position if the loss is at a defined level but keeps watching for new positions.
- Enable expected profit for trade (expected profit is calculated as the distance to SMA) (recommended for pair trade)
- Enable VIX threshold for the following options: (recommended for volatile periods)
- Stop trading if VIX for the previous day closes above the threshold
- Reverse active trade direction if VIX for the previous day is above the threshold
- Take reverse positions (assuming the Bollinger band is going to expand) for all trades
Backtesting:
Close positions after a defined interval: mark this if you want the close the final trade for backtesting purposes. Unmark it to get live signals.
Use custom interval: Backtest specific time periods.
Other Options:
- Use EMA: use an exponential moving average for the calculations instead of simple moving average
- Not against XDSMA: do not take a position against 20D SMA (if X is selected as 20) (recommended for pairs with a clear trend)
- Not in XDSMA 1 DEV: do not take a position in 20D SMA 1*standart deviation band (recommended if you need to decrease # of trades and increase profit for trade)
- Not in XDSMA 2 DEV: do not take a position in 20D SMA 2*standart deviation band
Session management:
- Not in session: Session start and end times can be defined here. If you do not want to trade in certain time intervals, mark that session.(helps to reduce slippage and get more realistic backtest results)
AlgoTrade DCA Bot Backtester█ OVERVIEW
This script can be used to backtest DCA Bots. It draws inspiration from 3Commas and has most settings that are available on 3Commas. It contains a few popular DCA Bot Presets that are well known in the community for you to test out! Preset used here: Kirigakure V4
█ FEATURES
DCA Preset (Custom, Standard TA,Urma Lite V3,Kirigakure V1,Kirigakure V3,Kirigakure V4)
Order Size Type (Fixed/% of equity to simulate compounding)
Base Order Size
Safety Order Size
Max Safety Trades Count
Price Deviation to open safety order %
Safety Order Volume Scale
Safety Order Step Scale
Take Profit %
Use ADR (Average Daily Range) as Take Profit
ADR length (if ADR as take profit is enabled)
Take Profit Type (% from total volume / % from base order)
Trailing Take Profit
Stop Loss
Deal Start Condition (Start ASAP) ▶ More Deal Starting Conditions will be added in the future
Bot Direction (Long / Short)
Start Time ▶ 1999-01-01 (Use this to always backtest the entire history)
End Time
This strategy also allows you to plot the Average Price and Take Profit of each trade, so it's easier to follow the trade and understand what's happening.
█ HOW TO USE
1. Select a DCA Preset and change the initial capital to the exact amount that is required (seen in the error message on top of the table). When using a Preset the following settings will be locked, meaning if you change them in the script's settings it won't have any effect:
Base Order Size
Safety Order Size
Max Safety Trades Count
Price Deviation to open safety order %
Safety Order Volume Scale
Safety Order Step Scale
Use ADR (Average Daily Range) as Take Profit
1.1 When using Presets you can choose the Order Size Type of Fixed or % of equity which simulates compounding
1.2 Choose a Direction and a Start and End Time
2. To backtest customized settings choose the preset "Custom"
2.1 All other settings are now "unlocked" and can be used
█ LIMITATIONS
Whenever a DCA preset is changed the initial_capital needs to be changed to the exact amount the settings require. If the initial_capital is not the same there will be an error of top of the table. To fix this error navigate to the Script's Settings and Properties and change the initial_capital to the same amount that is stated in the error.
DCA Bots with a high number of safety orders, e.g. 100, can run into an error that says "Maximum number of orders (9000) reached". If this error happens change the backtesting time to a shorter timeframe.
Using % of equity simulates compounding but is unrealistic because you cannot re-invest every single dollar
█ THANKS
This script in insipred by rouxam's "Backtesting 3commas DCA Bot v2" script