Download MetaTrader 5

Indicators: Delta Force

To add comments, please log in or register
Add the thread to Favorites. Track the changes even faster!
MetaQuotes Software Corp.
Moderator
181337
MetaQuotes Software Corp. 2006.07.19 12:06 

Delta Force:

Delta Force Indicator.

Author: Collector

cozyman
238
cozyman 2016.05.02 21:21  
This indicator needs to be reworked, it only shows up volume
Stanislav Korotky
17929
Stanislav Korotky 2016.05.03 17:09  
cozyman:
This indicator needs to be reworked, it only shows up volume
According to the source code, it does show up and down sums of candles in corresponding colors - green and red. Why do you think it only works for "up" volumes?
rajakesar
235
rajakesar 2016.05.03 21:20  

It only does show up volumes.  No red bars at all.

 

Delta Farce 

Stanislav Korotky
17929
Stanislav Korotky 2016.05.04 11:27  
rajakesar:

It only does show up volumes.  No red bars at all.

Replace the lines:

if(!SetIndexBuffer(0, ind_buffer1) &&
      !SetIndexBuffer(1, ind_buffer2) &&
      !SetIndexBuffer(2, ind_buffer3))
      Print("cannot set indicator buffers!");

 with

if(!SetIndexBuffer(0, ind_buffer1) ||
      !SetIndexBuffer(1, ind_buffer2) ||
      !SetIndexBuffer(2, ind_buffer3))
      Print("cannot set indicator buffers!");

Actually this indicator is poorly coded. The 3-d index buffer is not used as well as many other variables. And it recalculates all bars on every tick.

rajakesar
235
rajakesar 2016.05.04 21:05  
Thank you.  That did it.
To add comments, please log in or register