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
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?