Ichimoku Long and Short StrategyThis is a script which tell u when all the parameters in the ichimoku are positive or negative this to open a long or short.
Conditions to show a long:
-Ichimoku cloud in green
-Price Close above Ichimoku cloud
-Lagging span above cloud
-Conversion line above base line
Conditions to show a short:
-Ichimoku cloud in red
-Price close below Ichimoku cloud
-Lagging span below cloud
-Conversion line below base line
Dont take this as principal signal to take longs and shorts. Create your own strategy and dont trust 100% in te indicator.
For highers TF use highers TP and SL and for lowest TF use lowest TP and SL.
This is te settings i use :
15M TF
Conversion line: 9
Base line: 26
Lagging span: 52
displacement: 26
TP: 5%
SL: 3%
1H TF
Conversion line: 9
Base line: 26
Lagging span: 52
displacement: 26
TP: 8%
SL: 4%
If u find better settings pls share ir with us.
TF = Time Frame
TP = Take Profit
SL = Stop Loss
---MERZI---
การวิเคราะห์แนวโน้ม
MACD ReLoaded STRATEGYSTRATEGY version of MACD ReLOADED Indicator:
A different approach to Gerald Appel's classical Moving Average Convergence Divergence.
Appel originaly set MACD with exponential moving averages.
In this version users can apply 11 different types of moving averages which they can benefit from their smoothness and vice versa sharpnesses...
Built in Moving Average type defaultly set as VAR but users can choose from 11 different Moving Average types like:
SMA : Simple Moving Average
EMA : Exponential Moving Average
WMA : Weighted Moving Average
DEMA : Double Exponential Moving Average
TMA : Triangular Moving Average
VAR : Variable Index Dynamic Moving Average a.k.a. VIDYA
WWMA : Welles Wilder's Moving Average
ZLEMA : Zero Lag Exponential Moving Average
TSF : True Strength Force
HULL : Hull Moving Average
TILL : Tillson T3 Moving Average
In shorter time frames backtest results shows us TILL, WWMA, VIDYA (VAR) could be used to overcome whipsaws because they have less numbers of signals.
In longer time frames like daily charts WMA, Volume Weighted MACD V2, and MACDAS and SMA are more accurate according to backtest results.
My interpretation of Buff Dormeier's Volume Weighted MACD V2:
Thomas Aspray's MACD: (MACDAS)
SuperTrend - Custom Screener and Dynamic AlertsTrading View today published a desktop Bad Internet connection indicator ?! which set me thinking…
Despite recently introduced Dynamic Alerts many scripts do not leverage the information available for active traders and traders on the GO!
So decided to share this script totally ALERT focused on one of the most popular DAY trading indicators.
Of course no more BAD internet problem as long your TV APP is configured , you will have enough data for a mental picture of the chart..
The Alerts give you the BAR Close , %percent gain or loss over previous day CLOSE ++ Previous Day High and Low to effectively plan your trade without a chart!(just in case)
2 additions in the way Alerts are delivered over the last script :
1. You get SUMMARY alerts or concatenated alerts by default , however if you uncomment or activate code lines 48 and 55 you will get individual Stock alerts Too!
2. Summary Alerts will come only if there is some Buy or Sell signal NO more empty Alerts!
Few useful EXTRAS in the code :
1. Flexible code can convert any indicator to screener or Alert function.
2. You will NOT get Mutable Variable error while converting any indicator to screener as long as the function is in "GLOBAL" scope..
3. Many Custom Screeners are available but few give OHLC data in output so easily…and very difficult for traders to MODIFY hundreds of lines of code..
4. For UP or DOWN on SCREEN Stock monitoring copy /paste functions in line 41 and 42 in lieu of CROSS functions in 44 and 51 respectively..
5. You can also uncomment/activate lines 66 and 67 for labels in monitoring.
6. The default mode of the scripts is set to Alerts!
Max Stocks only 20!
Finally idea is to help traders to use the great features that TV works so hard to create and constantly improvise.
Enjoy Profitable Trading on the Fly !!
Ichimoku Cloud Strategy Long Only [Bitduke]Slightly modificated and optimized for Pine Script 4.0, Ichimoku Cloud Strategy which, suddenly, good suitable for the several crypto assets.
Details:
Enter position when conversion line crosses base line up, and close it when the opposite happens.
Additional condition for open / close the trade is lagging span, it should be higher than cloud to open position and below - to close it.
Backtesting:
Backtested on SOLUSDT ( FTX, Binance )
+150% for 2021 year, 8% dd
+191% for all time, 32% dd
Disadvantages:
- Small number of trades
- Need to vary parameters for different coins (not very robust)
Should be tested carefully for other coins / stock market. Different parameters could be needed or even algo modifications.
Strategy doesn't repaint.
FXFUNDINGMATE TREND INDICATORA simple trend continuation strategy based on Ichimoku, moving average, Stochastic and MACD
Combo Backtest 123 Reversal & RSI HistoAlert This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
This simple indicator modified RSI
WARNING:
- For purpose educate only
- This script to change bars colors.
Swing High Low Price Channel V.1You should buy/sell small order at small plot zone or after small plot. And, Buy/sell big order at big plot zone or after big plot.
Recommended, You should use this with Fibonacci Retracement, Price Action or Graph Pattern.
Newton theory (Bollinger Band Breakout)Initial capital 1000 USD
Order size 10%
Commission 0.3% with slippage
Timeframe 4h
This is Simple Bollinger Band Trend find out strategy.
I'm using the usual trailing offset as an exit for this strategy.
using 1x leverage to go long short within 3years backtest result more then 200% for all usd pair.
in next version i will try to find out more optimize sma,std,sl,tp parameter by using freqtrade hyperparameter optimization.
Happy Trading :)
Stochastic Optimized Trend Tracker *Strategy*Stochastic OTT is Anıl Özekşi's latest derived version of Optimized Trend Tracker on Stochastic Oscillator.
He tried to solve the fake signals of Stochastic Oscillator by adopting OTT on the indicator.
He advised users to set the stochastic smoothing parameters to 500 and 200 on his latest video about SOTT.
He personally uses 1 min charts on stock market so the parameters of the indicator might have to be optimized for other time frames nad markets.
He exaggerated the Stochastic to 1000's to have better signals of percent values of OTT .
Also hes used VIDYA in both calculations of OTT and Stochastic smoothing.
Said, Kıvanç Özbilgiç.
I just made a Strategy version of the script so that we lads can backtest it. The codes for that are yet again from Kıvanç Özbilgiç :) I just copy-pasted a few and did some adjustments. Hope you enjoy!
#betonyetmez
Rainbow Strategy BacktestingRainbow Strategy Backtesting base on "Rainbow Moving Average" Strategy as below:
1.Rainbow Moving Average setup
- Source: source of 1st MA
- Type: SMA/EMA
- Period: period of 1st MA
- Displacement: period of 2nd MA to 7th MA with source is previous MA
2.Trend Define
- Up Trend: Main MA moving at the top of Rainbow
- Down Trend: Main MA moving at the bottom of Rainbow
- Sideway: Main MA moving between the top and the bottom of Rainbow
3.Signal
- Buy Signal: When Rainbow change to Up Trend.
- Sell Signal: When Rainbow change to Down Trend.
- Exit: When Rainbow change to Sideway.
4.RSI Filter
- "Enable": Only signals have 1st RSI moving between Overbought and Oversold and 2nd RSI moving outside Middle Channel are accepted.
- The filter may help trader avoid bull trap, bear trap and choppy market.
5.Backtesting Infomation
- Ticker: BTCUSDT
- Timeframe: H1
- Rainbow parameter:
+ Source: hlc3
+ Type: SMA
+ Period: 12
+ Displacement: 3
- RSI Filter parameter:
+ Enable
+ 1st RSI filter: period 12, overbought 65, oversold 35
+ 2nd RSI filter: period 9, upper middle 56, lower middle 44
Combo Backtest 123 Reversal & RSI based on ROC This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
This is the new-age indicator which is version of RSI calculated upon
the Rate-of-change indicator.
The name "Relative Strength Index" is slightly misleading as the RSI
does not compare the relative strength of two securities, but rather
the internal strength of a single security. A more appropriate name
might be "Internal Strength Index." Relative strength charts that compare
two market indices, which are often referred to as Comparative Relative Strength.
And in its turn, the Rate-of-Change ("ROC") indicator displays the difference
between the current price and the price x-time periods ago. The difference can
be displayed in either points or as a percentage. The Momentum indicator displays
the same information, but expresses it as a ratio.
WARNING:
- For purpose educate only
- This script to change bars colors.
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.
Take America Back Version 1.0So basically, the when the price goes down a little, it buys, and when it goes up a little it buys. The only indicators are account balances, and the price, that’s it. Now I wish that Pine Script had a function or variable in which I could recall the balances of specific portions of the portfolio, but it doesn’t. So, I had to improvise. Now for this to work accurately, all of the money needs to be in the “base” side before the bot can begin. Now, the thing about this is that it does not re-invest the amount that is “saved” to all but guarantee the balance will go up. However, as this goes up it will not add up as quickly in order to allow more wiggle room so that the bot does not work itself into a corner. If you want to keep some of your base, enter how much you want to keep it in the initial “saved” setting, as long as you allow at least enough to be equal to the default quantity value. Also, I recommend you setting the pyramiding setting to the result of the base value divided by the default quantity value. The default quantity value is how much you invest, measured in the base currency.
This would have been sooooo much easier if pine script could allow me to recall specific balances, but maybe a future one will.
Finally, THIS is why I made this program, I wanted to create something that would prevent the little ones from being stepped on by the big players who don't always play fair.
Besides, cryptocurrencies were made in response to the 2008 financial meltdown that caused a global recession. This decentralized currency is not just the money of the banks, the corporations, or the governments, but the money of the people. Use this tool to level the massive wealth inequality in my country and take America Back.
I will post more links and updates later once my reputation score goes up. I will discuss more about what influenced me to make this program and as some advise and possible future improvements as well.
Combo Backtest 123 Reversal & Reverse Engineering RSI This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
Reverse Engineering RSI, by Giorgos Siligardos
The related article is copyrighted material from
Stocks & Commodities.
WARNING:
- For purpose educate only
- This script to change bars colors.
MACD Long StratFirst script I've written, but the concept is pretty simple. This uses the MACD with settings fast_SMA = 6 and slow SMA=16 and uses the distance between the 2 (histogram) to look for potential trend reversals to flag potential entries for Long trades. It waits for the confirmation looking backward 2 x timeframes (to reduce false calls slightly). You can adjust it to open / close quicker (1 timeframe instread of 2) but backtesting shows 2 timeframe delay is best to avoid false signals.
The script suggests Long entry points based on this criteria and uses the converse (reducing histogram / SMA difference delayed by 2 timeframes) to suggest exit or trade close points for downward reversal. It was originally written looking at 1m scalps but backtesting shows this is even more effective on higher timeframes (1D).
3 x EMA + Stochastic RSI + ATR8,20,40 EMAs + RSI crossover. Stop Loss at ATR x3. Profit Target at ATRx2
EmperorBTC's VWAP StrategyEmperorBTC's VWAP Indicator & Strategy
v2.1
coded by Bogdan Vaida
This indicator was created after EmperorBTC's conditions.
Good timeframes for it: 30', 15', 5'
To convert from strategy to study switch the commented lines in the beginning
and at the end of the script and vice versa.
What this indicator does is to check if:
o Pivot Point was crossed
o Stoch-RSI and VWAP were crossed in current or previous candle
o Candle (or previous candle) close is in the trend direction
If all these are true then it will go long or short based on direction.
Binomial Moving Average StrategyBinomial Moving Average:
This type of moving average that is made by myself and i did not see anywhere before uses the half of binomial coefficients for
averaging the prices for example if the period be 5 then we use the 9 degree binomial coefficients(that yields 10 coefficients) and use half of them.
we use 126/256 for last bar,84/256,36/256,9/256 and finally use 1/256 for 5th bar. Seemingly this MA works better than EMA.
This Strategy uses the most known method(crossover and cross under two slow and fast MAs) with using BMAs.
Maximized Scalping On Trend (by Coinrule)" The trend is your friend. " This is one of the most famous and valuable teachings that experienced traders can give to newbies. There is a reason for that.
No matter your views about where the price moves, what matters is where the price heads to . The market is always right, and ultimately it decides who gets the profit and who has to take a loss.
The purpose of this strategy is to spot when it's the most suitable time to buy an asset profiting from a potential short-term price increase. The strategy tends to open trades frequently, closing them on average in one and a half days.
ENTRY
The buy order is placed on assets that present strong momentum when it's more likely that it is about to increase further in the short term.
To capture momentum on the asset, the rule strategy requires:
the MA50 greater than the MA100
the RSI greater than 50
The rule, then, places the order when
The price crosses above the MA9.
EXIT
This strategy comes with a stop loss and a take profit which adapt dynamically to market conditions.
The trade is closed in profit when the RSI is greater than 70 , as the trend could experience a pull-back.
Alternatively, the trade is closed when the RSI is lower than 30 , being this a sign of weakening of the trend.
Pro tip : The 1-hour time frame has proven to return the best results on average. The strategy can also work well in the 15-min time frame if you want to increase the trades' frequency.
The strategy assumes each order to trade 30% of the available capital and opens a trade at a time. A trading fee of 0.1% is taken into account.
Combo Backtest 123 Reversal & Relative Volatility Index This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
The RVI is a modified form of the relative strength index (RSI).
The original RSI calculation separates one-day net changes into
positive closes and negative closes, then smoothes the data and
normalizes the ratio on a scale of zero to 100 as the basis for the
formula. The RVI uses the same basic formula but substitutes the
10-day standard deviation of the closing prices for either the up
close or the down close. The goal is to create an indicator that
measures the general direction of volatility. The volatility is
being measured by the 10-days standard deviation of the closing prices.
WARNING:
- For purpose educate only
- This script to change bars colors.
open>open[1]=BUY_else_SELLsimple script. enter rule is open>open =BUY_else_SELL (open means open price 1 candle ago, so basically its if price now greater than price 1 candle ago...)
exit rule is Trailing Stop.
1 trade per candle, here on daily chart BTCUSDT with binance commision included in result.
254 million percent profit....
😲
Combo Backtest 123 Reversal & Relative Momentum Index This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
The Relative Momentum Index (RMI) was developed by Roger Altman. Impressed
with the Relative Strength Index's sensitivity to the number of look-back
periods, yet frustrated with it's inconsistent oscillation between defined
overbought and oversold levels, Mr. Altman added a momentum component to the RSI.
As mentioned, the RMI is a variation of the RSI indicator. Instead of counting
up and down days from close to close as the RSI does, the RMI counts up and down
days from the close relative to the close x-days ago where x is not necessarily
1 as required by the RSI). So as the name of the indicator reflects, "momentum" is
substituted for "strength".
WARNING:
- For purpose educate only
- This script to change bars colors.
Binomial StrategyThis script uses the Binomial distribution to enter trades. It calculates the cumulative distribution function for the last 20 bars, applies 2 EMAs to the CDF, and then goes long when the fast one crosses the slow one. NASDAQ:QQQ