Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-07-2007, 02:32 PM
Junior Member
 
Join Date: Sep 2006
Posts: 3
apres is on a distinguished road
How do I refresh an indicator?

Hi folks,
Some of the indicators I use repaint history if I reload by opening the indicator properties box and then closing the box (without necessarily changing parameters).
I would like to reload the indicator from within the code at the start of each bar.
It's not an issue of the way the indicator counts,so I tried -

if(TimeCurrent()==Time[0])WindowRedraw();

It didn't work and I can't find anything in the MT4 manual.
If anyone can point me in the right direction, I'd be most grateful, as it would make these indicators much more useful.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-07-2007, 02:37 PM
increase's Avatar
Senior Member
 
Join Date: May 2006
Posts: 649
increase is on a distinguished road
Perhaps you can play with something like this, it works for MTF if(Time[i]==TimeArray[y])
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Force Refresh? luxinterior Indicators - Metatrader 4 5 12-30-2006 02:25 AM
Big big problem of refresh with xo indicator Big Joe Indicators - Metatrader 4 6 10-23-2006 07:37 AM
Refresh charts? keris2112 Expert Advisors - Metatrader 4 3 09-12-2006 02:13 PM
Making the indicator refresh itself? TheShanghai Indicators - Metatrader 4 1 02-15-2006 05:46 AM


All times are GMT. The time now is 08:23 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.