下载MetaTrader 5
要添加评论,请登录注册
阅读论坛并提高您的等级
jingtao he
250
jingtao he 2014.03.18 03:33 
R1:=EMA(HHV(HIGH,500),21);
R2:=EMA(HHV(HIGH,250),21);
R3:=EMA(HHV(HIGH,90),21);
R4:=EMA(LLV(LOW,500),21);
R5:=EMA(LLV(LOW,250),21);
R6:=EMA(LLV(LOW,90),21);
R7:=EMA((R4*0.96+R5*0.96+R6*0.96+R1*0.558+R2*0.558+R3*0.558)/6,21);
R8:=EMA((R4*1.25+R5*1.23+R6*1.2+R1*0.55+R2*0.55+R3*0.65)/6,21);
R9:=EMA((R4*1.3+R5*1.3+R6*1.3+R1*0.68+R2*0.68+R3*0.68)/6,21);
RA:=EMA((R7*3+R8*2+R9)/6*1.738,21);
RB:=REF(LOW,1);
RC:=SMA(ABS(LOW-RB),3,1)/SMA(MAX(LOW-RB,0),3,1)*100;
RD:=EMA(IF(CLOSE*1.35<=RA,RC*10,RC/10),3);
RE:=LLV(LOW,30);
RF:=HHV(RD,30);
R10:=IF(MA(CLOSE,58),1,0);
开始建仓:EMA(IF(LOW<=RE,(RD+RF*2)/2,0),3)/618*R10,COLORSTICK;

R11:=EMA(HHV(HIGH,500),21);
R12:=EMA(HHV(HIGH,250),21);
R13:=EMA(HHV(HIGH,90),21);
R14:=EMA(LLV(LOW,500),21);
R15:=EMA(LLV(LOW,250),21);
R16:=EMA(LLV(LOW,90),21);
R17:=EMA((R11*0.96+R12*0.96+R13*0.96+R14*0.558+R15*0.558+R16*0.558)/6,21);
R18:=EMA((R11*1.25+R12*1.23+R13*1.2+R14*0.55+R15*0.55+R16*0.65)/6,21);
R19:=EMA((R11*1.3+R12*1.3+R13*1.3+R14*0.68+R15*0.68+R16*0.68)/6,21);
R1A:=EMA((R17*3+R18*2+R19)/6*1.738,21);
R1B:=REF(HIGH,1);
R1C:=SMA(ABS(HIGH-R1B),3,1)/SMA(MAX(HIGH-R1B,0),3,1)*100;
R1D:=EMA(IF(CLOSE*1.35>=R1A,R1C*10,R1C/10),3);
R1E:=HHV(HIGH,30);
R1F:=HHV(RD,30);
R110:=IF(MA(CLOSE,58),-1,0);
开始减仓:EMA(IF(HIGH>=R1E,(R1D+R1F*2)/2,0),3)/618*R110,COLORSTICK;
/
要添加评论,请登录注册