﻿<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.hs633.com:8080/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-cn">
		<id>http://wiki.hs633.com:8080/index.php?action=history&amp;feed=atom&amp;title=%E5%BD%93%E6%A0%B9K%E7%BA%BF%E5%BC%80%E4%BB%93%E6%A8%A1%E5%9E%8B</id>
		<title>当根K线开仓模型 - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.hs633.com:8080/index.php?action=history&amp;feed=atom&amp;title=%E5%BD%93%E6%A0%B9K%E7%BA%BF%E5%BC%80%E4%BB%93%E6%A8%A1%E5%9E%8B"/>
		<link rel="alternate" type="text/html" href="http://wiki.hs633.com:8080/index.php?title=%E5%BD%93%E6%A0%B9K%E7%BA%BF%E5%BC%80%E4%BB%93%E6%A8%A1%E5%9E%8B&amp;action=history"/>
		<updated>2026-04-04T08:20:44Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.19.1</generator>

	<entry>
		<id>http://wiki.hs633.com:8080/index.php?title=%E5%BD%93%E6%A0%B9K%E7%BA%BF%E5%BC%80%E4%BB%93%E6%A8%A1%E5%9E%8B&amp;diff=2215&amp;oldid=prev</id>
		<title>2013年6月20日 (四) 01:47 Ly</title>
		<link rel="alternate" type="text/html" href="http://wiki.hs633.com:8080/index.php?title=%E5%BD%93%E6%A0%B9K%E7%BA%BF%E5%BC%80%E4%BB%93%E6%A8%A1%E5%9E%8B&amp;diff=2215&amp;oldid=prev"/>
				<updated>2013-06-20T01:47:10Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←上一版本&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;2013年6月20日 (四) 01:47的版本&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第1行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第1行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; //-------&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;金魔方智能交易公式&lt;/del&gt;--------------&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; //-------&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;智能交易公式&lt;/ins&gt;--------------&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; //该模型仅仅用来示范如何根据指标编写简单的模型&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; //该模型仅仅用来示范如何根据指标编写简单的模型&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; //用户需要根据自己交易经验，进行修改后再实际应用!!!&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; //用户需要根据自己交易经验，进行修改后再实际应用!!!&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ly</name></author>	</entry>

	<entry>
		<id>http://wiki.hs633.com:8080/index.php?title=%E5%BD%93%E6%A0%B9K%E7%BA%BF%E5%BC%80%E4%BB%93%E6%A8%A1%E5%9E%8B&amp;diff=2214&amp;oldid=prev</id>
		<title>Ly: 以“    //-------金魔方智能交易公式--------------     //该模型仅仅用来示范如何根据指标编写简单的模型     //用户需要根据自己交易...”为内容创建页面</title>
		<link rel="alternate" type="text/html" href="http://wiki.hs633.com:8080/index.php?title=%E5%BD%93%E6%A0%B9K%E7%BA%BF%E5%BC%80%E4%BB%93%E6%A8%A1%E5%9E%8B&amp;diff=2214&amp;oldid=prev"/>
				<updated>2013-06-20T01:46:54Z</updated>
		
		<summary type="html">&lt;p&gt;以“    //-------金魔方智能交易公式--------------     //该模型仅仅用来示范如何根据指标编写简单的模型     //用户需要根据自己交易...”为内容创建页面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;最新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;    //-------金魔方智能交易公式--------------&lt;br /&gt;
    //该模型仅仅用来示范如何根据指标编写简单的模型&lt;br /&gt;
    //用户需要根据自己交易经验，进行修改后再实际应用!!!&amp;lt;br&amp;gt;&lt;br /&gt;
    #Run_Every_Tick&lt;br /&gt;
    Input:x(9.3);&amp;lt;br&amp;gt;&lt;br /&gt;
    //时间为9:30(93000)且最新价大于当天开盘价&lt;br /&gt;
    bEnterLong :=Time=(x*10000) and C&amp;gt;OpenD(0);	&lt;br /&gt;
    //时间为9:30(93000)且最新价小于当天开盘价&lt;br /&gt;
    bEnterShort :=Time=(x*10000) and C&amp;lt;OpenD(0);&amp;lt;br&amp;gt;&lt;br /&gt;
    //多头开仓条件满足，在当前k线下单&lt;br /&gt;
    if bEnterLong then Buy('', DEFAULT, 0, 0, OT_Market, OB_ThisBar,  '');&lt;br /&gt;
    //空头开仓条件满足，在当前k线下单&lt;br /&gt;
    if bEnterShort then SellShort('', DEFAULT, 0, 0, OT_Market, OB_ThisBar,  '');&amp;lt;br&amp;gt;&lt;br /&gt;
    SetExitOnClose;//收盘平仓&lt;/div&gt;</summary>
		<author><name>Ly</name></author>	</entry>

	</feed>