Macro Score -- User-Customized Scores and SignalsA "macro score", as defined here, is created by giving various weights to different signals and adding them together to get one smooth score. Positive or negative values are assigned to each of the signals depending on if the statement is true or false (e.g. DPO > 0: +1, DPO < 0: -1). This manner of strategy allows for a subset of the available signals to be present at one time as opposed to every technical signal having to be active in order for a long/short signal to trigger. This particular strategy allows the user to choose between 18 different signals to be used in scoring as well as allowing the user to determine the individual weights of each score as well as the overall threshold to determine long or short signals. Weights for each score range between 1 and 5, with 5 being the greatest weight. The overall threshold for long or short is dependent on the total possible weights added together (i.e. if your weights total -10 or +10, a threshold within this range must be used).
The macro score itself is printed in an underlay as a white line that goes between the maximum positive and negative values for all weights added together for this strategy. In addition to the macro score line, a green momentum line (sourced by the macro score itself) has been included. A crossover/crossunder of the macro score and the macro momentum line is included into the long/short signal syntax in addition to a threshold for the macro score. The length of the Macro Score's momentum line can be found in the settings.
The current signals to choose from include:
- ADX Threshold - if the Average Directional Index is above a set threshold, signal positive or negative
- CMF Threshold - if the Chaikin Money Flow oscillator is above 0, signal positive; otherwise, signal negative
- CMO > TSI Signal - signal positive if there is a cross of the Chande Momentum Oscillator and the True Strength Index signal line
- CMO Threshold - if the Chande Momentum Oscillator is above 0, signal positive; otherwise, signal negative
- DPO Threshold - if the Detrended Price Oscillator is above 0, signal positive; otherwise, signal negative
- EOM Threshold - if the Ease of Money Oscillator is above 0, signal positive; otherwise, signal negative
- Jurik Threshold - if the Jurik price line (from the Jurik Volatility Bands) is above 0, signal positive; otherwise, signal negative
- MACD Threshold - if the MACD signal line is above 0, signal positive; otherwise, signal negative
- McGinley Cross - a crossover of a fast McGinley Dynamic length line and a slow McGinley Dynamic line signals positive; otherwise, signal negative
- PSAR - if the direction of the PSAR is heading long, signal positive; otherwise, signal negative
- ROC Threshold - if the Rate of Change oscillator is above 0, signal positive; otherwise, signal negative
- RSI Threshold - if the Relative Strength Index is above 50, signal positive; otherwise, signal negative
- Stoch RSI Threshold - if the Stoch RSI is above 50, signal positive; otherwise, signal negative
- Supertrend - if the Supertrend determines long, signal positive; otherwise, signal negative
- TSI Cross - a crossover of the True Strength Index value line and the TSI signal line signals positive; otherwise, signal negative
- TSI Signal Threshold - if the TSI signal line is above 0, signal positive; otherwise, signal negative
- Williams Alligator Cross - if the Williams Alligator lips cross the teeth and jaw, signal positive; otherwise, signal negative
- Williams %R - if the Williams %R is above -50, signal positive; otherwise, signal negative
Take profit, stop loss, and trailing percentages are also included, found at the bottom of the Input tab under “TT and TTP” as well as “Stop Loss”. Make sure to understand the TP/SL ratio that you desire before use, as the desired hit rate/profitability percentage will be affected accordingly. This strategy does NOT guarantee future returns. Apply caution in trading regardless of discretionary or algorithmic. Understand the concepts of risk/reward and the intricacies of each strategy choice before utilizing them in your personal trading.
Profitview Settings:
If you wish to utilize Profitview’s automation system, find the included “Profitview Settings” under the Input tab of the strategy settings menu. If not, skip this section entirely as it can be left blank. Options will be “OPEN LONG TITLE”, “OPEN SHORT TITLE”, “CLOSE LONG TITLE”, and “CLOSE SHORT TITLE”. If you wished to trade SOL, for example, you would put “SOL LONG”, “SOL SHORT”, “SOL CLOSE LONG”, and “SOL CLOSE SHORT” in these areas. Within your Profitview extension, ensure that your Alerts all match these titles. To set an alert for use with Profitview, go to the “Alerts” tab in TradingView, then create an alert. Make sure that your desired asset and timeframe are currently displayed on your screen when creating the alert. Under the “Condition” option of the alert, select the strategy, then select the expiration time. If using TradingView Premium, this can be open-ended. Otherwise, select your desired expiration time and date. This can be updated whenever desired to ensure the strategy does not expire. Under “Alert actions”, nothing necessarily needs to be selected unless so desired. Leave the “Alert name” option empty. For the “Message”, delete the generated message and replace it with {{strategy.order.alert_message}} and nothing else.
Sample setup for SOLUSDT 30M:
- Score 1 - Value 4, PSAR (0.05 start, 0.02 increment, 0.2 max value; sourced open)
- Score 2 - Value 4, Jurik Threshold (JVB Length 25, JVB Smoothing 6, JVB Price Threshold 0)
- Score 3 - Value 5, DPO Threshold (DPO Length 40, uncentered)
- Score 4 - Value 5, CMO Threshold (CMO Length 40, sourced open)
- Score 5 - Value 2, MACD Threshold (Fast Length 12, Slow Length 30, sourced open)
- Macro Length 21
- Long Threshold - -3
- Short Threshold - +3
- Take Profit % - 0.9/0.9
- Trail % - 0.005
- Stop Loss % - 1.4
Sample setup for AVAXUSDT 20M:
- Score 1 - Value 3, TSI Cross (Long Length 25, Short Length 16, Signal Length 17)
- Score 2 - Value 2, TSI Signal Threshold (same settings as the TSI Cross)
- Score 3 - Value 2, Jurik Threshold (JVB Length 20, JVB Smoothing 8, JVB Price Threshold 0)
- Score 4 - Value 2, DPO Threshold (DPO Length 40, uncentered)
- Score 5 - Value 1, Stoch Threshold (K/D 3, RSI (Stoch) Length 10, Stochastic Length 4, sourced open)
- Macro Length 13
- Long Threshold - +5
- Short Threshold - -5
- Take Profit % - 1.2/1.2
- Trail % - 0.005
- Stop Loss % - 1.5
EOM
4X EMA and volume strategyThis is a strategy made from multiple types of EMA and volume(EOM).
This is a long only strategy.
EMA 1 = 13
EMA 2 = 21
EMA 3 = 50
EMA 4 = 180
In this case we have 2 options for entry:
1.We check that are candles are in ascending order and EOM is above 0 - > long, descending and eom<0 -> exit long
2.We check if we have a crossover between the first ema with the second and the third. Cross up -> long, crossdown -> exit long
If you have any questions let me know!
ATR with EOM and VORTEXThis is a strategy, designed for long trends for stock and crypto market.
Its made of ATR for volatility, EOM for volume and VORTEX for the trend direction.
In this case on the ATR, I applied an EMA to check if current position is above the EMA -> bull trend, below ema -> bear trend
For EOM I am using the positive and negative value scale, if its positive we are in a bull movement, otherwise a bear movement.
Lastly for VORTEX, I took the min and max, and made an average, after that I am using the average and compare it with 1 value. Above 1 -> bull, belowe 1-> bear.
This strategy only goes long.
If you have any questions, let me know.
Combo Backtest 123 Reversal & Ease of Movement (EOM) 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 indicator gauges the magnitude of price and volume movement.
The indicator returns both positive and negative values where a
positive value means the market has moved up from yesterday's value
and a negative value means the market has moved down. A large positive
or large negative value indicates a large move in price and/or lighter
volume. A small positive or small negative value indicates a small move
in price and/or heavier volume.
A positive or negative numeric value. A positive value means the market
has moved up from yesterday's value, whereas, a negative value means the
market has moved down.
WARNING:
- For purpose educate only
- This script to change bars colors.