Target Price for KuCoin FuturesWhen trading on KuCoin, it can be difficult to determine what you're exit price should be.
This script solves this issue by giving you an exit price based on a given entry price, a base margin, and a target profit %.
USE CASES:
No Entry Price:
If you have no position in KuCoin, then this use case could be more helpful. With no entry price inputted, two lines will be drawn above and below the current closing price.
The blue line represents your exit price for if you were to enter into a long at the current close.
The orange line represents your exit price if you were to enter into a short at the current close.
With Entry Price:
If you're already in a position in KuCoin, then this case might be more helpful.
The green line represents your exit price for a long from your entry price
The red line represents your exit price for a short from your entry price
The yellow line represents your entry price itself.
Komut dosyalarını "entry" için ara
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
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.
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.
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.
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] 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.
[fareid] Quick Backtest Framework█ OVERVIEW
This Framework allows Pine Coders to quickly code Study() based signal/strategy and validate its viability before proceed to code with more advance/complex customized rules for entry, exit, trailstop, risk management etc..
This is somewhat an upgraded version of my earlier personal template with different strategy used, cleaner code
and additional features.
█ USE CASES
- You have an idea for trade signal and need a quick way to verify its potential before writing lengthy/complicated code
- You found a study script for trading signal in public library and want to validate it profitability with minimum effort before including it in your trading playbook
█ FEATURES
- Alert: Ready to use alert function based on signals from your custom indicator.
- Visual Backtest: Auto-plot entry, stop-loss and take profit for simple strategy performance analysis
- Backtest Statistic: Provide basic key metrics based on backtest strategy
- BTE External Signal Protocol: Ready to use code that will supply required state to PineCoders Backtesting & Trading Engine if you wish to have more advance and sophisticated backtesting engine
Notes: All of the above features have On/Off toggle
█ Description & How To Use
This Framework consist of 5 Modules but you only need to edit the first 2 Modules:
Module1: Indicator
Module2: Framework Input Protocol
Module3: Alert
Module4: Backtest
Module5: Backtest & Trading Engine
Tips: The source-code includes collapsible block by module for easy navigating
Module1: Indicator:
-----------------------------------------------------------------------------------
Main Module. Place custom indicator input parameter/calculation/indicator plotting here
Sample Strategy: Double MACD Crossover
MACD Signal: 1st MACD Cross above signal line indicate Buy Signal
1st MACD Cross below signal line indicate Sell Signal
MACD Filter: 2nd MACD is above 0 line indicate Uptrend
2nd MACD is below 0 line indicate Downtrend
Module2: Framework Input Protocol:
-----------------------------------------------------------------------------------
Use this module to connect main indicator/signal calculated in Module1 to the rest of the framework's module
4 variables needed to be defined here:
1. Uptrend
2. Dntrend
3. BuySignal
4. SellSignal
i'm not sure how to place a code snippet here to show you example so in the source code i already put a comment in Module2 on which part u need to edit. I hope its pretty simple to use.
Module3: Alert Module Description:
-----------------------------------------------------------------------------------
As long as the variables in Module2 properly defined, the alert module is ready to use without any further modification.
Input:
Enable Alert --> Enable TV's alert and plot signal to chart
Alert Type --> Set to take Buy only, Sell only or Both alert
Module4: Backtest Module Description:
-----------------------------------------------------------------------------------
As long as the variables in Module2 properly defined, the backtest module is ready to use without any further modification.
Input:
Backtest Stat --> Enable Backtest Statistic Label
Backtest Visual --> Enable Backtest visual simulation
Backtest Type --> Set to take Buy only or Sell only or both
SL Type -->
ATR : Set SL in ATR times Multiplier below entry price
Fixed : Set SL in fixed point below entry point (in 'Dollar'). e.g. for Stocks -> 0.5 equals to 50cent while for EURUSD currency -> 0.005 equal to 50 pips
HiLo Bar: Set SL at highest/lowest wick of previous bar plus/minus Fixed point. e.g. EURUSD HiLo=3 and Fixed Point = 0.0005, buy trade will place SL 5 Pips below lowest of previous 3 bar
SL ATR Multi --> Set Lookback Period used for SL's ATR calculation
SL ATR Multi --> Set ATR Multiplier for SL
SL Fixed --> Set Fixed Level for SL
SL Bar --> Set Number of previous bar to check for SL placement
TP RR Ratio --> Set TP based on RR multiplier. e.g. 2 means TP level will be twice further from entry point compared to Entry-SL distance.
Notes: The point is for preliminary testing, so it only supports 1 trade at a time and no Trailing Stop
Module5: Backtest & Trading Engine Description:
-----------------------------------------------------------------------------------
As long as the variables in Module2 properly defined, the Pinecoders BTE module is ready to use without any further modification.
Input:
External Signal Protocol --> Set ESP State to send to "Backtesting & Trading Engine "
Signal With Filter --> Use this to send entry signal that already filtered by this study indicator (without stoploss level)
Signal Without Filter --> Use this to send raw entry signal that are NOT YET FILTERED by this study indicator (without stoploss level)
Signal and Stop With Filter --> Use this to send entry signal WITH StopLoss that already filtered by this study indicator (with stoploss level)
Signal and Stop Without Filter --> Use this to send raw entry signal WITH StopLoss that are NOT YET FILTERED by this study indicator (with stoploss level)
Notes: Backtesting & Trading Engine already have built-in Filter, Entries and Stop Level. e.g. Unselect all their filter state if only want to use custom filter and make sure send Signal with Filter (with or without SL level)
█ DISCLAIMER:
This framework main objective is to create my personal indicator template so that i just have to modify the indicator module for preliminary testing in future.
The sample strategy included are for educational purpose only. Use at your own risk
credit: LucF/PineCoders for a lot of his scripts that i use as a guide to complete this
[blackcat] L2 Ehlers Early Onset TrendLevel: 2
Background
John F. Ehlers introuced Early Onset Trend Indicator in Aug, 2014.
Function
In “The Quotient Transform” in Aug, 2014, John Ehlers described an early trend detection method, the idea of the quotient transform, that was designed to reduce the lag often found in other trend indicators. I provided a script with pine v4 code here for the early-onset trend-detection indicator and also describes an approach for creating a strategy based on this indicator as an example.
The entry points displayed in blue on the price chart are defined by the top Onset Trend Detector upper quotient crossing above a threshold value e.g zero or 0.25/-0.25 here in this script. In the article, Ehlers suggested using a different K value for the exit, so the exit points are determined by the lower Onset Trend Detector quotient crossing below a threshold e.g. zero or -0.25/0.25 here in this script.
Key Signal
Quotient1 --> upper quotient in yellow which determines long entry
Quotient2 --> lower quotient in fuchsia which determines short entry
long ---> long entry signal
short ---> short entry signal
Pros and Cons
100% John F. Ehlers definition translation, even variable names are the same. This help readers who would like to use pine to read his book.
Remarks
The 82th script for Blackcat1402 John F. Ehlers Week publication.
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.
888 BOT #alerts█ 888 BOT #alerts (open source)
This is an Expert Advisor 'EA' or Automated trading script for ‘longs’ and ‘shorts’, which uses only a Take Profit or, in the worst case, a Stop Loss to close the trade.
It's a much improved version of the previous ‘Repanocha’. It doesn`t use 'Trailing Stop' or 'security ()' functions (although using a security function doesn`t mean that the script repaints) and all signals are confirmed, therefore the script doesn`t repaint in alert mode and is accurate in backtest mode.
Apart from the previous indicators, some more and other functions have been added for Stop-Loss, re-entry and leverage.
It uses 8 indicators, (many of you already know what they are, but in case there is someone new), these are the following:
1. Jurik Moving Average
It's a moving average created by Mark Jurik for professionals which eliminates the 'lag' or delay of the signal. It's better than other moving averages like EMA , DEMA , AMA or T3.
There are two ways to decrease noise using JMA . Increasing the 'LENGTH' parameter will cause JMA to move more slowly and therefore reduce noise at the expense of adding 'lag'
The 'JMA LENGTH', 'PHASE' and 'POWER' parameters offer a way to select the optimal balance between 'lag' and over boost.
Green: Bullish , Red: Bearish .
2. Range filter
Created by Donovan Wall, its function is to filter or eliminate noise and to better determine the price trend in the short term.
First, a uniform average price range 'SAMPLING PERIOD' is calculated for the filter base and multiplied by a specific quantity 'RANGE MULTIPLIER'.
The filter is then calculated by adjusting price movements that do not exceed the specified range.
Finally, the target ranges are plotted to show the prices that will trigger the filter movement.
Green: Bullish , Red: Bearish .
3. Average Directional Index ( ADX Classic) and ( ADX Masanakamura)
It's an indicator designed by Welles Wilder to measure the strength and direction of the market trend. The price movement is strong when the ADX has a positive slope and is above a certain minimum level 'ADX THRESHOLD' and for a given period 'ADX LENGTH'.
The green color of the bars indicates that the trend is bullish and that the ADX is above the level established by the threshold.
The red color of the bars indicates that the trend is down and that the ADX is above the threshold level.
The orange color of the bars indicates that the price is not strong and will surely lateralize.
You can choose between the classic option and the one created by a certain 'Masanakamura'. The main difference between the two is that in the first it uses RMA () and in the second SMA () in its calculation.
4. Parabolic SAR
This indicator, also created by Welles Wilder, places points that help define a trend. The Parabolic SAR can follow the price above or below, the peculiarity that it offers is that when the price touches the indicator, it jumps to the other side of the price (if the Parabolic SAR was below the price it jumps up and vice versa) to a distance predetermined by the indicator. At this time the indicator continues to follow the price, reducing the distance with each candle until it is finally touched again by the price and the process starts again. This procedure explains the name of the indicator: the Parabolic SAR follows the price generating a characteristic parabolic shape, when the price touches it, stops and turns ( SAR is the acronym for 'stop and reverse'), giving rise to a new cycle. When the points are below the price, the trend is up, while the points above the price indicate a downward trend.
5. RSI with Volume
This indicator was created by LazyBear from the popular RSI .
The RSI is an oscillator-type indicator used in technical analysis and also created by Welles Wilder that shows the strength of the price by comparing individual movements up or down in successive closing prices.
LazyBear added a volume parameter that makes it more accurate to the market movement.
A good way to use RSI is by considering the 50 'RSI CENTER LINE' centerline. When the oscillator is above, the trend is bullish and when it is below, the trend is bearish .
6. Moving Average Convergence Divergence ( MACD ) and ( MAC-Z )
It was created by Gerald Appel. Subsequently, the histogram was added to anticipate the crossing of MA. Broadly speaking, we can say that the MACD is an oscillator consisting of two moving averages that rotate around the zero line. The MACD line is the difference between a short moving average 'MACD FAST MA LENGTH' and a long moving average 'MACD SLOW MA LENGTH'. It's an indicator that allows us to have a reference on the trend of the asset on which it is operating, thus generating market entry and exit signals.
We can talk about a bull market when the MACD histogram is above the zero line, along with the signal line, while we are talking about a bear market when the MACD histogram is below the zero line.
There is the option of using the MAC-Z indicator created by LazyBear, which according to its author is more effective, by using the parameter VWAP ( volume weighted average price ) 'Z-VWAP LENGTH' together with a standard deviation 'STDEV LENGTH' in its calculation.
7. Volume Condition
Volume indicates the number of participants in this war between bulls and bears, the more volume the more likely the price will move in favor of the trend. A low trading volume indicates a lower number of participants and interest in the instrument in question. Low volumes may reveal weakness behind a price movement.
With this condition, those signals whose volume is less than the volume SMA for a period 'SMA VOLUME LENGTH' multiplied by a factor 'VOLUME FACTOR' are filtered. In addition, it determines the leverage used, the more volume , the more participants, the more probability that the price will move in our favor, that is, we can use more leverage. The leverage in this script is determined by how many times the volume is above the SMA line.
The maximum leverage is 8.
8. Bollinger Bands
This indicator was created by John Bollinger and consists of three bands that are drawn superimposed on the price evolution graph.
The central band is a moving average, normally a simple moving average calculated with 20 periods is used. ('BB LENGTH' Number of periods of the moving average)
The upper band is calculated by adding the value of the simple moving average X times the standard deviation of the moving average. ('BB MULTIPLIER' Number of times the standard deviation of the moving average)
The lower band is calculated by subtracting the simple moving average X times the standard deviation of the moving average.
the band between the upper and lower bands contains, statistically, almost 90% of the possible price variations, which means that any movement of the price outside the bands has special relevance.
In practical terms, Bollinger bands behave as if they were an elastic band so that, if the price touches them, it has a high probability of bouncing.
Sometimes, after the entry order is filled, the price is returned to the opposite side. If price touch the Bollinger band in the same previous conditions, another order is filled in the same direction of the position to improve the average entry price, (% MINIMUM BETTER PRICE ': Minimum price for the re-entry to be executed and that is better than the price of the previous position in a given %) in this way we give the trade a chance that the Take Profit is executed before. The downside is that the position is doubled in size. 'ACTIVATE DIVIDE TP': Divide the size of the TP in half. More probability of the trade closing but less profit.
█ STOP LOSS and RISK MANAGEMENT.
A good risk management is what can make your equity go up or be liquidated.
The % risk is the percentage of our capital that we are willing to lose by operation. This is recommended to be between 1-5%.
% Risk: (% Stop Loss x % Equity per trade x Leverage) / 100
First the strategy is calculated with Stop Loss, then the risk per operation is determined and from there, the amount per operation is calculated and not vice versa.
In this script you can use a normal Stop Loss or one according to the ATR. Also activate the option to trigger it earlier if the risk percentage is reached. '% RISK ALLOWED' wich is calculated according with: '%EQUITY ON EACH ENTRY'. Only works with Stop Loss on 'NORMAL' or 'BOTH' mode.
'STOP LOSS CONFIRMED': The Stop Loss is only activated if the closing of the previous bar is in the loss limit condition. It's useful to prevent the SL from triggering when they do a ‘pump’ to sweep Stops and then return the price to the previous state.
█ ALERTS
There is an alert for each leverage, therefore a maximum of 8 alerts can be set for 'long' and 8 for 'short', plus an alert to close the trade with Take Profit or Stop Loss in market mode. You can also place Take Profit limit and Stop Loss limit orders a few seconds after filling the position entry order.
- 'MAXIMUM LEVERAGE': It is the maximum allowed multiplier of the % quantity entered on each entry for 1X according to the volume condition.
- 'ADVANCE ALERTS': There is always a time delay from when the alert is triggered until it reaches the exchange and can be between 1-15 seconds. With this parameter, you can advance the alert by the necessary seconds to activate it earlier. In this way it can be synchronized with the exchange so that the execution time of the entry order to the position coincides with the opening of the bar.
The settings are for Bitcoin at Binance Futures (BTC: USDTPERP) in 15 minutes.
For other pairs and other timeframes, the settings have to be adjusted again. And within a month, the settings will be different because we all know the market and the trend are changing.
Daya LilinI calculate the momentum of each candle and separate it by color with a different tone.
The darker the color, the stronger the candle. Easy to know fake breakout, strong breakout, and momentum of trend continuation.
also, there is a pivot point to easily determine the nearest support and resistance .
lastly, there is some rsi and shadow ratio to determine possible overbought and oversold entry.
p/s: donate sikit coin or bank in haha
Fibonacci-Trading-Indikator_3Daily (weekly, monthly) profits with the Fibonacci trading indicator_3
Quotes move in Fibonacci ratios in liquid markets. With this indicator you receive information for daily trades or for position trades based on a week or on a monthly basis, in which area you should ideally enter the market and where the minimum achievable price target is. This price target is 61.8% of yesterday's trading range, or the trading range of the previous week, or the trading range of the previous month, depending on the time frame for which the indicator should calculate the minimum achievable high / low. This is also where you realize your profit.
For this calculation, the following entries must be made in the properties window of the indicator:
• Preselection uptrend / downtrend.
• Time frame (day, week, ...) of the price bar for the possible high / low to be determined.
• Trading range of the previous day, or the previous week, or the previous month.
• Current lowest low of the selected time frame when trading has started and prices are rising.
• Current highest high of the selected time frame when trading has started and prices are falling.
Important areas for trading are:
• The entry range 0% - 23.6% for long or short.
• The target price level 61.8%.
Choose a suitable time frame to detect the direction of movement while the quotes are still moving in the entry area. The camelback indicator can be of great help. Also test the resolution setting of the camelback indicator. With a resolution of 1 hour in the 6 or 12 minute chart, you get a perspective for the broader direction. Movement patterns of corrections or consolidations, if they last more than a day or a week, also give clues to the coming direction of movement for the trade. So look back to see what happened yesterday, a week ago, or a month ago. Pay attention to the market anatomy, find out how the market works, count the price bars in consolidations and trends.
After entering the values the indicator will show the Fibonacci expansion price levels for the possible high or low for the selected time frame. Buy / sell within the entry range between 0% and 23.6% as the market moves towards the last long / or short entry point. This is the course range up to the 23.6% course level. The 61.8% price level is the minimum expected price target. We assume that the current bar will reach at least 61.8% of the trading range of the previous day, week or month. Depending on the set time frame. You should therefore realize the profits you have made with 50% of the position when the prices have reached the 61.8% level. With a suitable trailing stop you can be stopped with the rest of the position, but do not risk more than 50% of the profits.
With the quarter or year preselection and the corresponding entries, the minimum expected quarterly high / quarterly low or annual high / annual low can be determined.
The Fibonacci price levels can be shown and hidden. In the chart click on the gear wheel for “Chart Settings”. In the “Scaling” menu, the price levels can be displayed with the preselection “Label for indicator names” and “Label for last indicator value”. Slide the chart to the right to find possible support and resistance at the price levels that could provide confirmation of the target.
In the event of input errors or missing entries for a time frame, the indicator is hidden.
Pay attention to your trade management to avoid losses.
The new Fibonacci Trading Indicator_3 has the following additions and changes:
Area code for the quarter time frame has been added.
The entry area received a 23.6% and a 50% subdivision. Two envelope lines above the 23.6% entry level in the case of an upward trend and below the 23.6% entry level in the case of a downtrend, with a width of 23.6% and 14.6% of the entry level, are intended to indicate that the closing price is higher the quotations have broken out of the entry-level area.
A volatility stop for upward and downward trends can be activated.
A factor is added to the fluctuation range of each price bar for the stop. Then a moving average is calculated with an adjustable period. The period setting should be set between 5 and 10. The result can be smoothed adjustable.
Presetting:
Periods = 10
Factor = 1.4
Smoothing = 7
With the assumption that the market entry in an upward trend occurs when the prices break out above a bar high, the result of the stop calculation is subtracted from the bar high. In the case of a downward trend, the result of the stop calculation is added to the price bar low.
When entering the market, set the factor to 2.4. If inside bars follow a trend movement, the stop should be brought closer. Try the factor setting 0.4 or less. The smallest adjustable factor is 0.1.
For the entry into an established trend, as described in an idea contribution by me, there are two switchable moving averages. The application for the (MA_H) takes place on high and for the (MA_L) adjustable on high, low, shot, h + 1/2 etc. Period and offset (shift) are adjustable. With this idea, the entry into the market occurs between a 618% correction (the Fibonacci entry point) and the DEP (average entry point). The DEP in this case is the MA_H with period = 4 and an offset = 1 in the case of a downward trend, or the MA_L with the same setting and application to lows in an upward trend.
Also test the MA_L in trends with the settings (period, offset) 3.3 or 5, 3 or 7.5 and applying it to closing prices for a close encompassing of the highs / lows.
Tägliche (wöchentliche, monatliche) Gewinne mit dem Fibonacci-Trading Indikator_3
Kursnotierungen bewegen sich in liquiden Märkten in Fibonacci-Verhältnisse. Mit diesem Indikator erhalten Sie für Tagesgeschäfte, oder für Positionstrades auf Basis einer Woche, oder auf Basis eines Monats Informationen, in welchem Bereich Sie idealerweise in den Markt einsteigen sollten und wo das mindeste erreichbare Kursziel liegt. Dieses Kursziel liegt bei 61,8% der gestrigen Handelspanne, oder der Handelspanne der Vorwoche, oder der Handelspanne des Vormonats, also abhängig davon für welchen Zeitrahmen der Indikator das mindeste erreichbare Hoch/Tief berechnen soll. Dort realisieren Sie auch Ihren Gewinn.
Für diese Berechnung sind folgende Eingaben im Eigenschaftenfenster des Indikators einzustellen:
• Vorwahl Aufwärtstrend/ Abwärtstrend.
• Zeitrahmen (Tag, Woche, …) des Kursbalkens für das zu ermittelnde mögliche Hoch/ Tief.
• Handelspanne des vorherigen Tages, oder der vorherigen Woche, oder des vorherigen Monats.
• Aktuell tiefstes Tief des vorgewählten Zeitrahmens, wenn der Handel begonnen hat und die Notierungen steigen.
• Aktuell höchstes Hoch des vorgewählten Zeitrahmens, wenn der Handel begonnen hat und die Notierungen fallen.
Wichtige Bereiche für das Trading sind:
• Der Einstiegsbereich 0% - 23,6% für long oder short.
• Der Kursziellevel 61,8%.
Wählen Sie für die Erkennung der Bewegungsrichtung einen geeigneten Zeitrahmen, während sich die Notierungen noch im Einstiegsbereich bewegen. Der Camelback-Indikator kann eine gute Hilfe sein. Testen Sie auch die Auflösung-Einstellung des Camelback-Indikators. Mit der Auflösung 1 Stunde Im 6- oder 12 Minuten-Chart erhalten Sie einen Blickwinkel für die große Richtung. Auch Bewegungsmuster von Korrekturen oder Konsolidierungen, wenn sie mehr als einen Tag oder eine Woche andauern geben Hinweise auf die kommende Bewegungsrichtung für den Trade. Schauen Sie also zurück um zu prüfen, was sich gestern, vor einer Woche oder vor einem Monat abgespielt hat. Achten sie auf die Marktanatomie, finden Sie heraus wie der Markt funktioniert, zählen Sie Kursstäbe in Konsolidierungen und Trends.
Nach Eingabe der Werte zeigt der Indikator die Fibonacci-Ausweitungskurslevels für das mögliche Hoch oder Tief für den ausgewählten Zeitrahmen. Kaufen/ verkaufen Sie innerhalb des Einstiegsbereichs zwischen 0% und 23,6%, während sich der Markt in Richtung des letzten long-/ oder short-Einstiegspunktes bewegt. Das ist der Kursbereich bis zum 23,6%- Kurslevel. Der 61,8%-Kurslevel ist das mindeste erwartbare Kursziel. Wir gehen davon aus, dass der aktuelle Kursbalken mindestens 61,8% der Handelsspanne des vorherigen Tages, der vorherigen Woche oder des vorherigen Monats erreichen wird. Abhängig vom eingestellten Zeitrahmen. Realisieren Sie deshalb die angelaufenen Gewinne mit 50% der Position, wenn die Notierungen den 61,8% - Level erreicht haben. Mit einem geeigneten Trailing-Stopp lassen Sie sich mit der restlichen Position ausstoppen, riskieren Sie dafür aber nicht mehr als 50 % der angelaufenen Gewinne.
Mit der Vorwahl Quartal oder Jahr und den entsprechenden Eingaben kann auch das mindeste erwartbare Quartalshoch/ Quartalstief bzw. Jahreshoch/ Jahrestief ermittelt werden.
Die Fibonacci-Kurslevels lassen sich ein- und ausblenden. Klicken Sie im Chart auf das Zahnrad für „Chart Einstellungen“. Im Menü „Skalierungen“ kann mit der Vorwahl „Label für Indikatornahmen“ und „Label für letzten Indikatorwert“ die Kurslevels angezeigt werden. Schieben Sie den Chart nach rechts um mögliche Unterstützungen und Widerstände an den Kurslevels zu finden, die Bestätigung für das Ziel geben könnten.
Bei Eingabefehlern oder fehlenden Eingaben zu einem Zeitrahmen wird der Indikator ausgeblendet.
Achten Sie zur Vermeidung von Verlusten auf ihr Handelsmanagement.
Der neue Fibonacci-Trading-Indikator_3 besitz folgende Zusätze und Änderungen:
Vorwahl für den Zeitrahmen Quartal wurde hinzugefügt.
Der Einstiegsbereich erhielt eine 23,6% und eine 50% Unterteilung. Zwei Umschlagslinien über dem 23,6%-Einstiegslevel bei einem Aufwärtstrend, bzw. unter dem 23,6%-Einstiegslevel bei einem Abwärtstrend, mit der Breite 23,6% und 14,6% vom Einstiegsbereich, sollen bei höherem Schlusskurs signalisieren, dass die Notierungen aus dem Einstiegsbereich ausgebrochen sind.
Ein Volatilitätsstopp jeweils für Aufwärts- und Abwärtstrend kann zugeschaltet werden.
Für den Stopp wird die Schwankungsbreite jedes Kursbalkens wird mit einem Faktor beaufschlagt. Danach erfolgt die Berechnung eines gleitenden Durchschnitts mit einstellbarer Periode. Die Periodeneinstellung sollte zwischen 5 und 10 eingestellt werden. Das Ergebnis kann einstellbar geglättet werden.
Voreinstellung:
Perioden = 10
Faktor = 1,4
Glättung = 7
Mit der Annahme, dass der Markteinstieg in einem Aufwärtstrend bei Ausbruch der Notierungen über ein Kursbalkenhoch erfolgt, wird das Ergebnis der Stoppberechnung vom Kursbalkenhoch subtrahiert. Bei einem Abwärtstrend wird das Ergebnis der Stoppberechnung zum Kursbalkentief addiert.
Stellen Sie bei Markteintritt den Faktor auf 2,4. Folgen nach einer Trendbewegung Innenstäbe sollte der Stopp näher herangeführt werden. Probieren Sie die Faktoreinstellung 0,4 oder kleiner. Der kleinste einstellbare Faktor ist 0,1.
Für den Einstieg in einen etablierten Trend, wie in einem Ideenbeitrag von mir beschrieben, gibt es zwei zuschaltbare gleitende Durchschnitte. Die Anwendung für den (MA_H) erfolgt auf Hochs und für den (MA_L) einstellbar auf Hoch, Tief, Schuss, h+l/2 usw.. Periode und Offset (Verschiebung) sind einstellbar. Bei dieser Idee erfolgt der Einstieg in den Markt zwischen einer 618%-Korrektur (dem Fibonacci-Einstiegspunkt) und dem DEP (Durchschnittlicher Einstiegspunkt). Der DEP ist in diesem Fall der MA_H mit Periode = 4 und einem Offset = 1, bei einem Abwärtstrend, oder der MA_L mit identischer Einstellung und Anwendung auf Tiefs in einem Aufwärtstrend.
Testen Sie den MA_L auch in Trends mit den Einstellungen (Periode, Offset) 3,3 oder 5, 3 oder 7,5 und Anwendung auf Schlusskurse für eine enge Umfassung der Hochs/ Tiefs.
[blackcat] L2 VWAP CCI Trading SystemLevel: 2
Background
Volume-Weighted Average Price (VWAP) is a trading benchmark used by traders that indicates the average price that a security has traded for throughout the day based on volume and price. This is important as it gives traders insight into the trend and value of a security.
The Commodity Channel Index (CCI) indicator was created to identify bullish and bearish market cycles, as well as to define market turning points and the strongest and weakest market periods. CCI was developed for commodities and quickly found application in other markets, including forex.
Function
blackcat L2 VWAP CCI Trading System is an innovative indicator that combines vwap and cci indicator together. Not only long and short entries can be disclosed, but also the overbought and oversold zones are clearly observed.
Key Signal
cci ---> vwap cci indicator output
long --> long entry condition
short --> short entry condition
backtest --> indicator backtest scheme "NLX-L3 Backtest" required input source for strategy backtest
longentry --> visual long entry
shortentry --> visual short entry
Pros and Cons
Pros:
1. exact long and short entries are produced by overbought and oversold conditions
2. support "NLX-L3 Backtest" framework
Cons:
1. noise may be produced under extreme market condition
2. due to this is un-optimized version, time frame and trading pairs need to be selected
Remarks
Courtesy of @nilux "NLX-L3 Backtest" easy backtest framework for dummies.
Step by step backtest guide with "NLX-L3 Backtest" framework:
STEP1: Add this indicator into your chart
STEP2: Add "NLX-L3 Backtest" into your chart
STEP3: Click "Settings" gear icon of "NLX-L3 Backtest" to select "Select L2 Indicator" in the 1st line as "blackcat L2 VWAP CCI Trading System: backtest"
STEP4: Configure your backtest other settings under "NLX-L3 Backtest" framework
STEP5: Click "OK" and view the results in "Strategy Tester" tab
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] L3 Composite MACD-KDJ-RSI-WR-DMI Trading SystemLevel: 3
Background
The moving average convergence / divergence (MACD) indicator is a pulse oscillator that is mainly used to trade trends. Although it is an oscillator, it is not typically used to identify overbought or oversold conditions. It appears in the diagram as two lines that oscillate without limits. The crossing of the two lines provides trading signals similar to a system with two moving averages.
The KDJ indicator is a technical indicator used to analyze and predict changes in stock performance and the price patterns of a traded asset. The KDJ indicator is also known as the random index. It is a very useful technical indicator that is most commonly used in short term stock market trend analysis. KDJ is a derived form of the Stochastic Oscillator Indicator with the only difference that an additional line is called the J-line. Values of% K and% D indicate whether the security is overbought (over 80) or oversold (under 20). The moments when% K exceeds% D are the moments to sell or buy. The J line represents the deviation of the% D value from% K. The value of J can exceed for the% K and% D lines on the graph.
The Relative Strength Index (RSI) developed by J. Welles Wilder is a pulse oscillator that measures the speed and change of price movements. The RSI hovers between zero and 100. Traditionally, the RSI is considered overbought when it is above 70 and oversold when below 30. Signals can be generated by looking for divergences and error fluctuations.
Williams% R, also known as the Williams Percent Range, is a type of momentum indicator that moves between 0 and -100 and measures overbought and oversold levels. The Williams% R can be used to find entry and exit points in the market. The indicator is very similar to the stochastic oscillator and is used in the same way.
The Directional Movement Index (DMI) is an indicator developed by J. Welles Wilder in 1978 to determine in which direction asset prices are moving. The indicator does this by comparing previous highs and lows and drawing two lines: a positive movement line (+DI) and a negative movement line (-DI). The optional third line is called "Directional Movement (DX)" and it shows the difference between the two lines. When +DI is higher than -DI, the upward pressure on the price is greater than the downward pressure. If -DI is higher than +DI, the price will have greater downward pressure. This indicator can help traders assess the trend direction. Crosses between lines are sometimes used as buying and selling signals.
Function
L3 Composite MACD-KDJ-RSI-WR-DMI Trading System is a simple trading system composed of MACD-KDJ-RSI-WR-DMI together. It can produce 6 types of long entries and 3 types of short entries. It utilizes divergence effect from MACD, KDJ and RSI to detect trend reversal. 6 types of Bottom and top divergence labels are displayed in the chart together with "BUY" and "SELL".
NOTE:In order to make the actual label of the chart more clear, this script does not add stop loss and take profit functions and according labels.
Signal
b1~b3 ---> MACD, KDJ, RSI bottom divergence signal respectively, which hint bull trend may start soon.
d1~d3 ---> MACD, KDJ, RSI top divergence signal respectively, which hint bear trend may start soon.
longentry1~6 ---> with composite indicators together, 6 types of long entry signal are produced.
shortentry1~3 ---> with composite indicators together, 3 types of short entry signal are produced.
Pros and Cons
Pros:
1. excellent open-close, long-short entry signal generation with multiple powerful indicators
2. indicator resonance can help to promote the confidence level of signal and divergence alerts
Cons:
1. integration of multiple indicators is not deeply optimized. fake signal may be produced without filtering schemes
2. no range filter is added
Remarks
To celebrate number of followers exceeds 100. This is my first L3 script published.
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.
ASFX EMAs, ADR, Asian Range, and Pivot PointsThis indicator combines the essential indicators that ASFX traders use, including the EMAs (8, 21, 50, 200, 800), the Average Daily Range, the Asian Range, and the Pivot Points.
The EMAs should be used as dynamic supports and resistances. We could use it to find entries like when there is a bullish engulfing coming off the 21 EMA.
The Average Daily Range tells us the how many pips the pair moves on average. We could use it to measure risk/reward ratios or see it as another resistance.
The Asian Range is displayed as two lines indicating the Asian Session's High and Low. This could help us to determine whether the pair is ready for a breakout. We might avoid setups that are still in the Asian Range as the pair might still be indecisive.
The Pivot Points are also another form of support and resistance which are calculated using the previous day's data. The Pivot Points displayed in this indicator only include the Pivot, R1, R2, R3, S1, S2, S3. (R4, R5, S4, S5 are not included)
All of these indicators should give us a read of the trend. If the EMAs are beautifully fanned out with the 8 EMA on the top and the 800 EMA on the bottom and the price is above the Asian Range and the Pivot, we might keep an eye for a long entry.
[blackcat] L2 Composite SMA and BIAS ScalperLevel: 2
Background
A simple moving average (SMA) calculates the average of a selected price range, usually closing prices, based on the number of periods in that range. A simple moving average is a technical indicator that can be used to determine whether an asset price is holding a bull, a bear, or is reversing.
The bias shows the moving average rate of deviation. Also known as the rate of deviation, or y-value for short, is an indicator that reflects the degree of deviation between the price and the SMA over a given period by calculating the percentage difference between the market index or the closing price and a moving average to allow for receive that the price reverses or recovers due to a deviation from the moving average trend with strong fluctuations and the price moves within the normal fluctuation range Build credibility to continue the original potential.
Function
L2 Composite SMA and BIAS Scalper is mainly based on a cluster of simple moving averages and their bias values to produce long and short entry points. Three different strategy to generate long and short entries are demostrated together. That is why this is called "Composite".
Key Signal
botsig --> indicating bottom zone
topsig --> indicating top zone
buysigI --> long entry type I
buysigII --> long entry type II
buysigIII --> long entry type III
selsigI --> short entry type I
selsigII --> short entry type II
selsigIII --> short entry type III
Pros and Cons
Pros:
1. common sma(), rsi() and bias() are utizlied to generate exact long and short entries
2. alerts for bottom and top zones
Cons:
1. SMA parameters may need optimization for specific trading pairs
2. No stop loss or take profit scheme is introduced.
Remarks
This is promising but need efforts to refine it.
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.
L1 Bottomline Reversal IndicatorLevel: 1
Background
Identify the trend - By filtering the trend, traders can select entry points using overbought and overbought signals In an uptrend, for example, traders filter for oversold signals as “long entry” points that correlate with the direction of the trend.
Function
L1 Bottomline Reversal Indicator utilizes three levels of support moving averages as detector of oversold behavior. Once the close breakout the 3rd level, it indicates bottom line appear and long entry there is commonly safe.
Key Signal
sma13 --> typical price trend
lifeline --> bull life line. if close is above lifeline, it indicates bullish state.
costline --> the 1st level of support which may have rebounce once the price drop on it for the first time.
lowbuy --> the 2nd level of support, which indicates oversold starts.
bottomline --> the 3rd level of support, which indicate extreme oversold, long entry there is safe in common sense.
Pros and Cons
Pros:
1. mid-long term trading guide
2. helpful for large time frame e.g. day or week
Cons:
1. Not so stable for small time frame
2. No exit scheme is disclosed.
Remarks
NA
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.
L1 Buy after Dump DetectorLevel: 1
Background
The so-called "Buy after Dump" refers to the phenomenon in which the stock price sometimes rebounds temporarily due to the rapid decline in the falling market. The rebound was smaller than the decline, and the downtrend resumed after the rebound.
Function
L1 Buy after Dump Detector is one of my research to see win rate of a "Buy after Dump" chance. The principle is that I use ema() and OHLC to model a whale dump behavior. After the dump wave, I use KDJ to indicate several long entry points.
Key Signal
dump --> whale dump signal
fundready --> it indicate the end of a dump and make fund ready to long entry
longentry --> long entry signal generated from KDJ resonating with dump and fundready signal
Pros and Cons
Pros:
1. it can detect obvious dump and depict the decay of dump wave
2. use resonance to generate long entry
Cons:
1. it may be risky to "buy after dump" which may require take profit method here because the opportunity may be very short
2. KDJ is too sensitive in large time frame and have many long entry signals (the closer to dump wave, the better based on experience)
Remarks
Very interesing stuff, but rare of people trade with such crazy method. I suggest this is ONLY for backtest study of market behavior.
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.
Position Size CalculatorThis is a script to make calculating position size easier. It calculates position size as a percentage of account balance and Risk/Reward based on input values of entry, exit, stoploss and shows the R/R box similar to tradingview's R/R tool. There is an option to toggle showing label and choosing of label text color.
Have to enter the following inputs in order for it to work properly
1. Account Balance : Account balance in either whatever is base currency of account
2. Risk % : Percentage of account balance to lose if stop is hit.
3. Entry
4. Stoploss
5. Target Price
Notes:
- Target Price is required for calculating R/R but is not necessary to calculate position size.
- Formula to calculate position size is : Balance * Risk % / SL %
- Formula to calculate R/R is : TP % / SL %
- SL % = ( Entry - SL ) / Entry * 100
- TP % = (TP - Entry ) / Entry * 100
Thanks to u/Chonky_ for help with feedback.