<?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; Получить sec_code при выборе бумаги в ТТТ.]]></title>
		<link>https://quik2dde.ru/viewtopic.php?id=442</link>
		<atom:link href="https://quik2dde.ru/extern.php?action=feed&amp;tid=442&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Получить sec_code при выборе бумаги в ТТТ.».]]></description>
		<lastBuildDate>Thu, 19 Oct 2023 17:33:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Получить sec_code при выборе бумаги в ТТТ.]]></title>
			<link>https://quik2dde.ru/viewtopic.php?pid=4289#p4289</link>
			<description><![CDATA[<p>-- индикатор что показывает sec_code<br />&nbsp; &nbsp;Settings = {<br /> Name = &quot;goodmode&quot;<br />}</p><p>function Init()<br />&nbsp; &nbsp; return 1<br />&nbsp; &nbsp;&nbsp; <br />end</p> <br /><br /><p>function OnCalculate(Index)<br />&nbsp; &nbsp;if Index == 1 then<br />&nbsp; &nbsp; &nbsp; local info = getDataSourceInfo();<br />&nbsp; &nbsp; &nbsp; message(info.sec_code)<br />&nbsp; &nbsp;end<br />&nbsp; &nbsp;return 0<br />end</p><br /><p>Работает.&nbsp; Каким образом можно научить скрипт брать данные из этого индикатора? Нужно чтоб скрипт брал sec_code</p>]]></description>
			<author><![CDATA[null@example.com (Alexey89)]]></author>
			<pubDate>Thu, 19 Oct 2023 17:33:16 +0000</pubDate>
			<guid>https://quik2dde.ru/viewtopic.php?pid=4289#p4289</guid>
		</item>
		<item>
			<title><![CDATA[Получить sec_code при выборе бумаги в ТТТ.]]></title>
			<link>https://quik2dde.ru/viewtopic.php?pid=4288#p4288</link>
			<description><![CDATA[<p>Код даже не выдает ошибок. Никакой реакции. Почему?&nbsp; Есть ли какой-нибудь вариант привязать getDataSourceInfo() к конкретному индикатору, что бы получать sec_code при выборе бумаги в ТТТ?&nbsp; </p><p>function OnCalculate(Index)<br />&nbsp; &nbsp;if Index == 1 then<br />&nbsp; &nbsp;local info = getDataSourceInfo();<br />&nbsp; &nbsp;message( info.sec_code )<br />&nbsp; &nbsp;end<br />&nbsp; &nbsp;return 0<br />end</p>]]></description>
			<author><![CDATA[null@example.com (Alexey89)]]></author>
			<pubDate>Thu, 19 Oct 2023 11:30:24 +0000</pubDate>
			<guid>https://quik2dde.ru/viewtopic.php?pid=4288#p4288</guid>
		</item>
	</channel>
</rss>
