Gentleman-Goat

MacD (Future Known or Unknown) Strategy

This indicator/strategy is to be used as a way to baseline the top potential any strategy could have with other strategies and indicators.

What I have created literally shows the BEST moves possible you could have made in my opinion for SHORTING or LONGING using only the MacD values of the 4 hour while on the 30 minute chart.

To use this, try checking out XBTUSD on the 30 minute chart. It will work under different time frames but works best on the 30 minute chart in my opinion. It WILL NOT WORK Above 2 hours time frame.

DO NOT TRADE WITH THIS indicator. I can't emphasize this enough. These results only work because of the lookahead_on parameter. A lot of scam indicators and strategies use this to trick people on tradingView into buying their scripts.

This code is OPEN SOURCE and as such there is nothing to hide and no scam!

I like to use this as a comparison tool for how good I 'could' have traded and at what points those were. By knowing where the perfect trading positions are, you can create real indicators and scripts that try to find patterns in those positions.

This also shows that IF you could know the direction the MacD was going what amazing results you could get ^_~.

This is meant purely for entertainment purposes and for comparing against your own scripts.

I've included the options in the settings to allow ONLY LONG or ONLY SHORTS. By default it attempts both buy attempts. You can also change your starting ($) amount and commission percentage that is taken per trade as well.

Also included in the options is the ability to set the back testing time frame to see how it performs during just certain time periods.

Finally a color explanation

  • Red - MacD 4 hour going down
  • Green - MacD 4 hour going up
  • Purple - MacD 4 hour going down (from an up position)
  • Yellow - MacD 4 hour going up (from a down position)

Notice the program will always buy right before it turns into a yellow color since it knows the future.

In the options you can turn off 'use the future' to see the horrible results if you trade the moment you know which direction the MacD 4 hour is actually going. I will revise this script in the future with attempts to work without knowing the future as play options to get better results.

If you have any questions or comments, please do not hesitate to ask!

-=Gentleman Goat=- Download the TradingView Input Optimizer at tradingtools.software/optimizer
Discord: discord.gg/pGHHRczpbu
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

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 đồ?