DarkPoolTrading

Function Square Wave

This is a script to draw a square wave on the chart, with an indicator for current price.

Markets undergoing Dow Jones or Wyckoff Accumulation/Distribution cycles tend to move in such waves, and if the period of the cycles are detected, a signal for accumulation/distribution phases can be created as an early warning.

Useful inputs:
- Average True Range as the wave height.
- Assumed Wave period as the wave duration.

I divided the current price wave by 2 to make the indicator more visually friendly.

GLHF
- DPT
Script de código aberto

No verdadeiro espírito TradingView, o autor deste script o publicou com código aberto, para que os traders possam compreendê-lo e verificá-lo. Um brinde ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para utilizá-lo em um gráfico.

Quer usar esse script no gráfico?

Comentários

can you explain how to choose the time?
Resposta
DarkPoolTrading kajukatli1101
@kajukatli1101, Hey, I have found that the optimal time frame is different for each market. It is up to the user to experiment to find a good fit.
Resposta
kajukatli1101 DarkPoolTrading
@DarkPoolTrading, thanks for your response, I'm talking about the setting of indicator on this 4h chart above you have chosen the wave_duration as 88 on the overlay indicator and wave_duration as 25 in the indicator which is below.please explain how to choose that.
Resposta
DarkPoolTrading kajukatli1101
@kajukatli1101, Hey, thanks for the question. The time setting is subjective. It is up to the user to determine a wave duration with a good fit.

I recommend looking for wave durations that match with previous cycles in the price.
Resposta
kajukatli1101 DarkPoolTrading
@DarkPoolTrading, ok thanks, Really appreciate it.
+1 Resposta
DarkPoolTrading kajukatli1101
@kajukatli1101, Welcome!
Resposta