OPEN-SOURCE SCRIPT

Stochastic Direction Strategy

2 052
This is a simple strategy based on the Stochastic Oscillator: stockcharts [DOT] com/school/doku.php?id=chart_school:technical_indicators:stochastic_oscillator_fast_slow_and_full

Its purpose is to gradually build a position in a trending market (as of June 26th 2016 in most cryptocurrencies).

Inputs:
- direction (long/short)
- overbought/oversold
- close positions (yes/no to only increase positions)

Outputs:
- buy/sell/close signals plotted on a chart below

This script can easily be used as a TradingView study (for alerts) and a strategy (for backtesting). See the comments in the code.

I have added additional alert conditions to be used easily together with a trading bot reading the signals
Yet obviously you can also do manual trading on each alert.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.