Thank you! (Just for a while) I'm interested in small TFs charts,
which could be useful for analysing rapid movements
of some commodities and instruments. Though, maybe
it's not a good idea to watch such small TFs...
Re: Coding Help
12I did not do it based on time - only based on tickswojtek wrote:Hi, Everybody!
Dear Mladen,
have you ever coded an indicator / expert
preparing charts with TFs smaller than 1M (e.g. 10s)?
Of course, they would probably be built online using ticks, or so...
Such charts / TFs could be sometimes quite useful,
and are available on some trading platforms.
It can be done based on time, but it will largely depend on the starting time of offline data generation (for example : data started at nn:nn:00 will not be the same as data started at nn:nn:01 and the difference can be huge)
Re: Coding Help
13Right, it would be strongly time-dependent. But, if you can set it to start at nn:nn:00,
it would already be something... It could be a very convenient tool, available
on other trading platforms by default.
it would already be something... It could be a very convenient tool, available
on other trading platforms by default.
Re: Coding Help
14That is probably the main problem :wojtek wrote:Right, it would be strongly time-dependent. But, if you can set it to start at nn:nn:00,
it would already be something... It could be a very convenient tool, available
on other trading platforms by default.
Even if I make it on timer, that does not guarantee that the bars are going to be formed at precise time (timer can be delayed and can "drift" from the desired time). So, I don't think that, from the users side, it is possible to make seconds based offline chart that would be generated at exact time interval
Re: Coding Help
16Hello mladen,mladen wrote:
Try it out now
indicator has error "array out of range in 'BSV_3_Mtf_Alert' (324,44)".
Can you fix it please?
Re: Coding Help
17Why did you comment out the levels (signals)?knaimad wrote:Professor mladen,
Did I copied your mtf code right?
That way you don't have those lines in mtf mode. Other than that all is OK
Re: Coding Help
18That indicator can not be used as it is now. I have already asked what exactly was the goal of that indicator and haven't got the answer yet. What is suer, one can not just copy/paste some code from another code and expect it to workbeppi wrote:
Hello mladen,
indicator has error "array out of range in 'BSV_3_Mtf_Alert' (324,44)".
Can you fix it please?
Re: Coding Help
19sure, the comments were left by accident.mladen wrote: Why did you comment out the levels (signals)?
That way you don't have those lines in mtf mode. Other than that all is OK
Thanks
Re: Coding Help
20Yes, wasted time by Hermo's experiment.mladen wrote:
That indicator can not be used as it is now. I have already asked what exactly was the goal of that indicator and haven't got the answer yet. What is suer, one can not just copy/paste some code from another code and expect it to work
Who is online
Users browsing this forum: No registered users and 13 guests