外汇论坛 外兔财经

开启左侧

论超短线的操作,交流、交流。

[复制链接]
发表于 2005-4-15 15:31 | 显示全部楼层 |阅读模式
https://www.y2cn.com
1。用5分钟图,6MA,30MA,60MA,120MA(加权平均线),BOLL线图,RSI,见附件
2。在急剧变化后,大仓进入,顺势而为,火中取栗。
请指教:
h:
VT交易系统
{Control Error}

ERR:= (PerMAs=0 or PerMAm=0 or PerMAl=0 or PerMAf=0 or Close=0) or
      (PerMAs>PerMAm or PerMAm>PerMAl or PerMAl>PerMAf or PerMAs>PerMAf);

{Moving Average}

MS := Mov (Close, PerMAs, W);
MM := Mov (Close, PerMAm, W);
ML := Mov (Close, PerMAl, W);
MF := Mov (Close, PerMAf, W);

{Keltner Channels}

UKband  := Mov( TP(), PerMAm, W) + Mov((H-L),PerMAm, W);
DMA     := Mov( TP(), PerMAm, W);
LKband  := Mov(TP(), PerMAm, W) - Mov((H-L),PerMAm, W);

{Bollinger Bands}

MB := Mov(Close,PerMAm, W);
UB := BLines(Close,mov(Close,PerMAm,W),PerMAm,D,0);
LB := BLines(Close,mov(CLose,PerMAm,W),PerMAm,D,1);

{Trailing Stop Loss - Level}

DeltaStop:= if(Mode=0,Wilders(ATR(14),14)*2.824, DeltaPrice);

TrStop:=If(
         Close=PREV,
         PREV,
         If(
            ((Ref(Close,-1)<PREV)AND (Close<PREV)),
            Min(PREV,Close + DeltaStop),
            If(
               (Ref(Close,-1)>PREV) AND (Close>PREV),
               Max(PREV,Close - DeltaStop),
               If(
                  Close>PREV,
                  Close - DeltaStop,
                  Close + DeltaStop
               )
            )
         )
      );

{ Relative Strength Index}

rsi_r:= (CLOSE - ref(CLOSE,-1));
rsi_rs := Wilders(if(rsi_r>0,rsi_r,0),tpr) / Wilders(if(rsi_r<0,Abs(rsi_r),0),tpr);
RS:= 100-(100/(1+rsi_rs));

{ Moving Average of Relative Strength Index}

MA1:=MOV(RS,PerMAs,E);
MA2:=MOV(RS,PerMAm,E);

{Signal Long and Short}

Long:= Cross(MS, MM) and (RS>=MA1 and MA1>=MA2)or
       Cross(MS, TrStop)and (RS>=MA1 and MA1>=MA2);
Short:= Cross(MM, MS) and (RS<=MA1 and MA1<=MA2) or
        Cross(TrStop, MS) and (RS<=MA1 and MA1<=MA2);
        
{End}

[ 本贴由 james2005 在 2005-4-15 15:38 最后修改 ]
发表于 2005-4-15 15:47 | 显示全部楼层
晕了,本来看行情就晕头转向的了,刚才出去吹了吹风,回来看到你的帖子,发现更晕了
 楼主| 发表于 2005-4-15 15:51 | 显示全部楼层
Originally posted by freedomkite at 2005-4-15 15:47
晕了,本来看行情就晕头转向的了,刚才出去吹了吹风,回来看到你的帖子,发现更晕了

你把它COPY到VT的交易系统就明白了,很简单的。

[ 本贴由 james2005 在 2005-4-15 16:05 最后修改 ]
1_thumb.jpg
 楼主| 发表于 2005-4-15 16:17 | 显示全部楼层

请指教, 谢谢。

发表于 2005-4-15 19:42 | 显示全部楼层
老兄知道MATA TRADER上如何编程?
自观自学, 不违祖训.
发表于 2005-4-15 19:45 | 显示全部楼层
这图真~~~~~~~~~~~~~~晃眼
发表于 2005-4-15 19:59 | 显示全部楼层
VT可以做投资策略测试吗?

MT里智能交易的投资测试似乎是个摆设.
自观自学, 不违祖训.
 楼主| 发表于 2005-4-15 20:13 | 显示全部楼层
Originally posted by 17move at 2005-4-15 19:59
VT可以做投资策略测试吗?

MT里智能交易的投资测试似乎是个摆设.

VT不可以做投资策略测试。
不懂MT编程。VT很简单,你只须懂一些计算机语言。
投资策略测试并不重要,重要是你会跟随其操作,遵守纪律。
我也在探索中。有什么经验请交流。 谢谢!
 楼主| 发表于 2005-4-15 22:40 | 显示全部楼层
今晚只有超短线才能赚钱,嘿嘿!
发表于 2005-4-17 02:10 | 显示全部楼层
Originally posted by james2005 at 2005-4-15 15:31
1。用5分钟图,6MA,30MA,60MA,120MA(加权平均线),BOLL线图,RSI,见附件
2。在急剧变化后,大仓进入,顺势而为,火中取栗。
请指教:
h:
VT交易系统
{Control Error}

ERR:= (PerMAs= ...


tpr = 14?
D = 2?
DeltaPrice = 0.0040?
Mode = Optimum?
阿弥陀佛

本版积分规则

QQ|手机版 Mobile Version|Archiver|关于我们 About Us|联系我们 Contact Us|Y2外汇论坛 外兔财经

GMT+8, 2024-4-26 05:04 , Processed in 0.081241 second(s), 26 queries .

Powered by Discuz! X7.2

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表