Decimal value for MACD

To add comments, please log in or register
danizani95
142
danizani95  
Hi guys, I have a question.. Is it possible to set decimals value for a MACD ? for example : 12, 26, 7.5  Thanks
honest_knave
Moderator
2302
honest_knave  
If you read up on what those MACD settings relate to, you can probably answer your own question. It's always a good idea to understand an indicator before relying upon it, IMHO.
Achmad Wijaya
814
Achmad Wijaya  
danizani95:
Hi guys, I have a question.. Is it possible to set decimals value for a MACD ? for example : 12, 26, 7.5  Thanks

in my Opinion, it's Possible

macd


Try this

Alain Verleyen
36142
Alain Verleyen  
Achmad Wijaya:

in my Opinion, it's Possible



Try this

You should post the code if you modified it.
Alain Verleyen
36142
Alain Verleyen  
Achmad Wijaya:

in my Opinion, it's Possible



Try this

Anyway, it's useless to change the input parameters from int to double. MACD is using Moving Average, and the parameters are the periods, it doesn't make sense to use non-integer values.
honest_knave
Moderator
2302
honest_knave  
Alain Verleyen:
Anyway, it's useless to change the input parameters from int to double. MACD is using Moving Average, and the parameters are the periods, it doesn't make sense to use non-integer values.
 
Alain Verleyen
36142
Alain Verleyen  
honest_knave:
 
Yeah sorry I had to say before it became a new Grail
Achmad Wijaya
814
Achmad Wijaya  
Alain Verleyen:
Anyway, it's useless to change the input parameters from int to double. MACD is using Moving Average, and the parameters are the periods, it doesn't make sense to use non-integer values.
I think I don't need to post the code, because you know what I do, you are correct Sir :)
danizani95
142
danizani95  
So any concrete solution? :)
Achmad Wijaya
814
Achmad Wijaya  
danizani95:
So any concrete solution? :)
you see it possible, but useless :), I don't know if using another convertion of the value
Keith Watford
Moderator
14029
Keith Watford  
danizani95:
So any concrete solution? :)

There is no solution because there is no problem.

Periods cannot be anything other than integers.

12
To add comments, please log in or register