PROTECTED SOURCE SCRIPT

ATH Oscillator Study

This idea stems from the belief that people want to reverse the trend when an all time high or low is hit. This strategy incorporates that by using ath and atl values based on the lookback period and the signal gets smoothed by the input smoothing type and length. I found that the best time to use this was on the 3m chart. But I am certain that higher time frames can be used if the settings are tweaked.

Settings:
Strategy -
simple(long,short,switch) - This strategy just uses the directional change of the signal using just longs, just short, or switching between the two.
range - This strategy uses the hlines on the chart to determine when to buy and sell. These can be adjusted using the Range Top / Bot values
div - This strategy uses a simple divergence of the signal line to time entries
Lookback - How many bars back to check the ath and atl
Smoothing - How smooth you want the signal
Smoothing Type - Different ways to smooth the signal
Range Top/Bot - Changes the height of the hlines for the range strategies
On Buy/Sell Signal # - Change when you enter. Increasing this number will move the signals to the left if there are consecutive signals. Useful to find bottoms and tops.

Chart: ETHUSD Perp Bybit

Notes: Use on 3-5m time frame for best results. Change settings if you want to try other coins like BTC or higher time frames
3m5m5minATHATLMoving AveragesOscillators

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?

Disclaimer