Buy and hold strategyA simple buy and hold strategy. A short or a long position can be chosen. The start date will determine the date where your position will start and end date is the date it will end. This works well as a baseline to your other existing strategies since buy and hold is just the simplest strategy available.
HOLD
Swing Stock designed for Monthly/Yearly Trading This is a strategy tester designed around the most important data from FRED - Federal Reserve Economic Data
As input data, we have:
// Personal Consumption Expenditures
// Real Retail and Food Services Sales
// Leading Index for the United States
// All Employees: Total Nonfarm Payrolls
// Real Gross Domestic Product
// Gross Domestic Product
I adapted the long and short entry based on the GDP data, since they are most accurate in prediction compared to the rest.
However, feel free to test with other as well if you want.
For this test I compared previous GDP values, if they were higher than previous that represent a long signals, if they were smaller that represents a reversal=short signal.
From the tests performed we can see that GDP is highly accurate and overall as long as there is patience, profits are going to be make, sometimes even beat the index itself.
If you have any questions, let me know !
Up & Down Trend Trading Strategy - BNB/USDT 15minThis strategy will focus on up trend trading and down trend trading based on several indicators such as;
for up trend
1. SAR indicator
2. Super trend indicator
3. Simple moving average for the period of 100
down trend
1. RSI Indicator
2. Money flow index
3. Relative volatility index
4. Balance of powder
[FN] Strategy - Store Level on ConditionThis is a function that you can use in strategies. Not a strategy in and of itself.
Example thumbnail is showing the function applied to a strategy.
Oftentimes, I am asked a question regarding how to hold a variable at a specific, constant level over a conditional period of time. This question is always asked in a very long convoluted way like "I want the strategy to know what the high of the last pivot was while I'm in a long." or some other variation of wanting a script to remember something from prior bars.
This function is designed to store a price or some numeric level on the bar that your conditional (bool) statements determine that it should be stored. In this construct, you would set conditional statement(s) to flip the 'hold condition' to be true on the next bar, then hold that value until either the "hold condition" is no longer true or the initial conditions trigger again, causing an update to the level that you want to capture.
You still have to come up with the logic for the start condition and hold condition on your own, but I've provided an example that should give you an idea of how to accomplish this and customize/deploy the function for your purposes.
The function will return 'na' when neither the start condition nor hold condition are true. There's multiple ways to implement this and variations on how the level is chosen. I've written extensive notes in the script to guide you through the logic behind the function. My hope is that it will be useful to those trying to build strategies or anyone attempting to get their script to remember a level under given conditions.
In the thumbnail example, the take profit level is defined at the beginning of the trade and held until the take profit order executes. The order execution is a separate matter. However, storing the take-profit level at a static value is key to telling the strategy.exit() function what price to execute a limit exit order at.
Example: strategy.exit("Exit Long", from_entry = "long", qty_percent = 100, limit = stored_value)
Let me know how it works out for you and if I can be of any assistance.
Note: Strategy results are mainly derived from the fact that the strategy is long-only, the NQ only goes up, and there is no stop loss in place. So don't ask for the specific strategy, because unless you're trading a single contract with a $500,000 account, you'll probably get liquidated using this strategy as it is presented.
Buy and Hold entry finder StrategyHello everyone!
I proudly present the backtest Strategy Script for my "Buy and Hold entry finder" Script.
It basically shows you the outcome, if you would use my indicator in the past.
The buy signals are limited to 1 order per month.
Order Size: Allows you to choose, how much money you want to invest per month. (Please consider, it will only invest an x amount per Order, but it will not stack the amount you did not invest in an previous month ) (Example in my indicator)
Pyramiding: Just regulates, how often you can open an position.
Commission: Here you can set how much it will cost to open an position at your broker.
I coded a feature that allows you to set a Start Date and an End Date for your backtest. In the end of the backtest the script closes all positions.
If you got any question, feel free to ask in the comments or send me a message.
Sincerely, RS Titan.
MACD Hybrid BSHMACD = Moving Average Convergence and Divergence
Hybrid = Combining the two main MACD signals into one indicator
BSH = Buy Sell Hold
This indicator looks for a crossover of the MACD moving averages (12ema and 26ema) in order to generate a buy/sell signal and a crossover of the MACD line (12ema minus 26ema) and MACD signal line (9ema of MACD line) in order to generate a completely seperate buy/sell signal. The two buy/sell signals are combined into a hybrid buy/sell/hold indicator which looks for one, neither, or both signals to be "buys." If both signals are buys (fast crossed above slow), a "buy" signal is given (green bar color). If only one signal is a buy, a "hold" signal is given (yellow bar color). If neither signal is a buy, a "sell" signal is given (red bar color). Note: MACD moving averages crossing over is the same thing as the MACD line crossing the zero level in the MACD indicator.
It makes sense to have the MACD indicator loaded as a reference when using this but it isn't required. The lines plotted on the chart are the 12ema and a signal line which is the MACD signal line shown relative to the 12ema rather than the MACD line. The 26ema is not plotted on the chart because the chart becomes cluttered, plus the moving averages crossing over is indicated with the MACD indicator.
This indicator should be used with other indicators such as ATR (1), RSI (14), Bollinger bands (20, 2), etc. in order to determine the best course of action when a signal is given. One way to use this as a strict system is to take a neutral cash position when a yellow "hold" signal is given, to go long when a
green "buy" signal is given, and to go short when a red "sell" signal is given. It can be observed that for many tickers and timeframes that green-yellow-green and red-yellow-red sequences are stronger signals than green-yellow-red and red-yellow-green signals.
Note: Chart type must be "bars" in order for the bar colorization to work properly
Buy and Hold entry finderHello everyone!
This is a indicator based on the MACD and the distance between the current price and the Exponential moving Average .
The signal gets triggered if the current MACD (with default settings) is under 0 and the Distance from the Ema gets smaller if under ema or gets bigger if over ema . In edition you can set a max distance from the ema .
This indicator was invented for buy and hold strategy s only.
I invented this indicator to find better entrys for my saving plans on the MSCI WORLD AND MSCI EMERGING MARKETS ETF on the 1 day timeframe.
Instead of investing every month, i only invest on the green Arrow Signal.
For example, lets say there is no buy signal for 3 months, then i invest the summary of the three months on the buy signal.
Buy BTC Helper - Buy SPOT, sell to USD (BTC-ETH) - By Che_TraderBuy BTC Helper - Buy SPOT, sell to USD (BTC-ETH) - By Che_Trader
The Buy Helper is specially designed for users who want to invest in BTC in the long term.
Usually you will make about 20-25 trades per year in spot trading.
You do not need a margin account or understand anything about trading.
Just follow the "BUY" and "To usd" signals to make sure you are on trend when BTC goes up but also take profit when BTC starts going down.
This simple tool has beaten the HOLD in all the years tested, also in bull trend or bear trend.
We'll develop this better.
*****************************************************************************************************************************************************************************
General stats from 2017 to 2020 are in the bottom, These are:
(**All data include 0.15% fees+slippage what is more than double the normal fees**)
- 8462% Gains (compound)
- 72 transactions
- 3.238 Profit Factor
- 18.58% Max drawdown
*****************************************************************************************************************************************************************************
The year-by-year analysis is very interesting:
*****************************************************************************************************************************************************************************
2017 HOLD result
+1254%
Buy helper 2017 results:
- +1214.5 % Gains
- 19 transactions
- 11% max drawdown
The 2017 profits are very similar, so you can expect similar win in next bull run.
This is something you'd expect, but it's hard to get in a bot.
*****************************************************************************************************************************************************************************
*****************************************************************************************************************************************************************************
2018 Hold Result
-71%
Buy helper 2018 results:
- +59% Gains
- 21 transactions
- 13.53% max drawdown
These results are particularly impressive. In a year in which BTC declined 72% and with a strategy of only LONG,
that is, without being able to take profit from the crashes,
we were able to finish the year with more than 59% of the money we made on the 2017 bull run.
*****************************************************************************************************************************************************************************
*****************************************************************************************************************************************************************************
2019 Hold Result
+94%
Buy helper 2019 results:
- +202% Gains
- 20 transactions
- 10.4% max drawdown
In 2019 with the buy helper you gained +100% the performance of hold BTC
*****************************************************************************************************************************************************************************
*****************************************************************************************************************************************************************************
2020 Hold Result (up to 04 may 2020)
+24.5%
Buy helper 2020 results:
- +39% Gains
- 11 transactions
- 15.43% max drawdown
In 2020 with the buy helper you gained +50% the performance of hold BTC
*****************************************************************************************************************************************************************************
*****************************************************************************************************************************************************************************
To get access, you can send me a PM here or at a link in the tradingview profile.
*****************************************************************************************************************************************************************************
Traffic Light IndicatorThe traffic light indicator is designed to be as simple as possible to avoid the steep learning curve that comes with many other indicators.
- A Green Circle indicated the price is likely to go up.
- A Red Circle indicates to price is likely to go down.
- A Yellow Circle means there's some indecision and you should consider tightening stops or taking profits if you're already in a trade.
The circles are derived from the combination of a dozen or so indicators with the goal to simplify trading and declutter the charts.
It doesn't need to paired with another indicator but having some simple moving averages and keeping an eye on the volume might help you identify possible take profit areas.