Sample Text 
 
1.以USD8000.00起步,400:1的拱杠, 
2.以超短线为主,只做EUR/USD,GBP/USD; 
3.主要在1400-1700,2000-2300做; 
4. 以一手开始,作顺了增加舱位; 
5.每日总结,自我反省。 
 
操作系统见下: 
{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, Ty); 
MM := Mov (Close, PerMAm, Ty); 
ML := Mov (Close, PerMAl, Ty); 
MF := Mov (Close, PerMAf, Ty); 
 
MB := Mov(Close,PerMAm, Ty); 
UB := BLines(Close,mov(Close,PerMAm,Ty),PerMAm,D,0); 
LB := BLines(Close,mov(CLose,PerMAm,Ty),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, Ty); 
MA2:= MOV(RS, PerMAm, Ty); 
 
{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); 
 
Sign:= Gapup() or Gapdown(); 
 
{End} 
 
 
 
 =================================== 
bbs.138.net 外汇论坛 标准报价: 
 暂无数据  
 =================================== |