TradingView
chives152
16 oct. 2019 01:59

Magical Onion Oscillator V1 

CHF/JPYOANDA

Description

This script is a oscillator that has many features. It is designed to give infrequent but super high quality signals. The basic concept is that when the fast line goes over 1, price is overbought, and when the fast line dips below 0, price is oversold. This is reflected by both the fill color on the oscillator, and by coloring the bars. When the area between the two lines is green, the trend is up, and when the fill color is red, the trend is down. The trend feature is not the primary use for this oscillator, the overbought/oversold signals are much more powerful.

Signals
  • When the bars are colored bright red or green, that means the price is overbought/oversold.
  • When the fill color is green, the trend is up. When the fill color is red, the trend is down.
  • Entry signals are given by the vertical green or red stripes in the oscillator window.


Settings
  • Timeframes 1-4 These settings are to change the time frames the oscillator uses to do calculations. The defaults should work fine for most time frames, but I allow you to modify these for extremely small or large timeframes. The input needs to be a multiplied minute, day, week, or month. For example if you would like to use this on the 1min chart, a possible setup could be 60,240,720,D. This would correspond to 1hr, 4hr, 12hr, D. If you wanted to use it on a larger timeframe like the daily, you could use M,2M,3M,4M. Which would mean 1,2,3,4 months. The default timeframes are very good for the charts in the range of 30min to 4hr.
  • Fast Length This is the smoothing factor for the fast line. The default is recommended, but you are free to customize as needed. Note that a higher value here will decrease the amount of signals.
  • Slow Length This is the smoothing factor for the slow length. It will work similarly to the short length, smaller values will increase signal frequency, but also make the trend signal choppier.
  • Adjustment Lag Turning this value down will cause the indicator to remain oversold and overbought for shorter periods. This will decrease the amount of signals. Turning it up will have the opposite effect.
  • Color Bars Toggling this turns on and off the bar coloring.
  • Color Lines According to Trend Toggling this option colors the oscillator lines according to the trend direction.


Please send me a message or leave a comment if you have any questions, good luck.

Notes de version

I have been playing with the settings and have some recommended settings for shorter term crypto trading.

  • Timeframe 1: "D"
  • Timeframe 2: "3D"
  • Timeframe 3: "6D"
  • Timeframe 4: "10D"
  • Adjustment Lag: 20

Notes de version

Version 1.01
Commentaires
syrinxflunki
TASTY ONIONS
chives152
Note that the timeframes selected in the settings should be considerably larger than the chart timeframe you would like to use this for.
Plus