Hi all, I would like to create an histogram indicator to track the time for every Renko brick.
I wrote this but I seem it doesn't work well, could you help me? Thank you!
//---- last counted bar will be recounted
//---- calcolo entry_long
for(int i=1; i<limit; i++)
Histogram[i] = Time[i] - Time[i+1] ;
Histogram = TimeCurrent() - Time ;
Thank you very much!
Could you explain the Threshold ?
"Work well" or "Doesn't work" is meaningless - just like saying the car doesn't work. Doesn't
start, won't go in gear, no electrical, missing the key, flat tires -
There are no mind readers here and our crystal balls are cracked.
1. I don't understand why you waste time with these rude answers. If you don't want to look at the code, it's enough that you don't answer, don't you think?
2. No, Threshold is to avoid to obtain too big histogram. The bars are drawn anyway.
I am no coder, but threshold seems to be the maximum value in minutes that a renko bar can have in the histogram even if that renko bar lasts longer than the specified threshold. So if threshold is 1000, then renko bars that lasts longer than 1000 min will have value of 1000 in the histogram.
1. I don't understand why you waste time with these rude
answers. If you don't want to look at the code, it's enough that you
don't answer, don't you think?