As a junior develooer I need your help.
I'm trying to create a new indicator that:
Gets three inputs
1. A market price (double). for example 11225.00
2. First number (double) 1.001
3. Second number (double) 0.999
The indicator returns two double numbers
A. Input #1 * Input #2 (For ex. 11236.00)
B. Input #1 * Input #3 (For ex. 11214.00)
The two return outputs creates a range indicator between both
Second issue:
How to round a number
0.5 and up --> Round to upper value ( 1.0 )
0.49 and down --> Round to lower value ( 0.0 )
Thanks !
Lior
Comment