OrionAlgo

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
Skyddat skript
Detta skript publiceras med stängd källkod och du kan använda det fritt. Du kan ange den som favorit för att använda den i ett diagram. Du kan inte visa eller ändra dess källkod.
Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?