﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/style.css'?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/bbeditor.css'?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">Два действия на одно условие - одно не выполняется.</title>
  <id>~/topic/1802/dva-deistviya-na-odno-uslovie---odno-ne-vypolnyaetsya_/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-06-15T14:19:20Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=1802" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/10246/</id>
    <title type="text">vader: Как переписать это правильно? Вызывать из Do два метода как обычно делается на C# </title>
    <published>2011-08-10T12:27:20Z</published>
    <updated>2011-08-10T12:27:20Z</updated>
    <author>
      <name>Mikhail Sukhov</name>
      <uri>https://stocksharp.com/users/201/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="@message(10242)" rel="nofollow" target="_blank"&gt;vader&lt;/a&gt;:&lt;/strong&gt;
Как переписать это правильно?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Вызывать из Do два метода как обычно делается на C#&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/10242/</id>
    <title type="text"> this .When(StrategyRuleConditionHelper.StrategyNewMyTrades(this)) .Do(InformAboutNewMyTrade) .Do(St...</title>
    <published>2011-08-10T09:57:05Z</published>
    <updated>2011-08-10T09:57:05Z</updated>
    <author>
      <name>vader</name>
      <uri>https://stocksharp.com/users/28223/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;pre&gt;&lt;code class="language-csharp"&gt;
this
				.When(StrategyRuleConditionHelper.StrategyNewMyTrades(this))
				.Do(InformAboutNewMyTrade)
				.Do(StartAggressive);

&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Первый метод(InformAboutNewMyTrade) почему-то не вызывается.
Как переписать это правильно?&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>