说明:根据目前复杂市况而作。本公式用于快进快出,当出现“进”时买入;出现“出”时卖出。以“进”和“出”分别等于1时为买卖条件。
1. 把要导入的公式(源码)考下来,方法是用左键先把源码变蓝,之后点右键,点复制;
2. 进入大智慧——工具-——公式管理----新建,在出现的公式编辑区的下面的空白处,把刚考的源码粘贴上,将公式名称复制后粘贴到公式名称栏;
3.保存(或另存为)---确定。完成。
4.运用:打开任意一个K线图——点指标-----就可以看到你刚才导入的公式名称-----双击它-----你刚才选择的副图上就会出现这个指标了。
5.设置“进”=1:工具---条件选股----找到这个公式----单击它----设置“进”=1-----执行选股(或高级----历史阶段选股----设时段----执行选股)。
a1:=C<=REF(C,1);
a2:=C>=REF(C,2);
a3:=C>=REF(C,1);
a4:=C<=REF(C,2);
a5:=(C>REF(C,1) AND C>REF(C,2));
a6:=(REF(a5,1) AND a1 AND a2);
a7:=(REF(a6,1) AND a1 AND a2);
a8:=(REF(a7,1) AND a1 AND a2);
a9:=(REF(a8,1) AND a1 AND a2);
a10:=(REF(a9,1) AND a1 AND a2);
a11:=(REF(a10,1) AND a1 AND a2);
a12:=(REF(a11,1) AND a1 AND a2);
a13:=(REF(a12,1) AND a1 AND a2);
a14:=(REF(a13,1) AND a1 AND a2);
a15:=(REF(a14,1) AND a1 AND a2);
a16:=(REF(a15,1) AND a1 AND a2);
a17:=(C
a18:=(REF(a17,1) AND a3 AND a4);
a19:=(REF(a18,1) AND a1 AND a2);
a20:=(REF(a19,1) AND a3 AND a4);
a21:=(REF(a20,1) AND a1 AND a2);
a22:=(REF(a21,1) AND a3 AND a4);
a23:=(REF(a22,1) AND a1 AND a2);
a24:=(REF(a23,1) AND a3 AND a4);
a25:=(REF(a24,1) AND a1 AND a2);
a26:=(REF(a25,1) AND a3 AND a4);
a27:=(REF(a26,1) AND a1 AND a2);
a28:=(REF(a27,1) AND a3 AND a4);
a29:=((REF(a17 OR a18 OR a19 OR a20 OR a21 OR a22 OR a23 OR a24 OR a25 OR a26 OR a27 OR a28,1)) AND a5);
a30:=((REF(a5 OR a6 OR a7 OR a8 OR a9 OR a10 OR a11 OR a12 OR a13 OR a14 OR a15 OR a16,1)) AND a17);
进:a29;
出:a30;
DRAWTEXT(a29, 1,'进'),colorred;
DRAWTEXT(a30, 1,'出'),coloryellow;