joelly3d

Papercuts Time Sampled Higher Timeframe EMA Without Security

joelly3d 已更新   
This EMA uses a higher time sampled method instead of using security to gather higher timeframe data.
Its quite fast and worked well with the timeframes prescribed, up to 8hrs, after 8hrs, the formatting gets more complicated and i probably wouldn't use it anyway.

You can use this as a guide to avoid security and even f_security with this method.

NOTE: This includes the non repainting f_security call so that i woudl be able to check my results against what it does, thats not nessecary to keep at all.

There is some minor differences in data, but its so minor it doesnt bother me, though it would be interesting to know what the difference actually is. If anyone figures that out, leave a comment and let me know!

This is meant to be an example for others to build and learn and play with.. so enjoy!
版本注释:
Commented out the f_security stuff by default to just have my result.
Also added a few notes in as comments for clarity.
版本注释:
just updated a comment and changed long name to be more searchable
版本注释:
//Added a simple option for candle color because I use this to reference futures and it just looks cleaner.

开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?