Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Indicators - 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 12-29-2006, 10:37 AM
Senior Member
 
Join Date: Nov 2006
Posts: 215
luxinterior is on a distinguished road
Force Refresh?

Hi

I have an indicator that works well apart from one problem. I have to change the time frame of the chart to force it to refresh and repaint the dots. My question then is is there a line of code I can add to the indicator that will force it to automatically refresh at the start of a new bar/candle?

Thanks in advance...

Lux
__________________
Build An Expert Advisor. FREE E-course As Seen On TV
ForexArea.com
Users of Gap Trader from 'Forex-Assistant' MUST Read This
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-29-2006, 03:41 PM
Junior Member
 
Join Date: Jul 2006
Posts: 2
jlowder is on a distinguished road
I second this...

Quote:
Originally Posted by luxinterior
Hi

I have an indicator that works well apart from one problem. I have to change the time frame of the chart to force it to refresh and repaint the dots. My question then is is there a line of code I can add to the indicator that will force it to automatically refresh at the start of a new bar/candle?

Thanks in advance...

Lux
It would be nice to have this information...

Jason
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-29-2006, 07:56 PM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
omelette is on a distinguished road
Hi. It's not as simple as adding a line - the indicator is not dealing with new bars correctly. When you chage the TF you are indirectly refreshing all bars which is not the way to go, you just need the newest bar refreshed. What indicator is it?
Quote:
Originally Posted by luxinterior
Hi

I have an indicator that works well apart from one problem. I have to change the time frame of the chart to force it to refresh and repaint the dots. My question then is is there a line of code I can add to the indicator that will force it to automatically refresh at the start of a new bar/candle?

Thanks in advance...

Lux
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-29-2006, 10:25 PM
Senior Member
 
Join Date: Nov 2006
Posts: 215
luxinterior is on a distinguished road
Quote:
Originally Posted by omelette
Hi. It's not as simple as adding a line - the indicator is not dealing with new bars correctly. When you chage the TF you are indirectly refreshing all bars which is not the way to go, you just need the newest bar refreshed. What indicator is it?
It's the SHI signal. Works really well on 1HR chart in my limited tests but the refreshing every hour is a pain...

Lux
Attached Files
File Type: mq4 SHI_SilverTrendSig1.mq4 (3.7 KB, 38 views)
__________________
Build An Expert Advisor. FREE E-course As Seen On TV
ForexArea.com
Users of Gap Trader from 'Forex-Assistant' MUST Read This
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-30-2006, 02:29 AM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
omelette is on a distinguished road
This should do the trick. Enjoy.
Attached Files
File Type: mq4 SHI_SilverTrendSig1.mq4 (3.7 KB, 70 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 12-30-2006, 03:25 AM
Senior Member
 
Join Date: Nov 2006
Posts: 215
luxinterior is on a distinguished road
Thanks omelet...

I've loaded your version and will give it a test when the markets open again...

I'll update this thread after that.

Lux
__________________
Build An Expert Advisor. FREE E-course As Seen On TV
ForexArea.com
Users of Gap Trader from 'Forex-Assistant' MUST Read This
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
force index

Thread Tools
Display Modes

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
Big big problem of refresh with xo indicator Big Joe Indicators - Metatrader 4 6 10-23-2006 08:37 AM
Alert when for force index crosses a level??? qtmspin Metatrader 4 1 09-12-2006 03:30 PM
Refresh charts? keris2112 Expert Advisors - Metatrader 4 3 09-12-2006 03:13 PM
Making the indicator refresh itself? TheShanghai Indicators - Metatrader 4 1 02-15-2006 06:46 AM


All times are GMT. The time now is 10:24 AM.



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