syrinxflunki

Flunki T-WAP minus MA Oscillator



Yo,

Possible the last of these for now, and mostly for the sake of completeness..

This is..


Another simple oscillator that show the difference in price between a selectable timeframe TWAP and a Moving Average of that TWAP

This is shown as a histogram.

Use numeric TWAP values for minutes (30, 60 ,720 whatever) and D, 3D, W, M for higher values

There is also a global timeframe which will set the timeframe for a global alternate timeframe (instead of current chart resolution)

On top of that is a Moving Average of the histogram value, shown as a blue / red line with an option to highlight this MA crossing zero, and an option to colour bars to this line.


The major difference between this Oscillator, and the other script (Flunki VWAP minus MA Oscillator)

(I treid to insert a link but it's invisible so it would seem, anyway.. )

is that VWAP is usually calculated daily, so there is a sharp move upon the daily close, as VWAP starts a new day. Using TWAP this does not occur, so gives smoother transitions ; also the timeframe for TWAP is selectable for additional wap fun.






Simple idea : Code open

Enjoy !

نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

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

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟