Discussion of article "Developing stock indicators featuring volume control through the example of the delta indicator" - page 10

 
s22aa:

Uh, it's complicated. Ticks are copied both by time interval and quantity. In general, the system is duplicated no worse than in astronauts)))))

I've found where I've been messing around.

I am trying to copy an array into a variable. It is strange why the compiler does not react to it, and when you run it in the tester, the tester hangs.

I'll try to think of something else.

You need only by number. You are now receiving ticks without any checks. That's not how ticks work. That is why you probably get an array overrun, because the array is not marked, because the ticks have not been received.

 
Is it not possible to make a delta of horizontal volumes by price ?
 
__zeus__:
Is it possible to make a delta of horizontal volumes at the price?

You can. But it's much more complicated. And the topic of a separate article.

 
Alexey Kozitsyn:

We can. But it's much more complicated than that. And the topic of a separate article

I would like to add delta to this marvellous indicator https://www.mql5.com/en/code/15440.

Volume Profile + Range v6.0
Volume Profile + Range v6.0
  • www.mql5.com
Индикатор Volume Profile + Range v6.0 (бывший TPO). Распределение сделок по ценовым уровням на заданном временном участке. Показывается в виде гистограммы. Ширина гистограммы на данном уровне означает, условно, количество сделок, проведенных на ней. Если брокер предоставляет данные по реальному объёму, индикатор может показывать распределение и...
 
__zeus__:

I would like to add delta to this marvellous indicator https://www.mql5.com/en/code/15440.

It is better to ask the indicator's author about it.

 

I've been tinkering with this, but I'm not a programmer. It draws only in real time.

Files:
 
test on EURUSD,H1 (netting) test on XAUUSD,D1 (netting) test on GBPUSD,M30 (netting) test on EURUSD,M1 (netting)
Files:
close_down.PNG  93 kb
closed_up.PNG  78 kb
 
Manuel:

Hello, I am Spanish, I would like to add a logic to your indicator, so that it is shown as if it were an accumulated delta but without being one.

The logic is: If the close of the last candle is bullish, and the open[0] is greater or equal to the close[1], then the ask volume (purchases) are added to sumVolBuy, and the sales are subtracted to sumVolSell, and if the price is below the open[0], the purchases are subtracted to sumVolBuy and the sales are added to sumVolSell.

If the close of the last candle is bearish, then open[0] is less than or equal to close[1], then bid(sell) volume is added to sumVolSell and buys are subtracted from sumVolBuy, and if the price is above open[0], then sells are subtracted from sumVolSell and buys are added to sumVolBuy.

In this way the cumulative delta takes another meaning and shows us who dominates the market..... If you have any questions my email is "sevilla6264@gmail.com".

I look forward to hearing from you. Regards.

Answered in PM.

 
Can we make it MTF
 
__zeus__:
Is it possible to make it MTF

Answered in a PM.