OPEN-SOURCE SCRIPT

Simple Bollinger Band and stochastic oscillator strategy for SPX

This is a very simple Bollinger Band strategy with stochastic oscillator added. Main trend is determined by Band breakout while (5,3,3) stochastic crosses is used for additional entries. Alert function is configured as "one alert for any events", so that free users can set up and get alert for every events in the script. The following code segment can be manipulated as your needs, by removing or keeping "//" comment slashes etc. Entries should be above/below the signal bars and 7-8 points should be regarded as first target, trail the left. Good luck !

signal = bbupcross or bbdowncross //or add_long or add_short
S&P 500 (SPX500)Stochastic Oscillatortrend

开源脚本

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

想在图表上使用此脚本?

免责声明