Problems on VIDYA vs iVIDYA() Variable Index Dynamic Average

Hello,

on my ExpertAdviros i call VIDYA indicator of metaquotes (in Indicator / examples folder) with iCustom () function

instead

iVIDYA () which apparently uses another indicator code called “Variable Index Dynamic Average (in Indicator / Trend folder”)

they are drawn on the chart with different values for some CMO-EMA parameters set… furthermore, by calling VIDYA () from my expert advisor, infinite values are returned on start (on firts bars) as if it were set to EMPTY_VALUE while it should be enhanced with drawable and calculable values

here an example

00:00:00 VIDY:179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000000 01:00:00 VIDYA:1.181070 IND2:0.000000 Balance: 100000.00 Equity: 100000.00

02:00:00 VIDYA:179493889086152583100140305077463104919191427039390112646610818293562895879462297752381587744491879511339330355864077654145734307655457917778866722107331011759117981721001653071841886350928074911377255641953719879726153780521235588603675532709066195164151667378333735157671790850689257124878413699429859065856.000000 03:00:00 VIDYA:179356396221604872993066084804886101655476746736257204232036761836559188643557217402664313383959791569093548862533162032968201882031340784950969949839700123150285568253885803779004965352693324322164984786606720417968752548566558794582481960146032022777996275518781016045071639942786438896661305769950269407232.000000

questions:

  1. does anyone know why?

  2. does anyone know where to find the indicator code which is in the default folder “Indicators / Trend” which in MT5 is called “Variable Index Dynamic Average”?

there should be no differences between the two indicators, they should coincide instead give different values

Thanks for your help