<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Komentarze do wpisu: 6 przydatnych mini funkcji MQL</title>
	<atom:link href="http://luktom.biz/blog/e348/6-przydatnych-mini-funkcji-mql/feed" rel="self" type="application/rss+xml" />
	<link>http://luktom.biz/blog/e348/6-przydatnych-mini-funkcji-mql</link>
	<description>Trading manualny i automatyczny na rynku Forex</description>
	<pubDate>Tue, 07 Sep 2010 21:50:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>Przez: luktom</title>
		<link>http://luktom.biz/blog/e348/6-przydatnych-mini-funkcji-mql#comment-158</link>
		<dc:creator>luktom</dc:creator>
		<pubDate>Thu, 12 Mar 2009 22:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://luktom.biz/blog/?p=348#comment-158</guid>
		<description>Błędy poprawione, dzięki za uwagi :)</description>
		<content:encoded><![CDATA[<p>Błędy poprawione, dzięki za uwagi :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Przez: k0rnik</title>
		<link>http://luktom.biz/blog/e348/6-przydatnych-mini-funkcji-mql#comment-157</link>
		<dc:creator>k0rnik</dc:creator>
		<pubDate>Thu, 12 Mar 2009 20:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://luktom.biz/blog/?p=348#comment-157</guid>
		<description>W funkcji instr() zmień 
if(StringFind(text,find)&#62;0) na 
if(StringFind(text,find)&#62;=0), 
gdyż dla instr("dwa", "dwanascie") będzie zwracało błąd. 
W betweenoe '=&#62;' na '&#62;='.

No i możnaby napisać większość tych funkcji krócej...
bool instr(string find,string text) { return (StringFind(text,find)&#62;=0); }
bool betweenoe(double value,double min, double max) { return (value=MathMin(min,max)); }
double sltpValue(double value, int sltp) { return (value * (sltp&#62;0)); }</description>
		<content:encoded><![CDATA[<p>W funkcji instr() zmień<br />
if(StringFind(text,find)&gt;0) na<br />
if(StringFind(text,find)&gt;=0),<br />
gdyż dla instr(&#8221;dwa&#8221;, &#8220;dwanascie&#8221;) będzie zwracało błąd.<br />
W betweenoe &#8216;=&gt;&#8217; na &#8216;&gt;=&#8217;.</p>
<p>No i możnaby napisać większość tych funkcji krócej&#8230;<br />
bool instr(string find,string text) { return (StringFind(text,find)&gt;=0); }<br />
bool betweenoe(double value,double min, double max) { return (value=MathMin(min,max)); }<br />
double sltpValue(double value, int sltp) { return (value * (sltp&gt;0)); }</p>
]]></content:encoded>
	</item>
</channel>
</rss>
