<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[QUIK -> DDE &mdash; Обмен данными между скриптом и индикатором]]></title>
		<link>https://quik2dde.ru/viewtopic.php?id=352</link>
		<atom:link href="https://quik2dde.ru/extern.php?action=feed&amp;tid=352&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Обмен данными между скриптом и индикатором».]]></description>
		<lastBuildDate>Thu, 07 Oct 2021 05:22:21 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Обмен данными между скриптом и индикатором]]></title>
			<link>https://quik2dde.ru/viewtopic.php?pid=3356#p3356</link>
			<description><![CDATA[<p>Именно для таких задач [url=https://quik2dde.ru/viewtopic.php?id=61]та библиотека[/url] и делалась <img src="https://quik2dde.ru/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />Рад, что вам она пригодилась.</p>]]></description>
			<author><![CDATA[null@example.com (swerg)]]></author>
			<pubDate>Thu, 07 Oct 2021 05:22:21 +0000</pubDate>
			<guid>https://quik2dde.ru/viewtopic.php?pid=3356#p3356</guid>
		</item>
		<item>
			<title><![CDATA[Re: Обмен данными между скриптом и индикатором]]></title>
			<link>https://quik2dde.ru/viewtopic.php?pid=3355#p3355</link>
			<description><![CDATA[<p>ОНА РАБОТАЕТ С ИНДИКАТОРОМ !!!&nbsp; ))))</p>]]></description>
			<author><![CDATA[null@example.com (iforts)]]></author>
			<pubDate>Wed, 06 Oct 2021 14:20:17 +0000</pubDate>
			<guid>https://quik2dde.ru/viewtopic.php?pid=3355#p3355</guid>
		</item>
		<item>
			<title><![CDATA[Re: Обмен данными между скриптом и индикатором]]></title>
			<link>https://quik2dde.ru/viewtopic.php?pid=3354#p3354</link>
			<description><![CDATA[<p>вот это подойдет? С индикатором будет контакт?<br />[url]https://quik2dde.ru/viewtopic.php?id=61[/url]</p>]]></description>
			<author><![CDATA[null@example.com (iforts)]]></author>
			<pubDate>Wed, 06 Oct 2021 14:02:52 +0000</pubDate>
			<guid>https://quik2dde.ru/viewtopic.php?pid=3354#p3354</guid>
		</item>
		<item>
			<title><![CDATA[Обмен данными между скриптом и индикатором]]></title>
			<link>https://quik2dde.ru/viewtopic.php?pid=3353#p3353</link>
			<description><![CDATA[<p>Вот этот скрипт отправляет данные индикатора в таблицу MACD&nbsp; в файле luaneural.lua<br />Требуется получить данные этой таблицы в индикаторе.<br />Подскажите пожалуйста как это сделать?<br />Загружать этот же файл в индикатор?</p><div class="codebox"><pre><code>function main()
    while is_run do
      
        if not t.Options.dofile_filter then 
           dofile(&quot;luaneural.lua&quot;)
           t.Options.dofile_filter = true 
           message(&quot;   dofile(luaneural.lua)&quot;,2)
        end 

        local identifier = &quot;Si_macd&quot;
       
        local nc = getNumCandles(identifier) -- кол-во свечек
        --message(&quot;   nc = &quot;..nc,2)
        local lines_count = getLinesCount(identifier)
        --message(&quot;   lines_count = &quot;..lines_count,2)
        local count = 10
        local offset
        local n
        local t,n = ind(identifier, 2, offset)
        MACD[1][1] =  t[1][1].close
        MACD[1][0] =  t[1][0].close 
        --if #t &gt; 0 then 
           -- message(&quot;   MACD[1][1]  = &quot;..MACD[1][1],2)
           -- message(&quot;   MACD[1][0]  = &quot;..MACD[1][0],2)
        --end 
        
        
         sleep(1000)
    end
end</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (iforts)]]></author>
			<pubDate>Wed, 06 Oct 2021 13:46:41 +0000</pubDate>
			<guid>https://quik2dde.ru/viewtopic.php?pid=3353#p3353</guid>
		</item>
	</channel>
</rss>
