OPEN-SOURCE SCRIPT

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!
Moving Average Convergence / Divergence (MACD)

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


-=Gentleman Goat=- Download the TradingView Input Optimizer at tradingtools.software/optimizer
Discord: discord.gg/pGHHRczpbu
更多:

免责声明