[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 255

 

I understand that I need to divide by n

The thing is, the log gives out a bunch of values, but I need one - the final one

 
palesandr:

I understand that I need to divide by n

The thing is, the log gives out a bunch of values, but I need one - the final one


The log shows one value every tick.
 

and they're different.

and how can you do just one,

It doesn't have to be in the log.

 
palesandr:

and they're different.

and how can you do just one,

It doesn't have to be in the log.


to write a script, not an expert.

 

Maybe make an indicator?

Can you help with such an indicator?

 
palesandr:

maybe make an indicator?

If you don't mind, can you help with such an indicator ?


Maybe an indicator. I don't know what you need exactly.

Maybe I can help, maybe someone else can. If you have any difficulties, please write in this thread.

I will not write your indicator for you, though it won't take long. :)

 
and thank you for that.
 

Hi all. Please help: I need to assign to a variable the value of the current "MACD bar" and to a second variable the value of the previous...

 
Ivan1:

Hi all. Please help: I need to assign to a variable the value of the current "MACD bar" and to a second variable the value of the previous...

iMACD
 
ilunga:
iMACD
I don't need a signal line.... just the ratio of the MACD histogram - its current reading with the previous one, that's what I need to assign them to the variables
Reason: