View Single Post
  #19 (permalink)  
Old 05-15-2006, 01:33 PM
yousky yousky is offline
Member
 
Join Date: Dec 2005
Posts: 60
yousky is on a distinguished road
Hi,

First hellkas I will appreceate you keep my file header after converting the mql indicator with my tool Mql2Mq4 !!!

Then it's normal that the converted one does not work properly, if you look in Metatrade 4 in the Expert message log TabSheet (Panel) you will see "Zero Devide exception" like on this picture. In the Indicator script you use divide operator, with some times NULL :-( that's whyt this error, and I repeat, in Metatrade 3, there were no exceptions generated for that, nevertheless in Metatrade 4.

I put the converted one working like on MT 3, and you can see what type of change i've made.

Bye bye
Attached Images
File Type: jpg Exception.jpg (51.7 KB, 194 views)
Attached Files
File Type: mq4 TTMStoch.mq4 (4.9 KB, 68 views)
Reply With Quote