New metatrader 4 compatible indicators - page 297

 

Hello,

Is it possible to have the values of Trix and signal with 6 digits instead of 4 ?

Thanks.

Jo

Files:
jovager.jpg  488 kb
 
Jovager:
Hello,

Is it possible to have the values of Trix and signal with 6 digits instead of 4 ?

Thanks.

Jo

Jo

Place

IndicatorDigits(6);

anywhere in the init() function and it will show 6 digits from then on

 

Mladen,

It's done, but no change, always 4 digits.

But when I place IndicatorDigits(6);

I have the message "void IndicatorsDigits(int digits)" that appears .

Something more to place ???

 
Jovager:
Mladen,

It's done, but no change, always 4 digits.

But when I place IndicatorDigits(6);

I have the message "void IndicatorsDigits(int digits)" that appears .

Something more to place ???

Jo,

Can you post the code that you are trying to change?

 

Here it is

Files:
trix1.mq4  5 kb
 
Jovager:
Here it is

Jo

Try it out now : trix1_1.mq4

Files:
trix1_1.mq4  5 kb
 

Mladen,

Always 4 digits.

 
Jovager:
Mladen, Always 4 digits.

I don't know what are you watching, but I am getting 6 digits as it should be (in the data window as well as the displayed values in the indicator window) :

Files:
trix.jpg  230 kb
 

Mladen,

I'm really sorry.

I have shutdown and reopen, and all is OK.

You are always right and always the best.

Thanks again.

Jo

 

trix1.mq4

Mladen,

In the Trix window, there are 4 numbers : 1-Trix value, 2-Signal value, 3- Difference ?, 4-Difference again ?

What change to have in 4 Preview Difference ?

Thanks in advance.

Jo

Files:
trix1.mq4  5 kb