Page 32 of 42

Posted: Mon Jul 26, 2010 11:40 am
by Brookmyre
Bredin, Love the spread indicator. Brilliant!

Posted: Mon Jul 26, 2010 8:31 pm
by bredin
cliftonarms wrote:Bredin - I would like to complement you on your coding abilities, especially with respect to your II_SupDem.mq4

I am a pro coder in other languages and was both pleased and impressed to find Sam Seidens methods coded in an indicator. A tricky one...Well done.


thanks mate, but I really am just a "cut and paste" coder ;)

II_Supdem is really a ZZ indi with a filter and some uglycode(tm) :lol:

G.

Posted: Mon Jul 26, 2010 8:36 pm
by bredin
thanks brookmyre,
I stole the idea from another trade platform ;)

G.

Posted: Mon Jul 26, 2010 11:01 pm
by Brookmyre
Stole/inspired by... ;)

Posted: Mon Jul 26, 2010 11:44 pm
by bredin
just noticed that at the max zoom level the spread moves from the right hand edge of the screen to right next to the last bar on the chart.

I have fixed it, and will upload it later as its not a major problem.

G.

Posted: Tue Jul 27, 2010 2:50 am
by MightyOne
Brookmyre wrote:Bredin, Love the spread indicator. Brilliant!


I think that Bredin should work for MetaTrader :wink:

Posted: Thu Jul 29, 2010 6:18 pm
by poltergeist
bredin,

I have problem with II_DB_RANGE and II_ShowPairCool.
when I add them, they are "invisible" or there is only AUDUSD in every line of DB_RANGE...
what I missed?

Posted: Thu Jul 29, 2010 8:27 pm
by bredin
poltergeist wrote:bredin,

I have problem with II_DB_RANGE and II_ShowPairCool.
when I add them, they are "invisible" or there is only AUDUSD in every line of DB_RANGE...
what I missed?
there is an issue with II_DB_RANGE where nothing will show if you include a pair that your broker does not carry. I could not find a way to check this programatically since it seems any query to an unsupporeted pair crashed the indi (ie an issue with MT4's handler).

Same pair on every line? cant replicate that at my end, but it was something that I had to during coding. Have you changed the code in any way?

II_ShowPairCool: I cannot replicate that either. it loads just fine on my end.

There may be an issue (for both indis) if you move the pox.x and/or pos.y values too close to the edge of the screen, MT4 will not draw those objects. change these values to 200 to see if that is the issue.

G.

Posted: Fri Jul 30, 2010 6:47 am
by poltergeist
bredin wrote:there is an issue with II_DB_RANGE where nothing will show if you include a pair that your broker does not carry. I could not find a way to check this programatically since it seems any query to an unsupporeted pair crashed the indi (ie an issue with MT4's handler).


It seemed that MTB carries all of these pairs checked as "true", but I shall examine that.

Same pair on every line? cant replicate that at my end, but it was something that I had to during coding. Have you changed the code in any way?

I have not changed anything in the code.
It happened once or twice. There was AUDUSD in every line, column spread - "3.3" in every line, and rest of columns was filled with "0". I shall try to get such an output tonight, and post it if you want.


II_ShowPairCool: I cannot replicate that either. it loads just fine on my end.

There may be an issue (for both indis) if you move the pox.x and/or pos.y values too close to the edge of the screen, MT4 will not draw those objects. change these values to 200 to see if that is the issue.

G.


thx. shall check this solution.

Posted: Fri Jul 30, 2010 3:38 pm
by poltergeist
bredin,
II_DB_RANGE - works when I filtered pairs.
II_ShowPairCool - even when I change position, there is only actual pair name, rotated... and that's all... have to try sth else... :)
anyway, thx