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
يعمل أيضًا:

إخلاء المسؤولية