Forex Tester Forum (Professional Training Software for Traders) Forum Index Forex Tester Forum (Professional Training Software for Traders)

Back to main site   Risk disclosure
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Dynamic levels on different timeframes

 
Post new topic   Reply to topic    Forex Tester Forum (Professional Training Software for Traders) Forum Index -> FT API
View previous topic :: View next topic  
Author Message
JetHedgehog



Joined: 10 Jan 2013
Posts: 3

PostPosted: Thu Jan 10, 2013 8:34 am    Post subject: Dynamic levels on different timeframes Reply with quote

Greetings!

I'm making "Murray Math Levels" idicator. All is working fine, except 1 very annoying thing... To draw dynamic horizontal levels I use CreateObject and create horizontal lines. That's working fine until switching to another timeframe... because I cannot detect it and redraw this lines.

If I install indicator on several timeframes at once, I cannot create different set of lines for different timeframes, cause it's the same chart window. It would be great if I can call AddLevel and later ChangeLevel or ClearLevels - simple and straightforward method. Sadly, there's no such valuable methods today.

I know that usually indicators should use IndexBuffers, but don't understand how I can draw infinite horizontal lines using Buffers...

Could you please implement ChangeLevel / ClearLevels method and/or give advice how to workaround this problem?
Back to top
View user's profile Send private message
FT Support



Joined: 11 Jul 2009
Posts: 901

PostPosted: Fri Jan 11, 2013 2:28 pm    Post subject: Reply with quote

Sorry but we do not plan to implement such functionality in nearest future. As a work-around you can try drawing lines with Canvas (see an example of using Canvas in TimeBox indicator code) with canvas you can actually draw everything on the chart.
_________________
Check our other products here:
www.fx-metropolis.com
www.forexcopier.com
Back to top
View user's profile Send private message Visit poster's website
JetHedgehog



Joined: 10 Jan 2013
Posts: 3

PostPosted: Fri Jan 11, 2013 5:31 pm    Post subject: Reply with quote

Sadly, I don't have that example in Examples\... dir ... where is it? Could you please attach it to the post? Thank you!
Back to top
View user's profile Send private message
KelvinHand



Joined: 02 Jan 2011
Posts: 90

PostPosted: Fri Jan 11, 2013 11:55 pm    Post subject: Re: Dynamic levels on different timeframes Reply with quote

JetHedgehog wrote:
Greetings!

I'm making "Murray Math Levels" idicator. All is working fine, except 1 very annoying thing... To draw dynamic horizontal levels I use CreateObject and create horizontal lines. That's working fine until switching to another timeframe... because I cannot detect it and redraw this lines.

If I install indicator on several timeframes at once, I cannot create different set of lines for different timeframes, cause it's the same chart window.



Not sure your problem.

But why can't you open all TFs in difference charts to display you "Murray Math Levels" to fix the issue, Before you use to install indicator on several timeframes at once ?

During your fixing on each timeframe, you can gather all the right setting and put into array for each timeframe.

I hope this help.
Back to top
View user's profile Send private message
JetHedgehog



Joined: 10 Jan 2013
Posts: 3

PostPosted: Sat Jan 12, 2013 7:31 am    Post subject: Reply with quote

Quote:
can't you open all TFs in difference charts to display you "Murray Math Levels" to fix the issue

That's inconvinient. I'm using graphical analysis. For example, I can draw additional line manually once and see it in different timeframes. In your scenarion I'll need to draw 4 similar lines for 4 timeframes - quite annoying.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Forex Tester Forum (Professional Training Software for Traders) Forum Index -> FT API All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group