when i use this indicator on 4 digits broker it works fine.
however when i use this indicator on a 5 digit broker. i check the expert tap. and i see it gives a zero devine error when i add the indicator on chart.
orginally the indicator is for 4 digits.
however someone made an option so it would work on 5 digits.
extern bool UseExtraDigit = true;
but turning that on gives teh zero devide error and also different signals then 4 digits brokers.
could anybody have a look and tell me where i need to look to fix this?
i thought maybe in here?
thanks
however when i use this indicator on a 5 digit broker. i check the expert tap. and i see it gives a zero devine error when i add the indicator on chart.
orginally the indicator is for 4 digits.
however someone made an option so it would work on 5 digits.
extern bool UseExtraDigit = true;
but turning that on gives teh zero devide error and also different signals then 4 digits brokers.
could anybody have a look and tell me where i need to look to fix this?
i thought maybe in here?
Inserted Code
/*(L>O1)&&*/(O==C)&&((C2>O2)&&(C2-O2)/(/*0.001+*/H2-L2)>Doji_Star_Ratio)/*&&(C2<O1)*/&&(C1>O1)/*&&((H1-L1)>(3*(C1-O1)))*/&&(CL>=(Doji_MinLength*Point))) { if (Display_Doji == true) {
thanks
Attached File(s)
Pattern_Recognition_Master_v3.mq4
28 KB
|
501 downloads