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

 

The article is very good and so is the indicator.

But the problem is that it's almost impossible to implement it in an expert advisor. For traders interested in tape reading, there is a gap in the copytrade function, for example. While other platforms can easily work with tape reading, on MT5 it's almost impossible to implement and backtest.

I tried it myself for a month and I still can't backtest my tape reading EA. Other developers in the freelance tab can't do it that well either. I think mql5 is great, but users need some support on this particular issue.

 
Paulo Possobon expert advisor. For traders interested in tape reading, there is a gap in the copytrade function, for example. While other platforms can easily work with tape reading, on MT5 it's almost impossible to implement and backtest.

I tried it myself for a month and I still can't backtest my tape reading EA. Other developers in the freelance tab can't do it that well either. I think mql5 is great, but users need some support on this particular issue.

Me too....

It's hard to test

and the CopyTicksRange function is also difficult to implement...

 
Paulo Possobon expert advisor. For traders interested in tape reading, there is a gap in the copytrade function, for example. While other platforms can easily work with tape reading, on MT5 it's almost impossible to implement and backtest.

I tried it myself for a month and I still can't backtest my tape reading EA. Other developers in the freelance tab can't do it that well either. I think mql5 is great, but users need some support on this particular issue.

I implemented it successfully, but it took me almost a year to understand how and why Brazilian brokers handle data differently from the rest of the brokers. What's more, Brazilian brokers at the time (2016) had a lot of instability when it came to data quality, it was very common to receive data missing a few ticks and then after 5-10 minutes receive an update about these missing ticks, it was hell to test without knowing about these problems... At least the data quality has started to match the 2017 B3 reports .

The problem lies with the broker who provides the data. For the backtest, you can run using "every tick based on real ticks", but again, you'll depend on your broker's data. In Brazil, backtesting futures contracts only works until the contract expires. After it expires, you have to switch to the new one and lose all the data from the last series of contracts. Perpetual contracts like WIN$/@ don't provide the information needed for delta and cumulative delta to work properly. One idea is to store the data on the day it expires, buy the data or wish ftp.bvmf.com.br would come back again =/

Anyway, I'd love it if MetaQuotes could add 3 more fields to the MqlTick structure, the buyer/seller broker ID and the cross trade indication. Although this is something very specific to the Brazilian stock market, it would be very cool!

 

Is there any point in ticks without volume, replaced it with this.


//--- Check the direction of the tick
   if(( tick.flags&TICK_FLAG_BUY)==TICK_FLAG_BUY && (tick.flags&TICK_FLAG_SELL)==TICK_FLAG_SELL) // If both directions tick
      Print(__FUNCTION__,": ERROR! Tick '"+GetMsToStringTime(tick.time_msc)+"' of unknown destination!");
   else if(( tick.flags&TICK_FLAG_BUY)==TICK_FLAG_BUY) // If the tick to buy
   sumVolBuy+=(long)TICK_FLAG_VOLUME;
   else if(( tick.flags&TICK_FLAG_SELL)==TICK_FLAG_SELL) // If the tick is for sale
   sumVolSell+=(long)TICK_FLAG_VOLUME;
   else                                                  // If the tick is not a trade tick
   Print(__FUNCTION__,": ERROR! Tick '"+GetMsToStringTime(tick.time_msc)+"' not a tradesman!");
  }

got


 
What's the problem? Where's the Advanced Delta 7 in 1?
 

Hello friends, I was looking for an indicator on aggression and came across this topic.

I even downloaded the indicator from this link https://www.mql5.com/en/articles/3708


But it only calculates the current day, I confess that my knowledge is limited in MQL5 programming and I would like to know if anyone knows how to get more periods in this indicator in this link. Thank you in advance.

Developing stock indicators featuring volume control through the example of the delta indicator
Developing stock indicators featuring volume control through the example of the delta indicator
  • www.mql5.com
The article deals with the algorithm of developing stock indicators based on real volumes using the CopyTicks() and CopyTicksRange() functions. Some subtle aspects of developing such indicators, as well as their operation in real time and in the strategy tester are also described.
 

Hello all,

Couldn't find this improved version with cummulative Delta, does anybody has it?

Thanks!

 
Rogerio Celentano Szterling #:

Hey, everybody,

Could not find the improved version with cumulative delta, does anyone have it?

Thanks!

Delta between what and what?
 
Rogerio Celentano Szterling #:

Hey, everybody,

Could not find the improved version with cumulative delta, does anyone have it?

Thanks!

Do you mean volume based cumulative delta (i.e. the difference between buying and selling volume)?

There are several versions of this concept, if you can clarify, I'm sure someone can help you better.