Hi.
Anybody willing to recode the "copy template to all charts script" so it can exclude specific pairs?
I am using a dashboard and have multi instances of eas on 28 other charts. Every time I have to uppdate the other charts I have to take away the dashbord and reload it afterwards.
I use xauusd as my dashboard chart because I dont trade that pair, so excluding that pair would be nice.
Hope some helpful soul are willing to help me with this.
//Thomas
exclude pairs in "copy template to all charts script"
-
OneandOnly666
- Trader
- Posts: 14
- Joined: Fri Mar 16, 2012 10:16 pm
exclude pairs in "copy template to all charts script"
You do not have the required permissions to view the files attached to this post.
-
MrLong
exclude pairs in "copy template to all charts script"
Try this.
Just enter the pairs to ignore.
Andy
Just enter the pairs to ignore.
Andy
You do not have the required permissions to view the files attached to this post.
-
OneandOnly666
- Trader
- Posts: 14
- Joined: Fri Mar 16, 2012 10:16 pm
exclude pairs in "copy template to all charts script"
Most greatful Andy. :hi:
//Thomas
//Thomas
-
OneandOnly666
- Trader
- Posts: 14
- Joined: Fri Mar 16, 2012 10:16 pm
exclude pairs in "copy template to all charts script"
Worked like a charm. Thanks again Andy.
I do have a question about the code though, Im trying to learn to code.
if (Chart != CurrentChart && StringFind(ignorePairs,ChartSymbol(Chart),0)<0)
I do understand the ignorepair and that it is the specific chart.
But the ,0 and <0 I dont really get. Is the 0 for current timeframe?
And how must it be less than 0?
//Thomas
I do have a question about the code though, Im trying to learn to code.
if (Chart != CurrentChart && StringFind(ignorePairs,ChartSymbol(Chart),0)<0)
I do understand the ignorepair and that it is the specific chart.
But the ,0 and <0 I dont really get. Is the 0 for current timeframe?
And how must it be less than 0?
//Thomas
-
MrLong
exclude pairs in "copy template to all charts script"
The 0 means start at the beginning of the string and search for the pairs and if the find is lower than zero(none) apply the template.OneandOnly666 » Mon Apr 06, 2015 8:27 pm wrote:Worked like a charm. Thanks again Andy.
I do have a question about the code though, Im trying to learn to code.
if (Chart != CurrentChart && StringFind(ignorePairs,ChartSymbol(Chart),0)<0)
I do understand the ignorepair and that it is the specific chart.
But the ,0 and <0 I dont really get. Is the 0 for current timeframe?
And how must it be less than 0?
//Thomas
Andy
-
OneandOnly666
- Trader
- Posts: 14
- Joined: Fri Mar 16, 2012 10:16 pm
exclude pairs in "copy template to all charts script"
Ok, think I get it.
So if there are pairs to be ignored, the find is bigger than 0 and it will not be applying the template to those pairs.
Thanks for the explanation Andy.
//Thomas
So if there are pairs to be ignored, the find is bigger than 0 and it will not be applying the template to those pairs.
Thanks for the explanation Andy.
//Thomas