IMPULSE_2PSAR_ST_CMGEmasCurrently under Development.
Designed to easily get the trend using both SuperTrend and CM Guppy Emas, and using 2 PSARs for entry and trend change alert.
intended to trade scalping and options
Cari dalam skrip untuk "supertrend"
Super Trend Daily 2.0 BFThis is my Super Trend Daily strategy but with one important difference. You can now adjust settings for long or short signals individually and separately. For example, the condition for a long signal may require a different parameter setting than the condition for a short signal. Each parameter in the signal generation can be tuned. You can also decide what kind of stop loss you want for each side - you could have a fixed stop loss for longs and an ATR derived stop loss for shorts, or whatever.
We also have the option to choose if we want longs, shorts or both.
INISTRUCTIONS
Look at the background colors:
Green line = long signal
Red line = short signal
Aqua = No long trades
White = No short trades
Yellow dotted line = stop loss for long
Orange dotted line = stop loss for short
The aqua and white backgrounds mean the conditions are choppy/sideways according to our settings we applied to the rate of change function for a long/short signal respectively. It is possible to get a long signal in a white background, but not a short signal. Similarly, it is possible to get a short signal in an aqua background, but not a long signal.
This is a work in progress so any suggestions for improvements are welcome.
Super Trend Daily BF 🚀Super Trend is based on volatility and attempts to show the overall greater trend of a market. Thanks to everget for the idea of improving the Super Trend code. Thanks to kiasaki for ROC code.
The idea here is to enter a trade upon trend reversal (unless we have a white background - this indicates choppy/sideways market).
INSTRUCTIONS
Follow the background color for signals of a trend reversal.
Bright green = long
Bright red = short
White = no trade
We use a fixed stop loss here of 6% but I have included the option to apply an ATR based stop loss in Settings. No take profit. No re-entering until we get an opposing signal.
I use a Rate of Change function to detect when we should stay out due to choppy sideways price action.
This strategy was optimised for XBT/USD on Bitmex 1 day chart, ideal settings for other pairs will differ.
SuperC BF 🚀Based on some code from noro and kiasaki - thank you.
A Super Trend is a trend over a long period of time. There are lots of existing scripts that generate signals based on the overall direction of an instrument. What if we combined this idea with a measure of Money Flow and added a filter to try to avoid choppy sideways action?
I started with a super trend foundation and added an MFI calculation to account for volume flowing into and out of the asset. Then added a Rate of Change function to stay out of trades when there is not much up/down movement.
INSTRUCTIONS
Bright green background = go long
Bright red background = go short
COLOR OVERVIEW
A white background means we don't trade
A green background means we have a long condition
A red background means we have a short condition
The cloud is green when we have a long condition, red when we have a short condition.
The cloud is yellow if we should be in a long already but the current candle is not satisfying all long conditions.
The cloud is orange if we should be in a short already but the current candle is not satisfying all short conditions.
The line at the bottom is MFI - this is green when the current candle is greater than the last, red when it is less than the last.
SIGNAL GENERATION
A long condition is when MFI > MFI AND we are not in a choppy market AND when price is above the super trend.
A short condition is when MFI < MFI AND we are not in a choppy market AND when price is below the super trend.
We use a fixed Stop Loss of 2% here on the daily timeframe for XBT/USD.
If we get stopped out from a long and we still have the conditions for a long, we re-enter. Same for short.
Bollinger Band stops - JDI didn't find a BB stops indicator on TV, so I wrote one myself.
You can select various ma types as a base anchor for the calculations.
This indicator can have various use cases similar to Supertrend or Parabolic SAR: as a trend indicator, as a training stop loss,...
JD.
Three Line Break Backtest This is a modified version of the three line break price representation.
It is composed with 2 lines made of Close price values forming a “cloud”.
If the trend is bullish and the price breach the lower level of the green
cloud, a new bearish trend is taking place.
If the current trend is bearish and the price breakout the upper band of
the cloud, a new bullish trend is forming.
This is a “price action” indicator, signals may be filtered by long term trend
analysis with other indicators such as Supertrend for instance.
WARNING:
- For purpose educate only
- This script to change bars colors.
Three Line Break This is a modified version of the three line break price representation.
It is composed with 2 lines made of Close price values forming a “cloud”.
If the trend is bullish and the price breach the lower level of the green
cloud, a new bearish trend is taking place.
If the current trend is bearish and the price breakout the upper band of
the cloud, a new bullish trend is forming.
This is a “price action” indicator, signals may be filtered by long term trend
analysis with other indicators such as Supertrend for instance.
X system v1Similar to X system but here I use the super trend with MTF function
the sell option depend on the % channel sell seen in red as bearish rule (so both need to agree)
the buy option depend only on the MTF which is set on 2 hour on 1 hour candles. you can try to modify if you want shorter times to see if it better
if you want it sell more just remove the and bearish rule from t green for buy in the code
try to make it better and I hope it can help you :)
X systemSo how this system work ?
1. the bullish and bearish zones in lime and red are based on percent channel (you can modify it according to your needs) . this now is on 1 hour candles so I set it to 1% above and 3% bellow for BTC on bitmex.
2. we ha RSI super trend system which generate our buy and sell signals .
Since the Super trend is an RSI like it act like one as we can see when it go from high to low much more easy compare to regular super trend
One can optimize it to be full auto mode but it need more work to be much better and safe
This indicator aim is to help you in your decisions for buy and sell and I would not advise to use it as a bot but as a helper when you decide to buy and sell
STOP-LOSS-RSI with Edge-Preserving FilterThe is a modified RSI line, with a true overlay. It can be used for entries and exits or stop-loss.
The idea came from Alexgrover.
The first part of the code, RSI, was taken from J.Dow's code of Supertrend and RSI.
While the second part of the code was taken from Alexgrover's code "Edge-Preserving Filter".
The silver line was the original RSI line while the red line is the modified RSI line.
Hope it helps, I know I need it.
MTA-Traling StopIntroduction
Based on my previous indicator , this indicator plot a trailing stop using classic conditions.
Using The Indicator
Like any trailing stop when price is higher than the trailing stop this imply a buy signals, when price is lower than the trailing stop this imply a sell signal. It is possible to use decimals instead of integers for length as shown here :
length = 14.7
The indicator tend to react faster to price movements when a trend has been really long, this methodology is similar to the one used by the parabolic sar.
Downsides
Lack of robustness with the length parameter, the behaviour of the trailing stop can be hard to predict. There is a real need for control.
Conclusion
The indicator can be adaptive, even if it already is in a certain way, by changing the alpha variable at the start considering that 0 < alpha < 1. Its not recommended to use it right now except for testing/coding purpose.
It is clear that i'm not enthusiast when it come to this script, there is a real lack of accuracy, i still hope it can be of use.
Efficient Auto LineMore Efficiency
Based on the Auto-Line code, the Efficient Auto Line aim to provide a more controlled adaptivity of the indicator. The first indicator of this sort worked this way : when the absolute difference between the price and the indicator is higher than the previous indicator +/- A pips of amplitude, the indicator will display the closing price, else its anterior value. The second indicator (Auto-Line) was adaptive and used the standard deviation instead of a constant A . This indicator will run both methodology providing both a trend strength indicator (Efficiency Ratio) parameter and two constant parameter.
Parameters
The length parameter will control the period of the efficiency ratio, a high period return lower values of the efficiency ratio. Since its an indicator in a range of (0,1) we use it to make our indicator more adaptive in trending market, this is when we need our two constant parameters, the fast/slow parameter can be any amount of pips where fast < slow , when the price is trending (efficiency ratio close to 1) the indicator will use the fast parameter, if its ranging (efficiency ratio away from 1) the indicator will use the slow parameter, then it will work like the first methodology previously explained. So the fast parameter should be equal to a small movement of pips (0.0001 or 1 pip) and the slow parameter should be equal to a number of pips you wont expect to see in a ranging market. At this point it is good to test for both parameter and see which values work better (a more automatic process is in development) .
Hope you like it !
ST comboThis model try to combine super trend with Psars and pivots high and lows
the buy is buy the super trend , the sell is either pivots high points, Psar or supertrend
there is another option for buy and sell by Psar and pivots (buy again or sell again)
both have stop loss and take profit
The Psar is calculated different from regular Psar but it will give the signals the same
[TH] Adaptive Trend : StrategyAdaptive Trend : Strategy
*** It should be used with 'heikin ashi' chart ***
Super Trend
Basically, it is super trend strategy ( Rajandran R Supertrend )
- My idea is,
1. (scale) Factor of super trend is related with sensitivity of Up/Down trend change
2. Constant Factor cause failure of super trend strategy when market prices variance is low ( ie. high Factor ==> miss short trend )
3. By using variance measure ( like BollingerBand ) as a varying Factor, maybe we can catch short trend and long trend together
Loss Cut
The silver thick line is loss cut line & silver background means exit position status
I found that silver background is appear usually when price moves horizontally
1. It is set to open price of actual position entry ( heikin ashi chart's open price = loss cut line = (open + close)/2 )
2. If position is long
==> loss cut is executed when low price is lower than loss cut line
==> re-entry when low price is higher than loss cut line
3. If Position is short
==> loss cut is executed when high price is higher than loss cut line
==> re-entry when high price is lower than loss cut lin
Ichimoku A/D Breakoutthis is basically a clone of the super a/d indicator but we're using a standard ichimoku as the source for the trend instead of the supertrend indicator
makemoney-hybridSo this model is little different from moneymaker model in the following :
The buy system based on super trend , the sell system =S is based on the volume model of money maker
in the example we set 7% take profit for both long or short . you can set it even higher since btc very volatile now
in cases where it did not reach the target its made min of 3% each direction
So the buy in this system will be in true uptrend . since now the btc is falling more then going up we can make more money on shorts and wait for the longs when they come :)
the bullish and bear zone based on super system
you need to set correctly your take profit in order to make it to work . the more volatile will be the coin the better will be the results (this is the theory )
Super-Trend-fibIn this model we have fib Donchian channel with super trend alerts (B=buy) S =sell
and trailing volume system up trend alert and down trend alert
so have fun
Super-Trend-reversefisher fiterall the code is made here
I just change liitle the buy and sell point and add reverse fisher for reducing bad signals. the script can be made better if I add more stuff but for the time being seems ok
have fun
VMA's (T=1h, 2h, 4h, 8h)Plots four VMA's (Variable/Volatility Moving Average) in multiple static resolutions (1h, 2h, 4h, 8h), ideal for support/resistance/stops on predictably trending symbols like BTCUSD.
Example:
All indicators in one!All indicators in one!
Hull MA (2 colors) + Bollinger Bands + 6 EMA + 50 SMA + 200 SMA + Parabolic SAR + SUPER TREND (2 colors) + Doji signals (yellow)