3SmmaCrossUp + Fractal + RSIThis script is a combination of 3 smoothed moving averages, and RSI. When moving averages are aligned upward (downward) and RSI is above (below) 50 and a down (up) William fractal appears, it enters long (short) position. Exiting from long and short entries are defined by StopLoss and TargetProfit.
Oscillators
Fear and Greed Index StrategyA losing strategy. The script is needed for demonstration purposes. Do not use the Fear and Greed Index.
Indicator
The black line shows the values of the Fear and Greed Index.
The index values are not updated!
Available values are from 01-01-2020 to 30-01-2022.
Settings
You can change the thresholds for fear and greed. The default values are 25 for fear and 75 for greed. These are the values recommended by the original authors of the Fear and Greed Index.
Background
If the index value is 75 or more, the background color is lime.
If the index value is 25 or less - red background color.
If index value is between 25 and 75 - no background.
Strategy
If the index value is 25 or less - open a long position (and close a short position).
If the index value is 75 or more - open a short position (and close a long position).
Reversal strategy.
[Crypto] Autotrade 2.0* Auto quantity & commission = 0.06 (Binance future fee)
1. H4 timeframe: Supertrend indicator
- Long when the closes candles is above the green line.
- Short when the closes candles is below the red line.
2. H1 timeframe: Supertrend indicator
- Long when the closes candles is above the green line.
- Short when the closes candles is below the red line.
3. How signals work?
a. Short position:
- Supertrend 4h: Short, main trend.
- Wait for a corrective waves (long)
- Breakout the long corrective waves to sell (Short) follow the main trend (H4)
a. Long position:
- Supertrend 4h: Long, main trend.
- Wait for a corrective waves (short)
- Breakout the short corrective waves to buy (Long) follow the main trend (H4)
4. Backtest result (49 pairs) from Binance broker.
- 8 pairs is winrate > 60%.
- 23 pairs is winrate > 55%.
- 13 pairs is winrate > 52%
- 5 pairs is winrate
AVG Stochastic Strategy [M30 Backtesting]1. AVG Stochastic Calculate
1.1 AVG %K is calculated by apply EMA with smooth K period on Average of Original Stochastic %k & %d
+ avg_k=ema((%k+%d)/2,smoothK)
1.2 AVG %D is calculated by apply EMA with %d period on AVG %K
+ avg_d=ema(avg_k,periodD)
2. Parameter
+ %K Length: 21
+ %K Smoothing: 3
+ %D Smoothing: 3
+ Symbol: BTC/USDT
+ Timeframe: M30
+ Pyramiding: Maximum 3 orders at the same direction.
3. Signal
3.1 Buy Signal
+ Entry: AVG %K crossover AVG %D and AVG %D < 20
+ Exit: AVG %D > 80
3.2 Sell Signal
+ Entry: AVG %K crossunder AVG %D and AVG %D > 80
+ Exit: AVG %D < 20
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.
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.