Forex



Go Back   Forex Trading > Downloads > Indicators - Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 12-29-2006, 10:37 AM
Senior Member
 
Join Date: Nov 2006
Posts: 308
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web 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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web 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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 12-29-2006, 10:25 PM
Senior Member
 
Join Date: Nov 2006
Posts: 308
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, 47 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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web 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, 89 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 12-30-2006, 03:25 AM
Senior Member
 
Join Date: Nov 2006
Posts: 308
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
force index, force


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 05:54 AM.



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