TradeSmart22

MACD + CMF + EMA + Supertrend by TradeSmart

TradeSmart22 已更新   
Hello everyone and welcome to our first script release!

This script is one of many upcoming scripts. This one is a test for us, how it works, how you guys like this kind of stuff, and for feedback what we should change/improve at.

SCRIPT IS OPTIMIZED FOR:
EUR/USD 30 MINUTE TIMEFRAME

Video of the Strategy:
Search for “MACD + CMF + 200 EMA + Supertrend Trading Strategy Tested 100 Times with Great Results!” on our channel.
In this video you can find the exact strategy we programmed, just one added feature: Supertrend trailing stop loss. (position gets closed once the price hits the Supertrend indicator)

Now you can modify the following:
MACD settings
Supertrend settings
EMA settings
CMF settings

We will update the script with more and more features.
The first update will be:
Modifiable risk to reward ratio.

I will make a video of how to use this indicator next week, explaining all the features and more!
Hope you like it! Don't forget to let us know what we should change or improve. Thanks, and have a great day!

STRATEGY ENTRY RULES
LONG
When CMF is above 0 and price is under EMA. Also MACD has made a double cross above the zero line (meaning one cross down and one cross up by the MACD line). Then go long!

Note:
MACD or Signal must return under 0 in order to start a new position
If either of the MACD lines touches the 0 line before entry, we skip the trade and wait for the next signal.

SHORT
When CMF is under 0 and price is under EMA. Also MACD has made a double cross under the zero line (meaning one cross up and one cross down by the MACD line). Then go short!

Note:
MACD or Signal must return under 0 in order to start a new position.
If either of the MACD lines touches the 0 line before entry, we skip the trade and wait for the next signal.

TAKE PROFIT
When price hits the exit price (calculated from stop loss with the risk ratio), then exit with 50% of the position. The other 50% will stay open until the price hits the supertrend or the base stop loss.

STOP LOSS
When price hits stop loss then exit the position. Stop loss is calculated from the Supertrend and it is a trailing one, meaning it changes based on the movement of the price.

QUANTITY TO BUY
The quantity to buy is based on the Risk Per Trade % attribute. This means that we can set how much money we want to risk on one trade. Meaning that if we lose that particular position, then a Risk Per Trade % value of our equity will be lost.
Example: if you set the Risk Per Trade % to 1 % and you have a 100$ account balance, then if you loose the trade you will loose 1$ max.
版本注释:
- Features:
- added input "Allow Long Entries", "Allow Short Entries"
- added input "Risk Reward Ratio"
- added input "Allow entries when only one line touches zero"

- Bug fixes:
- fixed bug when the supertrend direction is opposite of current position
- fixed bug when supertrend changed direction during an open position

- Changes:
- order names are now more descriptive
版本注释:
refreshed default input values
版本注释:
added feature to limit trades between dates and on specific days of the week
版本注释:
Updated default parameters with new optimal values
版本注释:
  • fixed bug where trailing loss was moving in wrong direction
  • fixed bug where exit price exploded
  • added feature to set first exit percentage
版本注释:
added 'Capital Percentage' option
版本注释:
HOTFIX: with the recent 'Capital Percentage' update, a bug was inserted where quantity calculation was wrong in some cases when 'Risk Percentage' was used
版本注释:
HOTFIX: in some rare cases, the stop loss and exit price were calculated incorrectly due to the Supertrend changing direction at the exact time of the entry

Join our community of Smart Traders and get access to every Premium script: www.patreon.com/tradesmart224
受保护脚本
该脚本是闭源发布的,您可以自由使用它。您可以收藏它以在图表上使用。您无法查看或修改其源代码。
免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?