projeadam

Auto Range [lovealgotrading]

  • OVERVIEW:
An indicator that automatically draws a range and generates signals according to changing market conditions. ( This indicator does not REPAINT )

  • ALGORITHM OF THE INDICATOR:
> When we examine the price, it generally moves in trend only 30 percent of the time and in consolidation 70 percent of the time.
> While the price is consolidating, it creates a range and continues to move within the range until this range is broken, BUT the market conditions are constantly changing and our range levels are expected to change with each new bar. I developed an indicator considering this situation.
> When Range Trading, we determine the high and low levels and we can open trades according to the price's reactions at these levels.
> However, after we draw a range, market conditions constantly change, and opening a transaction without taking into account the changing market conditions is an obstacle to our success.

  • IMPLEMENTATION DETAILS WITH EXAMPLE:

What kind of algorithm do I use to draw a range automatically?
For example, let's set the Number of line value to 4 and set our Period to 14.
1- Let our highest 4 values be = 100, 110, 120, 130, the average of these values is
2- (100+110+120+130)/4 = 115, in this case our Range High Value becomes 115.
3- Within the period we have determined (we have currently set 14, but you can change it), the price sees the highest level of 140.
4- In this case, our 4 largest levels = 110 120 130 140 and our average becomes (110 + 120 + 130 + 140) / 4 = 125 and the range high Our level changes automatically and becomes 125.
5- Let's take the example below, where we determine our 4 highs within the 14 bars we set and average them, if our high changes, our range high goes up.

>> I tried to draw the change with the red arrow

How does this situation appear on the indicator?



  • >>> Classic Range Trade and Auto Range Trade <<<

  • Classical Range Trade:


  • Auto Range Trade:


  • SETTINGS PANEL:

    • Which Signals Are More Important (Example Study)


    • If you have any ideas what to add to my work to add more sources or make calculations cooler, suggest in DM .

I am an engineer who has been working in the topic of algorithmic trading for more than 5 years.By browsing my website , you can review and use many sample indicators that I have designed for you.
Script protegido
Este script é publicado como de código fechado e você pode usá-lo livremente. Você pode favoritá-lo para utilizá-lo em um gráfico. Você não pode visualizar ou modificar seu código fonte.
Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?