AZ V.3 Test ++Position Size Fix+Float
Core Concept
This Strategy is Base on EMA Cross
But thing what make this strategy be different from original CDC Action Zone V.3 is "Position Size"
Compound Profit & Not Compound Profit Strategy
Position Sizing Concept
Be real.Everyone know the key of survive in the Market is "Risk & Money Management"
So, How can we manage our Risk and Money?
Yes, The key is " Make the Risk celling "
////////////////////////////////////
//// (Risk% * 100) / Stoploss % ////
////////////////////////////////////
How can we make the Risk celling?
1. Define your Risk Per Trade for you. (How much % money of your portfolio are you willing to pay for this trade?)
- Example -
- I Have 3,000$ in my portfolio.
- I think i can take the risk per trade for my trade 2.5% of my portfolio. (75$)
- I calculate the Position Size of my trade to pay 2.5% of my portfolio when i need to stoploss. (75$)
- And then, I have 97.5% of my fund (2,925$) for fight in next trade.
- ***** So, I'll never lose a big money of my fund. And "SURVIVE" in long term. *****
2. Mark the "Entry Point" and "Stop Loss Point"
- Example -
- I have a Entry Point at price 30,000 $
- I Make the "Hard Stop" at previous low 11 Bar. (Hard Stop = When the price went lower from this point, We Sell this position without any pity)
- For example. I assume the previous low is 20,000$
- I Clac. the different % from Entry to Stoploss. (33%)
- ***** So, If the price went low from Entry Point -33%. I'll stop this position. *****
3. Calculate my position size.
////////////////////////////////////
//// (Risk% * 100) / Stoploss % ////
////////////////////////////////////
- In the past 2 Example.
- We have Risk% = 2.5%
- We have Stoploss% = 33%
- So, We clac. >>
- 7.575757 >> 7.5 % of my Portfolio
- 7.5 % of my Portfolio = 225 $
- ***** When my position Dropdown I'll lose for this trade and survive to fight in next trade. *****
Compound Profit Concept
We calculate the base equity from
Normal People use this.
Not Compound Profit Concept
We calculate the base equity from
If we have some profit. We use this profit for "Reserve" the loss in next trade.
Pesquisar nos scripts por "entry"
Gann Price VibrationsCurrently there is no Script available for drawing Price Vibrations based on Gann theory. I have attempted to fill this gap. This indicator will draw Cycle lines based on Gann Theory. This is vey basic one. It draws lines at start/end of every cycle. One cycle is 360 degrees. Based on feedback, it will be upgraded further with lower Angles 90/180/270 degrees movement.
How to use it ? Once you load the indicator on the chart, edit settings and give current market price of Stock you are watching.
Example: If you are watching Reliance share price on chart, go to indicators/Public/Gann Price Vibrations. Once indicator is loaded, edit input Price as 2200. Then indicator will draw cycle lines.
How to trade ? Generally, it is assumed that stock prices move in cycles. Prices spend more time near these lines. So, if you find UP or Down breakout from cycle lines, take entry. For Long trade, Target is next upper line and stop loss is one line below. Similarly, for short trade, Target is next below line and stop loss is upper line. Just notice, how RIL is moving exactly within these cycles.
If you want to study historical charts, you need to enter Price value closer to that date.
Please Like it/Share it
EMA+RSI Pump & Drop Swing Sniper (SL+TP) - StrategyThis is the strategy version of the 'EMA-RSI-Pump-Drop-Swing-Sniper-With-Alerts':
Some additions with this strategy:
~Added Stop loss & Take profit control. In Settings > Inputs if the Stop Loss is at .051 that means it's 5.1% and the Take Profit at .096 is 9.6%. If you wish to remove the TP and SL just change the value to 1.00 and it would be the same as it being 100% TP and SL which is likely to never be hit.
~Added Backtesting by changing the month/date/year in Settings > Inputs
~Added a 2nd EMA line to assist with the long entry signals. I only use this for long entry & exits, though you could use the long exits as Short entries too. I just personally don't do short trading on Bitcoin.
This is using an EMA and RSI with slightly modified settings to give good entry and exit points while looking at Bitcoin. I use this on a 1-hour and 4-hour chart and with other indicators to find good positions to enter a trade or exit if things are turning red.
It's important to know this strategy was made as a request by another user that was using the indicator version. I don't use this as a trading strategy by itself, I use the visuals it gives as a confirmation with other indicators to find the best possible entry and exit positions.
If you click on the EMA line it will color the bars of the chart based on if they are above or below the EMA - This is just visually helpful for me to see the active trend.
Make sure you hover over or click on the EMA line to see the colors of the candles change - it's not visible by default or without doing this.
AO-ZoneThe Zone is mention in New Trading Dimensions by Bill Williams,PhD.
The Zone is used for Entry Signal
Green Zone are painting Green when Awesome Oscillator (AO) and Accelerater/Decelerator (AC) are both increasing.
Red Zone are painting Red when Awesome Oscillator (AO) and Accelerater/Decelerator (AC) are both decreasing.
Gray Zone are painting Gray when AO and AC in difference changing
Gray Zone are indicate the indecision between bulls and bears.
Bill Williams, PhD. mention that Green Zone or Red Zone usually happen 6-8 bars Continuously.
(in my opinion, it happen lower than in intraday time frame)
The First Bar that change to be Green or Red color is the Signal Bar.
Entry Signal is the second bar in the same color as the Signal bar happen with Volume
Price go higher the high of previous Green Bar is Buy Signal. Entry Buy (Long) and place Stop at 1 tick lower the Low of previous bar.
Price go lower the Low of previous Red Bars is Sell Signal. Entry Sell (Short) and place Stop at 1 tick higher the High of previous bar.
Can Entry from 2nd bar to 5th bar.
Do not Entry if Green Bars or Red Bars completed 5 bars continuously.
This indicator have AO , AC and Zone in 1 tools and there are counter to show the number of Green bar or Red bar.
Green counter will happen when AO >0 and Green zone because AO > 0 show uptrend condition.
Red Counter will happen when AO < 0 and Red Zone because AO <0 show downtrend condition.
When we entry , we should follow the trend. So I design to non-show the counter if zone is against the trend.
#WaveRiders
scalping2sahilnarkarThis is the a bit edited to the previous script. As per regulations i have kept this as an open script.
The only Difference to confirm your support resistance levels is an addition of simple moving average 21.
Rules are the Same-
- Trade long when above vwap and 21EMA
- Trade Short when below the VWAP.
EMA21 and EMA50 acts as support where as SMA 21 will show the Trend.
Even though This script is purely based on EMA's, i tend to find the SMA21 as a good Support resistance/support while taking a trade as it avoids the wipsaws while taking an entry.
Please Note-
-This is a scalping Script so book profits and keep stoplosses accordingly.
-When you put this script on the screen, remove everything except EMA9,EMA21,EMA50,EMA200 and the SMA21(keep the arrows and edit the arrows as you want)
-This is not a plug and play script so tune it as you want on the settings.
-Please consider using a VWAP always.
-I have made this script after putting it into many indian stocks you have to tune it as per your stock exchange.
[blackcat] L3 Bias ScalperLevel: 3
Background
Bias alone is a powerful tool for trading. I use SMA3, SMA10, SMA20, SMA30 to cover short and middle term of the trend for scalping. Multiple biases can be introduced for long and short entries.
Function
Use SMAs and biases for scalping with whale move alert (banker fund flow detection)
Key Signal
buy --> entry signal for long
strongbuy --> entry signal for long
add --> buy more or re-entry signal for long
reduce --> partial exit for long
exit --> complete exit for long
sell --> short entry signal
whalemove --> banker fund move detection
Pros and Cons
This script provides entry signal together with whale detection by bias algorithms, you can use whale move to predict next move of trend in large time frame. However, trading signal should be further filtered out for more precise entry signal.
Remarks
At beginning, I want to make it simple and it looks very complex at the end...
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
3x SuperTrend Strategy (Mel0nTek) V1This is a triple SuperTrend based strategy for lower time frame trades such as day trades and scalping. I have not seen many strategies that combine multiple SuperTrends so I thought I would publish this one since I put it together and have been quite happy with the results. I have found through testing that the best results are on currency exchange markets such as Crypto or Forex on 1-15 min time frames.
The core idea was inspired by a youtube video put out by Trade Pro:
"Trade Pro - HIGHEST PROFIT Triple Supertrend Trading Strategy Proven 100 Trade Results"
I went ahead and set the defaults to the ones he uses in his video for anyone who wants to try a configuration similar to his. They work pretty well in general, however the EMA, SuperTrend ATR multipliers, and P/L ratio can be tuned/optimized to fit the timeframe/market desired. The video is quite good but not a required watch as I will explain below.
The 200EMA is used as a medium-term trend direction indicator.
- Price closing consistently above the 200EMA means that only long positions should be entered.
- Price closing consistently below 200EMA means that only short positions should be entered.
The 3 SuperTrend indicators should be used as direction confirmation for entries. Typically, price above SuperTrend indicates bullish movement, while price below SuperTrend indicates Bearish movement. However by itself, it is not a great indication to enter/exit positions in my experience. By combining 3 of them with slightly longer periods and increased ATR multipliers, we can get much stronger confirmation of trend direction/strength.
The way they are used in this strategy is such that:
- We only want to enter a position if at least 2 out of 3 SuperTrends are on our side.
- 3/3 SuperTrends on our side is the best case, since we are taking trades WITH momentum/price strength.
- The second farthest SuperTrend from entry price is used as a Stop Loss
SuperTrend being on our side is not the only requirement for an entry however. The probability of success is increased with SuperTrend, and a longer EMA on our side, but we want to be sure that we aren't getting in too late/after the movement has already happened.
So we use Stoch RSI to pick our entries where price is oversold/overbought and reversing. That means the Stoch RSI is above 80, or below 20, and our indication to enter the trade is when the 2 lines cross/begin reversing direction.
So with trend direction on our side, we can get really good entries at these oversold/overbought extremes, especially as it's reversing (Stoch RSI K and D are crossing). This allows us to use the SuperTrend as a support/stop loss on our entry since price should be above it.
Then we just target 1.5x our max loss so that even if we only win 50% of the time, we still make a profit.
The explicit rules of this strategy are as follows:
=== Rules ===
long only
- price above EMA200
short only
- price below EMA200
Stop Loss = 2nd SuperTrend line above (short) or below(long) entry candle
Profit = 1.5x SL/risk (Profit Ratio x Max Loss)
=== Entry Setup ===
LONG
- Stoch RSI below 20, cross up
- at least 2 SuperTrend lines below close
SHORT
- Stoch RSI above 80, cross down
- at least 2 SuperTrend lines above close
P.S. Special thanks to Trade Pro for producing so many quality videos, putting strategy claims to the test, and providing me with so many good ideas I apply to my own strategies.
72s Strat: Backtesting Adaptive HMA+ pt.1This is a follow up to my previous publication of Adaptive HMA+ few months ago, as a mean to provide some kind of initial backtesting tools. Which can be use to explore many possible strategies, optimise its settings to better conform user's pair/tf, and hopefully able to help tweaking your general strategy.
If you haven't read the study or use the indicator, kindly go here first to get the overall idea.
The first strategy introduce in this backtest is one most basic already described in the study; buy/sell is when movement is there and everything is on the right side; When RSI has turned to other side, we can use it as exit point (if in profit of course, else just let it hit our TP/SL, why would we exit before profit). Also, base on RSI when we make entry, we can further differentiate type of signals. --Please check all comments in code directly where the signals , entries , and exits section are.
Second additional strategy to check; is when we also use second faster Adaptive HMA+ for exit. So this is like a double orders on a signal but with different exit-rule (/more on this on snapshots below). Alternatively, you can also work the code so to only use this type of exit.
There's also an additional feature which you can enable its visuals, the Distance Zone , is to help measuring price distance to our xHMA+. It's just a simple atr based envelope really, I already put the sample code in study's comment section, but better gonna update it there directly for non-coder too, after this.
In this sample I use Lot for order quantity size just because that's what I use on my broker. Also what few friends use while we forward-testing it since the study is published, so we also checked/compared each profit/loss report by real number. To use default or other unit of measurement, change the entry code accordingly.
If you change your order size, you should also change the commission in Properties Tab. My broker commission is 5 USD per order/lot, so in there with example order size 0.1 lot I put commission 0.5$ per order (I'll put 2.5$ for 0.5 lot, 10$ for 2 lot, and so on). Crypto usually has higher charge. --It is important that you should fill it base on your broker.
SETTINGS
I'm trying to keep it short. Please explore it further again. (Beginner should also first get acquaintance with terms use here.)
ORDERS:
Base Minimum Profit Before Exit:
The number is multiplier of ongoing ATR. Means that when basic exit condition is met, algo will check whether you're already in minimum profit or not, if not, let it still run to TP or SL, or until it meets subsequent exit condition, then it will check again.
Default Target Profit:
Multiplier of ATR at signal. If reached before any eligible exit condition is met, exit TP.
Base StopLoss Point:
You can change directly in code to use other like ATR Trailing SL, fix percent SL, or whatever. In the sample, 4 options provided.
Maximum StopLoss:
This is like a safety-net, that if at some point your chosen SL point from input above happens to be exceeding this maximum input that you can tolerate, then this max point is the one will be use as SL.
Activate 2nd order...:
The additional doubling of certain buy/sell with different exits as described above. If enable, you should also set pyramiding to at least: 2. If not, it does nothing.
ADAPTIVE HMA+ PERIOD
Many users already have their own settings for these. So in here I only sample the default as first presented in the study. Make it to your adaptive.
MARKET MOVEMENT
(1) Now you can check in realtime how much slope degree is best to define your specific pair/tf is out of congestion (yellow) area. And (2) also able to check directly what ATR lengths are more suitable defining your pair's volatility.
DISTANCE ZONE
Distance Multiplier. Each pair/tf has its own best distance zone (in xHMA+ perspective). The zone also determine whether a signal should appear or not. (Or what type of signal, if you wanna go more detail in constructing your strategy)
USAGE
(Provided you already have your own comfortable settings for minimum-maximum period of Adaptive HMA+. Best if you already have backtested it manually too and/or apply as an add-on to your working strategy)
1. In our experiences, first most important to define is both elements in the Market Movement Settings . These also tend to be persistent for whole season since it's kinda describing that pair/tf overall behaviour. Don't worry if you still get a low Profit Factor here, but by tweaking you should start to see positive changes in one of Max Drawdown and Net Profit, or Percent Profitable.
2. Afterwards, find your pair/tf Distance Zone . When optimising this, what we seek is just a "not to bad" equity curves to start forming. At least Max Drawdown should lessen more. Doesn't have to be great already, but should be better, no red in Net Profit.
3. Then go manage the "Trailing Minimum Profit", TP, SL, and max SL.
4. Repeat 1,2,3. 👻
5. Manage order size, commission, and/or enable double-order (need pyramiding) if you like. Check if your equity can handle max drawdown before margin call.
6. After getting an acceptable backtest result, go to List of Trades tab and find the biggest loss or when many sequencing loss in a row happened. Click on it to go to exact point on chart, observe why the signal failed and get at least general idea how it can be prevented . The rest is yours, you should know your pair/tf more than other.
You can also re-explore your minimum-maximum period for both Major and minor xHMA+.
Keep in mind that all numbers in Setting are conceptually in a form of range . You don't want to get superb equity curves but actually a "fragile" , means one can easily turn it to disaster just by changing only a fraction in one/two of the setting.
---
If you just wanna test the strength of the indicator alone, you can disable "Use StopLoss" temporarily while optimising settings.
Using no SL might be tempting in overall result data in some cases, but NOTE: It is not recommended to not using SL, don't forget that we deliberately enter when it's in high volatility. If want to add flexibility or trading for long-term, just maximise your SL. ie.: chose SL Point>ATR only and set it maximum. (Check your max drawdown after this).
I think this is quite important specially for beginners, so here's an example; Hypothetically in below scenario, because of some settings, the buy order after the loss sell signal didn't appear. Let's say if our initial capital only 1000$ using leverage and order size 0,5 lot (risky position sizing already), moreover if this happens at the beginning of your trading season, that's half of account gone already in one trade . Your max SL should've made you exit after that pumping bar.
The Trailing Minimum Profit is actually look like this. Search in the code if you want to plot it. I just don't like too many lines on chart.
To maximise profit we can try enabling double-order. The only added rule coded is: RSI should rising when buy and falling when sell. 2nd signal will appears above or below default buy/sell signal. (Of course it's also prone to double-loss, re-check your max drawdown after. Profit factor play its part in here for a long run). Snapshot in comparison:
Two default sell signals on left closed at RSI exit, the additional sell signal closed later on when price crossover minor xHMA+. On buy side, price haven't met our minimum profit when first crossunder minor xHMA+. If later on we hit SL on this "+buy" signal, at least we already profited from default buy signal. You can also consider/treat this as multiple TP points.
For longer-term trading, what you need to maximise is the Minimum Profit , so it won't exit whenever an exit condition happened, it can happen several times before reaching minimum profit. Hopefully this snapshot can explain:
Notice in comparison default sell and buy signal now close in average after 3 days. What's best is when we also have confirmation from higher TF. It's like targeting higher TF by entering from smaller TF.
As also mention in the study, we can still experiment via original HMA by putting same value for minimum-maximum period setting. This is experimental EU 1H with Major xHMA+: 144-144, Flat market 13, Distance multiplier 3.6, with 2nd order activated.
Kiwi was a bit surprising for me. It's flat market is effectively below 6, with quite far distance zone of 3.5. Probably because I'm using big numbers in adaptive period.
---
The result you see in strategy tester report below for EURUSD 15m is using just default settings you see in code, as follow:
0,1 lot for each order (which is the smallest allowed by my broker).
No pyramiding. Commission: 0.5 usd per order. Slippage: 3
Opening position is only using basic strategy #1 (RSI exit). Additional exit not activated.
Minimum Profit: 1. TP: 3.
SL use: Half-distance zone. Max SL: 4.5.
Major xHMA+: 172-233. minor xHMA+: 89-121
Distance Zone Multiplier: 2.7
RSI: Standard 14.
(From our forward-testing, the difference we get from net profit is because of the spread, our entry isn't exactly at the close/open price. Not so much though, but not the same. If somebody can direct me to any example where we can code our entry via current bid/ask price, that would be awesome!)
It's already a long post (sorry), think I'm gonna pause here. Check out the code :)
---
DISCLAIMER: Past performance is no guarantee of future results , and so on.. you know the drill ;)
Please read whole description first before using, don't take 1-2 paragraph and claim it's the whole logic, you are responsible of your own actions and understanding.
[blackcat] L1 Blackcat Customized CCI IndicatorLevel: 1
Background
This CCI indicator is blackcat customized version with enhanced features.
Function
This CCI use green line to indicate strong long trend with cci values > 0 and red line to indicate weak long trend with cci values <0. It also use yellow and fuchsia candles to present the strong and weak long trend. A green candle is used to indicate long entry, while a red candle is usded to indicate long flatten signal.
Key Signal
green line --> strong long trend
red line --> weak long trend
blue line --> trend strength indicator
SELL label --> flatten long or short entry
BUY label --> long entry
TOPDIV label --> top divergence indicator
BOTDIV label --> bottom divergence indicator
Remarks
Feedbacks are appreciated.
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
[blackcat] L1 Enhanced Awesome OscillatorLevel: 1
Background
The awesome oscillator is just that, an oscillator by Bill Williams. In contrast to the slow stochastics, which ranges from +100 to -100, the fantastic oscillator is limitless. On the surface, one might think that the fantastic oscillator is made up of a complicated algorithm developed by a Whiz Kid from M.I.T. You will be surprised to learn that the indicator is a basic calculation of two simple moving averages. I made some improvements on it by introducing some novel moving average functions and choppiness index as L1 Enhanced Awesome Oscillator.
Function
Yellow bars for bull and fuchsia bars for bear with candles. Buying and selling signal is provided. Divergence signal is provided. Choppiness index is used as a green background color, which indicates trends when it under green color. The choppiness index is used to filter out entry signals.
Key Signal
yellow candle --> bull
fuchsia candle --> bear
yellow DIV label --> bottom divergence
fuchsia DIV label --> top divergence
red SELL label --> short entry
green BUY label --> long entry
Remarks
Feedbacks are appreciated.
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
Delta-RSI Strategy (with filters)Delta-RSI Strategy (with filters):
This is a version of the Delta-RSI Oscillator strategy with several criteria available to filter entry and exit signals. This script is also suitable for backtesting over a user-defined period and offers several risk management options (take profit and stop loss).
Since the publication of the Delta-RSI Oscillator script, I have been asked many times to make it compatible with the Strategy Tester and add filtering criteria to minimize "false" signals. This version covers many of these requests. Feel free to insert your favorite D-RSI parameters and play around!
ABOUT DELTA-RSI
Delta-RSI represents a smoothed time derivative of the RSI designed as a momentum indicator (see links below):
INPUT DESCTIPTION
MODEL PARAMETERS
Polynomial Order : The order of local polynomial used to interpolate the relative strength index (RSI).
Length : The length of the lookback frame where local regression is applied.
RSI Length : The timeframe of RSI used as input.
Signal Length : The signal line is a EMA of the D-RSI time series. This input parameter defines the EMA length.
ALLOWED ENTRIES
The strategy can include long entries, short entries or both.
ENTRY AND EXIT CONDITIONS
Zero-crossing : bullish trade signal triggered when D-RSI crosses zero from negative to positive values (bearish otherwise)
Signal Line Crossing : bullish trade signal triggered when D-RSI crosses from below to above the signal line (bearish otherwise)
Direction Change : bullish trade signal triggered when D-RSI was negative and starts ascending (bearish otherwise)
APPLY FILTERS TO
The filters (described below) can be applied to long entry, short entry and exit signals.
RELATIVE VOLUME FILTER
When activated, the D-RSI-driven entries and exits will be triggered only if the current volume is greater than N times the average over the last M bars.
VOLATILITY FILTER
When activated, the D-RSI-driven entries and exits will be triggered only if the N-period average true range, ATR, is greater than the M-period ATR. If N < M, this condition implies increasing volatility.
OVERBOUGHT/OVERSOLD FILTER
When activated, the D-RSI-driven entries and exits will be triggered only if the value of 14-period RSI is in the range between N and M.
STOP LOSS/TAKE PROFIT
Fixed and trailing stop loss as well as take profit options are available.
FIXED BACKTESTING START/END DATES
If the checkboxes are not checked, the strategy will backtest all available price bars.
ADX Momentum cross + MacD + HH LL + Buy/Sell Signals and alerts Hello, This is the first indicator I have made and would like to contribute to the community.
This strategy came from trying to replicate a previous ADX Cross Indicator that I loved on MT4 which I used successfully on EUR/USD on high and low time frames. Through the process of trying to replicate it I failed, I decided to take what I had written so far and create my own ADX cross strategy using the combination of 3 ADX's, their lag. Then also using Higher highs and lower lows with the MacD to further filter the signals.
There are two buy and two sell conditions , the difference between these are just the order in which the ADX crossing determines the entry. The MacD and higher highs and lower lows are the same for filtering the signal.
You can change the look back for HH and LL look back range, along with the DI Length & ADX Smoothing for all ADX's. The lag used for either the buy or sell strategy with the Lag_Buy/Lag_Sell inputs. Lag_mid setting will affect all 4 conditions.
From testing and based on the ADX cross logic you should follow this structure when changing the inputs for:
DI Length: Lowest DI value (I.E. 1)
DI Lengtha: Middle DI value (I.E. 2)
DI Lengthb: Highest DI value (I.E. 3)
ADX Smoothing: Lowest Smoothing value (I.E. 1)
ADX Smoothinga: Middle Smoothing value (I.E. 2)
ADX Smoothingb: Highest Smoothing value (I.E. 3)
I tested this on the EUR/USD, but mainly I have been using it on BTC/USDT(binance) and BTC/USDT Perpetual futures(binance) with the 5 minute chart. I suggest playing around with the settings depending on the Symbol and timeframe you use because the default settings are what I last found to be optimal for my self on the 5min BTC/USDT Perpetual futures(binance) chart.
A good starting point I found when using the indicator on other charts is to use the below values:
DI Length: 7
DI Lengtha: 14
DI Lengthb: 21
ADX Smoothing: 7
ADX Smoothinga: 14
ADX Smoothingb: 21
If you have any questions, suggestions, or requests for this indicator feel free contact me. You can either comment on here or Message me
If you like this indicator please like and comment where you found it useful.
Electrified Aggressive Momentum SignalWhat this can be used for:
If you've already decided you want to trade a symbol, this can identify points of momentum alignment.
If a strong move has recently happened and you're looking for a change in momentum.
How it works:
This is a weighted combination of a Stochastic RSI and two modified SuperTrend (ATR Trailing Stop) indicators:
The Stochastic RSI signal is based upon aligned momentum and is negated at the overbought and oversold points.
The SuperTrend formula uses high and low values for calculation and both fast and slow can be adjusted for sensitivity.
Philosophy:
Signals have to be useful to humans. If a signal occurs to late, you've missed it. The intent of this indicator is to assist in timing a trade at very short time-frames. It assumes your conviction about a trade already exists, but you are trying to get an optimal entry.
Opposing momentum (weak signal) within an uptrend can be a sign that you should wait before entering. The frequency of a signal can indicate the strength of the trend. As the frequency of the aligned signal value decreases so does the reward vs risk.
Caco Maia's Double break out A setup created and used by Caco Maia — Brazilian trader with over 40 years experience.
It is based on the simultaneous crossing of the price with 8 and 20 moving averages, filtered by TRIX and Stochastic indicators.
How to use:
Wait for the signal bar to close.
Observe the context of the chart and direction of the trend. For example: do not follow the signal with the moving averages are pointing to the opposite direction of the trade/signal.
Better if used with other indicators to confirm the trade entry.
---------------------
Setup do duplo rompimento do Caco Maia.
Indica o rompimento simultâneo do preço com as médias móveis de 8 e 20, filtrado pelo TRIX e Estocástico.
Como usar:
Espere o fechamento da barra com o sinal.
Observe o contexto do gráfico e a direção da tendência. Por exemplo: não inicie o trade se as média móveis estão apontando para a direção oposta ao sinal.
Melhor se usado com outros indicadores para confirmar a entrada no trade.
Bollinger Band with Fib Golden Ratio (0.618)This startegy uses Fib level (0.618) of Bollinger Band for long entry. I find this is the only strategy which gives similar results on the different time frames. I have tested QQQ for 1H, 2H , 3H and 4H charts , all showed over 70% winning rate.
BB settings 50 , mult 1.5 (or you can use 2.5 or 3 )
Note: for the basis I have used VWMA instead of SMA .
BUY
=========
ema 50 is above ema 200
when the price close or low touches BB50(Fib0.615) lower band
Exit
=========
when the price crossover BB50(Fib0.615) upper band
Stop Loss
=========
Stop oss set to 5% , configurable
Strategy works similar to mean reversion style. When it touches the lower bans (which 0.615 level of the BB50) , it bounces from there.
Warning
=========
This strategy is for educational purposes only. Please do your own reserach for trading decissions.
KAMA Strategy - Kaufman's Adaptive Moving AverageThis strategy combines Kaufman's Adaptive Moving Average for entry with optional KAMA, PSAR, and Trailing ATR stops for exits.
Kaufman's Adaptive Moving Average is, in my opinion, a gem among the plethora of indicators. It is underrated considering it offers a solution that intuitively makes a lot of sense. When I first read about it, it was a real 'aha!' moment. Look at the top, pink line. Notice how during trending times it follows the trend quickly and closely, but during choppy, non-trending periods, the KAMA stays absolutely flat? Interesting! To trade with it, we simply follow the direction the KAMA is pointing. Is it up? Go long. Is it down? Go short. Is it flat? Hold on.
How does it manage to quickly follow real trends like a fast EMA but ignore choppy conditions that would whipsaw a fast EMA back and forth? It analyses whether recent price moves are significant relative to recent noise and then adapts the length of the EMA window accordingly. If price movement is big compared to the recent noise, the EMA window gets smaller. If price movement is relatively small or average compared to the recent noise, the EMA window gets bigger. In practice it means:
The KAMA would be flat if a 20 point upwards move occurred during a period that has had, on average, regular 20 point moves BUT
the KAMA would point up if a 20 point move occurred during a period that has, on average, had moves of only around 5 points.
In other words, it's a slow EMA during choppy flat / quiet flat periods, and a fast EMA as soon as significant volatility occurs. Perfect!
-----
The Strategy
The strategy is more than just a KAMA indicator. It contains:
KAMA exit (optional)
ATR trailing stop loss exit (optional)
PSAR stop loss exit (optional)
KAMA filter for entry and exits
All features are adjustable in the strategy settings
The Technical Details:
Check out the strategy's 'Inputs' panel. The buy and sell signals are based on the 'KAMA 1' there.
KAMA 1: Length -- 14 is the default. This is the length of the window the KAMA looks back over. In this instance, it c
KAMA 1: Fast KAMA Length -- 2 is the default. This is the tightest the EMA length is allowed to get. It will tend towards this length when volatility is high.
KAMA 1: Slow KAMA Length -- 20 is the default. This is the biggest the EMA length is allowed to get. It will tend towards this length when volatility is low.
KAMA Filter
The strategy buys when the KAMA begins to point up and sells when the KAMA points down. Generally, the KAMA is very good at filtering out the noise itself - it will go flat during noisy/choppy periods. But to add another layer of safety, its author, Perry Kaufman, proposed a KAMA filter. It works by taking the standard deviation of returns over the length of the the 'KAMA 1: Length' I mentioned above and multiplying it by an 'Entry Filter' (1 by default) and 'Exit Filter' (0.5 by default). The entry condition to go long is that the KAMA is pointing up and and it moved up more than 1 x St. Dev. of Returns. The exit condition is when the KAMA is pointing down and it moved down by more than 0.5 x St. Dev. of Returns.
Thanks
Thanks to ChuckBanger, cheatcountry, millerrh, and racer8 for parts of the code. I was able to build upon their good work.
-----
I hope this strategy is helpful to you.
Do you have any thoughts, ideas, or questions? Let me know in the comments or send me a message! I'd be glad to help you out.
If you need an indicator or strategy to be built or customised for you, let me know! I'll be glad to help and it'll probably be cheaper than you think!
All in one pivot by AkhileshCamarilla Trade Setup:
Sell Opportunity:
H3 Reversal Trade
Entry - H3
Stop Loss - H4
Target - L3
L4 Breakout Trade
Entry - L4
Stop Loss - L3
Target - L5
Buy Opportunity:
L3 Reversal Trade
Entry - L3
Stop Loss - L4
Target - H3
H4 Breakout Trade
Entry - H4
Stop Loss - H3
Target - H5
Trade Type:
Scalping trading
Intraday trading
CPR Trade Setup:
1. Narrow CPR indicates Trending market
2. Wide CPR indicates Sideways market
White MAThis modified indicator just based on my 2cent strategy & experience,
which is:-
MA6, MA20, MA50, MA200
However, I always turn off MA20 since I also use BB (20) indicator.
Generally, if small MA cross up big MA, then it becomes entry signal, & vice versa
Each entry signal need confirmation state which is next price should close higher than crossing price.
If price close lower than crossing price, then it will be invalid entry's signal,
while if price keep maintain at same value, then it's mean uncertain for me until it close whether above or below crossing price.
"Strategy 1" (General)
In TF1D, the pattern should fulfill my condition as below:-
- MA20 above MA50 (bullish uptrend)
- Price pullback at least touch MA20 for reversal (making Higher Low)
- Price break resistance of pullback's price
My entry signal only after it close above the resistance, near "support" (RBS, Resistance become Support)
My stop-loss, if and only if price touch previous SMA6 price (or SMA10)
Unfortunately, I haven't had any specific target price. It's depending on what kind of "player" you are. (achievement)
Few TPs those I used:-
- Price touch my Static Resistance on chart obtained from,
~ Pullback price
~ Fibo (1.61++)
~ Higher price in 3 months, 6 months, 1 year, 3 year, and so on. (road to ATH, All Time High)
- Price close outside Upper BB (Dynamic Resistance)
I don't assume sell signal by using crossing indicator as TP, it's more to stop-loss for me. (means stop from loss your profit)
"Strategy 2" (Reversal Entry)
In TF15 minutes, we are assuming entry signal when SMA6 cross up SMA50. However, it's still need confirmation by next closing price.
This strategy can be apply in TF1D although SMA20 doesn't cross up SMA50 yet.
That's all my sharing strategy/system based on my 2cent experience, it's not a prefects strategy but I hope it will gives some idea for you guys in order to obtain your own system.
[blackcat] L2 Zero-lag EMA Swing TradeLevel: 2
Background
This script is a comprehensive work of mine, incorporating Ehlers zero-lag EMA and my first script published: MA fingerprint for long entries.
Function
Ehlers zero-lag EMA algorithm in this scripts is mainly used for short signal production, while my MA fingerprint algorithm is used for long entries.
Key Signal
a ---> Ehlers Zero-lag EMA fast line for subjective long jugement
b ---> Ehlers Zero-lag EMA slow line for subjective short jugement
long --> Swing long entry with partial postion
short --> Swing short entry with partial postion
Remarks
Feedbacks are appreciated. This script is optimized for 1D time frame.
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
Phoenix Ascending 2.201Hi Everyone!
It's time to make this indicator public to relieve myself of replying to requests for access. There has been an update to this indicator; in which a Stochastic RSI was added to this indicator. Please follow the directions to SETUP the indicator in the SETUP VIDEO provided below.
Phoenix Ascending 2.201 and Bollinger Bands Setup Video.
The following are BASIC rules for the Phoenix 2.201 Indicator. More advanced rules and the requirements for those rules can be found in my publications in my public profile. Unfortunately, I do not have organized videos created on how to use this indicator in full but will be available in the future.
IMPORTANT: The BASIC rules below are beneficial but these are NOT all the rules. More rules and requirements for those rules will be available in the future.
RULE NO. 1
We PREFER the Blue LSMA to be at 80% or higher for SAFE EXIT (SHORT) bets.
We PREFER the Blue LSMA to be at 20% or lower for SAFE ENTRY (LONG) bets.
Rule No. 2
ANY time the red line is approaching a green line that’s moving UPWARD,
Be prepared to make an ENTRY (LONG) when the red line is about to touch the green line that’s moving upward.
One can look at a lower time frame to get a better idea of how much longer you may have
To wait for the red line to touch the green line. In many cases, you may make ENTRY (LONG)
Just before the red line actually touches the green line that’s moving up in that higher time frame
You were initially using as your COMPASS. I currently have the 1-Month TF as a compass for EURUSD.
Rule No. 3
ANY time the red line is approaching a green line that’s moving DOWNWARD,
Be prepared to make an EXIT (SHORT) when the red line is about to touch the green line that’s moving downward.
One can look at a lower time frame to get a better idea of how much longer you may have
To wait for the red line to touch the green line. In many cases, you may make your EXIT (SHORT)
Just before the red line actually touches the green line that’s moving downward in that higher time frame
You were initially using as your COMPASS. I currently have the 1-Month TF as a compass for EURUSD.
Rule No. 4
The Green Line and/or Ghost Line can often help one determine when an upward or downward move in a particular time frame
Is nearly exhausted and about to reverse.
Example for Upside Exhaustion about to reverse to the Downside:
When the Green Line and/or Ghost line is at 80% level or higher, this is a good indicator to inform
Us the current upside move may be approaching exhaustion. You can look at a higher time frame to try to gain
More insight as to whether this will only be a brief dip down in the lower time frame IF the higher time frame you
Went to reveals there is a lot more room remaining for the Green and/or Ghost Lines to reach the 80% or higher level.
Example for Downside Exhaustion about to reverse to the Upside:
When the Green Line and/or Ghost line is at 20% level or lower, this is a good indicator to inform
Us the current downside move may be approaching exhaustion. You can look at a higher time frame to try to gain
More insight as to whether this will only be a brief dip up in the lower time frame IF the higher time frame you
Went to reveals there is a lot more room remaining for the Green and/or Ghost Lines to reach the 20% or lower level.
Rule No. 5
The same rules you see in Rule No. 4 also apply to the Stochastic RSI. Keep in mind I changed the colors of the
Stochastic RSI to the following: Red default changed to Purple and Blue changed changed to Black to avoid confusing
Them with the lines in Godmode.
When the Stochastic RSI is at 80% or higher level, we need to be on guard for a reversal to the downside.
When the Stochastic RSI is at 20% or lower level, we need to be on guard for a reversal to the upside.
EXTREMELY IMPORTANT to apply these rules in GROUPS OF TIME FRAMES.
"TYPES" OF TIME FRAME GROUP TRADING SIGNALS
Scalping Group Signals: Signals provided for this group involve analyzing the following two groups of time frames. Short Term Group as a compass and Scalping Group for confirmation and more precise entry/exit.
Scalping Group: 6min. 12min. 23min & 45min.
Short Term Group: 90min. 3hr. 6hr. & 12hr.
Short Term Group Signals: Signals provided for this group involve analyzing the following two groups of time frames. NearTerm Group as a compass and Short Term Group for confirmation and more precise entry/exit.
Short Term Group: 90min. 3hr. 6hr. & 12hr.
Near Term Group: 24hr. 2-Day, 3-Day & 4-Day
Near Term Group Signals: Signals provided for this group involve analyzing the following two groups of time frames. Mid Term Group as a compass and Near Term Group for confirmation and more precise entry/exit.
Near Term Group: 24hr. 2-Day, 3-Day & 4-Day
Mid Term Group: 3-Day, 6-Day, 9-Day & 12-Day
Mid Term Group Signals: Signals provided for this group involve analyzing the following two groups of time frames. Long Term Group as a compass and Mid Term Group for confirmation and more precise entry/exit.
Mid Term Group: 3-Day, 6-Day, 9-Day & 12-Day
Long Term Group: 1-Week, 2-Week, 3-Week & 4-Week
Long Term Group Signals: Signals provided for this group involve analyzing the following two groups of time frames. Macro Term Group as a compass and Long Term Group for confirmation and more precise entry/exit.
Long Term Group: 1-Week, 2-Week, 3-Week & 4-Week
Macro Term Group: 1-Month, 2-Month, 3-Month & 4-Month
Macro Term Group Signals: Signals provided for this group involve analyzing the following two groups of time frames. Macro Term Group as a compass and Long Term Group for confirmation and more precise entry/exit.
Macro Term Group: 1-Month, 2-Month, 3-Month & 4-Month
Super Macro Group: 3-Month , 6-Month, 12-Month & 24-Month
[blackcat] L2 Guppy Color BandLevel: 2
Background
The Guppy Multiple Moving Average (GMMA) is a technical indicator that identifies changing trends, breakouts, and trading opportunities in the price of an asset by combining two sets of moving averages (MA) with different time periods. There is a short term group of MAs and a long term group of MAs.
Function
This script incoporates GMMA as a mid-term support/resistance levels which can indicates re-entry or entry signal. Short-term fast line and slow line are used to provide short term entries. Above GMMA, one can long and xlong, while under GMMA one can short or xshort.
Key Signal
a1~a7 ---> Guppy color band
fastline --> short term fast line
shortline --> slow term slow line
safeline --> bull bear boundary
Pros and Cons
Pros:
1. easy observe price trend
2. it provides entry signal
3. it provides bull bear boundary
Cons:
Your feedbacks are welcome
Remarks
Courtesy of @LunaOwl " Rainbow Color Gradient" for GMMA color band in this script
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
Combined EMA & MA crossovers [CDI]Implementation of the strategy of moving averages crossings combining two fast and two slow that are used to confirm the entry.
The purpose is to be able to quickly see a backtesting of the strategy by easily configuring the profit / loss percentage. In this script the profit percentage is used for the loss percentage as well.
Additionally you can see the moving averages all in a single chart tool.
In the community to which I belong, this strategy is used in daily candles, especially for swing trading, but it can be used in different time frames.
WARNING:
- For purpose educate only
- The entries are used under your responsibility
[blackcat] L2 Banker Fund Trajectory for IndiceLevel: 2
Background
This script creates a model of banker fund (whale) with yellow and fuchsia candles. I use blue waves (b5) to detect oversold and overbought, which is more sensistive than candles.
Function
Use composite banker fund trajectory oversold and overbought for long and short entries, which works better for indice trading pairs
Key Signal
j --> banker fund fast line
a2 --> banker funder slow line
support --> dynamic support levels
resistance --> dynamic resistance levels
long --> oversold long entry
short --> overbought short entry
Pros and Cons
This script is suitable for indice trading pairs. It will not work so well for other trading pairs due to overbought and oversold is not as stable as an index trading pair
Remarks
You feedbacks on index trading pairs are appreciated.
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.