急 跪求高手老师帮忙把通达信修改公式第一个:参数:M1:2 1000 5 M2:2 2000 10 M3:2 1000 20 M4:2 1000 30 M5:2 1000 60 M6:2 1000 120MA1:MA(CLOSE,M1);MA2:MA(CLOSE,M2);MA3:MA(CLOSE,M3);MA4:MA(CLOSE,M4);MA5:MA(CLOSE,M5);MA6:MA(CLOSE,M6
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/28 15:20:35
急 跪求高手老师帮忙把通达信修改公式第一个:参数:M1:2 1000 5 M2:2 2000 10 M3:2 1000 20 M4:2 1000 30 M5:2 1000 60 M6:2 1000 120MA1:MA(CLOSE,M1);MA2:MA(CLOSE,M2);MA3:MA(CLOSE,M3);MA4:MA(CLOSE,M4);MA5:MA(CLOSE,M5);MA6:MA(CLOSE,M6
急 跪求高手老师帮忙把通达信修改公式
第一个:
参数:
M1:2 1000 5
M2:2 2000 10
M3:2 1000 20
M4:2 1000 30
M5:2 1000 60
M6:2 1000 120
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5);
MA6:MA(CLOSE,M6);
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
SELL2:=(CROSS(88,RSI1));
DRAWTEXT(SELL2,HIGH*1.02,'★短出'),COLOR00FF00;
VB1:=C-REF(C,1);
VB2:=100*EMA(EMA(VB1,6),6)/EMA(EMA(ABS(VB1),6),6);
VB3:=IF(LLV(VB2,2)=LLV(VB2,7) AND COUNT(VB20.098,10) AND C=HHV(C,100);
A:=C/REF(C,1)>1.09 AND C=H;
B:=REF(A,1) AND A AND L>REF(H,1);
龙头:=B AND EXIST((C-REF(C,1))/REF(C,1)>0.098,10) AND C=HHV(C,100);
{TEXT1 AND TEXT2 AND 百日新高 AND 龙头;}
DRAWTEXT(TEXT1,MA(C,20),'买进');
DRAWTEXT(TEXT2,MA(C,20),'卖出');
DRAWTEXT(百日新高,MA(C,5),'牛');
DRAWTEXT(龙头,O,'龙头');
买线:= (C-REF(C,2))/C*100;
卖线:=MA(买线,9);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,L*0.97,'买'),COLORRED;
DRAWTEXT(SEL,H*1.04,'卖'),COLORGREEN;
上面第一个主图里出现 “★ 买点” 和 第二个主图里出现“'买进' ” “ '牛' ” “ '龙头'” “ '买' ”添加到 下面 主图公式里
参数:
M1:0 1000 5
M2:0 2000 8
M3:0 1000 13
M4:0 1000 50
M5:0 1000 55
M6:0 1000 60
M7:0 1000 120
M8:0 1000 120
M9:0 1000 130
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5);
MA6:MA(CLOSE,M6);
MA7:MA(CLOSE,M7);
MA8:MA(CLOSE,M8);
MA9:MA(CLOSE,M9);
急 跪求高手老师帮忙把通达信修改公式第一个:参数:M1:2 1000 5 M2:2 2000 10 M3:2 1000 20 M4:2 1000 30 M5:2 1000 60 M6:2 1000 120MA1:MA(CLOSE,M1);MA2:MA(CLOSE,M2);MA3:MA(CLOSE,M3);MA4:MA(CLOSE,M4);MA5:MA(CLOSE,M5);MA6:MA(CLOSE,M6
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,8);
MA3:MA(CLOSE,13);
MA4:MA(CLOSE,30);
MA5:MA(CLOSE,55);
MA6:MA(CLOSE,60);
MA7:MA(CLOSE,120);
MA8:MA(CLOSE,120);
MA9:MA(CLOSE,130);
VB1:=C-REF(C,1);
VB2:=100*EMA(EMA(VB1,6),6)/EMA(EMA(ABS(VB1),6),6);
VB3:=IF(LLV(VB2,2)=LLV(VB2,7) AND COUNT(VB20.098,10) AND C=HHV(C,100);
A:=C/REF(C,1)>1.09 AND C=H;B:=REF(A,1) AND A AND L>REF(H,1);
龙头:=B AND EXIST((C-REF(C,1))/REF(C,1)>0.098,10) AND C=HHV(C,100);{TEXT1 AND TEXT2 AND 百日新高 AND 龙头;}
DRAWTEXT(TEXT1,MA(C,20),'买进');
DRAWTEXT(百日新高,MA(C,5),'牛');DRAWTEXT(龙头,O,'龙头');
买线:= (C-REF(C,2))/C*100;
卖线:=MA(买线,9);
BU:=CROSS(买线,卖线);
DRAWTEXT(BU,L*0.97,'买'),COLORRED;
(已测试.不过有两个120日均线,你看看)