Forex bot full strategy with risk managementThis is a full strategy designed for forex major pairs, specially EUR/USD using 1h time frame chart.
Its components are
200 EMA
MACD
OBV
PSAR
RIsk management with tp and sl movements
Rules for entry
For long = Previous histogram from MACD was below 0 and current one is above 0. CLose of a candle is above EMA 200 , OBV oscillator is negative and we have an uptrend from PSAR
For short = Previous histogram from MACD was above 0 and current one is below 0. CLose of a candle is below EMA 200 , OBV oscillator is positive and we have an downtrend from PSAR
Rules for exit
For tp and sl values we calculate the distance from the close of candle until the psar values.
If you have any questions, let me know !
K-macd
Forex scalper 2xEMA + SRSI + MACDThis is a forex scalping strategy designed for the most liquid pairs, like major forex pairs.
Its made of
1 EMA 50
1 EMA 100
Stochastic RSI
MACD
Rules
For long :close of the candle is above moving average 50, moving average 50> moving average 100, macd histogram is positive and cross over of stochastic rsi with the oversold level.
For short :close of the candle is below moving average 50, moving average 50 < moving average 100, macd histogram is negative and cross under of stochastic rsi with the overbought level.
Exit
For exit we have take profit and stop loss using fixed pip points.
For this example on EURUSD we use 20 pips for both tp and sl
IF you have any questions let me know !
Vortex HeikinThis indicator use macd crossover plus vortex and heikin candle to find the best spot entry.
There a lot to improve if you want, it's only a starting point.
You can change Vortex indicator with ADX indicator to find a better spot, but there could be more false entry.
Pot SizeA little FREE script - which may help people set their trade size and stop levels for bitcoin trades.
NOTE :- This script conveys information that requires "indicator arguments" to be turned on.
TO USE :- To adjust to your requirements, click the cog wheel next to the indicator, and adjust "POT SIZE" (how much dollar you have), "RISK %" (the percentage of your dollar portfolio you would like to risk on this trade) and "BITCOIN AMOUNT" - until the short and long 'stop' lines are in the right place in your estimation, for a stop loss that represents the risk you want in relation to the current price for this trade.
The script takes its reference from the closing price; and doesn't include calculations for spread, fees, true range, and volatility etc. That is left open for anyone to add that if they wish. Anyone using this has to make their own adjustments for such considerations not being in this script and therefore make their own compensations.
Anyone wanting to change anything (because values don't go far enough for you) but doesn't know pinescript, can change the numbers next to "defval", "minval", "maxval", and "step" to their suiting in the script itself.
If you use this, you have to work out for yourself if it is useful for you or not. If you depend on it, you must have your own confidence that the calculations in it are acceptable and correct for your use, and you should check yourself and seek advice before trusting it. I convey no confidence in these calculations or this script, and they must be assumed to be acceptable by you if you use it.
Thanks
M
CM MACD Custom Indicator - Multiple Time Frame - V2***For a Detailed Video Overview Showing all of the Settings...
Click HERE to View Video
New _CM_MacD_Ult_MTF _V2 Update 07-28-2021
Thanks to @SKTennis for help in Updating code to V2
Added Groups to Settings Pane.
Added Color Plots to Settings Pane
Switched MTF Logic to turn ON/OFF automatically w/ TradingView's Built in Feature
Updated Color Transparency plots to work in future update
Added Ability to Turn ON/OFF Show MacD & Signal Line
Added Ability to Turn ON/OFF Show Histogram
Added Ability to Change MACD Line Colors Based on Trend
Added Ability to Highlight Price Bars Based on Trend
Added Alerts to Settings Pane.
Customized how Alerts work. Must keep Checked in Settings Pane, and When you go to Alerts Panel, Change Symbol to Indicator (CM_Ult_MacD_MTF_V2)
Customized Alerts to Show Symbol, TimeFrame, Closing Price, MACD Crosses Up & MACD Crosses Down Signals in Alert
Alerts are Pre-Set to only Alert on Bar Close
See Video for Detailed Overview
New Updates Coming Soon!!!
***Please Post Feedback and Any Feature Requests in the Comments Section Below***
Chaikin Money Flow + MACD + ATRHere I present you on of Trade Pro's Trading Idea: Chaikin Money Flow + MACD + ATR.
This strategy is not as profitable as it can be seen in one of his videos. In the forex market, the strategy could reach a maximum of 35% profitability.
I have, as some of my followers have requested, created an overview of the current position, risk and leverage settings in the form of a table.
Furthermore, one can again swap between short and long positions.
It is now possible to select or deselect individual indicators.
I have chosen the ATR alone as a take profit stop loss, as in his strategy.
A position is only triggered as soon as all prerequisites have been fulfilled and a command is executed. This prevents false triggering by bots and repainting.
-----------------------------------------------------------------------------------
How does the strategy work?
ENTRY
Long
The MACD indicator must be above the zero line.
Then the K line must cross the D line.
Finally, when this happens, the Money Flow Index must be above the zero line.
Short
Contrary to the premise of long positions.
EXIT
ATR Exit
The value of ATR at the time of buying is multiplied by the value entered in "Profit factor ATR" and "Stop factor ATR". As soon as the price reaches this value, it is closed.
Important
The script must be optimized for each coin or currency pair.
I will publish a guide to the strategy shortly. There I will explain how the table works and how to set the strategy correctly.
The results of the strategy are without commissions and leverage.
If you have any questions or feedback, please let me know in the comments.
255 EMA Strategy//--- From 15 Trading Examples by Trader Alyx ---
// Seems like this strategy works better if we reverse the EMA filter logic.
// "Description: This basic scalping strategy allows you to enter the market based upon sentiment
// provided by the EMA, set at 255 periods. When price is trading below the 255 EMA, you would
// look to enter a LONG BUY positions, and when price is trading above the 255 EMA, you would
// look to enter a SELL SHORT position. The MACD lagging indicator will show you clear signals for
// when to do this. When the MACD lines cross in a bullish manner and price is below the 255
// EMA, buy. When the MACD lines cross in a bearish manner and price is above the 255 EMA,
// sell.
// NOTE: Make sure that price is trading away from the 255EMA before entering a LONG or SHORT
// position. As you can see in the chart below, the clearest signs for trade entry were presented
// when price was trading AWAY from the 255EMA"
MACD ReLoadedA 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)
CryptoSignalScanner - MACD Multiple Time FramesDESCRIPTION:
After receiving some multiple request to provide a MACD indicator that displays multiple timeframes at the same time I created this simple script.
You can use this script for free and adjust it as much you like.
With this script you can plot 6 MACD lines & 6 Signal lines.
• Current Timeframe MACD Line
• Current Timeframe Signal Line
• 15 minute candle MACD Line
• 15 minute candle Signal Line
• 30 minute candle MACD Line
• 30 minute candle Signal Line
• 1 hour candle MACD Line
• 1 hour candle Signal Line
• 2 hour candle MACD Line
• 2 hour candle Signal Line
• 4 hour candle MACD Line
• 4 hour candle Signal Line
HOW TO USE:
• When multiple MACD lines on an uptrend are grouped together it is time to SELL.
• When multiple MACD lines on a downtrend are grouped together it is time to BUY.
• The higher to length of the MACD lines the stronger the BUY/SELL signal.
FEATURES:
• You can show/hide the preferred MACD lines.
• You can show/hide the preferred Signal lines.
How MACD works
The MACD indicator is generated by subtracting two exponential moving averages (EMAs) to create the main line (MACD line), which is then used to calculate another EMA that represents the signal line. In addition, there is the MACD histogram, which is calculated based on the differences between those two lines. The histogram, along with the other two lines, fluctuates above and below a center line, which is also known as the zero line.
The MACD indicator consists of three elements moving around the zero line:
• The MACD line. By default the MACD line is calculated by subtracting the 26-day EMA from the 12-day EMA.
MACD line = 12d EMA - 26d EMA
• The signal line. By default the signal line is calculated from a 9-day EMA of the MACD line.
Signal line = 9d EMA of MACD line
• Histogram. The histogram is nothing more than a visual record of the relative movements of the MACD line and the signal line.
It is simply calculated as: MACD line - signal line
REMARKS:
• This advice is NOT financial advice.
• We do not provide personal investment advice and we are not a qualified licensed investment advisor.
• All information found here, including any ideas, opinions, views, predictions, forecasts, commentaries, suggestions, or stock picks, expressed or implied herein, are for informational, entertainment or educational purposes only and should not be construed as personal investment advice.
• We will not and cannot be held liable for any actions you take as a result of anything you read here.
• We only provide this information to help you make a better decision.
• While the information provided is believed to be accurate, it may include errors or inaccuracies.
Good Luck,
SEOCO
Micro MACDMicro version of the MACD
Positioning
ATR - uses ATR to position indicator 1.5x above high of the Nth bar (needs improvement)
Absolute - allows you to specify the zero line position using price on the chart.
[Sidders] MACDEMASAR IndicatorCame across a cool idea for a strategy that couldn't find in the indicator database, so decided to code it up myself for your pleasure.
Indicators consists of 3 indicators: EMA(200) to determine the overall trend, and the MACD & Parabolic SAR to determine entries (and exits).
Long entry contains 4 conditions and is generated when price is above the 200EMA (1), the MACD crosses above the signal line (2), while they are both below 0 line (3) and when the parabolic SAR is below the closing price of the bar (4).
Short entry is build up the same but in reverse: price is below the 200EMA(1), signal line crosses below the MACD line (2), while they are both above the 0 line (3) and when the parabolic SAR is above the closing price of the bar (4).
Place the stoploss on the parabolic SAR dot below/above the candle that created the signal. Profit target 1:1 risk:reward ratio, but can ofcourse be changed according to your risk apetite. Might add automatically drawn SL/TPs in a later update.
Concept behind the strategy should work on all timeframes, but will require proper backtesting. I think with additional filters the strategy can also be way more finetuned and profitable, personally haven't had the time yet to dive into that.
Have also added alerts for your convenience.
Enjoy!
All in One StudyHere is my All in One Strategy converted into a Study with Alert Conditions you can use for whatever purpose you wish.
Each condition is set up similarly to the way I had the strategy set up, if you pick the indicators you want to base your alerts on it will alert you only if the check box is true.
You can pick one or more of the indicators if you'd like. I only suggest to pick one at a time so you don't have overlapping buy/sell alerts.
I think everyone will find the message of the market falling alert amusing :-)
MACD EMA - TradingRush StrategyHey there!
Today I present you a rather simple, but very profitable MACD strategy. Since I trade it with cryptocurrencies, the settings have been adjusted.
I discovered the strategy on a YouTube channel and tried to transfer it as a strategy into a script.
Tested with the crypto pair ETH/USDT in the 15 minute chart.
There is the possibility to switch between short and long positions.
-----------------------------------------------------------------------------------
How does the strategy work?
ENTRY
The MACD indicator must cross below the histogram. If it crosses when the price is below the EMA, only short positions are traded. Above the EMA - long.
EXIT
The Lowest Low (long) / highest high (short) serves as the stop loss. The TP is formed on the basis of a factor. (SL multiplied by factor 2.1 = TP).
The red lines are used to illustrate the SL. Above for short positions below for long positions.
The results of the strategy are without commissions and levers.
If you have any questions or feedback, please let me know in the comments.
If you need more information about the strategy and want to know exactly how to apply it, check out my profile.
I wish you good luck with the strategy!
Forward Cross ProjectionA quick script used to predict the average value the price should have to create a cross between a slow and fast MA at a given time. The line is red when the current cross is bullish and the line is green when the current cross is bearish. Crossing a red line downwards means that the price is getting lower and a bearish death cross is impending. Crossing a green line upwards means that the price is rising and a bullish cross is impending. Script was made thanks to the idea of Dannii
MACD-RSI Confluence SimplifiedAnother simple version of the MACD RSi Confluence script. But this is one is more simplified with simple signals. Again to fully understand macd & RSI you should already have some type of knowledge of how they work. With understanding this script & it's signals are great for those who do. This script is based on Barcolor signals reflected by macd & RSI data
SimpleScalper2.0MACDThis indicator should be implemented with more indicators, by itself it is not recommended. SimpleScalper 2.0 MACD its strong are the negative values during the major corrections or waves of impulse of downtrend and see divergences with better visibility
All in One Strategy no RSI Label - For higher dollar cryptoThis is the All in One Strategy without the RSI suggestion label that will work well for any of the crypto currencies trading above $500 so the overlay shows up better. I am using ETH as an example on this.
Based on some comments on my previously published script that has been replaced I have added Alert Conditions to this version that can be used in other bots. You can also copy and paste these alert conditions into the other All in One script I published for the lower priced cryptocurrencies.
To use the alert conditions I have in here, you will need to convert this strategy into a study to do so. Delete the entry and exit logic at the end (lines 299 through 351), delete line 18 and paste the following in place of line 18:
study(shorttitle='Ain1 No Label',title='All in One Strategy no RSI Label', overlay=true, scale=scale.left)
Here are the settings to mimic what you see here in the back test strategy I am publishing. Remember that previous results do not guarantee future results.
Chart Time = 30 Minutes (if you didn't read my original All in One post, read it. Shorter isn't better. You lose your money faster in a shorter amount of time and I learned that the hard way)
Start Time = 1 April 2021 00:00
End Time = 31 December 2021 00:00
Trade Type = Long/Short
Stop Loss % = 20.1
Take Profit % = 14.57
RSI Length = 20
Overbought = 44
Oversold = 45
EMA Fast Length = 5
EMA Slow Length = 15
Overbought Lookback Minimum Value = 62
Overbought Lookback Bars = 3
Oversold Minimum Value = 43
Oversold Lookback Bars = 5
Source = Close
Max Lookback Period = 5
Use EMA Only = True (check the box)
K = 9
D = 17
K Mode = SMA
High Source = ohlc4
Low Source = ohlc4
Properties - Starting Amount is $3500, everything else is the same.
Any questions, feel free to ask. I will answer as soon as I can.
Table: Relative Strength Index (Multiple Timeframes) DESCRIPTION
It is the most popular and dependent Indicator, Relative Strength Index (RSI) . Now, I put inside a table to view chart momentum from Multiple timeframes.
This indicator tells different Timeframe (30 minutes, 1 hour, 4 hour, 1 day, 1 week, 1 month) of RSI value within table form.
HOW TO USE
Can consider a Long position when all timeframes go oversold while Short position when all timeframes go overbought. Alarm function is available. It sounds as all timeframes are overbought or oversold.
Modified The source of indicator from ©BeeHolder named "Performance"
Technicals Rating Strategy v420Ichimoku, HMA, RSI, Stoch, CCI, MACD, Technicals Rating Strategy is a trading Bot that looks at these chosen indicators and assigns a value to each, then calculates the result of adding each indicators result value to a overall rating, which is then compared to a user set level. Here seen on Bitcoin, it has the broker fee included in the testing result. If you choose to use it on Forex etc, perhaps remove the broker fee which is unrealistic for FX trading.
It has a Win/Loss ratio of only 40% wins, but it catches the big moves and thats the main thing, so if ELON MUSK had of used this strategy instead of BUY and HOLD, he could of made 700% instead of 7% (as is, may, 2021)
Mainly intended for use as Automated TRADE BOT.
(imagine if Elon Musk did use this bot with his 1.3 billion $ worth of BTC, the drawdown would be like, half a billion or something haha (p.s.- use smaller lotsize % to get smaller drawdown, but then smaller profit....) )
For use with any pair and timeframe. In fact there is a timeframe setting to set the strategy to look at alternative timeframe from chart, but as default will just be set to charts timeframe.
MACD Signal with RSI Indicating StrategyThis strategy looks for MACD signal crossover and RSI confirmation of oversold/overbought condition.
Tune to your crypto/stock for best results using the strategy and sent an alert. Currently set up to use 25% of equity at each buy signal and will sell 1/3 of position at each sell signal. Initial investment is $1000, but adjust as necessary.
Currently tuned to DOGEUSD on 30min chart.
If you like/use/profit, follow me or shoot me a donation. If you are looking for a script design, I can help.
Easy Entry/Exit Trend Colors (With Alerts)This is an updated version of user Algokid's script called 'AK MACD BB INDICATOR V 1.00'. You can find that original script here:
I added many alerts along with the Bullish and Bearish alerts when the MACD crosses over the Upperband or crosses down on the Lowerband.
I personally use this indicator with Crypto charts (Bitcoin on a 15min, 1hour, and 4 hour timeframe) as one of many confirmations that it's a good time to enter a trade. This script was made to be easy to follow with the colors of GREEN triangles being a good uptrend or entry confirmation, and RED being a confirmation to sell/short or exit your trade.
It's important to use this indicator in combination with other indicators that can give you more confirmations to enter or exit a trade, and make sure you are on normal candles and not HA or any other candles as you can get wildly inaccurate results.
This script also has the Death & Golden crosses, which is the slow and fast moving averages crossing over each other. I don't use this as an additional confirmation, it's just nice to know where the cross happens.
Hopper Trigger - Free Cryptohopper WidgetWelcome to our Tradingview cryptohopper trigger widget.
We designed this script to give Cryptohopper users the possibility to set up an alarm when btc is trending down. Cause of the BTCs behavior as the supertrend coin for the market it is better to turn your hopper off or be extremly careful when BTC is trending down. We implemented to types of alarms, because atm its not possible to automate using them to deactivate your hopper. On Alarm setup could be used to send signals every minute to trigger a push notification on your App or to trigger your Alexa. The other type of alarm only sends one single signal for normal purposes.
We recommend using this indicator in the 30 minute or 1 hour timeframe and to deactivate your hopper and deleting all positions when a alarm is signaling. The risk of a larger drop is very high in this marketphase. Never take an drop again using this approach. Little drawdown in bearish or ranging times but high reward in bullish times.
Smartgrow-Trading is a community project with the aim of developing the best and most successful trading strategies and sharing them with the community.
The basic idea of this script is to calculate how far an coin is away from its ATH , to gave warning signals for deactivating coins after they reached there ATH . So it could also be used for other coins and pairs.
If there are questions, write them into the comments or contact us directly over the direct message or social media. Happy Trading!
Triple Exponential MACDA modification of the classic MACD to use Triple EMAs which tends to have less lag than the standard indicator. (I also have a Double Exp MACD indicator, I tend to use both simultaneously)
Alert conditions are pre-configured for simple line crosses and you can enable/disable the histogram from the indicator options menu.
Enjoy!