TradeSmart22

MACD + CMF + EMA + Supertrend by TradeSmart

TradeSmart22 Cập nhật   
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.
Phát hành các Ghi chú:
- 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
Phát hành các Ghi chú:
refreshed default input values
Phát hành các Ghi chú:
added feature to limit trades between dates and on specific days of the week
Phát hành các Ghi chú:
Updated default parameters with new optimal values
Phát hành các Ghi chú:
  • fixed bug where trailing loss was moving in wrong direction
  • fixed bug where exit price exploded
  • added feature to set first exit percentage
Phát hành các Ghi chú:
added 'Capital Percentage' option
Phát hành các Ghi chú:
HOTFIX: with the recent 'Capital Percentage' update, a bug was inserted where quantity calculation was wrong in some cases when 'Risk Percentage' was used
Phát hành các Ghi chú:
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
Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?