<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Ea Studio with Indices ?]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/7300/" />
	<updated>2018-04-05T19:22:29Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/7300/ea-studio-with-indices/</id>
		<entry>
			<title type="html"><![CDATA[Re: Ea Studio with Indices ?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/50043/#p50043" />
			<content type="html"><![CDATA[<p>i have checked with gold...</p><p>Thats Gold settings from broker: <br /></p><div class="codebox"><pre><code>2018.04.05 21:17:47.424    test GOLD,H4: Contract specification for GOLD:
   SYMBOL_DIGITS = 3 (number of digits after the decimal point)
   SYMBOL_POINT = 0.001 (point value)
   SYMBOL_SPREAD = 210 (current spread in points)
   SYMBOL_TRADE_STOPS_LEVEL = 0 (minimal indention in points for Stop orders)
   SYMBOL_TRADE_CONTRACT_SIZE = 100 (contract size)
   SYMBOL_TRADE_TICK_SIZE = 0.001000 (minimal price change)
   SYMBOL_SWAP_MODE = 0 (in points)
   SYMBOL_SWAP_LONG = -70.800000 (buy order swap value)
   SYMBOL_SWAP_SHORT </code></pre></div><p>when i enter now 100 pips stop loss i get this results</p><p><a href="https://postimg.org/image/p2ncqs8rf/"><span class="postimg"><img src="https://s17.postimg.org/p2ncqs8rf/digit.png" alt="https://s17.postimg.org/p2ncqs8rf/digit.png" /></span></a></p><p>shouldnt be 100 pips Gold price: 323.144 than 100pips 323.044 but instead of that it is like in the picture. so is that pip or point?</p>]]></content>
			<author>
				<name><![CDATA[deadlef]]></name>
				<uri>https://forexsb.com/forum/user/9894/</uri>
			</author>
			<updated>2018-04-05T19:22:29Z</updated>
			<id>https://forexsb.com/forum/post/50043/#p50043</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ea Studio with Indices ?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/50035/#p50035" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>The original code must work well. </p><div class="codebox"><pre><code>   if(digit==2 || digit==3)
      return (0.01);</code></pre></div><p>I don&#039;t see discrepancy here. What is the exact problem you want to solve?</p></blockquote></div><p>Indices are working in points, so i want to chamnge the input value in points instead of pips. and 80 points are 8000 pips. but instead of 8000 want to enter points. and that must be calculated automatically for different brokers and different indices</p>]]></content>
			<author>
				<name><![CDATA[deadlef]]></name>
				<uri>https://forexsb.com/forum/user/9894/</uri>
			</author>
			<updated>2018-04-05T11:15:57Z</updated>
			<id>https://forexsb.com/forum/post/50035/#p50035</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ea Studio with Indices ?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/50032/#p50032" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>double GetPipValue(int digit)
  {
  pip =_Point;
if(digit==2 || digit==4 || digit==6) pip = 100*_Point;
else if( digit==1 || digit==3 || digit==5) pip = _Point;
return(pip);
  }</code></pre></div><p>Thats the code ..can someone check if it work in dax or dow with 1 digit</p>]]></content>
			<author>
				<name><![CDATA[deadlef]]></name>
				<uri>https://forexsb.com/forum/user/9894/</uri>
			</author>
			<updated>2018-04-05T09:48:11Z</updated>
			<id>https://forexsb.com/forum/post/50032/#p50032</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ea Studio with Indices ?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/50031/#p50031" />
			<content type="html"><![CDATA[<p>The original code must work well. </p><div class="codebox"><pre><code>   if(digit==2 || digit==3)
      return (0.01);</code></pre></div><p>I don&#039;t see discrepancy here. What is the exact problem you want to solve?</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2018-04-05T09:39:48Z</updated>
			<id>https://forexsb.com/forum/post/50031/#p50031</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ea Studio with Indices ?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/50026/#p50026" />
			<content type="html"><![CDATA[<p>i have checked the data </p><div class="codebox"><pre><code>2018.04.05 09:17:13.932    2015.02.16 18:00:00  test [DAX30],H1: Contract specification for [DAX30]:
   SYMBOL_DIGITS = 2 (number of digits after the decimal point)
   SYMBOL_POINT = 0.01 (point value)
   SYMBOL_SPREAD = 80 (current spread in points)
   SYMBOL_TRADE_STOPS_LEVEL = 0 (minimal indention in points for Stop orders)
   SYMBOL_TRADE_CONTRACT_SIZE = 1 (contract size)
   SYMBOL_TRADE_TICK_SIZE = 0.010000 (minimal price change)
   SYMBOL_SWAP_MODE = 2 (by interest)
   SYMBOL_SWAP_LONG = -1.130000 (buy order swap value</code></pre></div><p>did i have to change this now like that?</p><div class="codebox"><pre><code>double GetPipValue(int digit)
  {
   if(digit==2 || digit==1)
      return (0.01); //   SYMBOL_POINT = 0.01 (point value)
   return (1);
  }</code></pre></div>]]></content>
			<author>
				<name><![CDATA[deadlef]]></name>
				<uri>https://forexsb.com/forum/user/9894/</uri>
			</author>
			<updated>2018-04-05T07:19:14Z</updated>
			<id>https://forexsb.com/forum/post/50026/#p50026</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ea Studio with Indices ?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49999/#p49999" />
			<content type="html"><![CDATA[<p>isn&#039;t it better to say directly in the onInit()<br /></p><div class="codebox"><pre><code>pip       = _Point;</code></pre></div><p> instead of<br /></p><div class="codebox"><pre><code>   pip       = GetPipValue()</code></pre></div>]]></content>
			<author>
				<name><![CDATA[deadlef]]></name>
				<uri>https://forexsb.com/forum/user/9894/</uri>
			</author>
			<updated>2018-04-04T10:11:04Z</updated>
			<id>https://forexsb.com/forum/post/49999/#p49999</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ea Studio with Indices ?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49995/#p49995" />
			<content type="html"><![CDATA[<p>I&#039;ll check what is the problem when digits = 0.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2018-04-04T08:43:40Z</updated>
			<id>https://forexsb.com/forum/post/49995/#p49995</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ea Studio with Indices ?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49991/#p49991" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>double GetPipValue(int digit)
  {
   if(digit==2 || digit==1)
      return (1);
   return (1);
  }</code></pre></div><p>I have changed this part and it is working. Now i can set input values in points Is there any future updates for eastudio that we can distinguish between forex and indices?</p>]]></content>
			<author>
				<name><![CDATA[deadlef]]></name>
				<uri>https://forexsb.com/forum/user/9894/</uri>
			</author>
			<updated>2018-04-04T07:54:30Z</updated>
			<id>https://forexsb.com/forum/post/49991/#p49991</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ea Studio with Indices ?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49967/#p49967" />
			<content type="html"><![CDATA[<p>OK, I will report back this evening when I have fully tested it. My broker quotes the DAX with 1 digit after the comma.</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2018-04-03T10:04:03Z</updated>
			<id>https://forexsb.com/forum/post/49967/#p49967</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ea Studio with Indices ?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49966/#p49966" />
			<content type="html"><![CDATA[<p>If you have digits set to 0, it must correctly.</p><p>What issue do you experience with such symbols?</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2018-04-03T09:56:59Z</updated>
			<id>https://forexsb.com/forum/post/49966/#p49966</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ea Studio with Indices ?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49964/#p49964" />
			<content type="html"><![CDATA[<p>@Popov: The DAX does not have any decimal digits on most brokers, it is quoted in whole numbers just like at the stock exchange (for example: 8143). It seems like FSB / EA Studio are unable to handle this situation in where there are 0 digits after the comma.</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2018-04-03T09:25:39Z</updated>
			<id>https://forexsb.com/forum/post/49964/#p49964</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ea Studio with Indices ?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49941/#p49941" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>So when it quotes on 2 digits what i have to change?</p></blockquote></div><p>Just enter the Stop Loss value you want.</p><p>If you have questions, please post screenshots and we will help.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2018-04-02T05:27:35Z</updated>
			<id>https://forexsb.com/forum/post/49941/#p49941</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ea Studio with Indices ?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49931/#p49931" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>SL and TP are in pips. The conversion between pips and points depends on the number of the decimal digits.</p><p>If the broker quotes on 2 or 4 digits, pip = point.<br />If it is 3 or 5 digits, pip = 10 x point</p></blockquote></div><p> So when it quotes on 2 digits what i have to change?</p>]]></content>
			<author>
				<name><![CDATA[deadlef]]></name>
				<uri>https://forexsb.com/forum/user/9894/</uri>
			</author>
			<updated>2018-04-01T19:56:13Z</updated>
			<id>https://forexsb.com/forum/post/49931/#p49931</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ea Studio with Indices ?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49925/#p49925" />
			<content type="html"><![CDATA[<p>SL and TP are in pips. The conversion between pips and points depends on the number of the decimal digits.</p><p>If the broker quotes on 2 or 4 digits, pip = point.<br />If it is 3 or 5 digits, pip = 10 x point</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2018-04-01T09:57:34Z</updated>
			<id>https://forexsb.com/forum/post/49925/#p49925</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Ea Studio with Indices ?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49919/#p49919" />
			<content type="html"><![CDATA[<p>Hi,</p><p>i have generated strategies on Dax. But my Problem is Stop Loss and Take Profit cause they are in Pips. I have checked out if i enter 10000 pips it is like 100 points.&nbsp; What kind of code did i have to change in exported strategie that i can input points instead of pips.</p>]]></content>
			<author>
				<name><![CDATA[deadlef]]></name>
				<uri>https://forexsb.com/forum/user/9894/</uri>
			</author>
			<updated>2018-04-01T00:13:34Z</updated>
			<id>https://forexsb.com/forum/post/49919/#p49919</id>
		</entry>
</feed>
