Forum Replies Created
- AuthorPosts
Hello Kiads, Actually i find your renko indicator at tsd forum . I was interested your renko trading system i find at ff forum. Just want to double confirm with you , i read at the tsd forum and have some one find out the problem when using MA filter alert . And mladen at tsd was say may be is the code have some wrong . Copy from Tsd : Since almost all the renko chart builders are based on the same original code, it is almost sure that the indicator has this part of code (or the same but without the “1” in the name of the variable) : if(PrevTime1 < Time[i1]) <b>PrevTime1 </b>= Time[i1]; else <b>PrevTime1</b>++; If that is so, it is trying to change the time of the bar at each tick. But that can be checked only in run time – when the market is opened So can you confirm ,because i also like to use MA alert to find the trend . Thank you . Joker.
Hi Brother, Thank You for your advice… Mladen is one of my great virtual teacher.., and yes it’s true that most of offline chart builders (EAs /Scripts or Indicators), use time comparing updater to emulate online chart.. but your example is weird, In my understanding, if ‘previous time value’ is less than ‘current time value’ that mean there’s new bar in base/resource data chart, and the offline chart builder should update the new bar price value, and after the price value ‘update’ then ‘current time value’ should become ‘previous time value’ and the loop stopped. And current opening bar time (in this case M1 bar) only change every minute, and not every tick. So, we don’t use Time inside ‘For’ loop but we use Time[0]. it will look like;
if (PreviousTime < Time[0]) { updating value codes.... PreviousTime = Time[0]; } // so, we don't use any 'else' here to incrementally increase PreviousTime variable value..Hope you understand and Best Regards MTH
Thanks for your answer , finally i know how it work

Hello Kiads,
Actually i find your renko indicator at tsd forum .I was interested your renko trading system i find at ff forum.
Just want to double confirm with you , i read at the tsd forum and have some one find out the problem when using MA filter alert .
And mladen at tsd was say may be is the code have some wrong .
Copy from Tsd :
Since almost all the renko chart builders are based on the same original code, it is almost sure that the indicator has this part of code (or the same but without the “1” in the name of the variable) :
if(PrevTime1 < Time[i1]) <b>PrevTime1 </b>= Time[i1];
else <b>PrevTime1</b>++;If that is so, it is trying to change the time of the bar at each tick. But that can be checked only in run time – when the market is opened
So can you confirm ,because i also like to use MA alert to find the trend .
Thank you .
Joker.
- AuthorPosts