KDJ Strategy @ionvolutionBuys if there is crossover in J and D and the crossover is above an SMA defined as an input parameter
Sells if the close is below the SMA or there is a crossunder in J and D
The KDJ calculation is done using ll21LAMBOS21 script. I added start date, end date, stop loss margin and stop profit margin to ease the simulation on diferent conditions of the market.
Tested on BTCBUSD pair. Gives good results in 30m candles with K period = 7 and D period = 3, but also works fine with K period = 14 and D period = 8. It works fine when market is bullish and gives false signals in flat markets. I just developed long strategy, as it is developed to operate in SPOT trading.
Pengayun
CDC action zone + WaveTrend By Nussara (strategy)This version combines a famous indicator CDC Action zone V.2 and WaveTrend together.
When the WaveTrend cross below -35, it is an indication of oversold. The indicator will show a purple line on top until the WaveTrend is greater than 53.
Buy condition.
1. Purple line appears on the top indicator.
2. CDC Action zone - fast EMA crossover slow EMA.
Sell condition
1. CDC Action zone - fast EMA crossunder slow EMA.
This indicator is Suitable for a 1DAY time frame or more.
Pumpkin Soup Modified Indicator[Public]This trading strategy is a multi-divergence trading technique using central oscillators such as MACD, SMI, Stochastic, and RSI and MAs (EMA, SMA, WMA) and channels (Bolinger, Caltner, and Doncian).
Only the parts that can be disclosed based on personal sales strategies can be used.
The usage time is at least 1 hour to 1 day. (I recommend the 8 hour stick starting from 3 o'clock)
The MACD ma part is the sensitivity part of the signal, so please use it if necessary.
Background Color: The image of the upward and downward markets is shown in the background.
-Red, green: Downfall, upfall
-Orange, yellow: Short hit section
-Silver, black: Beware of buying and selling.
Middle value (Support Resistance): It represents the sales base of the stock bar where long and short occur, starting from the peak where diversity occurs.
-Red and green lines represent resistance and support, and yellow and blue lines represent short-term sections used for scalping.
MA was used by integrating the MA series in combination.
-The required length of MA is 5 pieces, and I wrote the length I use.
This strategy was used to raise the invitation-only indicator as a strategic indicator before raising it.
(There's no alarm because it's a strategic indicator.)
------------------------------------------------------------------------------------
이 매매 전략은 MACD, SMI, Stochastic, RSI 등 센터드 오실레이터와 MAs(EMA, SMA, WMA)와 채널(볼린저, 캘트너, 돈치안)을 이용한 다중 다이버전스 매매기법입니다.
개인적인 매매전략을 근본으로 공개할 수 있는 부분만 사용할 수 있게 올립니다.
사용시간대는 최소 1시간봉에서 1일봉입니다. (3시봉부터 8시간봉을 추천드립니다)
MACD ma 부분은 시그널상 민감도부분으로 필요시 사용하시길 바랍니다.
Backbround Color : 상승장과 하락장에 대한 이미지를 배경으로 나타내었습니다.
빨간색, 초록색 : 하락장, 상승장
주황색, 노랑색 : 단타 구간
실버색, 검은색 : 매매 주의 구간
Middle value(Support Resistance) : 다이버전스가 생기는 봉을 기점으로 롱과 숏이 발생하는 주가봉의 매물대를 나타냅니다.
빨간선과 초록선은 저항과 지지를 나타내며, 노란선과 파란선은 스캘핑용으로 사용되는 단기 구간을 나타냅니다.
MA는 MA계열을 복합적으로 통합하여 사용하였습니다.
필요한 MA의 길이는 5개정도로 제가 사용하는 길이로 작성하였습니다.
본 전략은 인바이트 온니 지표 올리기전 전략 지표로 올리는 용도로 사용되었습니다.
(전략 지표라 알람이 없습니다.)
※ 전략지표 매매 포인트에서 매매 물타기 불타기 적용
Kitti-Playbook Simple Grid Simulation Long Only 25 ======== Basic Grid Trade =====================================
A) Objective : To visualization the Simulation of Simple Grade trading system (Long only)
: to study Entry and Exit ( Price and Time )
: to study portfolio optimization
: Dashboard to monitoring
Open Trade Close Trade : Grid by Grid
Number of Positions : Grid By Grid
Cash Flow
b)Specification.
:Long Only:
Open Long when Price Cross "Grid Line_N" Down in Range
Close Long when Price Cross Over "Grid Line_N + 1 Interval " in Range
:Interval : (Top - Bottom) / Grid Number
:Range : Top - Bottom X Finish time - Start Time
:Limit Grid Number = 3 - 25 intervals ( Limit by Time Processing )
c) Program Flow Chart
1) Initial Strategy Setting
2) Initial Input Setting
3) Create Trading Zone
4) Crate Long - Close Signal
5) Run Strategy Entry and Exit
6) DashBoard
TEMA/HMA/VWMACD - Short Strategy 4HAs we can discover by studying the history of BTCUSD, the fall is always swift. Confirmation of this - today's collapse. In this strategy, an attempt is made to catch such drop by using quick entry and quick exit.
Let's describe what this strategy consists of:
• TEMA (you can find this strategy separately on this page or on platform)
• VWMACD
• HMA
• Take-profit and Stop-losses
Logic:
Firstly we VWMACD (the difference between VWMACD and simple MACD is only in the way of calculating moving average) and plot it as a histogram.
Then HMA is adding as a trend filter. For easy understanding let's plot it now on chart separately.
Next step is to create and add TEMA. After it is needed to subtract slow TEMA from fast TEMA and plot this value around 0 on histogram. This is the main decision for the implementation of the short trade.
ENTRY the trade:
When VMACD is below 0 and price (src = close) is below the HMA and TEMA below 0.
CLOSE the trade:
When VWMACD is upper than 0 or price is upper than HMA or TEMA is upper than 0
You can find more strategies on tradingammo.pro.
Combo 2/20 EMA & Accelerator Oscillator (AC) This is combo strategies for get a cumulative signal.
First strategy
This indicator plots 2/20 exponential moving average. For the Mov
Avg X 2/20 Indicator, the EMA bar will be painted when the Alert criteria is met.
Second strategy
The Accelerator Oscillator has been developed by Bill Williams
as the development of the Awesome Oscillator. It represents the
difference between the Awesome Oscillator and the 5-period moving
average, and as such it shows the speed of change of the Awesome
Oscillator, which can be useful to find trend reversals before the
Awesome Oscillator does.
WARNING:
- For purpose educate only
- This script to change bars colors.
RSI StrategyThis RSI strategy will allow you to go long when RSI is overbought and go short when RSI is oversold. You can also change the checked boxes to reverse this. Uncheck "Overbought Go Long & Oversold Go Short" and check "Overbought Go Short & Oversold Go Long" to use this reversed option.
You can also choose to use an ema filter as an additional qualifier for entry. Uncheck "No EMA Filter" and check "Use EMA Filter" if you want to use it.
Be sure to enter slippage and commission into the properties to give you realistic results.
I've also built in backtesting date ranges and the ability to trade only within certain times of day and have it close all trades at the end of that time frame. This is especially useful for day trading stocks. To specify a time from use the format 0930-1100 or whatever your trading hours will be. Check off "Enable Close Trade At End Of Time Frame" to close the trade at the end of your trading hours.
You can also specify a % based take profit and stop loss. Also keep in mind that the way this code is designed if you use the stop loss and/or take profit and it reaches either target and closes, then it will immediately re-enter if the condition for long or short entry is true.
Finally there's custom alert fields so you can send custom alert messages for strategy entry and exit for use with automated trading services. Simply enter your messages in the fields within the strategy properties and then put {{strategy.order.alert_message}} in your alert message body and it will dynamically pull in the appropriate message.
Elegant Oscillator Backtest [loxx]Elegant Oscillator Backtest : John Elhers Elegant Oscillator from TASC's February 2022 edition of Traders' Tips.
Backtest for this:
What is it?
Normalized, Inverse Fisher Transform that oscillates between -1 and 1
How does this help me?
Helps the trader identify reversions to the mean
Backtest Features:
-Baseline filtering. 10+ moving averages to choose from
-ATR qualifier boundaries above/below the selected baseline
-1-3 take profit levels with stop loss
-Trailing take profit using ATR offset
-Post Signal, Baseline Cross signals
-Continuation Longs and Shorts
-Regular Longs and Shorts
-Backtest date ranges
-Ability to change how much is removed from trade at each take profit
*** Make sure the take profit % removed adds up to 100% between the number of TPs selected
Voyssnich ManuScriptHello,
After using Tradingview for a couple years and messing around with Pinescript for over a year now, this is my first real script, the “Voyssnich ManuScript”.
This Strategy was inspired by Voss Predictor Script (by user : midtownsk8rguy, which is inspired by the Whitepaper entitled “A PEEK INTO THE FUTURE” by John Ehlers ).
This strategy combines multiple Voss Predictors (Oscillators) with each different settings into 1 Oscillator. Although it visually looks like a MACD Oscillator I find that it produces much better results. The strategy inputs are the # Bars of Prediction, Fast Moving Average (of the Oscillator). and Slow Moving Average (of the Oscillator).
I use this strategy to trade the 1min. chart on cryptocurrency majors (Decent market cap. size Altcoins like BNB, SOL, AVAX, LINK, Etc.). It also performs decently on ETH, BTC and some stocks. You can probably test the settings to adapt it to any time frame as well, but remember that it was created to be use on low time frame.
You can choose the inputs for the Stop Loss, Take Profit and Trailing Stop. You will especially need to change the default inputs if you use the strategy on different time frame than the 1min.
There is also an EMA filter that you can choose to use or not.
I could have published this strategy as an Indicator which seems more popular on TV, but I think the most powerful thing about TV is the ability to backtest, which is something you can do with this strategy. If the Quantity appearing with every trade bother you, you can put it off into the Properties in Strategy Settings. In the strategy tester you’ll see that it uses 100% of equity for every trade (which is not recommend by Tradingview), but I find that it’s the best way to compare different strategies and test settings, but obviously DON’T PUT 100% OF YOUR MONEY IN THIS STRATEGY. You can also change the commission % (trading fees), which is default 3.6% (0.036) based on the exchange I use. Be careful with the commission %, because due to the high number of trades this strategy produces, the commission % can have a very high impact on the results depending on the exchange you use.
Disclaimer: If you use this strategy for real trading, you are responsible for your trades.
PS: The name of the Strategy is inspired by “Voss Predictor” and one of the weirdest books on earth, the Voynich manuscript, you can dig into that rabbit hole if you want.
ADX+BB %B+AO+EMA Strategy [PineMyths] #2Indicator List
ADX (14,14)
Bollinger Bands %B (20,close,2)
Awesome Oscillator
EMA(5), EMA(21), EMA(50), EMA(200)
Strategy Rules and Conditions
LONG Side
EMA(5) > EMA(21)
EMA(50) > EMA(200)
BB %B > 0.75
ADX > 15
Awesome Oscillator > 2
SHORT Side
EMA(5) < EMA(21)
EMA(50) < EMA(200)
BB %B < 0.25
ADX > 15
Awesome Oscillator < -2
Stop: Fixed %2
Take Profit: Fixed %1
Combo 2/20 EMA & Absolute Price Oscillator (APO) This is combo strategies for get a cumulative signal.
First strategy
This indicator plots 2/20 exponential moving average. For the Mov
Avg X 2/20 Indicator, the EMA bar will be painted when the Alert criteria is met.
Second strategy
The Absolute Price Oscillator displays the difference between two exponential
moving averages of a security's price and is expressed as an absolute value.
How this indicator works
APO crossing above zero is considered bullish, while crossing below zero is bearish.
A positive indicator value indicates an upward movement, while negative readings
signal a downward trend.
Divergences form when a new high or low in price is not confirmed by the Absolute Price
Oscillator (APO). A bullish divergence forms when price make a lower low, but the APO
forms a higher low. This indicates less downward momentum that could foreshadow a bullish
reversal. A bearish divergence forms when price makes a higher high, but the APO forms a
lower high. This shows less upward momentum that could foreshadow a bearish reversal.
WARNING:
- For purpose educate only
- This script to change bars colors.
BTC 30m ScriptWhat are your thoughts on this script? I connected it to Coinbase Pro via AWS lambda for auto-trading. I'm waiting for BTC to start bullish again before turning it on in production. Thoughts? Thank you! John
MA Bollinger Bands + RSI This script uses the standard deviation of a given moving average along with an RSI direction.
When: rsi crossover neutral line + price crossover lower deviation boundary => long
When: rsi crossunder neutral line + price crossunder upper deviation boundary => short
Divergence for Many Indicators v4 STHello Traders.
This is the Strategy version of Divergence for Many Indicators v4, an easy and comfortable indicator.
- - - -
*It's been modified a little bit from the original.
*I got permission from the original author.
*I'm not good at English, I'm sorry.
- - - -
< 4 things to check >
1. Since repainting is not performed, the first imprinted signal can be accurately seen.
2. It does not respond to continuous diversions.
3. If the opposite diversity is not imprinted, caution is required as it is designed not to indicate liquidation. Be careful when reading the figures shown in the strategy tester.
4. Added stop loss and take propirane.
< What changed? >
1. pivot period 5 - > 9
2. Money Flow index and Chaikin Money Flow are released.
- - - -
KOR SUB
< 4가지 확인 사항 >
1. 리페인팅이 없으므로 첫 번째로 각인된 신호를 정확히 볼 수 있습니다.
2. 연속된 다이버젼스에 대해서는 반응하지 않습니다.
3. 반대의 다이버젼스가 각인되지 않으면 청산 표시를 하지 않도록 설계되어 있으므로 주의를 요합니다.
4. 스탑 로스와 테이크 프로핏 항목을 추가하였습니다.
< 무엇이 변경되었나? >
1. 피봇 페리어드 값이 조금 수정되었습니다.
2. MFI & CMF 가 체크 해제된 상태입니다.
THANK YOU ^^
5min Williams Fractals scalping (3commas)Another strategy I'm learning Pine Script on. It is inspired by a MoneyZG youtube strategy called "Easy 5 Minute Scalping Strategy (Simple to Follow Scalping Trading Strategy)".
Again this is a one order per trade strategy compatible with the 3commas bot (works also with the free 3commas subscription). This strategy is based on the signals from Williams Fractals, taking the signals in reverse - red triangle indicates a bottom and hence we go long. The green triangle indicates a top so we go short. By default these signals are only accepted if they occur between the two Emas. However, you can also turn this off and when a WF signal comes in, only the current price has to be between the Emas. Stop loss is set to the current Ema slow and the take profit is a multiple of the distance to the slow ema.
Like previously I have added different filters as well as the ability to view essential things like the WF signal and Emas. I hope the script will help you to be more successful and if so it would be great if you could share here your setups, or tips on what would be good to refine to make it an even a more profitable strategy. Kind of a community approach so that we help each other out :).
Instructions for the 3commas connector:
1. First, you need to prepare 3commas Long/Short bots that will only listen to custom TV signals.
2. Inputs for the 3commas bot can be found at the end of the user inputs.
3. Once you have entered the required details into the inputs, turn on 3commas comments. They should appear on the chart (looks messy).
4. Now you can add the alert where you should paste the 3commas Webhook URL: 3commas.io
5. For the alert message text insert the placeholder {{strategy.order.comment}} and delete the rest.
6. Once the alert is saved, you can turn off those 3commas comments to have a clearer chart.
7. With a new alert, the bot and trade should launch.
In the near future I would like to publish more scripts that will carry similar elements as the first two, incl. compatibility with 3commas (I don't have access to another bot system). I will choose some strategies myself, but I will also be glad for some tips on what strategy would be good to do and is still missing here on Tradingview (short youtube videos or brief strategy manuals would be great).
Thanks and keep it up
PS: My screen values starting at Long Target Profit and ending at Pullback NOT greater than: 1.5; 1.5; 0; ON; 1; 2; OFF; 17; 36; ON; 0.05; ON; Chart; 14; 46; 50; 48.5; 51; OFF; 1; ON; 4; 2.
CCI Level ZoneThis strategy uses CCI 1000 as zones Buy sell if greater than level 100. will be seen as an uptrend If it's lower, it's a downtrend.
So we will use RSI. To trade in its zones, using the RSI crosses the level line, and when the RSI crosses the level line, it waits to buy with Stochastic.
BTC/USD - RSIIF RSI (14) reaches 68 ... sell 1 lot size ( with TP 250 points and SL 500 points)
IF RSI (14) reaches 27 ... buy 1 lot size ( with TP 250points and SL 500 points)
IF RSI (14) reaches 80 ... sell 1 lot size ( with TP 250 points and SL 500 points)
IF RSI (14) reaches 18 ... buy 1 lot size ( with TP 250points and SL 500 points)
yuyutsu-banknifty-beta"yuyutsu-banknifty-beta" indicator is a strategy especially made for NSE/BSE Banknifty. Strategy has various sub strategies which can be selected to check back tested accuracy and profit factor. Strategies works best on 3m /15m for intraday. Sub strategy "Swing" can be applied on either nifty and banknifty.
I have also added checkboxes for 3m/15m which implictly selects best combination for desired results.
Below are the sub strategies which user can use and perform back testing.
HMA
Daily Weekly Closing
Daily Monthly Closing
Pivot
Previous day open close
Gap up/down
75m analysis
ORB
Swing
TDI
VMWA
VWAP
Ripster clouds
3 Indicator Strategy (StochRSI, MFI & EMA) With Safety OrdersThis strategy uses Stochastic RSI, Money Flow Index and EMA with settings for lower time-frames.
It also features safety orders based on 3 different take profit and stop loss methods.
Recommended Indicator Settings for lower time-frames;
Stoch RSI: 1,1,100,100
MFI: 30
EMA: 100
Take Profit/Stop Loss Settings:
There are 3 TP/SL types available;
- Pips -> based on minticks
- Base Value -> manually entering a value for the actual profit/loss.
- Opposite Signal -> e.g. if the current open order is long, strategy waits for the next short signal.
Holyscalp v.3 A MACD 15 min trading strategy,
I set two macd trends that must match in trend direction to be traded,
along with that they must follow the moving average trend set in place
the trades trigger with an atr stop loss indicator "atr+" by zedartoftrading to be exact
It automates fully through autoview/oanda broker
the ma breach settings look back however many bars set in place and see if the bars are closing in opposite trend to the moving average
*TIP get another chart with same forex pair and take and change the candle sticks to heikin candles and set chart to 1D and trade only with that trend for the 15min settings, you can disable short trades by setting the threshold limit to 1 and to disable long trades set threshold to -1
Dec 31, 2021
Release Notes: for my use only
an hour ago
Release Notes: It trades based on these parameters I set in place.
1. The long term macd trend and the short term macd trend must match
2. The atr+ can not be more than 3x the previous atr.
3. It must trade with the trend set in place, I have two moving averages to choose from, to disable the second moving average set it to 1.
4. Don't touch the hammer and star fib level leave at zero, need to code that separately
5. the MA breach looks back a certain amount of bars to try and stop trading while its consolidating. I set at 1:0
an hour ago
Release Notes: Just updated the default settings, Remember they are set for optimization for 15mins but the same rules and parameters still apply to longer time frames, just change the moving averages to your liking if you want to move up timeframes.
TFO + ATR Strategy with Trailing Stop LossThis strategy is an experiment to learn what happens when The Trend Flex Oscillator (by Dr. John Ehlers) is used in conjunction with a volatility indicator like ATR. It was designed with cryptocurrency trading in mind.
The way I coded this experiment makes it unsuitable for bear market conditions.
When applied to a bull market, this trend-following strategy will open long positions when oversold price action appear to be reversing. It will typically close a position within a few days unless it gets caught in a bear market, in which case it holds on for dear life. I have tried to make back-testing very simple, but you should never trust it. It's merely and interesting tool for adjusting the many parameters that I've made editable in the configuration window. Those values include the ATR and TFO parameters, as well as setting a trailing stop loss. When closing a position, the strategy can optionally be told to ignore the trend analysis and only obey the trailing stop loss value. I've made an attempt to allow the user to define the minimum profit necessary to allow the strategy to close all all positions. In my observations, the 2H candlestick charts seem to produce the best results, although the parameters of the strategy could theoretically be adjusted to suit other time periods.
In summary...
This strategy has a bias for HODL (Holds on to Losses) meaning that it provides NO STOP LOSS protection!
Also note that the default behavior is designed for up to 15 open long orders, and executes one order to close them all at once.
Opening a long position is predicated on The Trend Flex Oscillator (TFO) rising after being oversold, and ATR above a certain volatility threshold.
Closing a long is handled either by TFO showing overbought while above a certain ATR level, or the Trailing Stop Loss. Pick one or both.
If the strategy is allowed to sell before a Trailing Stop Loss is triggered, you can set a "must exceed %". Do not mistake this for a stop loss.
Short positions are not supported in this version. Back-testing should NEVER be considered an accurate representation of actual trading results.
// portions © allanster (date window code)
// portions © Dr. John Ehlers (Trend Flex Oscillator)
This code is provided for educational purposes only. The results of this strategy should not be considered investment advice.
The user of this script acknowledges that it can result in serious financial loss when used as a trading tool
DIDI Index Backtest [loxx]DIDI Index Oscillator with Zero-line cross signals, continuations, and Baseline filtering
Indicator developed by Brazilian and analyst Odir Aguiar (Didi), consists of "Moving Averages", known for the famous needles Didi, which allows the visualization of reversal points.
Backtest for the following indicator:
Features
-Includes the following moving averages
ALMA
EMA
DONCHIAN
EAEF
EDSMA
EECEMA
EMA
EPMA
FRAMA
HMA
INSTANT
JMA
KAMA
Kijun v2
LSMA
MAMA
McGinley
MF
RMA
SMA
SSMA
T3
TEMA
TRIMA
VWMA
WM
ZLEMA
-Baseline filtering internal to indicator
-Has logic to account for Post Signal Baseline Crossover (PSBC) rules
-Has both short and long regular and continuation signals
-ATR-based stop loss and take profits
-1-3 take profit settings
-Moving stop loss after take profits
Ridicoulous Algo v1We present you a newly developed Indicator!
In this strategy we use a combination of two setups to catch the highs and lows and follow the right direction at all times. We also take data from the price action from a second source, which can be chosen in the dropdown menu or via plain text (Cryptocap:BTC, Cryptocap:BTC.D etc).
The oscillator is based on a baseline of 50, where below 50 is bearish and above 50 is bullish. The signal itself is filtered by an EMA so we don't get sell signals in uptrend and vice versa. The data from the second source gets represented as a channel so we can print it like an oscillator. The take profit/stop loss is chosen with an amount in %. The signal line is a mix of the SMA and the EMA.
The backtest result shown is simulated with using 20% of the capital and a 5x leverage trading Avax Futures on Binance.
Please be aware that past results are no guarantee for future performance!
The alarms come as an AiO (All in one) alarm with SL and TP's that can be predefined.
With the right setup you can easily create very strong strategies on many different pairs!
And we are here to help you find them...
Here are some setups we actually got
prnt.sc Cotiusdtperp
prnt.sc BTCusdtperp
prnt.sc ETHusdtperp
prnt.sc BTCPERP
prnt.sc LTCUSDTPERP
Please be aware that past results are no guarantee for future performance!